Hi
My arduino Project is to make a drawing Robot. You take a Picture with your iPhone and the robot draws it. The Robot isn't any Problem. However I need help with the Bluetooth communication between the iPhone and arduino. I'm quite experienced with arduino but only have basic knowledge with objective-c and no experience at all with bluetooth. I want to make an iOs app (yes, it has to be iOs) with which you take and process the picture. The app and picture Processing should not be any trouble. As I said before I don't know a lot about bluetooth. I only need to transmit a string of characters. I presume you would use any bluetooth module on the arduino side, but how would you do it with the app? I would appreciate some general advise on the topic
thanks
bestanamnetnogonsin:
I presume you would use any bluetooth module on the arduino side,
No, you have to use a Bluetooth 4 device, usually known as BLE. The actual serial communication is the same. All Arduino has to do is properly act on the serial data.
but how would you do it with the app?
Apple problem.
If needs must, but you might be better off coming forth with an extra few dollars to get one on a 6-pin breakout board. It makes life so much easier. I believe the most common one is by Tinysine and available on eBay.
It was just a quick search, to see what you mean. Thanks
Ok. Say I used this shield. What sort of code would I use? Is there a library?
That will do but you don't need it. You can get the same device for 1/3 the price. Arduino sees it as just another serial device i.e. just like the serial monitor, no special code, no libraries need.
You might find the following background notes useful
http://homepages.ihug.com.au/~npyner/Arduino/GUIDE_2BT.pdf
http://homepages.ihug.com.au/~npyner/Arduino/BT_2_WAY.ino