0% found this document useful (0 votes)
3 views

arduino code

The document provides a pin connection guide for various components including the L298N driver, L293 module, servo, and flame sensor module to an Arduino. It details specific Arduino pins to connect for each component, ensuring proper functionality. Additionally, it explains the power connections for the L298N motor driver module, including battery and ground connections.

Uploaded by

Khushi rani
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

arduino code

The document provides a pin connection guide for various components including the L298N driver, L293 module, servo, and flame sensor module to an Arduino. It details specific Arduino pins to connect for each component, ensuring proper functionality. Additionally, it explains the power connections for the L298N motor driver module, including battery and ground connections.

Uploaded by

Khushi rani
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Follow this table in order to make your connections.

L298N driver Pins Arduino Pins

ENA 3

IN1 12

IN2 4

IN3 7

IN4 2

ENB 5

L293 module pins Arduino pins

12v 12v

GND GND

5v 5v

EN1 5v

IN1 GND

IN2 6

Servo pins Arduino pins

Vcc 5v

GND GND

Signal 11

Flame sensor module Arduino pins

Vcc 5v

GND GND
DO (RIGHT) 9

DO (FORWARD) 8

DO (LEFT) 10

For L298N motor driver module, motors are connected to the motor terminals of the motor driver
module. The motor driver has another 3 terminals, in which one is 12Volt connected to the
battery. The GND terminal is connected to the battery’s negative terminal and it is also
connected to the Arduino board GND pin and 5v is connected to 5v of the Arduino board.

You might also like