Sparkfun 2d Reader, Proximity in Continous Reading

Dear Ommunity,

i’m considering the prduct for an automated door entry system reading QR codes on 5x8cm id cards. We want to place a rasperry pi with attached DE2120 readers to read the cards i sometimes dark enviroments. I understand the example 1 in the doc is settting the board to continous scanning.

Now to my question: We want the sensors to stay in continous scanning all the time and activate the lights if an id card comes in range.

Do you have examples for this use case or can you recommend how to do that?

Thanks and Regards Matthias

Yes, continuous mode…then you could use the output from the scanner (either via TX pin, or STAT pin) to trigger a separate MCU to turn the light on/off depending on read/scan status https://learn.sparkfun.com/tutorials/2d … troduction