I want to build a balancing bot, but my Nanos burn out

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.

What does this mean?