DC motor: 3-6v
Servo sg90: 3-7.2v
Esp 8266 01: 3.3v
I have 2 Arduino Uno both has their own ac-dc power adapter.
Lets say, 1st Arduino is Ard1
and 2nd is Ard2
.
The Ard1
communicates to a web server (BLYNK) with Esp 01.
Using I2C, Ard1
sends command to Ard2
to power/move the DC motor/Servo.
So far, it has no problem operating with Servo. But,
Whenever the Ard1
commands the Ard2
to power the DC motor.
Right when the DC motor runs(using digitalWrite(motor,HIGH)
) the Esp 01 resets.
Tried using
analogWrite(motor, 102)
though it won't reset instantly, prolong usage randomly resets it anytime.I also tried to test operating Servo and DC motor simultaneously in
Ard2
using Serial commands, without I2C/Esp01. There was no problem at all, both works flawlessly.