Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

ESP32 is placed on the breadboard where two motors namely motorA and motorB are

connected to it.
Motor drive contains the following
pins:IN1,IN2,IN3,IN4,OUT1,OUT2,OUT3,OUT4,VIN,GND.
In motor drive the two output pins(OUT1,OUT2) are connected to motor A and the
other output pins(OUT3,OUT4) are connected to motorB
The input pins IN1,IN2,IN3,IN4 are connected to digital pins 13,12,14,27
respectively
RGB contains four terminals:Red
common anode/cathode
green
blue
The 3 terminals(red,green,blue) in rgb are connected to digital pins 26,25,33
respectively.
The terminals common anode and cathode are responsible for passing power
i.if the terminal is anode then it is connected to Vin
ii. if the terminal is cathode then it is connected to ground(GND).
Finally,the entire robot is connected with a cable.

You might also like