Blueprint

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 TheMudGuy

Tier 3

12 views

0 followers

tty7 tty7 requested changes for Arduino Nano Compatible Motor Driver Shield ago

user request - transferring to stasis

TheMudGuy TheMudGuy submitted Arduino Nano Compatible Motor Driver Shield for ship review ago

nimit nimit ⚡🚀 requested changes for Arduino Nano Compatible Motor Driver Shield ago

.

TheMudGuy TheMudGuy submitted Arduino Nano Compatible Motor Driver Shield for ship review ago

TheMudGuy 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
image

then tweaked the PCB like the silkscreens fixed DRCs, and now all DRC is clear too:
f.silscreen3d-top3d-backb.silkscreen
topbottom

then after that i made the cost breakdown:

For the Shield

item name quantity description link cost
PCB manufacturing(5) 1 production/gerber.zip from jlcpcb 4 usd (360 rs)
male header x 40 1 for connectors https://quartzcomponents.com/products/40-pin-break-away-headers-straight-male-headers 7 rs
female hedaersx40 2 for arduino nano & conectors https://quartzcomponents.com/products/40-pin-straight-female-berg-strips 10 rs
l293d 1 motor driver ic https://quartzcomponents.com/products/l293d-motor-driver-ic 19 rs
buzzer 1 buzzzz https://quartzcomponents.com/products/piezo-buzzer 13 rs
2 pin screw terminal 3 for motor outputs and power inputs https://quartzcomponents.com/products/2-pin-pcb-mount-terminal-block-screw-type?variant=37646366474424&country=IN&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic?utm_source=google&utm_medium=FreeListings rs 4
l7805 1 voltage regulator https://quartzcomponents.com/products/lm7805-5v-positive-regulator?variant=31898041942151&country=IN&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic?utm_source=google&utm_medium=FreeListings rs 8
mini heatsink for l7805 1 to absorb the heat of the l7805 https://quartzcomponents.com/products/22-15-10mm-black-aluminum-heat-sink-for-to-220-package-power-transistor-cooling?variant=45643070800106&country=IN&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic?utm_source=google&utm_medium=FreeListings rs 19
led 1 for the status https://quartzcomponents.com/products/red-5mm-led rs 2
100 nf ceramic 6 for decoupling https://quartzcomponents.com/products/10000-pf-0-1uf-ceramic-capacitor?variant=31898110197895&country=IN&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic?utm_source=google&utm_medium=FreeListings rs 5
470 uF electrolytic 2 for safety https://quartzcomponents.com/products/470-%C2%B5f-25v-radial-electrolytic-capacitor-through-hole?variant=45660873916650&country=IN&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic?utm_source=google&utm_medium=FreeListings rs 5

cart:

jlcpcb
quartz1
quartz

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:

Item name quantity link price
2wd chasis car set 1 https://robocraze.com/products/2wd-two-wheel-drive-diy-kit-a-smart-robot-car-with-chassis?variant=40192705036441&country=IN&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic rs 289
servo 1 https://robocraze.com/products/sg90-micro-servo-motor?variant=40192525238425 rs 109
ir sensor 3 https://robocraze.com/products/ir-proximity-sensor-1?variant=40192623640729&country=IN&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic rs 29
HC-05 1 https://robocraze.com/products/hc-05-bluetooth-module?variant=40193264189593&country=IN&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic rs 224
HC-SR04 1 https://robocraze.com/products/hc-sr-04-ultrasonic-sensor?variant=40192340983961&country=IN&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic rs 74
hc-sr04 mounting bracket 1 https://robocraze.com/products/mounting-bracket-for-hc-sr04-ultrasonic-module?variant=43394849112288&country=IN&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic rs 20
mpu6050 1 https://robocraze.com/products/mpu-6050-triple-axis-accelerometer-gyroscope-module?variant=40192322011289&country=IN&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic rs 175

cart:

robocraze

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 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:
image
image

image

TheMudGuy TheMudGuy added to the journal ago

Assigned all the footprints and started to work on the pcb

image

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 TheMudGuy added to the journal ago

completed the pcb

image

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 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 :
image
now lets do power pins:
image

Now lets wire it to arduino:
image

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:
image

image

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 TheMudGuy added to the journal ago

TRIED THE IDEA IN TINKERCAD

image

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

i will try again this time with neat wiringn and maybe in another simulator

TheMudGuy TheMudGuy started Arduino Nano Compatible Motor Driver Shield ago

2/17/2026 9:07 AM - TRIED THE IDEA IN TINKERCAD

image

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

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 :
image
now lets do power pins:
image

Now lets wire it to arduino:
image

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:
image

image

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

image

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

image

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:
image
image

image

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
image

then tweaked the PCB like the silkscreens fixed DRCs, and now all DRC is clear too:
f.silscreen3d-top3d-backb.silkscreen
topbottom

then after that i made the cost breakdown:

For the Shield

item name quantity description link cost
PCB manufacturing(5) 1 production/gerber.zip from jlcpcb 4 usd (360 rs)
male header x 40 1 for connectors https://quartzcomponents.com/products/40-pin-break-away-headers-straight-male-headers 7 rs
female hedaersx40 2 for arduino nano & conectors https://quartzcomponents.com/products/40-pin-straight-female-berg-strips 10 rs
l293d 1 motor driver ic https://quartzcomponents.com/products/l293d-motor-driver-ic 19 rs
buzzer 1 buzzzz https://quartzcomponents.com/products/piezo-buzzer 13 rs
2 pin screw terminal 3 for motor outputs and power inputs https://quartzcomponents.com/products/2-pin-pcb-mount-terminal-block-screw-type?variant=37646366474424&country=IN&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic?utm_source=google&utm_medium=FreeListings rs 4
l7805 1 voltage regulator https://quartzcomponents.com/products/lm7805-5v-positive-regulator?variant=31898041942151&country=IN&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic?utm_source=google&utm_medium=FreeListings rs 8
mini heatsink for l7805 1 to absorb the heat of the l7805 https://quartzcomponents.com/products/22-15-10mm-black-aluminum-heat-sink-for-to-220-package-power-transistor-cooling?variant=45643070800106&country=IN&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic?utm_source=google&utm_medium=FreeListings rs 19
led 1 for the status https://quartzcomponents.com/products/red-5mm-led rs 2
100 nf ceramic 6 for decoupling https://quartzcomponents.com/products/10000-pf-0-1uf-ceramic-capacitor?variant=31898110197895&country=IN&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic?utm_source=google&utm_medium=FreeListings rs 5
470 uF electrolytic 2 for safety https://quartzcomponents.com/products/470-%C2%B5f-25v-radial-electrolytic-capacitor-through-hole?variant=45660873916650&country=IN&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic?utm_source=google&utm_medium=FreeListings rs 5

cart:

jlcpcb
quartz1
quartz

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:

Item name quantity link price
2wd chasis car set 1 https://robocraze.com/products/2wd-two-wheel-drive-diy-kit-a-smart-robot-car-with-chassis?variant=40192705036441&country=IN&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic rs 289
servo 1 https://robocraze.com/products/sg90-micro-servo-motor?variant=40192525238425 rs 109
ir sensor 3 https://robocraze.com/products/ir-proximity-sensor-1?variant=40192623640729&country=IN&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic rs 29
HC-05 1 https://robocraze.com/products/hc-05-bluetooth-module?variant=40193264189593&country=IN&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic rs 224
HC-SR04 1 https://robocraze.com/products/hc-sr-04-ultrasonic-sensor?variant=40192340983961&country=IN&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic rs 74
hc-sr04 mounting bracket 1 https://robocraze.com/products/mounting-bracket-for-hc-sr04-ultrasonic-module?variant=43394849112288&country=IN&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic rs 20
mpu6050 1 https://robocraze.com/products/mpu-6050-triple-axis-accelerometer-gyroscope-module?variant=40192322011289&country=IN&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic rs 175

cart:

robocraze

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