Uno + 4 Wire Stepper Motor + 12V Power Supply


hello, have nema 17 stepper motor easydriver hooked arduino uno 12 volt power supply. eventually, going attach load cell strain meter , want have force @ 8 lbs. stepper motor coupled vertical stage dial rotate depending on if force above or below 8 lbs. of right now, wondering if possible code arduino turn stepper motor "counter clockwise" if 12v power supply under 12v , "clockwise" if on 12v practice when strain meter comes in. there way arduino read how many volts output power supply? i'm stuck right now. thanks!

quote
is there way arduino read how many volts output power supply?

yes, use voltage divider (useful search term) 12 volts down less arduino's supply voltage, , connect analogue pin.
use analogread voltage on input , scale 0..12v


Arduino Forum > Using Arduino > Motors, Mechanics, and Power (Moderator: fabioc84) > Uno + 4 Wire Stepper Motor + 12V Power Supply


arduino

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62