Strict Standards: Redefining already defined constructor for class wpdb in /home/riverguardian/rioleo.org/wp-includes/wp-db.php on line 57

Deprecated: Assigning the return value of new by reference is deprecated in /home/riverguardian/rioleo.org/wp-includes/cache.php on line 36

Strict Standards: Redefining already defined constructor for class WP_Object_Cache in /home/riverguardian/rioleo.org/wp-includes/cache.php on line 384

Strict Standards: Declaration of Walker_Page::start_lvl() should be compatible with Walker::start_lvl($output) in /home/riverguardian/rioleo.org/wp-includes/classes.php on line 541

Strict Standards: Declaration of Walker_Page::end_lvl() should be compatible with Walker::end_lvl($output) in /home/riverguardian/rioleo.org/wp-includes/classes.php on line 541

Strict Standards: Declaration of Walker_Page::start_el() should be compatible with Walker::start_el($output) in /home/riverguardian/rioleo.org/wp-includes/classes.php on line 541

Strict Standards: Declaration of Walker_Page::end_el() should be compatible with Walker::end_el($output) in /home/riverguardian/rioleo.org/wp-includes/classes.php on line 541

Strict Standards: Declaration of Walker_PageDropdown::start_el() should be compatible with Walker::start_el($output) in /home/riverguardian/rioleo.org/wp-includes/classes.php on line 560

Strict Standards: Declaration of Walker_Category::start_lvl() should be compatible with Walker::start_lvl($output) in /home/riverguardian/rioleo.org/wp-includes/classes.php on line 659

Strict Standards: Declaration of Walker_Category::end_lvl() should be compatible with Walker::end_lvl($output) in /home/riverguardian/rioleo.org/wp-includes/classes.php on line 659

Strict Standards: Declaration of Walker_Category::start_el() should be compatible with Walker::start_el($output) in /home/riverguardian/rioleo.org/wp-includes/classes.php on line 659

Strict Standards: Declaration of Walker_Category::end_el() should be compatible with Walker::end_el($output) in /home/riverguardian/rioleo.org/wp-includes/classes.php on line 659

Strict Standards: Declaration of Walker_CategoryDropdown::start_el() should be compatible with Walker::start_el($output) in /home/riverguardian/rioleo.org/wp-includes/classes.php on line 684

Deprecated: Assigning the return value of new by reference is deprecated in /home/riverguardian/rioleo.org/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /home/riverguardian/rioleo.org/wp-includes/theme.php on line 540

Deprecated: Assigning the return value of new by reference is deprecated in /home/riverguardian/rioleo.org/wp-content/plugins/wptouch/wptouch.php on line 316

Deprecated: Function eregi() is deprecated in /home/riverguardian/rioleo.org/wp-content/plugins/wptouch/wptouch.php on line 263

Deprecated: Function eregi() is deprecated in /home/riverguardian/rioleo.org/wp-content/plugins/wptouch/wptouch.php on line 263

Deprecated: Function eregi() is deprecated in /home/riverguardian/rioleo.org/wp-content/plugins/wptouch/wptouch.php on line 263

Deprecated: Function eregi() is deprecated in /home/riverguardian/rioleo.org/wp-content/plugins/wptouch/wptouch.php on line 263

Deprecated: Function eregi() is deprecated in /home/riverguardian/rioleo.org/wp-content/plugins/wptouch/wptouch.php on line 263

Deprecated: Function eregi() is deprecated in /home/riverguardian/rioleo.org/wp-content/plugins/wptouch/wptouch.php on line 263

Deprecated: Function eregi() is deprecated in /home/riverguardian/rioleo.org/wp-content/plugins/wptouch/wptouch.php on line 263

Deprecated: Function eregi() is deprecated in /home/riverguardian/rioleo.org/wp-content/plugins/wptouch/wptouch.php on line 263

Deprecated: Function eregi() is deprecated in /home/riverguardian/rioleo.org/wp-content/plugins/wptouch/wptouch.php on line 263

Deprecated: Function eregi() is deprecated in /home/riverguardian/rioleo.org/wp-content/plugins/wptouch/wptouch.php on line 263

Deprecated: Function eregi() is deprecated in /home/riverguardian/rioleo.org/wp-content/plugins/wptouch/wptouch.php on line 263

Deprecated: Function eregi() is deprecated in /home/riverguardian/rioleo.org/wp-content/plugins/wptouch/wptouch.php on line 263

Deprecated: Function eregi() is deprecated in /home/riverguardian/rioleo.org/wp-content/plugins/wptouch/wptouch.php on line 263

Deprecated: Function eregi() is deprecated in /home/riverguardian/rioleo.org/wp-content/plugins/wptouch/wptouch.php on line 263

Deprecated: Function eregi() is deprecated in /home/riverguardian/rioleo.org/wp-content/plugins/wptouch/wptouch.php on line 263

Deprecated: Function eregi() is deprecated in /home/riverguardian/rioleo.org/wp-content/plugins/wptouch/wptouch.php on line 263
Setting up the Arduino Pro Mini and Bluetooth Mate on Mac

Leave a comment


 

rylangrayston said on August 2nd, 2012 at 8:03 pm :

can you do this with out the FTDI Breakout Board … can you upload sketches with just the blue tooth?

Jun 11, 2011 | Setting up the Arduino Pro Mini and Bluetooth Mate on Mac


Strict Standards: Only variables should be assigned by reference in /home/riverguardian/rioleo.org/wp-includes/post.php on line 117

Jonathan Warren has a great tutorial on setting up the Bluetooth Mate with a Windows machine, but being the owner of a Mac I figured I could share some of the minor changes you need to do. For posterity I’ll list everything you need here, though a lot of it is courtesy of Jonathan.

Things you’ll need to buy from Sparkfun:

  1. FTDI Basic link
  2. Arduino Pro Mini 3.3V link
  3. Bluetooth Mate Silver link

Things you’ll need to buy from a local Radioshack:
Pin headers, connectors - I was lazy and used what I could find, but you can definitely make the package more compact depending on what you buy.

Once you’ve bought everything, connect the FTDI to the Arduino as shown (after soldering the header pins) and program the Arduino with the sketch Jonathan provided. Make sure you’ve selected Arduino Pro Mini 3.3V 328 as your board, or else you’ll get a avrdude stk500_recv(): programmer is not responding. Once it’s uploaded, run the Serial Monitor with baud rate set to 115200 and check that you get a series of numbers printed out one after another. Typing “R” should show “RESET”.

Once that’s done, set up your Bluetooth Silver so that its pins line up with the Arduino (again, using pins as necessary, or directly soldering). Note unlike Jonathan’s tutorial the latest parts have the pins REVERSED. You can confirm that everything lines up the way it should if you make sure that you’re connecting the pin that says GND (ground) with the corresponding one on each board (see below):

Since I botched the soldering a bit mine came out like this. Note that the Arduino is upside down. Shall we get it to communicate via bluetooth, now?

On your Mac, enable Bluetooth. The best way to do this is not from the Menu Bar but from System Preferences, because we’ll ignore some warnings it gives us first. Click on “Set up new device” and then pair with the one that has RN42 something or another.

Hit “Passcode options”, then enter “1234″ under “Use specific passcode”. Ignore any warnings for now. Hit continue, then Quit.


Then click on “Edit serial ports” and keep note of the Path at the very bottom.


In order to see if it’s working, open up Terminal, then type in:

screen /dev/tty.RN42-9AFD-SPP where you replace your path accordingly.

You should see your loop of numbers!

Also written on this day..

This entry was posted on Saturday, June 11th, 2011 at 3:24 am, EST under the category of Coding. You can leave a response, or trackback from your own site.