Command of a rover using FPGA, Labview and Bluetooth
Post on 06-Jan-2016
61 Views
Preview:
DESCRIPTION
Transcript
Scientific Superviser: Prof. Dr. Eng. Aurel GONTEAN Author: Horia Octavian SABU
“POLITEHNICA” UNIVERSITY OF TIMIŞOARAELECTRONICS AND TELECOMUNICATIONS
FACULTY DEPARTMENT OF APPLIED ELECTRONICS
Timişoara2010
DC Motors
H-Bridge
FPGA Board
Bluetooth Module
LabVIEW programs
VHDL code
Conclusions2/13Horia Octavian SABU
Horia Octavian SABU 3/13
This is how a DC motor looks on the inside:
Horia Octavian SABU 4/13
S1 S2 S3 S4 Result
1 0 0 1 Motor moves right
0 1 1 0 Motor moves left
0 0 0 0 Motor free runs
0 1 0 1 Motor brakes
1 0 1 0 Motor brakes
Horia Octavian SABU 5/13
The PCB Layout:
The board in action:
Horia Octavian SABU 6/13
This is where all the magic happens:
6V input from the battery pack
Bluetooth and H-bridge
connections
Duty cycledisplay
PWM adjustmentusing buttons
Switches control direction, PWM generation andmanual override
Horia Octavian SABU 7/13
Class 1 Bluetooth Radio ModemTransmission distance: 100mLow power consumption: 25mA avgFrequency: 2.4~2.524 GHz
Operating Voltage: 3.3V-6VSerial communications: 2400-115200bpsBuilt-in antennaSmall dimensions: 51.5x15.8x5.6mm
Horia Octavian SABU 8/13
W, A, S, D keysor arrow keysare used to
control direction
Slider modifiesthe duty cycle
What keys arebeing pressed
ASCII code sentvia bluetooth
Binary representationof the code being sent
Horia Octavian SABU 9/14
Bluetoothconnection
Keyboardinput
PWMgeneration
Forward,back, leftand right assesment
Conversionto ASCIIcodes
Sending thecommands
via bluetooth
Horia Octavian SABU 10/13
PWM generation
Direcion controls
The very user-friendlyinterface:
Horia Octavian SABU 11/13
Horia Octavian SABU 12/13
LabVIEW provides a great environment to control the rover, either on the PC or on the smartphone
The Nexys2 FPGA board permits further improvement of the design without the need to replace existing hardware
A very challenging and complex project (but at the same time – fun!)
Horia Octavian SABU 13/13
top related