Autonomous Manual
Autonomous Manual
1
Index
1. Sensors
2. On Board Computer(OBC)
2.1Microcontroller ATMEGA 16
2.2LCD
3. Motor driver(L293d)
4. Voltage regulator(7805)
SENSORS
The development PCB of the infrared sensor has one IR transmitter and one IR
receiver . Now the IR sensor transmits the IR signal and the reflected IR signal
is received by the receiver . The received IR signal is weak and need to be
compared hence we use an OP_AMP IC as comparator to compare the voltage
levels and give us the desired output .Now the desired analog signal has been
achieved with the op-anp IC. This analog signal is provided to the ADC of the
microcontroller.
As you can see there are 3 tiny holes in the PCB which represent the ground
voltage and the analog value respectively. Now take the 3 3 pin bus wire that
has been provided to you and solder it to the back view of the PCB carefully so
that the two adjacent pins are not shorted.
The power to the IR sensor module is provided by the ADC itself with the
ON BOARD COMPUTER(OBC)
The board contains a red colour strobe with two wires pinging out
connect a 9-12 v dc battery or an adapter to those wires.
MICROCONTROLLER-ATMEGA16
• High-performance, Low-power AVR® 8-bit Microcontroller
• Advanced RISC Architecture
– 131 Powerful Instructions – Most Single-clock Cycle
Execution
– 32 x 8 General Purpose Working Registers
– Fully Static Operation
– Up to 16 MIPS Throughput at 16 MHz
– On-chip 2-cycle Multiplier
• Nonvolatile Program and Data Memories
– 16K Bytes of In-System Self-Programmable Flash
Endurance: 10,000 Write/Erase Cycles
– Optional Boot Code Section with Independent Lock Bits
In-System Programming by On-chip Boot Program
True Read-While-Write Operation
– 512 Bytes EEPROM
Endurance: 100,000 Write/Erase Cycles
– 1K Byte Internal SRAM
– Programming Lock for Software Security
• JTAG (IEEE std. 1149.1 Compliant) Interface
– Boundary-scan Capabilities According to the JTAG Standard
– Extensive On-chip Debug Support
– Programming of Flash, EEPROM, Fuses, and Lock Bits through
the JTAG Interface
• Peripheral Features
– Two 8-bit Timer/Counters with Separate Prescalers and
Compare Modes
– One 16-bit Timer/Counter with Separate Prescaler, Compare
Mode, and Capture
Mode
– Real Time Counter with Separate Oscillator
– Four PWM Channels
– 8-channel, 10-bit ADC
8 Single-ended Channels
7 Differential Channels in TQFP Package Only
2 Differential Channels with Programmable Gain at 1x, 10x, or
200x
– Byte-oriented Two-wire Serial Interface
– Programmable Serial USART
– Master/Slave SPI Serial Interface
– Programmable Watchdog Timer with Separate On-chip
Oscillator
– On-chip Analog Comparator
• Special Microcontroller Features
– Power-on Reset and Programmable Brown-out Detection
– Internal Calibrated RC Oscillator
– External and Internal Interrupt Sources
– Six Sleep Modes: Idle, ADC Noise Reduction, Power-save,
Power-down, Standby
and Extended Standby
• I/O and Packages
– 32 Programmable I/O Lines
– 40-pin PDIP, 44-lead TQFP, and 44-pad MLF
• Operating Voltages
– 2.7 - 5.5V for ATmega16L
– 4.5 - 5.5V for ATmega16
• Speed Grades
– 0 - 8 MHz for ATmega16L
– 0 - 16 MHz for ATmega16
LCD
The display used here is 16x2 LCD (Liquid Crystal Display); this
means 16 characters per line by 2 lines. A very popular
standard exists which allows us to communicate with the vast
majority of LCDs regardless of their manufacturer. The
standard is referred to as HD44780U, which refers to the
controller chip which receives data from an external source (in
this case, the Atmega16) and communicates directly with the
LCD. The 44780 standard requires 3 control lines as well as
either 4 or 8 I/O lines for the data bus. Here we are using 8-bit
mode of LCD, i.e., using 8-bit data bus.
The three control lines are referred to as EN, RS, and RW.
This chip is used to control two DC motors there are 2 inputs and two outputs
as shown in the figure above.
The motor driver is mostly used to boost up the voltage signal received by the
microcontroller to meet its voltage levels and show an efficiency as an
actuator.
For example if we consider this case the voltage signal provided by the
microcontroller is very low i.e around 3-5 v whereas our DC motor has a
requirement of voltage level of 12 volts. Hence we use a motor driver to boost
up the voltage signal to 12 volts from 3-5 volts.
VOLTAGE REGULATOR(7805)
This voltage regulator IC has an input range of 9-12 volts. The main function of
this voltage regulator IC is to step down the DC voltage level from 9-12 volts to
5 volts since the operating voltages of our microcontroller i.e ATMEGA16 is 5
volts. In the digital domain in concern with the microcontroller ATMEGA16
LOGIC 1= 5V
LOGIC 0=0V
In the notation of our IC number i.e 7805 the 5 at the end signifies the output
voltage that is desired.