I have this extremely minor problem where my gym is 4 blocks away, and I'd like to go over with nothing but my phone. Unfortunately, I have to bring a card with me for them to scan with a barcode reader. I figure I'd engineer a way out, but I'm a lowly mechanical and know very little about these optical systems.
I tried taking a picture of my card and having them scan it, but it's not very reliable. I'm using an Apple iPhone 11 screen, and I realize the an LCD screen isn't going to reflect light very well, and using a picture of the card is probably generating a lot of noise.
I have two methods going forward and I'm curious to see what thoughts you all have. I know the barcode scanner is using visible light, which google says is likely at 633nm.
My first is using a cleaner image for scanning, because my original one wasn't perfect. I generated a barcode and made sure it looks like my old one, so I have a pixel-perfect barcode on my phone. I can't imagine the reflection issue is fixed, but I know that it at least has some success rate.
My second idea is to recreate the reflected laser pattern that the barcode receiver expects to receive. I found that ff4200 corresponds to 633nm light. I used a black backdrop -- I have an LCD and not an OLED, so I'm wondering if that is going to cause some issues, as I'll be broadcasting "black" light. I have no idea how good the scanner is at picking up sub-pixel light and differentiating it from the red color on my phone screen, and I have no idea if the color accuracy of my phone will throw the barcode scanner off.
I plan to go back in 2 days to test it out, but does anyone with more relevant experience or education have any ideas on how to best do this?