This circuit integrates various components controlled by an Arduino Mega 2560 microcontroller. It includes a motor driver (L298N) to control two MRB Planetary gearbox motors, an MPU-6050 sensor for motion tracking, and an HC-06 Bluetooth module for wireless communication. The circuit is designed to manage motor operations, read sensor data, and communicate wirelessly, likely for a robotics or automation project.
3V3
connected to Domino-8 pin 6
D21/SCL
connected to Domino-8 pin 3
D20/SDA
connected to Domino-8 pin 4
D19/RX1
connected to Domino-8 pin 8
D18/TX1
connected to Domino-8 pin 7
D2 PWM
connected to Domino-8 pin 5
D4 PWM
connected to L298N DC motor driver IN3
D5 PWM
connected to L298N DC motor driver IN4
D6 PWM
connected to L298N DC motor driver IN1
D7 PWM
connected to L298N DC motor driver IN2
D11 PWM
connected to L298N DC motor driver ENA
D12 PWM
connected to L298N DC motor driver ENB
IN3
connected to Arduino Mega 2560 D4 PWM
IN4
connected to Arduino Mega 2560 D5 PWM
IN1
connected to Arduino Mega 2560 D6 PWM
IN2
connected to Arduino Mega 2560 D7 PWM
ENA
connected to Arduino Mega 2560 D11 PWM
ENB
connected to Arduino Mega 2560 D12 PWM
OUT1
connected to MRB Planetary gearbox motor -
OUT2
connected to MRB Planetary gearbox motor +
OUT3
connected to MRB Planetary gearbox motor -
OUT4
connected to MRB Planetary gearbox motor +
VCC
connected to conn9 pin 7
and Domino-8 pin 6
GND
connected to conn9 pin 2
and Domino-8 pin 1
SCL
connected to conn9 pin 3
and Domino-8 pin 3
SDA
connected to conn9 pin 4
and Domino-8 pin 4
INT
connected to conn9 pin 6
and Domino-8 pin 5
+
connected to L298N DC motor driver OUT2
and OUT4
-
connected to L298N DC motor driver OUT1
and OUT3
RXD
connected to conn9 pin 9
and Domino-8 pin 8
TXD
connected to conn9 pin 8
and Domino-8 pin 7
GND
connected to conn9 pin 2
and Domino-8 pin 1
VCC
connected to conn9 pin 1
and Domino-8 pin 2
File: sketch.ino
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
File: documentation.txt
(No additional documentation provided for the code)
This concludes the documentation for the provided circuit. The wiring details and code snippets should assist in understanding the circuit's design and functionality.