Stepper for R/C

Good day .

I am wondering if using steppers will be a good idea for fitting them in small Rc gauges.

Would it be possible to set all the stepper motor positions to zero by coding a switch button on my Rc transmitor before powering down ?
We probably can but my main question is if this will keep my motors synchronised with the dials of each gauge …

The gauges are really small , using DRV8834 drivers so having encorders might not be an option ,

I was thinking that by having my motors set to zero before powering down this will keep them all sync to the dials , once I power on again, each motor knows where it’s at??

Does this makes sense or will this not work in practice?

Would be interested in anyone who may have done this before ?

Thank you

What kind of thing would that be?

You need a home switch for each stepper.

You need to tell/show what that is.

Please post a link to their datasheet.


These is the gauge and stepper .

Steppers are 6.5mm from AliExpress.. I’m
Also using the DRV8834 as drivers .

If I place the needle at zero on the gauge , would it be possible to count the steps the motor is moving ? After all thr arduino is moving the motor by X amount .

If I were to bring the needle back to zero before shutdown then it will work ??

Once I power up the arduino it will know it’s at zero , or at least tell it by code , then it has a reference point I’m
Thinking …

Automotive gauges are usually zeroed at startup by driving them counterclockwise against the stop pin for a period of time slightly longer than it takes for a full sweep.

I remember a period of time back in the 1970s ~ 80s when car gauges would "hang" at their last position when the ignition key was turned off. When the key was turned on, they would snap to their correct position. For example if the temperature gauge was at 160 on shutdown, it would hang there. If you came back an hour later and turned the key on, the gauge would jump back down to 90 or whatever the current temperature was.

I would have thought a 300 degrees micro servo would be an easier driver for the gauge, as the actual position is taken care of in the servo signal.

Thank you for the info

Quick question ;-

If I set my motor position to zero on the code , since arduino will know how many steps my motor has done ( both clockwise and anti-clockwise ) , if we move the motor back to zero position before switching arduino off , why would we need an encoder ?
Obviously I haven’t tried the above yet so getting some insights as how this would work .

Advise and comments would be great to hear from .. thank you

You should not if your hardware is designed correctly. That's the whole idea of steppers. But if it's not and you have missed steps, count is not valid anymore.

Ok thank you so much for the info and clarification .

For me this is all new , at least using these tiny steppers and trying to code it all …

I have one more question if I may ,

Will arduino remember “last position” after power down ? I am assuming all the data will be lost once I power down arduino but just being curious..

Thank you

If you don't save it to somewhere in permanent memory, no.
What's your "arduino"?

It will using EEPROM …

So it should all work nicely with the right code , at least in theory .

It should remember the step number of each stepper . So long the stepper don’t miss a step as pointed above , the system should work ,,

Pretty much a CNC machine .

Thank you all .

Yep, my cnc can cut for hours hard wood with 0.1mm precision without ever loosing position. Eeprom is only option, if you have "arduino uno" type of board.

Missing steps are not coding issues, they are hardware issues, either motor stalling, or signal interferences...

It can, but if stepper windings are not powered, the shaft position is not held. It is easy to "bump" the setup and then the stored position is lost. Most people home the steppers at system startup.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.