QR Code Scanner & Camera

Hi eveyone,

We want to create a prototype with Arduino.

This prototype will do:

  1. Read the qr code from the mobile phone (using its camera)

  2. Get the data in the qr Code (let's say string "abc")

  3. Send this data to the server (maybe as a JSON object)

  4. Then if the string will be match (string is in the server and the arduino has sent)

  5. Then, light the lamb (Actually the action will be different, I just want to things be simple.)

To product this prototype, Arduino is a good choice or we should choose Rasperry pi?

"the qr code" - what QR code?

I'm having to guess here but you want an Arduino to light a lamp/do whatever when a server tells it too? The
camera/phone etc is a separate task not involving the Arduino?

So my question is how do think the server is going to push to the Arduino?

Or is the phone communicating direct with the Arduino (in which case why need a server?)

  • think that camera will be connected to the arduino(using arduino port)
  • then there is a qr code on my phone(assume that i will have generated via the-qrcode-generator.com)
  • then i will close my phone to the camera.
  • Camera (arduino) will scan the code. And take the data
  • then, send the data to the server
  • if data matches (in the server and arduino has sent), server returns a positive message, then light the lamb
  • if data doesn’t match, do not light the lamda

I need a server to check the data(in the future, memory in the arduino will not be enough)