Hi,
Trying to get an SC031GS camera module going. I've done level translation for the 1.8V IO level and have carefully checked the power supply and power down line sequencing, and I2C delays but still no luck in getting an I2C response out of the module.
For the firmware I'm using the 'take_picture.c' example and have set the SDK config to search for the SC031GS. Note that it all works fine when I plug in an OV3660.
Any tips for getting this working?
SC031GS camera
Re: SC031GS camera
Make sure that you have the correct I2C address for the SC031GS camera module. Some modules may have different default addresses, so it's worth double-checking this.
-
- Posts: 7
- Joined: Sat Jun 27, 2020 12:07 am
Re: SC031GS camera
I tried the reference addresses 0x30, 31, 32 and 33. No luck. Also tried a scan from 0x00 -> 0xFF and still nothing.
The modules don't seem to take any significant supply current when powered.
Can anyone recommend an SC031GS DVP module that they know can work?
The modules don't seem to take any significant supply current when powered.
Can anyone recommend an SC031GS DVP module that they know can work?
Re: SC031GS camera
"scan from 0x00 -> 0xFF and still nothing". So SC031GS camera module not work or level translation something wrong.I have SC031GS DVP module work well。
Re: SC031GS camera
Does someone have succesfully powered and comunicated with the SC031GS Camera?
Does I2C interface needs 1.8 to 3.3V level convertion?
Does anyone have and application note of this camera module?
I´m trying to do it work. Thanks for any helping!!!
Does I2C interface needs 1.8 to 3.3V level convertion?
Does anyone have and application note of this camera module?
I´m trying to do it work. Thanks for any helping!!!
Re: SC031GS camera
Yes, I have had success communicating with the SC031GS.
First of all, the camera that I was trying to communicatting was damaged because Just one time I put the camera in a board without a 3.3 to 1.8V level translator. But I not realized that, because the camera not get hot, even damaged by overvoltage. I thought that the cammera could support 3.3V Bus because there is a mention on the SC031GS datasheet taht it supports till 4.0V. But it is not true.
So, I have the first comunnication with the camera when I made my own voltage translattor for the I2S (using low voltage mosfet transistors) and for the paralell bus using the TXS0108 from Texas(I used an Chinese equivalent chip).
But there is a Trick: PDWN pin (power down) must be kept open!!!! Some boards pull-it-down because the OV2640 work with it pulled-down, but the SC031GS it must be pulled UP(at 1.8V of course) or keep it opened as I did!!!!
Another Trick : I´m not using the original ESP-CAMERA lib. It not works well with SC031GS. I´m using the corrected one from Mr. WangYuxin-esp. I replaced the original lib with from the link below.
https://github.com/WangYuxin-esp/esp32- ... ree/master
It is importante to say that it will not works in Arduino, because Arduino have precompilled esp-camera lib. I´m using it with ESP-IDF (in VSCode) or in Arduino as a component of ESP-IDF (in VSCode). On that form, you will be able to create a folder named "component" and put the "esp32-camera" inside that. Dont´t forget to enable SC031GS using "pio run -t menuconfig", otherwise SC031GS will not work. In Arduino it is disabled by default.
First of all, the camera that I was trying to communicatting was damaged because Just one time I put the camera in a board without a 3.3 to 1.8V level translator. But I not realized that, because the camera not get hot, even damaged by overvoltage. I thought that the cammera could support 3.3V Bus because there is a mention on the SC031GS datasheet taht it supports till 4.0V. But it is not true.
So, I have the first comunnication with the camera when I made my own voltage translattor for the I2S (using low voltage mosfet transistors) and for the paralell bus using the TXS0108 from Texas(I used an Chinese equivalent chip).
But there is a Trick: PDWN pin (power down) must be kept open!!!! Some boards pull-it-down because the OV2640 work with it pulled-down, but the SC031GS it must be pulled UP(at 1.8V of course) or keep it opened as I did!!!!
Another Trick : I´m not using the original ESP-CAMERA lib. It not works well with SC031GS. I´m using the corrected one from Mr. WangYuxin-esp. I replaced the original lib with from the link below.
https://github.com/WangYuxin-esp/esp32- ... ree/master
It is importante to say that it will not works in Arduino, because Arduino have precompilled esp-camera lib. I´m using it with ESP-IDF (in VSCode) or in Arduino as a component of ESP-IDF (in VSCode). On that form, you will be able to create a folder named "component" and put the "esp32-camera" inside that. Dont´t forget to enable SC031GS using "pio run -t menuconfig", otherwise SC031GS will not work. In Arduino it is disabled by default.
- Attachments
-
- Image11.jpg (33.75 KiB) Viewed 2362 times
Who is online
Users browsing this forum: Baidu [Spider], Google [Bot], top_secret_guy and 54 guests