Replacement:WRL-12576. The firmware on this Roving Networks product has been updated from version 4.77 to the 6.15 version. Go check it out! This page is for reference only.
The Bluetooth Mate is very similar to our BlueSMiRF modem, but it is designed specifically to be used with our Arduino Pros and LilyPad Arduinos. These modems work as a serial (RX/TX) pipe, and are a great wireless replacement for serial cables. Any serial stream from 2400 to 115200bps can be passed seamlessly from your computer to your target.
Bluetooth Mate has the same pin out as the FTDI Basic, and is meant to plug directly into an Arduino Pro, Pro Mini, or LilyPad Mainboard. Because we've arranged the pins to do this, you cannot directly plug the Bluetooth Mate to an FTDI Basic board (you'll have to swap TX and RX).
The RN-42 is perfect for short range, battery powered applications. The RN-42 uses only 26uA in sleep mode while still being discoverable and connectable. Multiple user configurable power modes allow the user to dial in the lowest power profile for a given application. If you need longer range, check out the Bluetooth Mate Gold.
The Bluetooth Mate has on-board voltage regulators, so it can be powered from any 3.3 to 6VDC power supply. We've got level shifting all set up so the RX and TX pins on the remote unit are 3-6VDC tolerant. Do not attach this device directly to a serial port. You will need an RS232 to TTL converter circuit if you need to attach this to a computer.
Unit comes without a connector; if you want to connect it to an Arduino Pro, we'd suggest the 6-pin right-angle female header.
**Note: **The hardware reset pin of the RN-42 module is broken out on the bottom side of the board. This pin is mislabeled as 'PIO6', it is actually PIO4. Should you need to reset the Mate, pull this pin high upon power-up, and then toggle it 3 times.
Features****:
® module datasheet](http://cdn.sparkfun.com/datasheets/Wireless/Bluetooth/Bluetooth-RN-42-DS.pdf)
* Hookup Guide
* Beginner's Guide
* GitHub
This skill defines how difficult the soldering is on a particular product. It might be a couple simple solder joints, or require special reflow tools.
Skill Level: Noob - Some basic soldering is required, but it is limited to a just a few pins, basic through-hole soldering, and couple (if any) polarized components. A basic soldering iron is all you should need.
See all skill levels
If it requires power, you need to know how much, what all the pins do, and how to hook it up. You may need to reference datasheets, schematics, and know the ins and outs of electronics.
Skill Level: Noob - You don't need to reference a datasheet, but you will need to know basic power requirements.
See all skill levels
We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.
No reviews yet.
With a simple mod, this module facilitates uploading Arduino sketches via Bluetooth!
There are two signals that you may want to consider bringing out to pads or possibly jumper options -- pin 33 (remote DTR), and pin 34 (remote RTS). I also set the module into the "MDM" mode with the "S~,3" command.
I strongly suspect that many if not most of your Roving bluetooth products have the same potential.
thank you, Bill Welch, bvwelch 2-April-2011
Hi, I’m using the RN42-XV Bluetooth module to wireless program an Fio board but I can’t have the DTR or RTS signals working to drive the Reset pin. I pulled low BT pins UART_CTS, DCD (PIO3), DSR (PIO6) and CTS (PIO7). The only profile that seems to drive remote DTR & RTS is MDM SPP (the Roving networks datasheet states that profiles DUN should also drive them but I can’t see that). But with the MDM SPP profile, the device is automatically recognized as a keyboard which prevents use of the terminal or the Arduino IDE. Does anybody have a clue ?
Bill- thanks very much for this info. Can you provide any additional info on this method? What is remote DTR and RTS? Also, why do you set MDM mode?
thanks!
-Matt
The wrong datasheet is linked... it should be www.sparkfun.com/datasheets/Wireless/Bluetooth/rn-42-ds.pdf
is it possible to operate this module in HID mode?
Does anybody know - or had experience, in using two of these modules together in a slave/master combination with two separate microcontrollers?
i.e - One arduino passing some serial data to another arduino.
The above manual seems to indicate to me that this is possible, but I'm keen to know if any of you guys has had any joy doing this?
Thanks in advance - Replies appreciated!
i want to do it too, but i don't know how i can do it :( can anyone help me please?
I'm trying to connect this with a Arduino Pro Mini.
Following this example: http://www.sparkfun.com/tutorial/BluetoothMate-Quickstart/BluetoothMate_Echo.pde
I can successfully send data to it, get into Command mode etc, but nothing is coming back from the Bluetooth Mate Silver.
Any help would be appreciated.
-Chris
I was just looking at the pins for this and the Arduino Pro Mini 328. If the illustrations are correct, it doesn't look like the pins actually match up.
This: GND, CTS-I, VCC, TX-0, RX-I, RTS-0
Mini: GND, VCC, RXI, TXO
It would be nice to be able to use the Mini instead of the LilyPad since the result should be a bit more compact.
Contact techsupport@sparkfun.com. I had a problem with this board as well. Is the module getting warm at all?
Anyone know the pairing code for connection by Windows 7?
The datasheet lists it as automatic, but when trying to connect via the COM port it keeps asking for one... The normal "0000" or "0001" do not work.
Update: Called Techsupport and the paring code is "1234".
is there any way to use this module to stream audio??
I've got this working perfectly with Arduino Uno, however, im now using the Arduino Micro and am having trouble getting into command mode. Has anyone successfully done this on the Micro?
Got this board, plugged it into my Arduino2560, using 3.3V output. Comes on, status light flashing, pairs with my computer no problem. Took the board and connected it to my STK600, same 3.3V setting. Module doesn't come on, no flashing lights, etc. Checked the wiring with my meter, 3.3V as it should be from the STK600. Scratching my head as to why it powers on with the Arduino but not the STK600. Any ideas?
Probably a simple question: if I needed to replace this MOSFET, what are the characteristics I'd need in the replacement? I imagine that the footprint and the knowledge that it's N-Channel aren't enough, and the markings aren't helping much...
Internal note for GT business: Perron Jones
this is the problem i am having maybe someone will have a solution for me. is it possible to make the bluesmirf non-discoverable at any given point unless the computer that is going to connect to it send some sort of a signal that the bluesmirf will pick up and wake up for a certain amount of time. i know for a fact this is possible as i have seen it done before, but as to how to make it happen, i have my hands tied =[
Since the max. current that this module needs is 50mA(the average is 25mA) is it ok to power it from regulated 5V output that can only provide 40mA?
I'm trying to pair the Bluetooth Mate with my mac, and when I use the C,[name] command, there is a pop-up on my mac. It says to put in a passcode. Does anyone know what this is?
Thanks
Try "1234" - that's the default pairing code of the RN-42.
This product can be used with the auduino ethernet?
Forgive my novice questions: I'm trying to use this module as a trigger to see if my cell phone is within range. The idea is to power the module on, let it search for my phone and if it's there, set the "connect" pin to high. I'd rather not use a controller to run it since the module should be able to run on its own for that simple a task. I've paired my phone with the device, but I can't get the "connect" light to turn on. Thanks
Did you ever get this figured out? I am also trying to trigger an event based on cellphone proximity.
I'm also interested in the answer to this question -- I would like to know how to tell when the module "senses" (or reads) an in-range secondary bluetooth device's MAC address. Any suggestions/solutions?
Reading the data sheet, I see that:
Pin#19: HIGH when connected, LOW otherwise
Assuming the word "connected" = module paired withed secondary bluetooth device, you could poll this pin and when it's high, assume your secondary device (e.g., Cell Phone) is within range.
Any thoughts/comments on this interpretation of the data sheet?
Data sheet: http://people.ece.cornell.edu/land/courses/ece4760/FinalProjects/s2011/pss83/Website/Time%20System/Data_Sheets/RN_42_Data_Sheet.pdf
Learning more as I go here:) The commands sheet ( http://www.sparkfun.com/datasheets/Wireless/Bluetooth/rn-bluetooth-um.pdf ) says this:
Page 23: Discovery and Connection Example of a Master Discovery/Connection Sequence From power up and no connection: 1) Perform an Inquiry to obtain BT_Address (unless it is already known). Sent : $$$ // Places Radio in Command Mode Reply:CMD Sent : I,30 // Looks forBluetooth devices Reply:00A096112233,1F00Inquiry Done
Can I connect the Bluetooth Mate Silver with the 5V Arduino Pro Mini? The Bluetooth Mate supposedly has a voltage regulator right?
Hello,
What data rate can I achieve with this?
Thanks!
it works like a charm! I'm controlling all sort of stuff with my android tablet over bluetooth (making now a bluetooth-2-xbee bidirectional bridge, to hopefully use the android tablet to control xbee things! : )
Hi all. Does anyone know how to connect this to Arduino FIO? Thanks in advance
Hi, I'm using the RN42-XV Bluetooth module to wireless program an Fio board but I can't have the DTR or RTS signals working to drive the Reset pin. I pulled low BT pins UART_CTS, DCD (PIO3), DSR (PIO6) and CTS (PIO7). The only profile that seems to drive remote DTR & RTS is MDM SPP (the Roving networks datasheet states that profiles DUN should also drive them but I can't see that). But with the MDM SPP profile, the device is automatically recognized as a keyboard which prevents use of the terminal or the Arduino IDE. Does anybody have a clue ?
So I have one of these guys and I am trying to hook it up to the RS-485 breakout board. However I am having trouble getting the RTS line to go high when I send any data. I can see the TX line from the module working but the RTS stays low. Bill Welch (comment below) mentioned pin 34 being a second RTS, however looking at that reveals that it is inverted to the need of the RS-485 board.
Is there some way of making the standard RTS signal work or do i have to use an inverter along with pin 34?
Thanks!
Jos
If I recall correctly, pin 33 is roughly the invert of pin 34, based on some quick observations with the o'scope. Give it a try.
I've made a new tutorial based on Jonathan Warren's post, with updates to new parts and also making it easy for Mac users. Please check it out:
http://www.rioleo.org/setting-up-the-arduino-pro-mini-and-bluetooth-mate-on-mac.php
I have a Arduino Pro and i am having problems uploading Arduino sketches via Bluetooth. can anyone help?
i get to cmd menu and can read serial info from http://www.jhwarren.com/bluetooth-mate/ this code and reset the counter with this code but i had to upload it with my ftdi cable
I just received this item this item, and am attempting to pair it with my computer running windows 7, at first it was only detecting it as rn-42 and connecting to com 3 with the red light blinking slowly, after which I would get an out of bounds error for the serial port. Now it detects the device, but will not let me add it to my device list. I am using an arduino uno board with the RX connected to the TX and the TX connected to the RX, powered with the 5 volt, with RTS and CTS connected to each other. It should be noted I have the servo firmata on the arduino board and am using processing to control a servo attached to the board.
In a future rev, perhaps you could add solder bridge-type jumper pad to support configuring the regulator for external use of its EN pin, rather than tied high as it is now.
In a future rev, perhaps you could add solder bridge-type jumper pads to support configuring the board with swapped rx/tx pins?
Because this is a Class 2 device, shouldn't the transmission distance be shorter? According to the RN-42 product page, around 50 to 60 feet instead of the 100m mentioned in the description?
Open-air transmission can go significantly further than the normal 'max', especially in good conditions, which is probably what's going on there. I certainly wouldn't rely on that sort of range, unless you have lots of control over the conditions it will be used under.
I believe this is an error in the description (copied from the Bluetooth Mate Gold which is a class 1 and has the same distance mentioned in the description).
Would be good for someone at Sparkfun to verify (and correct) before they start getting returns...