Home Blog  





3 Jul 2011

follower presents his project using a USB accessory to create a “dual screen” Nexus One with SMS notification & time display. Besides the Nexus One phone, the hardware consists of an Arduino Duemilanove with ATmega328, a SparkFun USB Host Shield and 2×16 LCD display. This hack is made possible by Android’s Open Accessory API. [via]

The sketch listens for bytes sent over the USB connection and displays them on the LCD–it special-cases two values to determine which row of the display text should be displayed on.

The Android App is invisible and starts automatically when you connect the accessory. (You probably need to approve the running of the application within a few seconds or the accessory may time out.) A background service is started which displays a notification of the accessory found, listens for new text messages and starts sending the current time to the accessory for display. You can use your phone as normal while the service is running in the background.

When the accessory is disconnected the notification is removed and the background service cleans up after itself before stopping.

Full source code and further details are available at follower’s labradoc webpage.

Dual-screen Nexus One – [Link]



 
 
 

 

 

 

Search Site | Advertising | Contact Us
Elektrotekno.com | Free Schematics Search Engine | Electronic Kits