Do not power the motors from the supermini, only use the batteries for motor power.
When programming the supermini just make sure the battery is not connected to it
To be safe, always disconnect all power (USB and batteries) from everything when making connections and disconnections.
I were using one battery for both motors and supermini. However probably it burned when I just plugged it to computer when wired to hbridge. Is there a way for me to know exactly what is dead? Is that voltage regulator? So I can check something while waiting for the new board..
Yes, unsolder all the components from the board and test them one by one. However, if one failed it may cause others to fail, so you will never know which one failed first.
OK. Looks like I need tools for this :(. My soldering iron is not good for smd components.
So in other words a lot of things may kill the board. And it's hard to say what exactly.
True
I have a new problem now. I have made a simple RC component (using another esp32c3mini board) and used espnow to transfer signals from one esp32 to another.
I am using the approach to send state from one board to another every 50ms, so they are synced. The approach works fine, when I test things with diodes. However when I try to spin motors (via HBridge) the Car stops receiving signals :(.
E.g. once motor starts - esp has problems getting new signals. Eventually after a couple of seconds the signal arrives.
Chat GPT has a few versions why it happens:
- Once motor start the power source loses a lot of current so it drops wifi
- Motor produce a lot of electric noise, so it’s desirable to have a capacitor between motor legs, and ideally have the motor far away from esp32.
I wonder what do you think about the case. Right now the enclosure looks like this:
How is everything powered?
4.7V??
What kind of battery is this?
Sorry it’s 4.8V (AFTERTECH Ni-MH batteripaket 4,8 V 2400 mAh 58 x 52 x 15 mm med USB-laddningskabel och SM 2P KET JST E3E2 kontakt) [https://www.amazon.se/dp/B0DKC9487S?ref=ppx_yo2ov_dt_b_fed_asin_title&th=1\]
Can you make the motors run without using espnow?

