QR code scanner with Arduino Nano ESP32 and OV7670.

Hello guys, I need some help with a work project. I'm new into electronics and I technically never studied it because it wasn't meant to be part of my studies' path, but here I am. What I need to do is to create a QR code scanner that can check if the QR code is considered valid or not (it checks both the QR code and its expiration date, but it's not relevant for the issues I'm having right now). I bought an arduino nano and an OV7670 because I was thinking to store the information about the QR code in an SD, but considering I've never even touched a resistor in my entire life, I wanted to try something else. I bought an arduino nano ESP32 and I've tried looking around the internet about some tutorials and I was so desperate I even asked to AI, but nothing. All the tutorials I've seen were with an Arduino Uno R3 (I technically have a counterfeit Arduino that came with the rest of the kit, but for what I know, it doesn't have a WiFi module, which is something I need and that the ESP32 has). In short, I've tried connecting the camera with the ESP32 by looking at the different tutorials that they all had these connections in common: (OV7670 - Arduino Nano ESP32) 3V3 - 3V3 DGND - GND SCL - A5 SDA - A4 D0 - A0 D1 - A1 D2 - A2 D3 - A3 D4 - D4 D5 - D5 D6 - D6 D7 - D7 RET - 3V3 PDWN - GND I still have to connect VS, HS, PLK and XLK, but I've seen that every tutorial has them connected into different pins and I don't really know their criteria. In addition, they also use resistors of different resistance (except for the 10KΩ ones that are always there). If anyone can help me to atleast make the connections work without the circuit exploding, it would be a big step for me, considering it has been weeks I haven't done any progress. For now, I just want the camera to work and maybe even save some pictures after a certain amount of time (for example, after every 20 seconds) in a directory, just to know that it's working without having to buy other components.
6 Replies
MaderDash
MaderDash2mo ago
Can you post an image of youe nano32
Kathalb the Pistoian
haven't touched it since the day I made this post
MaderDash
MaderDash2mo ago
It looks like the headers NOT soldered to the board. It most likely will NOT work without the headers being soldered. Im not saying that will fix everything. Just there is no way of ensuring good conection without that being soldered properly.
Kathalb the Pistoian
yeah, but the solder is not a problem right now, considering I will solder them later. I was just too lazy to argue with my dad with it in the moment, considering that he continued saying that it would have been enough for the headers to touch the ESP32. And because I had him next to me and because he hardly understands what I say, I just wanted to save my time. My question was how do I connect the remaining pins to the OV7670 and which resistors should I use, if I have to use them (most likely yeah, unless I want to burn everything). As I said, I know almost nothing of electronics. The only good thing is that my employer knows that too and I have a lot of time to learn about Arduino. Right now, I'm waiting for the arrival of other resistors. If you or anyone else can answer me by giving me the information I need to either connect the ESP32 to the 0V7670, I'd be glad. Otherwise, thank you anyway for your time and patience and I'll try to figure it out alone (or I'll just ask my employer to give me a software-only project until I manage to get actual experiences with hardwares). Well, I've tried to look online yet another time and apparently I need no resistors, because the internal ones should be fine, considering that the Arduino Nano ESP-32 transmits 3.3V and the OV7670 accepts 3.3V. Still thanks for the help. I've soldered my Arduino and considering it didn't explode, it should be fine. If I need any other help, I'll tell y'all.
MaderDash
MaderDash2mo ago
Close the thread and tag as answered please.@Kathalb the Pistoian

Did you find this page helpful?