the6p4c / rp2040_ov2640

Quick demonstration of interfacing with an OV2640 camera from the Raspberry Pi Pico (RP2040)
BSD Zero Clause License
35 stars 11 forks source link

detailed PIN layout #1

Closed nadavmisgav closed 1 year ago

nadavmisgav commented 1 year ago

Hi, i was wondering if you could provide the pin layout you used between the rp2040 and the ov2640 camera module.

mihirbh2k commented 1 year ago

yes pls I'm looking for the same maybe we can send our findings here and help each other or something.

mihirbh2k commented 1 year ago

This is what I have till now:- SCL ----------------------------------- GPIO5 (1k pull up) SDA-----------------------------------GPIO4 (1k pull up) RESETB--------------------------------GPIO2 XCLK----------------------------------GPIO3 VSYNC--------------------------------GPIO16 D0-----------------------------------------GPIO6 D1--------------------------------------GPIO7 D2---------------------------------------GPIO8 D3---------------------------------------GPIO9 D4-----------------------------------------GPIO10 D5----------------------------------------GPIO11 D6----------------------------------------GPIO12 D7-------------------------------------GPIO13 PWDN---------------------not sure i dont think thsi library uses it This does not work I'm pretty sure I'm making a stupid mistake or smth pls if anyone makes any progress

nadavmisgav commented 1 year ago

dont you have a PCLK and HREF connections? this is my connections where in my board XCLK is internally generated.

Pico OV2640 Notes
3.3 VCC
SCL GP5 set pull up resistor
SDA GP4 set pull up resistor
VSYNC GP16
HREF GP15
PCLK GP14
D0 GP6
RESET GP2
GND GND
mihirbh2k commented 1 year ago

Is this working? and did you change the PCLK and HREF in the pio file as well?

chx123456nb commented 1 year ago

Hello, guys, I'm just getting started with Raspberry PI, so what kind of pin maps are available?

nadavmisgav commented 1 year ago

changed my board and added a pull up resistor to the vsync and it worked