Upload
austin-james
View
232
Download
0
Tags:
Embed Size (px)
Citation preview
Bluetooth Controller
Setting up the BT controller and Arduino with Processing
What do I need
• Linux Laptop• Robot• Bluetooth Controller• 4 Female to Female wires• PS Controller• Sketches – Should be on the Laptop – They will
work – need to be updated for all controls
Bluetooth Controller
• This is HC-05 Module• Already has name – ROBOTX
Wiring to Robot
• Very important wire this correctly• 4 wires to be connected• Wire Colour NOT important – correct pins are• Turn Robot off and disconnect when wiring
Wiring to Robot
Wiring to Robot
Sensor Shield Bluetooth HC-05
Pin 7 – Sensor RX
Pin 4 – Sensor TX
Pin 0 (V) 5V
Pin 0 (G) GND
• Wiring for Pins
Connecting
• Arduino – Download Remote Control Sketch• First test from Linux Laptop – Connect to
Bluetooth – should see name of Bluetooth
Bluetooth Connections
• Select Bluetooth and a terminal session
Bluetooth Connections
• Search for Bluetooth – should appear
Bluetooth Connections
• Right click on the Bluetooth name and click Setup. Use pass code 1234
Bluetooth Connections
• Connect to Serial Port - Forward
Bluetooth Connections
• Make sure you see successful connection to /dev/rfcomm0
Bluetooth Connections
• Test by sending this command in the terminal window: printf “F\n” > /dev/rfcomm0