Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 1
  • *Guests: 55
  • *Total: 56

Our Discord

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

737-800 Arduino X-Plane Build
by kurt-olsson
[Today at 03:07:35 AM]
unfinished project 737
by LORENZO
[April 23, 2019, 06:29:47 PM]
What have you done for your simulator today?
by _alioth_
[April 23, 2019, 05:48:41 PM]
Overhead: Where to mount interface cards?
by jackpilot
[April 23, 2019, 05:08:22 PM]
747-400 Yoke Color
by bernard S
[April 23, 2019, 04:39:55 PM]
737 MAX Sismo soluciones (SPAIN)
by kkoutoulas
[April 23, 2019, 02:53:50 PM]
TV Screen Position
by iwik
[April 22, 2019, 07:53:38 PM]
Question on B737NG center pedestal instrument availability
by navymustang
[April 22, 2019, 05:05:09 PM]
Wanted - Jetmax B737 TQ
by kattz
[April 22, 2019, 12:57:09 AM]
Multi-Projector color calibration
by jmlohrenz
[April 21, 2019, 05:33:40 PM]
Bernard...info
by FredK
[April 20, 2019, 06:29:17 PM]
Complete 200 degree curved visual system with projectors
by fsaviator
[April 20, 2019, 04:25:12 PM]
For Sale GoFlight Jet Console, 2 Private Pilot Racks all with GoFlight Modules.
by blueskydriver
[April 20, 2019, 11:26:43 AM]
Old Projector(s)
by fsaviator
[April 20, 2019, 10:53:59 AM]
OEM 737NG project - Long overdue update
by Karl737
[April 19, 2019, 09:56:23 PM]
CPFlight 737 NG MCP Pro and Efis Pro
by patiju
[April 19, 2019, 06:14:33 PM]
Goflight Airliners collection stuff for sale
by Steenos
[April 19, 2019, 03:22:12 PM]
German B738NG Homecockpit-Projekt
by Joe Lavery
[April 19, 2019, 04:59:21 AM]
Teensy LC Throttle Quadrant
by RayS
[April 18, 2019, 03:38:14 PM]
FSDream Team Couatl crashes when shutting down computers - any ideas
by navymustang
[April 18, 2019, 08:25:11 AM]
FLIGHTSIMEXPO RELEASES 2019 SPEAKER SCHEDULE, ANNOUNCES NEW PARTNERSHIP WITH EAA
by 757Simulator
[April 18, 2019, 04:20:53 AM]
Teensy as Joystick
by kurt-olsson
[April 16, 2019, 01:54:29 PM]
Which Processor i7 - 8700K or i7 - 9700K
by Joe Lavery
[April 15, 2019, 04:00:33 PM]
Computer / Projector Combo
by blueskydriver
[April 15, 2019, 02:50:24 PM]
Flyengravity desktop MIP
by Steenos
[April 15, 2019, 02:22:39 PM]
Join me on Vatsim Tonight
by Trevor Hale
[April 14, 2019, 05:07:50 PM]
Interfacing real instruments in p3d
by Steve Mount
[April 14, 2019, 04:56:08 PM]
Flight Sim Visual System on Public Surplus...
by bernard S
[April 14, 2019, 12:53:56 PM]
Aerosoft Australia 747 MCP
by 737simAdelaide
[April 14, 2019, 05:16:58 AM]
CPFlight 737 EL MCP For Sale
by 737simAdelaide
[April 14, 2019, 05:12:54 AM]