Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 1
  • *Guests: 42
  • *Total: 43

Our Discord

Author Topic: SIOC Stepper Help  (Read 378 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: 343
  • 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: 343
  • 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.

 

COUNTDOWN TO WF2019


WORLDFLIGHT TEAM USA

Will Depart in...

Recent Posts

U.S. holiday booked!
by Trevor Hale
[Today at 10:35:15 AM]
New supplier for your sim
by Fcoq
[Today at 01:12:29 AM]
X-Plane 737-800 Build
by kenrosefire
[December 10, 2018, 08:55:16 PM]
What have you done for your simulator today?
by _alioth_
[December 10, 2018, 07:37:15 PM]
737-800 Arduino X-Plane Build
by kurt-olsson
[December 10, 2018, 04:49:22 PM]
Updating Navigraph FMC Data - Project Magenta / ProSim
by ScottThePilot
[December 10, 2018, 02:53:47 PM]
Join me on Vatsim Tonight
by Trevor Hale
[December 09, 2018, 05:18:02 PM]
Yoke and Rudder Centering with Dynamic Load Control / Force Feedbacl
by bernard S
[December 08, 2018, 12:14:01 PM]
anyone that can help me out get imperial size bolts??
by Gallie
[December 08, 2018, 11:03:29 AM]
OpenCockpits I/O Cards
by al23
[December 08, 2018, 09:22:52 AM]
Level D B767 For FS9
by Goodenough
[December 06, 2018, 08:19:20 PM]
Thickness of a resl 737-800 Glareshield / MCP Light panel
by Joe Lavery
[December 06, 2018, 01:13:54 PM]
Anyone had any experience with JetMax post the FDS sale?
by nickj
[December 05, 2018, 10:13:20 PM]
777 Throttle *price reduced*
by mattking247
[December 04, 2018, 11:05:04 PM]
KLGA curious !!
by jackpilot
[December 03, 2018, 02:55:38 PM]
Opencockpits boards for sale
by navymustang
[December 03, 2018, 12:57:34 PM]
Does something like this Exist? Projection Glass
by fsaviator
[December 02, 2018, 02:49:40 PM]
Move Project Magenta From FSX to P3D Full cockpit
by ScottThePilot
[December 02, 2018, 12:27:31 PM]
Mickey's Flightdeck - A Boeing 737-800 Cockpit on Youtube
by Extraterra
[December 02, 2018, 06:20:38 AM]
TH2GO Digital vs 3-DV Ports on GPU
by fsaviator
[December 01, 2018, 12:49:54 PM]
Project Magenta with Xplane 11
by Trevor Hale
[November 29, 2018, 03:05:14 PM]
X-plane and SIOC help
by Trevor Hale
[November 29, 2018, 07:43:32 AM]
Prepar3d v4.4 coming to you in 2 days!!!
by Flying_Fox
[November 28, 2018, 10:16:49 AM]
More Throttle Quadrant nightmares.
by iwik
[November 27, 2018, 03:47:31 PM]
Attention All Members and Guests
by Trevor Hale
[November 27, 2018, 02:21:47 PM]
I am now asking for a new world of hurt!
by fsaviator
[November 26, 2018, 11:50:19 PM]
Hello and advice about my 737 sim
by nic
[November 26, 2018, 05:42:07 AM]
B737 Rudder Pedal Adjustment Crank Units
by Reensel
[November 25, 2018, 02:53:25 PM]
For sale! B737 home cockpit - mostly OEM parts!
by Ethanoost
[November 25, 2018, 05:33:48 AM]
The Progression of a build [Phase One]
by Joe Lavery
[November 25, 2018, 03:58:12 AM]