
Dan Morrill decided to take the Garduino system that he built a step further, and created a remote control that runs on an Android phone and talks to the Arduino over Bluetooth:
In practice, it takes your “Serial.print” output from an Arduino program and makes it available over Bluetooth to a PC….. or a phone. Android, meanwhile, added an API for Bluetooth RFCOMM in version 2.0. My wife got me a BlueSMiRF for my birthday, and it was off to the races.
I rewrote the Arduino code into a simple finite state machine, and added the ability to accept commands over serial. It’s a very simple project, so there are only 2 commands: reset, and set current time. I encountered some interesting open-source related issues in doing this, but that’s another post.
I then wrote a spiffy little Android app that pairs up to the BlueSMiRF, reads the state dumped from the Arduino every 3 seconds, and then makes a pretty little Android UI. It shows me a Sun, Moon, or Clock depending on which state the Arduino is in (daytime, nighttime, or waiting for clock data), and reports the other status fields like light intensity and status.
Source code for Arduinos and Android devices
Read more | Permalink | Comments |
Read more articles in Arduino |
Related posts:
- If Got Android, No Need PC Again http://asia-computers.com/if-got-android-no-need-pc-again/
- Dirt-cheap robotics prototyping environment with Android
- MacOS: CoRD is a Mac OS X remote desktop client for Microsoft Windows computers using the RDP protocol. http://bit.ly/I9nNY Nr1 remote tool!
- Apple sues Android phone maker HTC alleging copyright infringement
- #PC Android Largely Unharmed in Google-China Row http://bit.ly/bB8gJF #Computers #PCWorld
- #PC Google Android Phones Can Now Search With Written Gestures http://bit.ly/dnD9HL #Computers #PCWorld
- #PC Motorola Backflip on AT&T: Not the Full Android Experience http://bit.ly/aGzA7F #Computers #PCWorld
- Apple sues rival smartphone maker HTC (source: The Australian)
- EZ-Expander shield for Arduino
- RT @IvanVersluis MacOS: CoRD is a Mac OS X remote desktop client for Microsoft Windows computers using the RDP protocol. http://bit.ly…