Shop OBEX P1 Docs P2 Docs Learn Events
Prop to iPad via Bluetooth — Parallax Forums

Prop to iPad via Bluetooth

HaunabenHaunaben Posts: 2
edited 2012-02-20 18:01 in Propeller 1
I just finished a proof of concept app to allow communication between a prop and iPad app via Bluetooth. I'm working on a new universal control app for the iPad that will allow it to be the control device for all my projects.

I created a blog post here with the details of the project. My current setup is using a Bluetooth Bee from Seed Studio, but could easily be adapted to another module. Until the next post I'll be working on a simple control UI to drive a robot based on the rover 5 base. I found very little information on using Bluetooth in iOS apps so wanted to get this info out as it may help someone else.

Comments

  • Cluso99Cluso99 Posts: 18,069
    edited 2012-02-20 12:18
    Haunaben: Welcome to this great forum.

    Your blog is nicely documented. Well done!

    Once you have completed this, you might like to look at Micah's code for using a $1.50 USB Bluetooth directly conected to the prop. However, it does use a few cogs and I am not sure if it could be reduced to less.
  • CircuitsoftCircuitsoft Posts: 1,166
    edited 2012-02-20 12:33
    I'll note that you don't need a jailbroken/rooted device to access spp on android.
  • HaunabenHaunaben Posts: 2
    edited 2012-02-20 14:49
    @Cluso99: Thanks for the info on Micah's code! I can't believe I missed that when searching before. If I have the cogs I'll certainly use it with a cheap dongle .. I'd like to experiment with L2CAP instead of SPP without paying a lot.


    @Circuitsoft: The bluetooth stack is accessible on android devices without rooting, and there are lots of code samples out there. I'd recommend the android route to anyone that already has an android device and is familiar with android app development. I already had an iPad kicking around and know more about objective C so I went the apple route. I also feel bad at how underutilized my iPad is relative to the cost :)
  • CircuitsoftCircuitsoft Posts: 1,166
    edited 2012-02-20 17:24
    Haunaben wrote: »
    I also feel bad at how underutilized my iPad is relative to the cost :)
    I believe that's called the Apple Tax :)
  • RaymanRayman Posts: 14,845
    edited 2012-02-20 18:01
    It's a real shame that iphone/iPad and WindowsPhone don't give you SPP...
    It would make interfacing a whole lot easier...
    But, my guess is that Android is going to take over pretty soon anyway...
Sign In or Register to comment.