Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 0
  • *Guests: 41
  • *Total: 41

Our Discord

Author Topic: SIOC Stepper Help  (Read 290 times)

Offline okansacli

  • CockpitBuilder
  • *
  • Posts: 6
  • Karma: +0/-0
  • 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: 329
  • Karma: +0/-0
  • 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
  • Karma: +0/-0
  • 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: 329
  • Karma: +0/-0
  • 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
  • Karma: +0/-0
  • 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 WF2018


WORLDFLIGHT TEAM USA

Will Depart in...

Recent Posts

What have you done for your simulator today?
by fsaviator
[September 22, 2018, 11:37:35 PM]
Memphis 727 Build
by skyline223
[September 22, 2018, 06:43:36 PM]
OEM Throttle Quadrant Conversions?
by bernard S
[September 22, 2018, 07:29:48 AM]
737NG Go-Around_Procedure
by bernard S
[September 22, 2018, 07:20:59 AM]
John's List of 3D Printed Items for Flight Simulation
by blueskydriver
[September 21, 2018, 09:19:24 PM]
For Sale - FSC Motorised Throttle Quadrant
by KyleH
[September 21, 2018, 09:18:02 PM]
Just to make sure i am not doing anything stupid
by kurt-olsson
[September 21, 2018, 01:57:12 PM]
737-800 Arduino X-Plane Build
by kurt-olsson
[September 21, 2018, 01:42:00 PM]
My project, 737 in the basement.
by mickc
[September 21, 2018, 05:48:19 AM]
Where do i begin from here.
by mickc
[September 21, 2018, 05:46:45 AM]
New guy intro and 727 cockpit for X-Plane project start
by Flying_Fox
[September 19, 2018, 05:06:50 PM]
Flying Polar Routes
by jackpilot
[September 18, 2018, 12:07:33 PM]
STEERING AND YOKE 737 PROMO
by navymustang
[September 17, 2018, 03:44:39 PM]
Monitor and keyboard arm
by navymustang
[September 17, 2018, 03:43:17 PM]
With 60 Days Left, We have a plan
by FredK
[September 17, 2018, 11:08:58 AM]
For Sale: CPFlight MCP 737 EL $400 USD Shipped Lower 48
by Steenos
[September 17, 2018, 11:01:18 AM]
INTRODUCTION
by bernard S
[September 15, 2018, 07:10:49 PM]
Wanted Pair of Headrests of this type!
by bernard S
[September 15, 2018, 06:43:09 PM]
Some Questions about Project Magenta CDU
by Pantu
[September 15, 2018, 10:35:41 AM]
GAPanel/FSUIPC coding
by sedge
[September 14, 2018, 02:22:31 PM]
Wanted! Real Boeing 737 TQ
by kurt-olsson
[September 14, 2018, 04:24:57 AM]
OEM window eye brow trim
by kurt-olsson
[September 14, 2018, 04:22:20 AM]
Linked Brakes
by blueskydriver
[September 14, 2018, 03:12:26 AM]
Mickey's Flightdeck - A Boeing 737-800 Cockpit on Youtube
by Extraterra
[September 13, 2018, 09:23:22 AM]
CDU hidden fire page
by Pantu
[September 12, 2018, 01:25:24 PM]
737NG parts for sale, most are REAL!
by 737NGer
[September 12, 2018, 11:22:50 AM]
A320 Sound (for homecockpit)
by okansacli
[September 12, 2018, 10:07:03 AM]
SIOC Stepper Help
by okansacli
[September 12, 2018, 10:00:11 AM]
Boeing 737-800 Next Generation Simulator
by blueskydriver
[September 12, 2018, 04:41:07 AM]
Monitor setup - mixing screen sizes
by Flying_Fox
[September 11, 2018, 10:25:53 AM]