Juicebox Wireless Weather Station: Finally Done!
Rayman
Posts: 14,815
I've been struggling to get this thing working reliably for a while now...· But, now it's working! [noparse]:)[/noparse]
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...
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...
Comments
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 - The home of the Hybrid Development System and PropGFX Lite
http://www.rayslogic.com/propeller/Programming/RaysStuff/JuiceBox/JuiceBox.htm