I’m using Imp003 to drive a motor among other standard functionalities (INPUT/OUTPUT GPIOs).
Using L9110S motor driver https://www.amazon.com/gp/product/B01CBGH2C4/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1 I can switch the motor ON and OFF.
The problem is when the motor is on, it’s causing a lot of instability within Imp. For ex: I have a few GPIOs that I configure as INPUT, and some GPIOs that I configure as OUTPUT. Without doing anything else other than turning on the motor, the Imp is detecting inputs in the INPUT GPIOs and I can also see that some output GPIOs toggle as well. In addition, the imp also restarts several times.
This seems to be pointing to a voltage or current spike issue when the motor is on and it somehow causes an issue with the Imp.
A few things I have tried/note:
- The motor is rated to work from 1.5V and it’s consuming ~0.5A current, so this is not an issue of over current/voltage
- A lot of ringing in motor supply causing issue with Imp -> I tried putting a ton of bypass capacitors on both supply leads and that didn’t help.
- I tried adding diode across the motor
- I also tried separating the power supply themselves where the motor is powered by 2x AA batteries. However since the GND of AA batteries & GND of Imp is connected, the instability is still there. (If I don’t connect the GNDs together, the switch won’t work)
I’m going to try a different (hopefully smaller) motor, but I’m quickly running out of ideas. If anyone can help provide any suggestion, it would be greatly appreciated!
Update: Using a smaller/different motor didn’t help. I