Obstacle Detection with Bluetooth controlled vehicle...

Preview:

Citation preview

Obstacle Detection with Bluetooth controlled vehicle motion

Progress Report-1

Sasank Das Alladi, Priyadarsini Pethanaraj,Naga Aiswarya Vadlamani, Rohit Chaitanya Kunkumagunta

Block Diagram

Remote

Car module

Components used in the project• Accelerometer – ADXL335• Bluetooth Module – 2 No’s• DC Motors • L298 H-bridge• Ultrasonic sensor

Accelerometer• We are using ADXL335 Accelerometer from which the 2 axis (x and

y) analog pins are our outputs.• We interfaced and tested our accelerometer with the internal ADC

of MSP430 microcontroller• Hardware Interfacing : Accelerometer X and Y axis pins are

connected to the MSP430. Accelerometer values were recorded in the serial monitor using Energia.

• Software Interfacing : Identified the Pins used to read the Accelerometer Input. Input is read continuously using “analogRead” function and printed the values to the Serial Monitor.

Contd..• Progress : Tested the component with MSP430 successfully and

understood its interfacing. • Challenges : To get the Stabilized values from the Accelerometer in

both X and Y axis and to determine threshold for our application.

DC Motors• The motors are driven by 3-12v of DC Voltage.• The maximum speed of the motors without load will be 200rpm.• Change in the voltage value results in change in direction of motors.

H-Bridge IC• L298 H-Bridge is the driving component for DC motors.• Amplifies the signal received from the MSP430 and drives the

motors in a specific direction.• Hardware Interfacing Identified the input pins of L298 which drives

the motors. We used the 4 GPIO (P2.4, P2.5 for Left motor and P1.4, P1.5 for Right Motor) pins to control them. Successfully interfaced and tested.

• Software : Introduced a 3 second delay between the forward and reverse motions of the motors.

• Challenges : Identifying the pins on the H-Bridge and how to interface them with the GPIO of MSP430.

Bluetooth Module• The Bluetooth module is a digital type component with

receiver and transmitter properties. Two MSP430 components are connected to these terminals of Bluetooth.

• Hardware Interfacing : Interfaced UART pins of Bluetooth with the MSP430.

• Software Interfacing : For software interfacing, we are working on understanding the AT commands to establish a connection between both modules.

Ultrasonic Sensor

• It is a digital component which is used to measure the distance in front of the vehicle. We are using HC-SR04 ultrasonic component. It consists of 4 pins Vcc, GND, Trig, and echo.• Interfacing : Purchased the component recently and are yet to

understand its working and its interfacing with MSP430.• Challenges : We have to use PWM signals to measure the

distance, hence have to understand how to generate the PWM signals for the ultrasonic sensor. Also, determine the pins that are used to interface the sensor to MSP430.

MSP430• Interfacing the UART pins to the Bluetooth module.• Learning about the registers more through the data sheet.

Overall Progress• Purchased all the required components.• Initially did some research on each component as to how they are

connected .• Accelerometer threshold values are obtained and are to be tested

now.

Task DivisionSasank Das Alladi: MSP and Accelerometer interfacing.

Priyadarsini Pethanaraj: Bluetooth Interfacing

Naga Aiswarya Vadlamani: Ultrasonic sensor interfacing

Rohit Chaitanya Kunkumagunta: H-Bridge and driving motors.

THANK YOU

Recommended