SC031GS camera

Aceofspades
Posts: 7
Joined: Sat Jun 27, 2020 12:07 am

SC031GS camera

Postby Aceofspades » Thu Apr 13, 2023 2:51 am

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?

bidrohini
Posts: 202
Joined: Thu Oct 27, 2022 12:55 pm

Re: SC031GS camera

Postby bidrohini » Fri Apr 14, 2023 11:01 am

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.

Aceofspades
Posts: 7
Joined: Sat Jun 27, 2020 12:07 am

Re: SC031GS camera

Postby Aceofspades » Wed Apr 19, 2023 1:27 am

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?

weili_an
Posts: 18
Joined: Sat Feb 05, 2022 8:16 am

Re: SC031GS camera

Postby weili_an » Mon Jun 19, 2023 12:44 pm

"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。

Eduardo__
Posts: 2
Joined: Tue Aug 29, 2023 8:52 pm

Re: SC031GS camera

Postby Eduardo__ » Tue Aug 29, 2023 8:57 pm

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!!!

Eduardo__
Posts: 2
Joined: Tue Aug 29, 2023 8:52 pm

Re: SC031GS camera

Postby Eduardo__ » Mon Nov 13, 2023 10:55 pm

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: :shock: 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.

Image
Attachments
Image11.jpg
Image11.jpg (33.75 KiB) Viewed 1881 times

Who is online

Users browsing this forum: No registered users and 132 guests