Well I want to have a wireless communication with an arduino and iphone i want to be able to controll a number of peripherals using touchosc but i dont want to use a xbee since you would need a pair and 2 arduinos (correct me if mistaken). I want to use a serial bluetooth module like the sparkfun thing how is it possible. I know how to use touchosc without bluetooth but the arduino has to be connected to the computer so please help.
Serial
Start checking out “serial” for the arduino. All data sent via bluetooth will be sent via “UART serial”. Learning how this works would be your first task.
I know the basics. i saw
I know the basics. i saw this instuctable http://www.instructables.com/id/how-to-Control-arduino-by-bluetooth-from-PC-pock/
I understood the whole thing realy clearly but i dont uderstand how to control it with touchosc.
TouchOSC?
Maybe I am missing something or my google results are not accurate. Is touchOSC a system for controlling DJ equiptment via an apple device?
From what i remember it’s
From what i remember it’s something like that (synthesizer controll scheme) but it often gets repurposed to do other things.
Hope that helps i dont know much about the rest of this lol. never used bluetooth or rf with an arduino.
Ok, just gotta figure it out
Well, I would start with your knowledge of sending data via serial and add a bluetooth module. For this initial testing, you could even use the internal bluetooth on your laptop. Either way, you need to have either A) internal BT or B) an arduino, bluetooth unit and some code to take whatever is coming in via BT and send it out to the serial monitor. Basically, we are making a “bluetooth catcher” here. Fire up the serial monitor or your terminal program of choice and start hitting buttons. You should be able to see what is coming through on your terminal. Grab a pen and paper and simply start figuring out what comes through when you hit a given button.
Short of a manual, datasheet, source code etc., I can’t think of any other way of doing it.
There is no direct way to
There is no direct way to use touchOSC via bluetooth. You will need a PC as man in the middle. TouchOSC is using TCP/IP to communicate with a PC. The PC can convert the TCP/IP Packets into serial and send this to the Arduino via a Bluetooth USB/Serial adapter. Using Processing on the PC side could do the job, as shown here.
** @robotfreak i understand**
@robotfreak i understand but i alredy knew that i just want to know how i can use bluetooth to control things. I want to do the same thing as the link you pointed out but with bluetooth.
Bluetooth SPP is the same
Bluetooth SPP is the same like using a serial link. You don’t have to worry about. You have to pair the devices once and it will work like a charm. On PC side you will have a COM Port to talk with. On Arduino side it will be a serial port.
I did not understand what
I did not understand what you said explain in a bit more detail please. Any links
Thank you I already saw that
Thank you I already saw that that’s what I’ll do.
I understood everything
I understood everything Bluetooth spp makes the arduino think it’s connected by a wire so I don’t have to worry about that. It’s just that I don’t understand proccesing and I don’t want to use but I must. The code is so confusing so I will probably controll the bot from a laptop.