Pages: [1]   Go Down
Author Topic: Dual-screen Nexus One phone Android accessory  (Read 1300 times)
0 Members and 1 Guest are viewing this topic.
New Zealand
Offline Offline
God Member
*****
Karma: 0
Posts: 999
Arduino pebbles
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Always running out of space on your Nexus One phone's display?

Wish you could see who was texting you or know the current time when you're playing full-screen games?



You need a dual-screen Nexus One:


The project hardware includes an Arduino, USB Host Shield, LCD display and a Nexus One phone running Android 2.3.4.

The LCD display accessory is implemented using the Android Open Accessory Protocol (like the ADK): an invisible background service is started automatically when you connect the accessory. The service 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.

More details, source and photos on my Labradoc project log.

--Philip;

P.S. If you want to get started with creating Android accessories but don't know how to write Android code check out my post on Handbag it's the easy way to get started without writing Android code.
Logged

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Always running out of space on your Nexus One phone's display?
No

Quote
Wish you could see who was texting you or know the current time when you're playing full-screen games?
and no.
:p

I don't have a Nexus One...

Cool project though smiley-grin
Logged

UK
Offline Offline
God Member
*****
Karma: 10
Posts: 903
Twitter: @simonmonk2
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Nice :-)

You may find that your little battery goes flat pretty quickly if the phone decides it wants half an amp smiley-wink

If you have found a software way around this requirement of Open Accessory, it would be great to know.

I have ended up making an 'no-charging' USB extension lead, which is fine, as long as the phone is well charged.

http://srmonk.blogspot.com/2011/06/android-open-accessory-without-charging.html
Logged

--
My New Arduino Book: http://www.arduinobook.com

New Zealand
Offline Offline
God Member
*****
Karma: 0
Posts: 999
Arduino pebbles
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If you have found a software way around this requirement of Open Accessory, it would be great to know.

Alas, no, I haven't--according the original Google IO presentation I saw this is a requirement of the USB host spec.

Quote
I have ended up making an 'no-charging' USB extension lead, which is fine, as long as the phone is well charged.

Nice! I had recalled reading someone mentioning something like that was possible but hadn't actually seen it done.

What's the theory behind why the trick works? I assume it is enough to trigger whatever the phone uses to detect "power" but not enough to actually drain the battery much?

--Philip;
Logged

UK
Offline Offline
God Member
*****
Karma: 10
Posts: 903
Twitter: @simonmonk2
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That's the theory, although it only really works when the phone is fairly well charged up anyway.

But it does mean that if the phone decides it wants more, it comes out of accessory mode rather than killing the battery.
Logged

--
My New Arduino Book: http://www.arduinobook.com

Louisville, CO
Offline Offline
Full Member
***
Karma: 2
Posts: 174
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

USB Host Shield library r2.0 supports USB hubs so you can use a hub as a power source, see link at the end of this thread -> http://arduino.cc/forum/index.php/topic,64693.0.html   I checked with both Nexus S and Nexus One, they work well.
Logged

/felis

Pages: [1]   Go Up
Jump to: