Hello guys. I'm making a small Arduino Nano project, that will include the simple 5V 28byj-48 stepper motor and ULN 2003 driver and a 16x2 LCD.
I have a 5V 1.5A AC\DC adapter, just wanted to know if I could just wire the motor and arduino in parallel (through a female connector), and grounding them together, like in this drawing I added below.
Just before posting this I realized I have another problem - I'm currently powering my lcd screen through the 5V pin. damn it. So now how do I power the lcd...
I tried powering it through a digital pin being but it only flashes light when uploading the code then it's completely off.
any solutions to any of the problems?
Do not feed 5V to Vin. Vin goes to the onboard 5V regulator. The regulator must have a minimum input voltage of 7V for it to be able to properly regulate. Connect 5V to the 5V pin.
Otherwise, OK.
Post images here, not on some external site. All you need to do is drag and drop the image file into a post.
I'm sorry this is wrong pic!!! I added the correct one. Problem still remains...
I actually thought it's better fomatted when posting photos like that.
Sorry & thanks
And Providing only 5v to a nano on Vin could lead to disappointments
From the specs:
Power
The Arduino Nano can be powered via the Mini-B USB connection, 6-20V unregulated external power supply (pin 30), or 5V regulated external power supply (pin 27). The power source is automatically selected to the highest voltage source.
Power the servo from the 5V 1.5A supply. Connect the 5V from the supply (not from the Nano) to the + input of the servo, the servo ground to the ground of the 5V supply and to the Nano ground and the signal wire of the servo to any Nano digital pin. Note that the analog inputs (except A6 and A7), are in reality, digital pins with analog input as a special function so can control a servo, too.
But how are the Nano and the stepper motor powered in this method?
Also, I have another question please - I have 3 legged 2.1x5.5 insert, are the legs different one from another or I could just use any 2 as + and any one as GND ?
Thanks
Are what pins different? So you mean the ICSP 5V and ground compared to the regular 5V and ground power pins. Electrically, no. They are wired in parallel though the PCB traces may be smaller to the ICSP pins so won't carry much current. OK to supply a LCD, though.