Affichage des articles dont le libellé est arduino. Afficher tous les articles
Affichage des articles dont le libellé est arduino. Afficher tous les articles

mercredi 2 avril 2014

Arduino and Android ADK


Smartphones gives us a wide range of applications that help us organize our selves, play and wake up on time, but if only there is a way to connect our phones to the real world to control hardware stuff like house lighting system or the garage door. Smartphones have a bunch of possibilities including sensors like GPS, accelerometers and temperature, a decent cpu for processing data but the most important feature a smartphone can give is its portability.




In 2011 Google starts a project called Android ADK: http://accessories.android.com/ the Android accessory kit, that can make your phone communicate to devices (accessories) by make a bridge between the power of android devices and the real world through a simple USB communication. This bridge can solve so many problems :D



So I thought to try it out with an arduino ADK board. The project I've done is to control a led and a DC motor From the Android to the arduino passing by xbee modules.
The next diagram explains entities communication:


The code has three sides:

  • The Android side : sending commands through ADK
  • The Arduino ADK Side: Receiving commands and send it wirelessly to other arduino boards with xbee
  • The Arduino Uno Side: Receiving commands from xbee and control the DC motor and the led.
The hole project:

I'll  be happy to answer questions in the comments
Thanks.

jeudi 29 décembre 2011

Hello Arduino

Today I've got my new arduino board mega 2560 adk from the arduino distributor of Tunisia, and I'm extremely happy.
The board is perfect for me, it has 54 I/O(of which 14 provide PWM output), 16 analogue input and it's specially created as an open accessory device of an Android phone.
The most amazing thing about arduino that it's an open hardware So you can reproduce an android by yourself or even contribute to make a new arduino board.
another great thing about arduino that it has a huge community So  whatever is your problem believe me you'll find the solution.
Finally, In a word arduino is EASY.