Connect an ArduCam or other camera
-
Anyone done this? I'd love to stream 2 mpx to capture on a server elsewhere :-) Not sure where to start though as the ArduCam code is in Arduino C. Seems to me like it'd be a matter of writing to I2C and reading SPI -- but I'm not experienced.
-
@engeeneratendee Afraid I’ve not tried it. I had to abandon Pycom modules due to another issue. Give it a shot and share your findings! :-)
-
Sorry for digging this deep, but have you achieved your goal. Does scripts from ArduCam works?
-
Or other any camera, like as Arducam.
-
Does anyone have success working Arducam with WiPy 2.0?
-
Oh heads up, the script you linked is for a Raspberry Pi. I noticed that because the device is /dev/ttyACM0. It's probably usable with WiPy with some modification but how to do that goes above my pay grade.
Note that there are instructions from the ArduCam folks for making the ESP32 work with the Arduino libraries. Under the hood, the WiPy is an ESP32. Perhaps start with that then see if you can learn what you need to make it work on MicroPython.
Wish I could be more helpful.
-
Although I've not hooked up any ArduCam yet, try to connect both its I2C and SPI lines to your WiPy. Read the directions for connecting each of those. Start with the I2C. Then when you are satisfied both are working, try the script you linked. Looks like you just import arducam_reader then download test.jpg from the filesystem to your desktop via the FTP server.
-
@betterauto I found this for Arducam
https://github.com/dakoner/arducam_reader/blob/master/arducam_read.py
But it's not really commented and I'm sure about how I'd wire up the Arducam to wipy 2.0
-
@davidintoronto No and I’m still a long ways off from trying it. Your best bet is ArduCam.
-
@betterauto Any idea if this is available yet?
-
I have it working with LUA-RTOS-ESP32 (look at arducam.c / arducam.h).
It's in pure C, so it shouldn't be hard to adapt it for MicroPython....
-
FYI I wrote to the ArduCam folks and they sent some libraries for the ESP32. I haven't tried them yet, and I really don't know if they would work with Python. But it seems they are working on this.