Page 1 of 1

ESP32-Camera QR code reader

Posted: Sun Feb 25, 2024 2:18 pm
by Aleksandar
Hello guys, I'm new to this, especially working with ESP modules. I bought an ESP32 with a camera, my wish is to make a QR code reader that, after reading the QR code, will send the data to the server where it will be compared with the database, whether to let the user enter the room or not. Can you help me how to start developing this project and do you have any example?
Thanks in advance.

Re: ESP32-Camera QR code reader

Posted: Mon Feb 26, 2024 4:33 am
by lbernstone

Re: ESP32-Camera QR code reader

Posted: Mon Feb 26, 2024 12:15 pm
by 06userit
Hello,
This code worked for me
https://github.com/alvarowolfx/ESP32QRCodeReader
Hope this helps

Configuration
ESP32-S3
Arduino IDE 1.8.19
arduino-esp32 core 2.0.14

Re: ESP32-Camera QR code reader

Posted: Mon Feb 26, 2024 6:04 pm
by Aleksandar
Thank you very much for your reply, but I would send the data to the server and based on the boolean response I would decide whether to free the user or not. I also want to send in my POST method JWT in the header and my device ID and data with my QR/NFC handler in the body of my message.

Re: ESP32-Camera QR code reader

Posted: Thu Feb 29, 2024 7:22 pm
by ESP_Minatel
Also you can take a look at this repo: https://github.com/espressif/qrcode-demo

Re: ESP32-Camera QR code reader

Posted: Thu Feb 29, 2024 7:55 pm
by lbernstone
Once the QR code is scanned, it is turned into a text string, with which you can do whatever you wish. The HTTPClient library has some examples that show how to do some basic POST responses, but you will need to customize it to fit your needs.

Re: ESP32-Camera QR code reader

Posted: Sat Mar 02, 2024 3:51 pm
by Aleksandar
Thank you very much friends, you have helped me a lot