Bluetooth Shield: Connect Arduino to PC

From ESE205 Wiki
Revision as of 21:31, 5 May 2016 by Jng (talk | contribs) (Created page with "==Bluetooth Connection How-To== Using a Bluetooth Shield connected to a Bluetooth dongle allows the user to connect the Arduino to Matlab as if it were a serial port connecti...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Bluetooth Connection How-To

Using a Bluetooth Shield connected to a Bluetooth dongle allows the user to connect the Arduino to Matlab as if it were a serial port connection. This avoids any extra coding in Objective-C, and involves no extra lines of code on the Arduino and one line to be changed in Matlab.

1. Turn on the connection on the Bluetooth Shield. 2. Plug in Kinivo Bluetooth dongle to computer. 3. Open up System Preferences -> Bluetooth. 4. Find Adafruit Bluetooth -> hit Connect.

Bluetooth Sysem Sreenshot 5. Go to Matlab and change serial port address

Matlab Serial Port code