PDA

View Full Version : Juicebox Wireless Weather Station: Finally Done!



Rayman
05-20-2008, 09:36 AM
I've been struggling to get this thing working reliably for a while now...· But, now it's working! :)

I've hotwired a $5 Juicebox with SD card mod to be controlled by a Prop.· The Prop gets images wirelessly over Bluetooth connection to a PC running the server program.· The Prop shares the SD card bus with the Juicebox (a bit of a trick).

Anyway, the PC obtaines weather data and 2 webcam pictures and then formats them into Juicebox format and sends them to the weather station...

Every picture gets updated once an hour.· The pictures are on a 6 second slideshow loop.

Here's a (poor) picture of the device in operation, a screenshot of the server program, the server program, and the Prop code:

BTW:· I found the key was to leave the Bluetooth serial connection open all the time...· Before, I would open the port every 15 minutes, send a file, then close it.· But, this would fail after a day or so for some reason that I don't understand...

Coley
05-20-2008, 08:24 PM
Rayman said...
The Prop shares the SD card bus with the Juicebox (a bit of a trick).


Hi Rayman,

Nice work!

I would be interested in finding out about your little trick...
I have an application in mind where that could be very useful.

Regards,

Coley

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PropGFX Forums (http://www.propgfx.co.uk/forum) - The home of the Hybrid Development System and PropGFX Lite

Rayman
05-20-2008, 08:28 PM
There is·a circuit diagram here:

http://www.rayslogic.com/propeller/Programming/RaysStuff/JuiceBox/JuiceBox.htm