Professional Documents
Culture Documents
Department of Technical Education
Department of Technical Education
Department of Technical Education
Capstone project
Capstone project details:
2. Likitha T (499EC20013)
3. Roopa N (499EC20026)
1
Figure 2.1: Circuit Diagram
The heart of this project is Arduino. The Arduino Nano is a small, versatile
microcontroller board based on the ATmega328P microcontroller chip. Arduino Nano is
simply a smaller version of Arduino UNO, thus both have all most the same
functionalities. It also has a built-in voltage regulator and a reset button. Automatic reset
during program download, Auto sensing/switching power input, Small mini-B USB for
programming and serial monitor, Manual reset switch.
2.3 IR sensor
A transmitter sends a pulse of IR signals which is detected by the receiver if there
is path based on the angle the signal is received. The IR sensor work by emitting an
infrared signal and then detecting the reflection of that signal of near objects. The
Destination finder robot is designed to follow walls of the robot and turn in the direction
2
where it finds no walls. For this, a sensor which can detect the side walls is required. The
IR sensors can detect the walls of the path based on reflective/non-reflective indirect
incidence.
2.5 Lippo-batteries
Lithium polymer batteries, also known as Lippo batteries, are rechargeable
batteries that use lithium-ion technology. They also have a higher discharge rate, which
means they can deliver power more quickly than other types of batteries. Lippo Batteries
supplies the voltage to all the block. A Lippo battery involves the movement of lithium
ions and electrons between the cathode and the anode, resulting in the storage and release
of energy.
3
Figure: 3.1 Arduino IDE
Arduino Nano:
4
Figure 5.1: Arduino Nano
Power pins: The Arduino Nano has two power pins, labeled 5V and GND, which provide
a regulated 5V power supply for the board and connected components.
Analog pins: The Arduino Nano has six analog input pins, labeled A0 through A5, which
can be used to read analog voltage levels from sensors or other input devices.
Digital pins: The Arduino Nano has 14 digital input/output pins, labeled D0 through D13.
These pins can be configured as either digital input or digital output, and can be used to control
LEDs, motors, or other components.
Serial pins: The Arduino Nano has two serial communication pins, labeled RX and TX,
which can be used to communicate with other devices using the serial protocol.
I2C pins: The Arduino Nano has two I2C communication pins, labeled SDA and SCL,
which can be used to communicate with other devices using the I2C protocol.
SPI pins: The Arduino Nano has three SPI communication pins, labeled MOSI, MISO,
and SCK, which can be used to communicate with other devices using the SPI protocol.
Reset button: The reset button can be used to reset the board and restart the program.
Microcontroller Atmel Atmega328-2P
5
Operating Voltage (logic level) 5V
Input Voltage (recommended) 7-12V
Digital I/O Pins 14 (of which 6 provide PWM output)
Analog Input Pins 8
DC Current per l/O Pin 40 mA
Flash Memory 32 KB (of which 2KB used by bootloader)
SRAM 2 KB
EEPROM 1 KB
Clock Speed 16 MHz
Overall, the Arduino Nano is a versatile microcontroller board that can be used for a wide
range of projects, from simple LED blinking programs to complex robotics projects. By connecting
sensors, motors, and other components to the board, it is possible to create interactive and
responsive projects that can sense and interact with the world around them.
Ultrasonic sensor:
VCC pin: This pin is used to provide power to the sensor. The VCC pin of the sensor
should be connected to the 5V pin of the Arduino Nano.
6
GND pin: This pin is used for ground connection. The GND pin of the sensor should be
connected to the GND pin of the Arduino Nano.
TRIG pin: This pin is used to trigger the ultrasonic pulse that is sent to the object. The
TRIG pin of the sensor should be connected to a digital pin on the Arduino Nano. In the wiring
diagram, it is connected to digital pin D12.
ECHO pin: This pin is used to receive the ultrasonic pulse that is reflected off the object.
The ECHO pin of the sensor should be connected to a different digital pin on the Arduino Nano. In
the wiring diagram, it is connected to digital pin D11.
To use an ultrasonic sensor, you would typically connect the VCC and GND pins to your power
supply, and then connect the Trig and Echo pins to the input and output pins of your
microcontroller or other device. You can then program your device to send a trigger signal to the
sensor, and to read the Echo signal to determine the distance to nearby objects.
Model HC-SR04
Operating Voltage (VDC) 5
Average Current Consumption (mA) 2
Frequency (Hz) 40000
Sensing Angle 15A
Max. Sensing Distance (cm) 450
Weight (gm) 9
Sensor Cover Dia. (mm) 16
PCB Size (LxW) mm 45x20
Shipment Weight 0.014kg
Shipment Dimensions 5x4x3cm
IR Sensor:
7
Figure 5.5: IR sensor
VCC pin: The VCC pin is connected to the power supply, which can be either 5V or 3.3V
depending on the sensor's specifications.
OUT pin: The OUT pin is the digital output pin. It provides a high or low signal
depending on whether an object is detected within the sensor's range.
8
Figure 5.7: L298N Motor driver
Power Input: The L298N motor driver can handle a wide range of input voltages
(typically between 5V and 35V), depending on the voltage requirements of your motors. The
power input is connected to the two pins on the left-hand side of the module, labeled "12V" and
"GND".
Logic Input: The L298N motor driver requires two digital input signals (one for each
motor) to control the speed and direction of the motors. These logic inputs are connected to the
four pins in the middle of the module, labeled "IN1", "IN2", "IN3", and "IN4".
Motor Output: The L298N motor driver has four output pins (two for each motor),
labeled "OUT1", "OUT2", "OUT3", and "OUT4". These pins are used to connect the motors to the
driver.
Motor Power: The L298N motor driver has a built-in voltage regulator that can provide
power to the motors (up to 2A per channel). This power output is connected to the two pins on the
right-hand side of the module, labeled "5V" and "GND".
9
Operating Voltage (VDC) 5~35
Peak Current (A) 2
Continuous Current (A) 0-36mA
No. of Channels 2
Over-Current Protection (A) Yes
Thermal Protection Yes
LED Indicator Yes
Cooling Fan No
Arduino Sheild No-can be used with Wire connection
Dimensions in mm (LxWxH) 44 x 44 x 28
Weight (gm) 25
Max power A 25W
Shipment Weight 0.03 kg
Shipment Dimensions 7x7 x 3 cm
DC Motor
Positive and Negative Leads: A DC motor has two leads, one positive (+) and one
negative (-), which are used to power the motor.
10
Power Source: To power the DC motor, connect the positive lead to the positive terminal
of the power source (such as a battery or power supply), and connect the negative lead to the
negative terminal of the power source.
Motor Driver: A motor driver is often used to control the speed and direction of a DC
motor. The motor driver acts as an interface between the microcontroller or other control circuitry
and the motor.
Control Signals: The control signals for the motor driver typically consist of two signals:
one to control the speed (PWM signal), and one to control the direction (direction control signal).
The robot construction has some aspects has been considered. First of all the maze robot
must be appropriately dimensioned. Furthermore, the robot must be able to run through the maze,
turn around and take turns, if needed. A ball caster was chosen as front wheel in order to provide
more mobility. Placing extra platform above the chassis also helps reducing the size of the robot.
The battery pack was placed on the lower platform for increased stability.
The main base of the demonstrator is a laser cut 5 mm acrylic plastic. Two houses for the
two DC motors was three-dimensional (3D) printed and mounted on the same horizontal axis
enabling a differential steering system, The two DC motors where then placed and fixed in the
houses with a clamp mechanism. A second floor was added, a laser cut 5 mm acrylic plastic, which
was mounted above the main base providing extra space needed for the Arduino, motor driver and
the breadboard. Three holders for the ultrasonic sensors was 3D printed and mounted in the front as
well as both side of the demonstrator creating a fixed placement for the sensors, and minimizing
the measurement error.
11
Figure 7.1: 4 Wheel Robot Chassis
12