Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 2
  • *Guests: 52
  • *Total: 54

Our Discord

Author Topic: SIOC Stepper Help  (Read 699 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: 368
  • 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: 368
  • 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

items/oem from overhead
by gufau
[Today at 01:50:44 AM]
Change the Forum Theme to suit your own Needs.
by RobertPrall
[July 23, 2019, 11:44:27 PM]
Teensy LC Fuel Panel A (top)
by mickc
[July 23, 2019, 07:30:29 PM]
737-800 Arduino X-Plane Build
by kurt-olsson
[July 23, 2019, 02:19:07 PM]
Looking, second-hand B737 ICS MIP panels with subpanels
by fairchild
[July 23, 2019, 10:57:07 AM]
X-Plane 11 multi-monitor & Fly Elise-ng - tuto
by blueskydriver
[July 20, 2019, 05:33:45 AM]
FOR SALE: CA & FO Cockpit Seats with J Rails
by Philip
[July 19, 2019, 04:23:24 PM]
For sale
by TNT
[July 18, 2019, 07:57:29 PM]
For Sale: Dual Linked Rudder Pedals RSP
by Philip
[July 17, 2019, 06:47:22 PM]
Boeing 737 Dual Linked Yokes
by tennyson
[July 16, 2019, 08:59:28 PM]
Flyengravity desktop MIP (SOLD)
by patiju
[July 16, 2019, 02:01:48 PM]
Flight deck solutions FDS-B737NG-PRO-MX- rudder pedal
by Mach7
[July 16, 2019, 04:52:26 AM]
Korry 318 gets hot.
by Joe Lavery
[July 16, 2019, 03:49:14 AM]
What have you done for your simulator today?
by blueskydriver
[July 14, 2019, 10:25:43 AM]
Where to find or how to make this switch guard?
by blueskydriver
[July 13, 2019, 03:46:30 AM]
NIB 747-400 ThrottleTek + FDS CDUs x2 [SOLD]
by blueskydriver
[July 12, 2019, 10:53:12 PM]
FDS 5V IBL Dimmer and Expansion Board / Pokeys 57E (SOLD)
by fsaviator
[July 10, 2019, 08:35:14 PM]
PM MCP.ini Question...
by ScottThePilot
[July 10, 2019, 12:56:38 PM]
Stab Trim Indicator...
by ScottThePilot
[July 09, 2019, 12:56:42 PM]
Teensy LC Throttle Quadrant
by kurt-olsson
[July 08, 2019, 08:09:41 AM]
Multiple Teensys, sketch upload question
by kurt-olsson
[July 08, 2019, 08:05:27 AM]
Anders Simparts - Summer info
by archen
[July 07, 2019, 03:30:31 AM]
Group buy - Oshino OL-2405BP lamps - interested?
by kattz
[July 03, 2019, 09:26:22 PM]
Prosim737 Ver 2 license for sale
by ifeliciano
[July 02, 2019, 09:58:37 AM]
Anyone have this connector and possibly a clamp as well for the yoke?
by mickc
[July 01, 2019, 08:01:04 PM]
Happy Canada Day
by jackpilot
[July 01, 2019, 10:09:40 AM]
MH 370 Article
by FredK
[June 30, 2019, 07:28:41 PM]
Calling any B747 mechs... please help
by kattz
[June 30, 2019, 06:08:50 PM]
International shipping?
by jackpilot
[June 27, 2019, 08:29:07 AM]
Flooring Installed!
by jackpilot
[June 25, 2019, 05:49:57 PM]