Arduino MEGA + USB host shield + QR Code Scanner

Hello,

Has anyone implemented here an Arduino MEGA with USB host shield + QRCode Scanner? I have a project were in I have a mobile application that generates QRCodes. Then I would like to scan it on my QR code scanner to unlock multiple doors.

This is the QRCode scanner that I would like to purchase.

I found this guide but I'm not sure if the QRCode logic is same with Barcode.

https://www.circuitsathome.com/mcu/connecting-barcode-scanner-arduino-usb-host-shield/

I'm connecting an esp8266 wifi module to check matching info from the database which is why Mega is my choice to make sure I would not have any issues with the memory and ports. This without problem but with QRCode scanner I'm not sure as I haven't found any info on the internet that it is possible. I can just connect the QRCode reader to a computer and create an application that sends data to arduino to unlock the door, but I think there is a better way rather than using a computer.

I would appreciate your responses bringing me to the right direction. Thank you.

QR codes are a kind of 2D matrix barcode. There are lots of barcode scanners that read QR codes.

It is hard to tell in advance whether a USB device will work with the USB host shield. Most USB bar code readers emulate USB keyboards which are supported by the USB host shield. But only sure way to find out, is to try it.

If WiFi is required, I would seriously consider switching to a Raspberry Pi Zero W or Pi 3+. USB is well supported and WiFi is included.

Integrating USB host shield, ESP8266, and Mega is not something I would tackle given how cheap Raspberry Pis are.