Arduino Nano Compatible Motor Driver Shield
this is an Arduino Nano compatible Motor Driver Shield which has a Headers for all sorts of sensors required to make a robotic car, and it has l293d to drive motors.
Created by
TheMudGuy
Tier 3
12 views
0 followers
tty7 ⚡
requested changes for Arduino Nano Compatible Motor Driver Shield ago
user request - transferring to stasis
TheMudGuy
submitted Arduino Nano Compatible Motor Driver Shield for ship review ago
nimit ⚡🚀
requested changes for Arduino Nano Compatible Motor Driver Shield ago
.
TheMudGuy
submitted Arduino Nano Compatible Motor Driver Shield for ship review ago
TheMudGuy
added to the journal ago
Completed the documentation, BOM, Silkscreen ,
so yhh i completed the BOM, documentation, and silkscreen
so first i noticed that my pcb is missing a resitor so added it

then tweaked the PCB like the silkscreens fixed DRCs, and now all DRC is clear too:






then after that i made the cost breakdown:
For the Shield
cart:



Total(incl. of shipping, gst etc):
rs 223(2.54 usd) + 1100 rs(12.07 usd) = 1323 rs(14.54 usd)
.
.
For the 2wd car:
cart:

Total = 852 rs for the 2wd car components
Total(inclduing the pcb, components and shield):
PCB - 1100 rs
Shield - 223 rs
component = 852 rs
Total = 2175 rs(23.86 usd)
After this i writted the README.md which u can read at - https://github.com/Aryan-git-byte/Arduino-nano-compatible-shield/blob/main/README.md
and then after all these i published it to github at https://github.com/Aryan-git-byte/Arduino-nano-compatible-shield
now i'll submit it for review
TheMudGuy
added to the journal ago
routed the PCB
it was hard and tricky but did it , i've routed all the components and added fill for 5v and gnd at both layer,
and now its all looking good, next i will add silkscreen , and then push to github,
here are some pics:



TheMudGuy
added to the journal ago
Assigned all the footprints and started to work on the pcb

so i assigned all the footprints to their corrective symbols, and the next step will be to route , design and place em, however i'd some confusion about the screw terminal footprint but now its all good to go as i downloaded from snapeda
TheMudGuy
added to the journal ago
completed the pcb

after testing succesfully in tinkercad, i opened kicad & made the schematic
this contain connectors for 2x servo, 3x ir, 1 x hcsr04, 1x hc05, 1x mpu6050, motors output, motor driver and mcu
next i am thinking to make the pcb under 100 x 100 mm
TheMudGuy
added to the journal ago
Troubleshooting in tinkercad
okay, so lets do it step by step this time, first i got the motor driver and the breadboard and uno :

now lets do power pins:

Now lets wire it to arduino:

yayyyy its working with the code:
void setup() {
pinMode(5, OUTPUT);
pinMode(2, OUTPUT);
pinMode(7, OUTPUT);
digitalWrite(5, HIGH);
digitalWrite(2, HIGH);
digitalWrite(7, LOW);
}
void loop() {}
So its:
Left Side
Pin 1 (EN1) → D5 (PWM)
Pin 2 (1A) → D2
Pin 7 (2A) → D7
Right Side
Pin 9 (EN2) → D3 (PWM)
Pin 10 (3A) → D8
Pin 15 (4A) → D4
Logic Power
Pin 16 (VCC1) → Nano 5V
Pins 4,5,12,13 → Nano GND
Motor Power
Pin 8 (VCC2) → Motor Battery +
Motor Battery – → Nano GND
2WD:


power supply should be 9-12V
code:
// Left Motor
#define ENA 5
#define IN1 2
#define IN2 7
// Right Motor
#define ENB 3
#define IN3 8
#define IN4 4
void setup() {
pinMode(ENA, OUTPUT);
pinMode(IN1, OUTPUT);
pinMode(IN2, OUTPUT);
pinMode(ENB, OUTPUT);
pinMode(IN3, OUTPUT);
pinMode(IN4, OUTPUT);
}
void forward(int speedVal) {
digitalWrite(IN1, HIGH);
digitalWrite(IN2, LOW);
digitalWrite(IN3, HIGH);
digitalWrite(IN4, LOW);
analogWrite(ENA, speedVal);
analogWrite(ENB, speedVal);
}
void backward(int speedVal) {
digitalWrite(IN1, LOW);
digitalWrite(IN2, HIGH);
digitalWrite(IN3, LOW);
digitalWrite(IN4, HIGH);
analogWrite(ENA, speedVal);
analogWrite(ENB, speedVal);
}
void leftTurn(int speedVal) {
digitalWrite(IN1, LOW);
digitalWrite(IN2, HIGH);
digitalWrite(IN3, HIGH);
digitalWrite(IN4, LOW);
analogWrite(ENA, speedVal);
analogWrite(ENB, speedVal);
}
void rightTurn(int speedVal) {
digitalWrite(IN1, HIGH);
digitalWrite(IN2, LOW);
digitalWrite(IN3, LOW);
digitalWrite(IN4, HIGH);
analogWrite(ENA, speedVal);
analogWrite(ENB, speedVal);
}
void stopMotors() {
analogWrite(ENA, 0);
analogWrite(ENB, 0);
}
void loop() {
forward(180);
delay(2000);
backward(180);
delay(2000);
leftTurn(180);
delay(2000);
rightTurn(180);
delay(2000);
stopMotors();
delay(2000);
}
TheMudGuy
added to the journal ago
TRIED THE IDEA IN TINKERCAD

So i connected these as per the guide about l293d, and whenn i run simulation, it goes boom

i will try again this time with neat wiringn and maybe in another simulator
TheMudGuy
started Arduino Nano Compatible Motor Driver Shield ago
2/17/2026 9:07 AM - TRIED THE IDEA IN TINKERCAD

So i connected these as per the guide about l293d, and whenn i run simulation, it goes boom

i will try again this time with neat wiringn and maybe in another simulator
2/17/2026 9:25 AM - Troubleshooting in tinkercad
okay, so lets do it step by step this time, first i got the motor driver and the breadboard and uno :

now lets do power pins:

Now lets wire it to arduino:

yayyyy its working with the code:
void setup() {
pinMode(5, OUTPUT);
pinMode(2, OUTPUT);
pinMode(7, OUTPUT);
digitalWrite(5, HIGH);
digitalWrite(2, HIGH);
digitalWrite(7, LOW);
}
void loop() {}
So its:
Left Side
Pin 1 (EN1) → D5 (PWM)
Pin 2 (1A) → D2
Pin 7 (2A) → D7
Right Side
Pin 9 (EN2) → D3 (PWM)
Pin 10 (3A) → D8
Pin 15 (4A) → D4
Logic Power
Pin 16 (VCC1) → Nano 5V
Pins 4,5,12,13 → Nano GND
Motor Power
Pin 8 (VCC2) → Motor Battery +
Motor Battery – → Nano GND
2WD:


power supply should be 9-12V
code:
// Left Motor
#define ENA 5
#define IN1 2
#define IN2 7
// Right Motor
#define ENB 3
#define IN3 8
#define IN4 4
void setup() {
pinMode(ENA, OUTPUT);
pinMode(IN1, OUTPUT);
pinMode(IN2, OUTPUT);
pinMode(ENB, OUTPUT);
pinMode(IN3, OUTPUT);
pinMode(IN4, OUTPUT);
}
void forward(int speedVal) {
digitalWrite(IN1, HIGH);
digitalWrite(IN2, LOW);
digitalWrite(IN3, HIGH);
digitalWrite(IN4, LOW);
analogWrite(ENA, speedVal);
analogWrite(ENB, speedVal);
}
void backward(int speedVal) {
digitalWrite(IN1, LOW);
digitalWrite(IN2, HIGH);
digitalWrite(IN3, LOW);
digitalWrite(IN4, HIGH);
analogWrite(ENA, speedVal);
analogWrite(ENB, speedVal);
}
void leftTurn(int speedVal) {
digitalWrite(IN1, LOW);
digitalWrite(IN2, HIGH);
digitalWrite(IN3, HIGH);
digitalWrite(IN4, LOW);
analogWrite(ENA, speedVal);
analogWrite(ENB, speedVal);
}
void rightTurn(int speedVal) {
digitalWrite(IN1, HIGH);
digitalWrite(IN2, LOW);
digitalWrite(IN3, LOW);
digitalWrite(IN4, HIGH);
analogWrite(ENA, speedVal);
analogWrite(ENB, speedVal);
}
void stopMotors() {
analogWrite(ENA, 0);
analogWrite(ENB, 0);
}
void loop() {
forward(180);
delay(2000);
backward(180);
delay(2000);
leftTurn(180);
delay(2000);
rightTurn(180);
delay(2000);
stopMotors();
delay(2000);
}
2/17/2026 12 PM - completed the pcb

after testing succesfully in tinkercad, i opened kicad & made the schematic
this contain connectors for 2x servo, 3x ir, 1 x hcsr04, 1x hc05, 1x mpu6050, motors output, motor driver and mcu
next i am thinking to make the pcb under 100 x 100 mm
2/17/2026 1 PM - Assigned all the footprints and started to work on the pcb

so i assigned all the footprints to their corrective symbols, and the next step will be to route , design and place em, however i'd some confusion about the screw terminal footprint but now its all good to go as i downloaded from snapeda
2/19/2026 3 PM - routed the PCB
it was hard and tricky but did it , i've routed all the components and added fill for 5v and gnd at both layer,
and now its all looking good, next i will add silkscreen , and then push to github,
here are some pics:



2/19/2026 8 PM - Completed the documentation, BOM, Silkscreen ,
so yhh i completed the BOM, documentation, and silkscreen
so first i noticed that my pcb is missing a resitor so added it

then tweaked the PCB like the silkscreens fixed DRCs, and now all DRC is clear too:






then after that i made the cost breakdown:
For the Shield
cart:



Total(incl. of shipping, gst etc):
rs 223(2.54 usd) + 1100 rs(12.07 usd) = 1323 rs(14.54 usd)
.
.
For the 2wd car:
cart:

Total = 852 rs for the 2wd car components
Total(inclduing the pcb, components and shield):
PCB - 1100 rs
Shield - 223 rs
component = 852 rs
Total = 2175 rs(23.86 usd)
After this i writted the README.md which u can read at - https://github.com/Aryan-git-byte/Arduino-nano-compatible-shield/blob/main/README.md
and then after all these i published it to github at https://github.com/Aryan-git-byte/Arduino-nano-compatible-shield
now i'll submit it for review