A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.
-
Upload
cameron-bennett -
Category
Documents
-
view
215 -
download
0
Transcript of A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.
![Page 1: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/1.jpg)
A Bluetooth enabled A Bluetooth enabled mobile robotmobile robot
Rory McGrath05000874
Final Year PresentationFinal Year Presentation
![Page 2: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/2.jpg)
IndexIndexIntroductionTechnology BackgroundSystem Design And OperationConclusions
![Page 3: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/3.jpg)
IntroductionIntroductionDesign a Bluetooth enabled mobile
robot Controllable via a wireless Bluetooth PC
based GUI.Port a control application to a mobile
handset. Develop a swarm of collaborative
robots. Develop software to show collaborative
tasks.
![Page 4: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/4.jpg)
Technology BackgroundTechnology Background
BluetoothJava / J2MEPythonLinuxDuty CycleOpto-IsolatorsGumstix
![Page 5: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/5.jpg)
Bluetooth Low power wireless
connectionsFrequency band of 2.45
gigahertz InexpensiveNot “line of sight”
technology“One to many
technology”Personal-Area Network.Avoid Disruptions by
“hopping”.
![Page 6: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/6.jpg)
Bluetooth RFCOMMProtocol available for BluetoothCable replacement protocolCreates a virtual serial data
streamData stream is simple and
reliableApplications that used a serial
port can be easily and quickly ported to use RFCOMM.
![Page 7: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/7.jpg)
Java J2MEJava is used to
provide applications for customer’s devices.
J2ME is a Java platform designed for mobile phones
Services are easily portable between different profiles and configurations
![Page 8: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/8.jpg)
PythonAn interpreted object orientation
languageNo cross compiling to be done.Available for all major operating
systems.Network programming in Python is
simpler than other languages, i.e. C.
![Page 9: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/9.jpg)
LinuxPopular open source computer
software environment that competes with Microsoft Windows
There are four main parts to Linux.◦The kernel◦Supplied programs◦The shell◦X
![Page 10: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/10.jpg)
Duty Cycle
D = τ / T ◦τ Defined as the Time that the
function is not zero;◦T Defined as the period of the
function.
![Page 11: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/11.jpg)
Opto-Isolators
Light emitting and sensitive device
Connect high and low power components with no risk of surges or spikes.
![Page 12: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/12.jpg)
Gumstixconnex 400xm
bt400MHz (Intel
Xscale PXA255)16MB flash
memoryBluetooth
wireless connectivity
![Page 13: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/13.jpg)
System Design & Operation
Hardware◦ Motors◦ Gumstix Circuit◦ Power Circuit◦ Gumstix Power Circuit◦ Ultrasonic
Software◦ Gumstix Server◦ PC Client◦ Phone Client
![Page 14: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/14.jpg)
MotorsTwo 'Parallax' continous rotation5 volts on the red wire0 volts on the black wirePWM signal with a 0.75 to 2.25ms
width and a period of 18ms on the white wire
![Page 15: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/15.jpg)
Gumstix CircuitProtect from 'surges'3V PWM from
Gumstix4V to activate 4N25
chip. Inverters used to
increase PWM to 5V
![Page 16: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/16.jpg)
Power Circuit10V split
between 2 motors
9V for each inverter
![Page 17: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/17.jpg)
Gumstix Power CircuitDesigned to isolate the Gumstix
from the other componentsPowers the Gumstix and safely
connects the two PWM signals and ground to the other circuits.
Powers the Gumstix with 6V
![Page 18: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/18.jpg)
UltrasonicWas to be used
as a locating capability in a swarm
Both infrared and ultra sonic would be required
![Page 19: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/19.jpg)
SoftwarePxaregs
◦Written in C◦Allows python to access Gumstix GPIO
pins. PyBluez
◦Python wrapper for Bluetooth resources.◦Manually add 'bluetooth.py' &
'bluetooth.so' ControlMotors
◦Written in Python◦7 Functions that control the motors
![Page 20: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/20.jpg)
Gumstix Server
![Page 21: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/21.jpg)
PC Client
![Page 22: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/22.jpg)
Phone Client
![Page 23: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/23.jpg)
Problems EcounteredTesting the opto isolator circuit.
Segmentation faults'burning out' of a GumstixReplacing a Gumstix.
![Page 24: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/24.jpg)
ConclusionsA successful Bluetooth enabled mobile
robot was created.The robot can be controlled by a PC GUIControl was ported to a mobile deviceWith more Bluetooth Gumstix a robot
swarm could be achieved.◦ Build Ultrasonic transmitter and reciever◦ Create an algorithm to control ultrasonic◦ Addition to Server to connect to other
clients
![Page 25: A Bluetooth enabled mobile robot Rory McGrath 05000874 Final Year Presentation.](https://reader035.fdocuments.in/reader035/viewer/2022062517/56649eab5503460f94bb19ca/html5/thumbnails/25.jpg)
Questions?