ArduinoA
Arduino7mo ago
8 replies
Kathalb the Pistoian

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.
Was this page helpful?