Welcome to Cockpitbuilders.com. Please login or sign up.

April 28, 2024, 03:41:03 PM

Login with username, password and session length

PROUDLY ENDORSING


Fly Elise-ng
490 Guests, 0 Users
Members
  • Total Members: 4,154
  • Latest: xyligo
Stats
  • Total Posts: 59,641
  • Total Topics: 7,853
  • Online today: 498
  • Online ever: 582
  • (January 22, 2020, 08:44:01 AM)
Users Online
Users: 0
Guests: 490
Total: 490

COUNTDOWN TO WF2022


WORLDFLIGHT TEAM USA

Will Depart in...

Recent

Welcome

Stepper Motor Gauges

Started by mikeybear, April 25, 2018, 03:03:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mikeybear

Hi .

I'm currently trying to build a couple of 3 needle gauges  using 3 stepper motors and have the prototypes working quite well.
The issue I still have to resolve , is zeroing them on startup , perhaps by using a photodetector .
Has anyone here solved this issue already ?

Thanks in advance

Dave

mickc

If they are continuous rotation steppers, then yes, you need to have a home position sensor.
Photosensors are a good option, I have also used hall effect sensors with micro neodymium magnets. 

archen

How do you make them calibrate on each startup? I mean software wise?



Skickat från min SM-G955F via Tapatalk

------------
Anders Simparts
http://www.anderssimparts.com
https://www.facebook.com/ArchenSimparts
Selling "Hard-to-get" simparts like authentic Engine starters, Autobrake, IRS mode selectors and N1&SPD Ref Switches.
------------

Atomic_Sheep

Quote from: archen on April 25, 2018, 06:20:43 AM
How do you make them calibrate on each startup? I mean software wise?



Skickat från min SM-G955F via Tapatalk

Rotate stepper until either a photo or magnetic switch is triggered. Place photo or magnetic switch where desired.

mickc

Yep, pretty much what Dimitry said.

Make the stepper move in one direction until the home sensor is activated (this is obviously the physical "0" position of the gauge) then set the position in the code to 0 steps.

This will depend on your hardware platform etc

mikeybear

Thanks Mick,

I think I'm going to investigate using hall effect , before photodetector, as I have very little space to play with.

Regards

Dave

Like the Website ?
Support Cockpitbuilders.com and Click Below to Donate