waitting motor power

60 views
Skip to first unread message

macho

unread,
Jan 6, 2020, 11:31:18 AM1/6/20
to Smart Stepper
Hello everyoneI made a stepper motor driver and encountered some problems after writing the programLCD screen will prompt after power on"WaitingMOTORPOWER "I read the code. It detects the voltage of the A1 pin. If there is no voltage, it will prompt like thisboard.h line 445:// the motor voltage is 1/101 of the adcx = analogRead (PIN_VMOTOR); // this should be a 10bit value mapped to 3.3V#define PIN_VMOTOR (A1) // analog pin for the motorBut I looked at the schematicThe A1 pin is not connected to the voltage measurement circuit at allWhat's wrong, is this hardware schematic file wrong?https://github.com/Misfittech/nano_stepper/tree/master/hardware
Reply all
Reply to author
Forward
0 new messages