This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

iphone app, bluetooth

Hi all,

I've been wanting to start this project for awhile now, but I am having trouble figuring out where to start. I want to be able to make an iphone application which is able to control servo motors, via bluetooth, which connected to a custom microcontroller with an atmega32u4. (here is the link to the microcontroller: medesign.seas.upenn.edu/.../MaEvArM). I'm wondering which bluetooth module I should buy, and how to implement this in objective c. The microcontroller is programmed in C. I know the basics of objective c but not much about bluetooth. Any help/ articles on how to start this would be great.

Thanks

Parents
  • MEAM is new to me, if that is like arduino you can do it the easy way and use a prebuilt module like HC-06 with Bluetooth 4.0 LE that communicate via serial interface - AT commands. Have not tested HC-06.

    If you are serious about BLE and have time to spend and learn, buy a devkit from nordic and use the nrf51822 and rework some examples i C-code, you can also download iOS app LightBlue and simulate a peripheral.

    In iOS, you need to join the developer program and read the "Core Bluetooth programming guide", also the Apple "Bluetooth Accessory design guidelines for apple products" contains advertise/Interval timings specific for iOS etc.

    Also in the Nordic SDK download area you can find iOS app examples.

    I have used some of the PTR series modules from Xuntong and these have more or less external IO pins with ADC etc, you program these in C probably much the same way you tend to program MEAM. Also to nrf51, you have the radio code lib precompiled (SoftDevice) and have to program this to one area and then your own code at another area/address.

  • Also, this blog post might be helpful.

Reply Children
No Data
Related