juicebox
Rayman
Posts: 14,727
The Juicebox is really a hacker's dream...· It's now $5 (maybe $10 with shipping), and runs embedded linux.· The manufacturer has posted the source code to the linux OS it runs...
It's already been hacked several ways...
http://elinux.org/JuiceBox_Hardware
I think I'll add an SD card to it (been done a thousand times) and use the Prop to move files around on the SD card and control the buttons.· So, essentially I'll have a $10 MP3 player or picture viewer...
Don't need the Prop for this, but what I really want to do is dynamically create and show pictures so as to have a cheap (but slow) 12-bit color display...
If I had more time, I think I'd put my own code on the thing·so that it would accept commands via the serial interface...
It's already been hacked several ways...
http://elinux.org/JuiceBox_Hardware
I think I'll add an SD card to it (been done a thousand times) and use the Prop to move files around on the SD card and control the buttons.· So, essentially I'll have a $10 MP3 player or picture viewer...
Don't need the Prop for this, but what I really want to do is dynamically create and show pictures so as to have a cheap (but slow) 12-bit color display...
If I had more time, I think I'd put my own code on the thing·so that it would accept commands via the serial interface...
Comments
Anyway, took a Dremmel tool to the sample clip that came with the thing (in a seperate package) and soldered up an SD connecter and now have a ~$5 or so MP3 player/photo viewer...
Here's a link to the wiring diagram I used:· http://joevennix.blogspot.com/2006/01/juicebox-digital-picture-frame-how-to.html
Next, I used the power from the SD card to power up a Prop Proto board with tv, mouse, keyboard, and 2 serial cameras attached (running my BlackJack game [noparse]:)[/noparse] ...
Next step:· Use the Prop to play/show what I want...· (I don't know how well this will actually work...)
Then you'd have a $5 version of the LED screen device..
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Just getting started with Propeller?
Propeller Cookbook
PropDOS
Hooked up a scope to the data line and I see just a burst of activity every 4 seconds, only lasting about a tenth of a second. So, I think I can overwrite the image in the space inbetween and thereby get a screen that updates every 4 seconds... Not exactly video rate, but should be OK for some things...
Where did you pick this up for $5?
I just bought another one for $5 from:
http://www.overstockdealz.com/products.asp?id=H3904
You can also get 2 for $25 with free shipping from:
http://www.overstock.com/Bulk-Electronics/Mattel-Juice-Box-Media-Players-Case-of-2/2192839/product.html
Besides this, there are are a few on Ebay.· But, the market does appear to be about gone...
But, I'm very optomistic about turning this thing into a display for the Prop.· Now think I can ~ 2 fps update rate, maybe more. (by displaying a single image and using the ">>" key to reload and display the same image, updated by the Prop).
Overstock still had at least one left. Yep, $4.99 + 4.99 shipping.
Ten bucks for a small LCD; not too shabby. And plays music and videos.
Did Mattel ever take a loss on the JuiceBox?
Probably never will find an old operating iPhone near that price.!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Harley Shanko
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
What is the LCD screen size (physical and pixels horiz and vertical)? I looked for that but didn't find it in my haste to order one.
Hopefully it will be fine for pure text on background. Don't know if blacks are very black, or whites white; or other color combinations with decent contrast.
And, hopefully there is a way for a Propeller to get its 'hands' on the display, one way or another. Does anyone have a schematic for the JB?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Harley Shanko
http://elinux.org/JuiceBox_Hardware
Display is 2.7" with 240x160xRGB resolution. I converted a couple images and put them on the SD card. One looked as good as could be expected. The other one (penquins on ice) didn't look so good... But, the contrast and brightness is adjustable.
linux and used RS232 as a terminal screen? Still worth it for $5.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Just getting started with Propeller?
Propeller Cookbook
PropDOS
As a friend of mine used to say when I showed him some new hardware "Got a screwdriver" as he knew I was into hacking gizmos.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Harley Shanko
Anyway, I just had a prop create a ".jbp" picture while the JB was on (and powering the Prop) and then had the JB show this picture (by manually pushing the JB's buttons).·
But, it seemed like it took the prop ~1 second to mount, write 57,600 bytes, close, and stop.· This could limit the refresh rate significantly...
Here's a photo of my setup:
Not too shabby a LCD display. Need to convert your SPIN to assembly to speed up that looong processing time.
I'm wondering, since a Prop wouldn't have direct access to the LCD, to have the Prop look like a SD/SPI interface and have it dump directly to the JB processor. Seems if a screen only is presented in b/w, then the Prop RAM could contain a bitmapped image of what's desired on the JB.
That is, if the JB did need to run at 400 Kb that provides 50 clocks (at 80 MHz clock) per bit. And if the math is correct, 240 x 160 / 8 = 4800 bytes; 4800 x 2 = 9600 bytes of Prop RAM only needed to hold a b/w image. Now generating a desired image, a bit-mapped one, is a different chore. This would require an adapter board that appears as a SD card on one side and the other wired as required to connect to the Prop. I was thinking of using JB display as a debug display.
Just a thought. Anyone able to say it is impossible timing? Whether it is worth while is a different concern; like maybe a portable video player is much cleaner approach, though a bit more costly.
Thanks for provideing this info and picture.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Harley Shanko