Hey, I want to build a self-balancing robot. I use a Arduino Nano clone to control my Nema 17 stepper motors. For the drivers I use the a4988. I have a 12 V voltage source, but I only use 7 V for the VIN-Pin (through a voltage divider).
Now the problem I have is that my Nanos only survive for a day. After that the voltage transformer gets really hot and the port disappears, so I can´t upload anything.
Hi, actually I have ca. 11 V. I used the voltage divider, because i thought that the Arduino would last longer with 7 V. Unfortunately, it burned out too.
But yes, it does not make a difference, so I could get rid off it.
Thanks for the schematic, that appears to be in order I can't see why it should give you trouble. However, I can't see what is powering the Nano on the schematic it looks like from the photograph this was when you were using the potential divider. This could be a problem because solderless bread board is notorious for having intermittent connections. It only takes the bottom leg to come out and you are applying 12V to the Nano.
This is bad because the heat sink for the regulator on the nano is just a small area of copper and it will quickly over heat.
The thinking is right but the implementation wrong.
Does that mean the resistors burned out? If so I am not surprised, if I read the colours correctly from the photograph, they are 10R and 22R, producing a current of 344mA down the chain and they look like only quarter watt resistors. Quite simply a potential divider is the wrong thing to do.
What I would be inclined to do is to fit a fixed 5V linear regulator to the motor voltage and feed that into the 5V pin of the nano. Don't forget the decoupling capacitors on the input and output of the board and maybe a heat sink on the regulator. Remember it is driving the HC-06 as well as the Nano.
I would also build this on strip board soldered up. However, those motor currents are too high even for strip board so I would also reinforce the current carrying capacity of the strips carrying current to and from the motor and driver with a length of tinned copper wire soldered over the track to finish off. You shouldn't be running a circuit like this on solderless bread board for long periods, it is only a very temporary soloution.
That is for each coil so a single motor will draw on avrage 2.6 Amps. As this is a chopping regulator then the peak current will be higher. Can your supply handle this?
Thank you for your answer. The 5 V regulator is good idea. Unfortunately I have to use a breadboard (project for school)... So I will try to minimize the currents as far as possible.
I think my suppy can handle this. I use 3x 3.6 V Batteries with a protection board (Datasheet: https://www.akkuline.de/media/pdf/1b/55/bf/INR18650-15M.pdf).
Also, I switched something up. The USB-TTL Chip gets hot! It is a CH340.
NO!
You tell them at school that this project is not suitable for using a bread board. It is about time the teachers knew these things. You should get credit for knowing this. If they insist then report the teachers to the school head.
Are you trying to run this system with the Nano plugged into the computer's USB and the main supply being fed by something else?
As you have a CH340 you have not got a real Nano and it looks like the clone makers have screwed up on the design if this is getting hot. In this case then don't power the board externally at all and just use the USB power. Note you will need to switch in external power if you want to run it without the USB connected.