Friday 15 June 2012

IOS + Arduino + Cocos3d

Exploring the capabilities of the IOS devices is a passion of mine!

Even though the IPhone/IPad has many internal sensors, it does have its limitations, can it tell me how warm it is? NO,  Can it give me an accurate reading of how far away an object is? NO.

Thats a shame, well fortunately it is possible to integrate an IOS device with an external device.

In my test environment I have successfully connected an app to an Arduino micro controller, in turn I have connected this to an ultrasonic sensor, 

Remember this sensor could be any sensor! and there are no limitations to what you decide to do with the data when it reaches the IOS device.

In my example I have used cocos3d to display a cube on screen, when the application receives distance data from the micro controller it updates the cubes position.  

But the sensors information could be rendered on a graph, or even transmitted over the internet a an external server.

Just to give you an idea of what is possible have a look at the following video!


No comments:

Post a Comment