i bought a qr code reader from banggood, here's the link: https://www.banggood.com/GM65-1D-2D-Code-Scanner-BarCode-Reader-QR-Code-Reader-Module-p-1440532.html?rmmds=buy
it works pretty well and i'm happy with its performances on my pc, but it just doesn't respond with the arduino, i tried conencting it via virtual serial port but i'm getting no signal back, here's the code
#include <AltSoftSerial.h>
AltSoftSerial scanner;
void setup() {
Serial.begin(9600);
scanner.begin(9600);
}
void loop() {
if(scanner.available()){
Serial.println("kek");
}
}
i connected the scanner's tx to pin 8 and the rx to pin 9 as requested by the altsoftserial library but it doesn't work either.
i tried running some troubleshooting and no matter what i do ( i tried using the manual https://www.dropbox.com/sh/buysgr2aeutuub3/AADsvupiGseFm-6IowMBWGCOa?dl=0GM66&preview=GM65+Barcode+reader+mudule+User+Manual.pdf and i scanned the necessary code) it doesn't seem to work.
basically scanner.available() is always zero no matter what i do.