
Materials:
- 1 Arduino Uno
- 1 Bluetooth Mate Gold
- Cables
Connection:
Code
#include <SoftwareSerial.h> //We use the pin 2,3 for TX & RX SoftwareSerial bt(2, 3); void setup(){ // set the data rate for the SoftwareSerial port bt.begin(115200); bt.println("Hello, world?"); } void loop(){ bt.println("Are u there world?"); delay(2000); } |
Software Test with MAC:
Check if there are bluetooth dispositive avaible(normally the name will be the MAC number)…and put code “1234″ for the sparkfun product for the connection.

I used coolTerm for Mac to verify if the connection is OK.
I open the program and set the in the option panel the boudrate at 115200 and the serial port to FireFly***

Connect button on the coolterm and here you go…
Our Mac now can communicate with arduino via bluetooth.


Comments
5 Comments so far. Leave a comment below.Hum…
hmmmmmmmmmm………
double hum?
quadruple hum…
wonderful tut, but was wondering whether one would use a usb bluetooth chip on the mcu, rather than the Bluetooth Mate Gold?