Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 0
  • *Guests: 15
  • *Total: 15

Our Discord

Author Topic: SIOC Stepper Help  (Read 474 times)

Offline okansacli

  • CockpitBuilder
  • *
  • Posts: 6
  • Aviation Enthusiast
  • First Name: Okan
  • Home Location: LTBA
SIOC Stepper Help
« on: September 04, 2018, 12:31:02 AM »
Hello

I am building a wet compass with a step motor using the Open Cockpits Stepper Motor Card.

I have no issues with the SIOC code.

And I believe to have achieved the optical sensor working correctly (no needle in between +5vdc, needle in between 0vdc in the middle pin of the 3pin position group)


I can not seem to run the iostepper.exe correctly as always I see C.Motor1,2 and 3 to be 0 with a continousluy rotating step motor.


Any suggestions ? Did anyone else experience similar issues with open cockpit step motor calibration ?


Best Regard from Istanbul


Okan




Offline iwik

  • Forum GURU
  • *
  • Posts: 362
  • GA Jockey
  • First Name: Les
  • Home Location: Christchurch New Zealand
Re: SIOC Stepper Help
« Reply #1 on: September 04, 2018, 01:00:47 AM »
Okan,
The stepper motor should turn at power up. It should do two revolutions then stop. If it doesnt then the opto fedback is not working. Make sure you have enable the correct motor.
Also when it rotates short out the opto input to the board and it should stop.
Les

Offline okansacli

  • CockpitBuilder
  • *
  • Posts: 6
  • Aviation Enthusiast
  • First Name: Okan
  • Home Location: LTBA
Re: SIOC Stepper Help
« Reply #2 on: September 04, 2018, 02:38:31 AM »
Thank you for the feedback Les,

The stepper motor turns at power up and keeps on turning .. does not stop..

The opto feedback works (i asumme) such that the middle pin (the 3 pin position group) has +5v when the sensor is not blocked, when the sensor is blocked has 0 v.


How can I short our the opto input (shall I bridge pin 2 and pin 3) ?


What do you mean "make sure you enable the correct motor" ? please clarify


Best Regards
« Last Edit: September 04, 2018, 02:39:21 AM by okansacli »

Offline iwik

  • Forum GURU
  • *
  • Posts: 362
  • GA Jockey
  • First Name: Les
  • Home Location: Christchurch New Zealand
Re: SIOC Stepper Help
« Reply #3 on: September 04, 2018, 03:42:17 PM »
Hi,
Pin 1 is 0v and 3 is 5v. Just short pin 1 and 2 together and the motor should stop.
Make sure you  sc the correct pos input for the motor number you are using.
Sorry about the motor enable remark. That shouldnt matter.
I have made the mistake of sc the wrong pos input and wondered why. Just to make sure
try sc any of the motor position inputs. Dont get mixed up with the Analogue inputs on
the board.
Hope this helps.
Les

Offline okansacli

  • CockpitBuilder
  • *
  • Posts: 6
  • Aviation Enthusiast
  • First Name: Okan
  • Home Location: LTBA
Re: SIOC Stepper Help
« Reply #4 on: September 12, 2018, 10:00:11 AM »
the H21A1 type optical sensor was doing its job by switching the 5vdc to 0 vdc when there was an obstruction in between "without" connection to the OC Stepper cards. But when connected to the OC stepper position pins, the voltage drop was limited to ~2vdc instead of 0 vdc (somehow) which made the step connected to the OC stepper to keep on rotating.

So I have changed the optical sensor to LM393 based sensor and it works like a charm. (the sensor was available for audrino as a motor speed sensor)

So for those who plan to use OC stepper card, make sure that the optical position sensor is doing what it should do.

I have uploaded a video on my web site (okansacli.com) for those who are interested.

Best Regards from Istanbul

okan s.

 

FlightSimExpo 2019

FsExpo

COUNTDOWN TO WF2019


WORLDFLIGHT TEAM USA

Will Depart in...

Recent Posts

Operating System Blues
by n4208t
[February 21, 2019, 08:52:20 AM]
New supplier for your sim
by Fcoq
[February 21, 2019, 01:44:54 AM]
Join me on Vatsim Tonight
by Trevor Hale
[February 20, 2019, 06:16:29 PM]
For Sale: Jetmax 737 TQ - Texas, USA
by MistyBlue
[February 19, 2019, 02:19:22 PM]
What have you done for your simulator today?
by MistyBlue
[February 19, 2019, 02:17:28 PM]
FSUIPC 5 Button Limitations
by GyverX
[February 18, 2019, 05:33:55 PM]
Virtual FO software
by fsaviator
[February 18, 2019, 02:36:20 PM]
Throttle
by 727737Nut
[February 17, 2019, 09:14:54 AM]
737 NG Throttle Levers
by mickc
[February 17, 2019, 05:02:01 AM]
For sale: A set of faceplate panel for pedestal
by mickc
[February 17, 2019, 05:01:07 AM]
FlyAB Simparts: A new supplier for your OEM needs
by Trevor Hale
[February 16, 2019, 10:51:54 PM]
B737-800 Flight Sim for sale $85,000.00
by Rob_b
[February 16, 2019, 12:47:11 AM]
PC upgrade-build-or buy advice??
by iwik
[February 15, 2019, 06:47:11 PM]
Which Processor i7 - 8700K or i7 - 9700K
by Joe Lavery
[February 15, 2019, 05:39:06 PM]
Anyone seen OEM 737-900 ER Throttle Quadrant?
by Fly_AB
[February 15, 2019, 10:32:18 AM]
For Sale: P&P Opencockpit VHF, Transponder, and ADF
by Fly_AB
[February 15, 2019, 09:08:24 AM]
737 DIY MIP For Sale
by Trevor Hale
[February 14, 2019, 11:03:35 AM]
For Sale Prosim 737 v2.03 License
by mdavenport
[February 12, 2019, 04:00:00 PM]
Complete 737-800 cockpit - moving sale
by navymustang
[February 10, 2019, 12:50:48 PM]
737-800 Arduino X-Plane Build
by kurt-olsson
[February 10, 2019, 09:31:17 AM]
Revolution Simproducts out of business?
by fsaviator
[February 09, 2019, 12:18:30 PM]
For sale: CPFlight MIP737SE
by Fly_AB
[February 08, 2019, 11:29:26 PM]
For sale: Engravity sixpack pairs --- SOLD
by Fly_AB
[February 08, 2019, 08:32:04 PM]
German B738NG Homecockpit-Projekt
by MjTom
[February 08, 2019, 08:00:54 AM]
Updating Navigraph FMC Data - Project Magenta / ProSim
by Trevor Hale
[February 08, 2019, 07:41:50 AM]
737 Demonstrator For Sale
by Trevor Hale
[February 08, 2019, 07:39:34 AM]
Looking for B737NG or A320 SIM for Home Use
by KingAviation
[February 08, 2019, 03:17:35 AM]
Zibo 737 FlightControl Dataref/Commands
by kurt-olsson
[February 05, 2019, 05:34:35 PM]
Wrong hiegth above ground when landing and P3D set for Panel Only
by FredK
[February 05, 2019, 12:58:20 AM]
Flight Control Panel A Side
by kurt-olsson
[February 04, 2019, 04:34:38 PM]