Closed justmobilize closed 1 week ago
Tested @justmobilize solution with a Pico W/OV5640 PiCowbell/PiCowbell doubler setup which posts jpeg to Adafruit IO with feed history turned-off. Works perfectly! Due to memory limitations have to reset board (I actually put it into a TimeAlarm
deep sleep) after each picture acquisition and upload, but this is a small price to pay (and probably a more sensible solution for an application that one might want to run with a battery).
A couple of important implementation notes:
cam.quality
less than 11 (otherwise run out of memory)Thank you @justmobilize !
Is there an example for using this? I'd like to give it a try, but I'm not sure how to use it.
Sure thing @jerryneedell . Attached is my test code. Very much a work-in-progress, so please excuse the awful code. It does work as I have repeatedly posted pictures to aio. code_iotfeeder.py.txt
@jerryneedell here is the test code I used (just used an existing file): https://gist.github.com/justmobilize/f0ee9668d7aab6d91524b3ab53953d2c
Add ability to post a file via the data param
data
object hasread
send it up as raw data, reading in chuncks