Always wondered about how to create a driver! Interesting episode. I always imagined software Drivers to be super heavy, complicated code with some witchcraft mixed in to make everything work! Lol This video shed some light this for me. Thanks guys! 🤙 I’ve let myself get scared off by big gnarly 1000 plus page datasheets too quickly in the past before being able to accomplish something like this on my own. Your channel is one of my favorites on RUclips and an awesome resource for people interested in electronics and building that knowledge bridge to get software and electronics to do stuff in the real world! Please Keep it up!
Seems Liam is very brilliant and on top of his game with this product and its potential-- (Hope I haven't embarrassed you grandson). By the way--I have no idea about what you two are talking about--lol.
I did that using arduino uno and arducam. it's tough, it took 5 min, but the pleasure of making your own error correction algorithm and see the image from the other side is limitless.
Its actually all packed into the main.py doc! The connections can be found in the text, if you want to break the module into its own file just copy the 'Camera' class into its own file
Would it be possible to run a videofeed via the script to detect a QR code using computer vision (openCV) or will the pico not have enough power? Thanks!
Hi! all very beautiful but i bought the 5MP, exactly the same camera as in the video and i am using Micropython but i am not being able to get the image. When do you think it will be ready for running the last version of Micropython, using this 5MP camera as in the video? Thanks
From what I see on the github code of this project it says the code is confirmed working for the 3MP but not the 5MP as of last I checked. So I'd be curious as well I just got a few 3MP ones myself to test so can let you know if it works out.
We actually developed the library on the 5MP, so both should be working perfectly! If you're still having trouble head over to the forum and we're more than happy to help out :D
@Core-Electronics Oh that is interesting on the github repository it has shown for past few weeks that the driver framework in micropython was confirmed working for the 3MP but didn't show it was for 5MP. I see now the github project NOW shows it does work for both 3MP and 5MP. I hooked up a 3MP to 2 different pi pico w boards and it said it was capturing a image and writing to memory. But when I would refresh the board and look there was no saved image on the boards memory just the 1/2 python files. Maybe I have to double check my wiring or solder connection. Or maybe lower the image resolution sense the Pico W has less memory 🤔. I will be sure to head over to the forum and request help if I need it or post my progress here soon there though 👍
The image should be saved onto the flash memory, you will also need to refresh the Pico's memory. If you need any more help chuck a question on our support forums with a bit of info, here is the link to the forum for that video: forum.core-electronics.com.au/t/new-video-by-michael-developing-camera-drivers-for-micropython-raspberry-pi-pico-the-factory/17693
Great stuff. I am getting into micro python. I really enjoy it. Core electronics has some nice things you can buy but they are made by adafruit and they support there circuit python and not micro python, too bad they didn't stick with micro python I greatly prefer it over circuit python. Interesting stuff I am looking for a camera I can connect by SPI by micro python I wonder if you have had success with your code?
We are also most definitely on team MicroPython as well! We have had some success with taking photos, been a few candid shots around the office, if you are interested check out the repo: github.com/CoreElectronics/CE-Arducam-MicroPython Best of luck on your Micro Python journey!
Always wondered about how to create a driver! Interesting episode. I always imagined software Drivers to be super heavy, complicated code with some witchcraft mixed in to make everything work! Lol This video shed some light this for me. Thanks guys! 🤙 I’ve let myself get scared off by big gnarly 1000 plus page datasheets too quickly in the past before being able to accomplish something like this on my own.
Your channel is one of my favorites on RUclips and an awesome resource for people interested in electronics and building that knowledge bridge to get software and electronics to do stuff in the real world! Please Keep it up!
Thank you for the kind words, we're glad you find our content helpful 😄
Seems Liam is very brilliant and on top of his game with this product and its potential-- (Hope I haven't embarrassed you grandson). By the way--I have no idea about what you two are talking about--lol.
New challenge, now send the photo over LoRaWAN :P
Might take a little while, there are some pretty tight data limits on LoRaWAN, 4g or long range WiFi might be the way to go!
I did that using arduino uno and arducam. it's tough, it took 5 min, but the pleasure of making your own error correction algorithm and see the image from the other side is limitless.
This video was a huge help! Is there anyway to do this with CircuitPython?
You'll likely have to do some porting into CircuitPython, but definitely possible with some changes to the base functions
Hi! Do u have a link to the micropython code and connections for hooking up the arducam to the pico? (not just driver)
Its actually all packed into the main.py doc! The connections can be found in the text, if you want to break the module into its own file just copy the 'Camera' class into its own file
What logic analyzer did you guys use or would you recommend?
We used the Saleae Logic Analyser, it's linked in the description if you're interested.
@@Bobo-ox7fj ah…thanks for the heads up!
Has anyone tried to work these drivers on 3mp version of camera ?
Yeah they are confirmed working!
Would it be possible to run a videofeed via the script to detect a QR code using computer vision (openCV) or will the pico not have enough power?
Thanks!
I think you are on the ball with the pico not being powerful enough. You may need to upgrade to a raspberry Pi 4 to achieve that.
Hi! all very beautiful but i bought the 5MP, exactly the same camera as in the video and i am using Micropython but i am not being able to get the image. When do you think it will be ready for running the last version of Micropython, using this 5MP camera as in the video? Thanks
From what I see on the github code of this project it says the code is confirmed working for the 3MP but not the 5MP as of last I checked. So I'd be curious as well I just got a few 3MP ones myself to test so can let you know if it works out.
We actually developed the library on the 5MP, so both should be working perfectly! If you're still having trouble head over to the forum and we're more than happy to help out :D
@Core-Electronics Oh that is interesting on the github repository it has shown for past few weeks that the driver framework in micropython was confirmed working for the 3MP but didn't show it was for 5MP. I see now the github project NOW shows it does work for both 3MP and 5MP. I hooked up a 3MP to 2 different pi pico w boards and it said it was capturing a image and writing to memory. But when I would refresh the board and look there was no saved image on the boards memory just the 1/2 python files. Maybe I have to double check my wiring or solder connection. Or maybe lower the image resolution sense the Pico W has less memory 🤔. I will be sure to head over to the forum and request help if I need it or post my progress here soon there though 👍
where is this saving the image? Every time I run the program, it only shows filemanager.log not the image file
The image should be saved onto the flash memory, you will also need to refresh the Pico's memory.
If you need any more help chuck a question on our support forums with a bit of info, here is the link to the forum for that video: forum.core-electronics.com.au/t/new-video-by-michael-developing-camera-drivers-for-micropython-raspberry-pi-pico-the-factory/17693
Great stuff. I am getting into micro python. I really enjoy it. Core electronics has some nice things you can buy but they are made by adafruit and they support there circuit python and not micro python, too bad they didn't stick with micro python I greatly prefer it over circuit python. Interesting stuff I am looking for a camera I can connect by SPI by micro python I wonder if you have had success with your code?
We are also most definitely on team MicroPython as well! We have had some success with taking photos, been a few candid shots around the office, if you are interested check out the repo: github.com/CoreElectronics/CE-Arducam-MicroPython
Best of luck on your Micro Python journey!
whats the status after 5 months? any update?
We had some work chugging along behind the scenes. Take a look at the repo if you are interested!
github.com/CoreElectronics/CE-Arducam-MicroPython
2 seconds for an image is utterly useless.
2 seconds ain't great, but 2 seconds on a $7 microcontroller is pretty good!
Pico having only 264 kB of RAM, I wonder how you even (temporarily) store the image in it, before, lets say, putting it on a MicroSD card. 🤔
The RAM actually only sees a little puzzle piece of the image after every byte read, when saving it appends straight to the onboard flash memory (2MB)
Write chunk by chunk in a streaming fashion. So one just needs for example 512 bytes