3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

how to Control arduino by bluetooth from (PC, pocket PC PDA)

how to Control arduino by bluetooth from (PC, pocket PC PDA)

I wanted to make it possible to control an arduino board from my phone.
So that I could control other devices.
the easiest way seemed to be using bluetooth.

but when I received the parts needed I found it want quite as simple as I had hoped.
And after looking on the Internet I didn't find much information to help.

so I have decided to write this guide to help other people that are thinking of doing the same thing. 
 
Remove these adsRemove these ads by Signing Up
 

Step 1Parts needed

Parts needed

1 arduino board ( I used the duemilanvoe 328)
1 bluetooth serial board ( I used the sparkfun bluesmirf)
some pieces of wire
1 led
A computer with bluetooth or a usb bluetooth adaptor.
A pocket PC with bluetooth

Software needed

the arduino enviroment software
and some serial terminal software ( I used putty)
« Previous StepDownload PDFView All StepsNext Step »
23 comments
May 6, 2012. 8:41 AMhectorbunny says:
Very nice project, but I have a doubt, this can receive and transmit data at the same time? or you have to stop receiving data to send data from your PC
Thanks
Apr 2, 2011. 9:57 AMst_jimmy says:
hi,thanks for the instructable first of all.
i need to ask a few questions about connecting hardware.
1)why do we need to connect cts1 and rts0 ports?
2)why do we need to connect Rx on Arduino with Tx on BlueSmirf, and Tx on Arduino with Rx on BlueSmirf?aren't they supposed to be reciprocal?

thanks in advance
Apr 27, 2012. 7:26 AMkool1zero says:
the cts1 and rts0 mean clear to send and ready to send. they tell the bluetooth module you're ready to receive data and when you're ready to send data.

and the Rx means receiving communication Tx means sending. so the send of the bluetooth module goes to the receiving of the arduino and vice versa.
Apr 16, 2012. 5:45 PMGeniusdude says:
So what is the exact voltage at the terminals for the LED? I'd like to know this before I build to see if it will work for my application, thanks!
Apr 5, 2012. 11:23 AMjavi_el_largo says:
Hi,
Today I was playing with my Arduino Uno and my old PocketPC (Dell Axim), I'm doing the same thing with a different approach: instead of using Putty, programming my Axim with Basic4PPC and I'm able to read/switch on/off any of the Arduino's digital pins, or read/write any of its analog pins. At first, I thought of using EVB (Embedded Visual Basic which I think is free) but handling bluetooth with it is very hard

Congratulations for your instructable and greetings from Spain.
Jan 16, 2012. 9:06 PMagnivohneb says:
I just ordered my bluetooth module and after I hit purchase I realized I have no idea how to use this thing. You tutorial helped a lot. I will give it a shot as soon as it arrives :)

Thanks +Fav
Nov 20, 2011. 6:39 PMleee2011 says:
Hi everyone, I bought a Bluetooth breakout from
http://www.ebay.co.uk/itm/1pcs-TTL-Bluetooth-Module-adapter-board-/270808764130?pt=LH_DefaultDomain_0&hash=item3f0d75cee2
Can this breakout be connected to my Duemilanove directly.
In my mind the arduino is 5V TTL logic, but the Bluetooth module is 3.3V TTL based.
Thanks in advance.
Oct 27, 2011. 11:49 AM~REY~ says:
Very Cool! Great Instructable!
Sep 3, 2011. 4:13 AMaegidos says:
Hy Simon,

I like your post about the Bluetooth module.
Now I'm trying on my own to connect as you descibed in your howto using this module:

http://www.ebay.co.uk/itm/Arduino-Bluetooth-Module-Slave-Wireless-Serial-Board-/390333614711

I connected TX to RX and RX to TX and the power supply as well GND and 5V.
Pairing works very well and the BT module indicates that connection was established, after typing the "password" 1234 in.

Now i have difficulties sending data "1" to switch the LED on. That does not work.
The only difference from my module compared to yours is that i haven't connected the KEY and the STATE connector. It is descibed in the datasheet on ebay that they are not necessarily needed.

If i open serial port monitor in Arduino SDK and sending any kind of data to the arduino via BT no RX light is flashing - that confuses me right now.

Any idea what's going wrong there?
Help would be highly appreciated.
Greetz
Andi
Sep 7, 2011. 1:16 PMCzayen says:
Hi Andi,

I have just received my BT module (from the same auction) and it works perfectly.
The problem is with Simon's code. I have modified it slightly and it works ok.
Here is the code: http://pokazywarka.pl/dfdzc7/

Regards
Tom
Apr 30, 2011. 10:28 AMvishalapr says:
Will this USB transceiver work :

http://cgi.ebay.com/Bluetooth-Transceiver-Module-RS232-TTL-backplane-/390291743909?pt=LH_DefaultDomain_2&hash=item5adf3364a5

(My computer does have a bluetooth receiver 300 meters range)

Awaiting your reply...

This is a really cool instructable for people like me who are a bit ....
Apr 30, 2011. 10:44 AMvishalapr says:
And one more question...
So we need to click enter after typing in (0 or 1 as in your program)

Thanks
Mar 13, 2011. 1:00 PMmitman93 says:
Hello. I was wondering if it was possible to combine this with a usbhost shield? Do the two share any pins? And if so, would they interfere?

Thank you!
Mar 24, 2011. 7:24 AMChowmix12 says:
The usb shiekd doesn't use pins 0 and 1 (RX/TX) so it should be fine.) implementing code may be a little harder.
Nov 3, 2010. 8:59 AMMagneto_Man says:

Great! thanks a lot! I used a standard serial Bluetooth adapter module and it works perfectly! :-)
Nov 16, 2009. 1:19 PMTchnclfl says:
You really shouldn't connect an LED like that without some form of resistor...Red LEDS, for example, are only supposed to run at about 2.5 volts MAX, and you're running 5v through that one.
Oct 19, 2010. 8:09 PMOxide says:
Pin 13 has an internal pull-up resistor: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1251513531/2
Jul 12, 2010. 9:32 AMdoby162 says:
this looks awsome! i currently have other projects going(which i plan to submit to instructables) but after them i might try to built a bluetooth controled robot. what kind of range do you get off that thing anyway? if i could controll the robot though out my house than that would be good enuf for me. also were would you get a bluetooth receiver? also some red leds wont even light off 2.5 volts, they very alot. ive even run one off a nine volt with no problem. ovcourse it was only producing 7 volts at the time...
Feb 14, 2010. 1:18 PMjavajunkie1976 says:
How would this work if I wanted to connect a wireless handheld controller to an 7 1/2" gauge locomotive and run it remotely? The current set up is too cumbersome with the cable and if track operations dictate the need to do some switching of cars on the track, walking alongside the locomotive gets to be a pain, especially with scenery and other trains.
Nov 12, 2009. 7:54 AMbenjgvps says:
 It's that easy to use a bluetooth module? I think I may build my own bluetooth adapter for my Palm M500 using the serial pins on the cradle adapter. This may end up being cheaper than the hard-to-find-in-canada SDIO Bluetooth adapter.
Nov 4, 2009. 4:18 PMjoejoerowley says:
 Very Cool! Great Instructable!
Nov 4, 2009. 9:43 AMRorymi6 says:

Very interesting, might give this a go. I assume this a BlueSMiRF Gold?
Thanks
Rory


Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
53
Followers
10
Author:simon72post