INTERFACE
INTERFACE
Members
1. Ezra Mohammed—---------------UGR/6735/13
2. Ermiyas Birhanu—----------------UGR/5714/13
3. Rahel Brhanie—-------------------URG/8220/13
4. Biruk Kumlachew—---------------UGR/0727/13
5. Tsion Asmare—--------------------UGR/5275/13
Figure 1. LPC2148.
LPC2148 is an incredible powerful device that stand out among other microcontrollers. It is
remarkable features and advantages make it popular choice for various application in the field of
embedded Systems.
Features of LPC2148
ROM 512 KB
RAM 32KB
IO PORTS 2 (P0, P1)
Timers 2 (32 bit)
Serial comm 2 UART, 2 I2C, 1 SSP, 1 SPI
USB RAM 2 KB
Ultrasonic sensor
An ultrasonic sensor is an instrument that measures the distance to an object using ultrasonic
sound waves. An ultrasonic sensor uses a transducer to send and receive ultrasonic pulses that
relay back information about an object's proximity.
Ultrasonic sensors work by sending out a sound wave at a frequency above the range of human
hearing. The transducer of the sensor acts as a microphone to receive and send the ultrasonic
sound.
DC Motors
Which drive the vehicles. And controlled by L293D.
while (1) {
cmd(0x8A); // Set cursor position on LCD
range = get_range(); // Get distance from ultrasonic sensor
// Display distance on LCD
dat((range / 100) % 10 + 48);
dat((range / 10) % 10 + 48);
dat((range % 10) + 48);
show("cm");
return 0;
Simulation Result
Figure 5. Simulation