obstacle detection with bluetooth controlled vehicle...

16
Obstacle Detection with Bluetooth controlled vehicle motion Progress Report-1 Sasank Das Alladi, Priyadarsini Pethanaraj, Naga Aiswarya Vadlamani, Rohit Chaitanya Kunkumagunta

Upload: lyliem

Post on 19-Mar-2018

220 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Obstacle Detection with Bluetooth controlled vehicle …ece.gmu.edu/~jkaps/courses/ece511-f17/project/Group-4-Report1.pdfAccelerometer • We are using ADXL335 Accelerometer from which

Obstacle Detection with Bluetooth controlled vehicle motion

Progress Report-1

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

Page 2: Obstacle Detection with Bluetooth controlled vehicle …ece.gmu.edu/~jkaps/courses/ece511-f17/project/Group-4-Report1.pdfAccelerometer • We are using ADXL335 Accelerometer from which

Block Diagram

Page 3: Obstacle Detection with Bluetooth controlled vehicle …ece.gmu.edu/~jkaps/courses/ece511-f17/project/Group-4-Report1.pdfAccelerometer • We are using ADXL335 Accelerometer from which

Remote

Page 4: Obstacle Detection with Bluetooth controlled vehicle …ece.gmu.edu/~jkaps/courses/ece511-f17/project/Group-4-Report1.pdfAccelerometer • We are using ADXL335 Accelerometer from which

Car module

Page 5: Obstacle Detection with Bluetooth controlled vehicle …ece.gmu.edu/~jkaps/courses/ece511-f17/project/Group-4-Report1.pdfAccelerometer • We are using ADXL335 Accelerometer from which

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

Page 6: Obstacle Detection with Bluetooth controlled vehicle …ece.gmu.edu/~jkaps/courses/ece511-f17/project/Group-4-Report1.pdfAccelerometer • We are using ADXL335 Accelerometer from which

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.

Page 7: Obstacle Detection with Bluetooth controlled vehicle …ece.gmu.edu/~jkaps/courses/ece511-f17/project/Group-4-Report1.pdfAccelerometer • We are using ADXL335 Accelerometer from which

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.

Page 8: Obstacle Detection with Bluetooth controlled vehicle …ece.gmu.edu/~jkaps/courses/ece511-f17/project/Group-4-Report1.pdfAccelerometer • We are using ADXL335 Accelerometer from which

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.

Page 9: Obstacle Detection with Bluetooth controlled vehicle …ece.gmu.edu/~jkaps/courses/ece511-f17/project/Group-4-Report1.pdfAccelerometer • We are using ADXL335 Accelerometer from which

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.

Page 10: Obstacle Detection with Bluetooth controlled vehicle …ece.gmu.edu/~jkaps/courses/ece511-f17/project/Group-4-Report1.pdfAccelerometer • We are using ADXL335 Accelerometer from which

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

Page 11: Obstacle Detection with Bluetooth controlled vehicle …ece.gmu.edu/~jkaps/courses/ece511-f17/project/Group-4-Report1.pdfAccelerometer • We are using ADXL335 Accelerometer from which

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.

Page 12: Obstacle Detection with Bluetooth controlled vehicle …ece.gmu.edu/~jkaps/courses/ece511-f17/project/Group-4-Report1.pdfAccelerometer • We are using ADXL335 Accelerometer from which

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.

Page 13: Obstacle Detection with Bluetooth controlled vehicle …ece.gmu.edu/~jkaps/courses/ece511-f17/project/Group-4-Report1.pdfAccelerometer • We are using ADXL335 Accelerometer from which

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

Page 14: Obstacle Detection with Bluetooth controlled vehicle …ece.gmu.edu/~jkaps/courses/ece511-f17/project/Group-4-Report1.pdfAccelerometer • We are using ADXL335 Accelerometer from which

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.

Page 15: Obstacle Detection with Bluetooth controlled vehicle …ece.gmu.edu/~jkaps/courses/ece511-f17/project/Group-4-Report1.pdfAccelerometer • We are using ADXL335 Accelerometer from which

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.

Page 16: Obstacle Detection with Bluetooth controlled vehicle …ece.gmu.edu/~jkaps/courses/ece511-f17/project/Group-4-Report1.pdfAccelerometer • We are using ADXL335 Accelerometer from which

THANK YOU