0

MCR12 PS/2 Barcode Scanner Defective?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

MCR12 PS/2 Barcode Scanner Defective?

by robodwyer on Tue Aug 20, 2019 6:46 pm

I recently purchased one of these, and have had no luck in getting it to scan anything.
https://www.adafruit.com/product/1202

I wired it up to an Arduino Uno using the PS/2 adaptor: https://www.adafruit.com/product/804 with the following connections:
- Green wire (PS/2 pin 4) to 5V
- Black wire (PS/2 pin 3) to GND
- Yellow wire (PS/2 pin 5) to digital pin 3
- Brown wire (PS/2 pin 1) to digital pin 2

I'm using a basic example based on the PS2Keyboard library to read from it. Nothing ever comes out of the port, no matter what barcodes I scan.

Based on the demo video and the forum posts I've read, it seems like it should make a beeping sound when it successfully scans something. Currently it beeps twice when it first powers up, and the red light turns on while I press the button. It never beeps again though, and I've tried scanning a ton of barcodes at varying distances.

Things I've tried so far:
- adding 10K pullup resistors to the data and clock wires
- switching out USB power to the Arduino for a dedicated power supply
- scanning the reset barcode and others from the supplier's config manual (they don't scan)
- disconnecting the data and clock wires and just powering it up via 5V/GND

Am I missing some obvious step here? Have I wired it up wrong after all? It seems really straightforward to use for someone who's worked with an Arduino before, so I'm starting to wonder if I just have a defective part here.

Any advice or assistance would be much appreciated!

robodwyer
 
Posts: 5
Joined: Tue Aug 20, 2019 6:31 pm

Re: MCR12 PS/2 Barcode Scanner Defective?

by robodwyer on Wed Aug 21, 2019 2:56 pm

What's the simplest way I can confirm whether the scanner is working?

I'm assuming that the scanner will function if only the 5V and GND wires are connected, and that it will beep when it scans something. Is this true, or do I need to correctly set up a microcontroller and read the PS/2 output to confirm that it's working?

Thanks!

robodwyer
 
Posts: 5
Joined: Tue Aug 20, 2019 6:31 pm

Re: MCR12 PS/2 Barcode Scanner Defective?

by adafruit_support_carter on Fri Aug 23, 2019 3:22 pm

Just to be sure on this one:
- scanning the reset barcode and others from the supplier's config manual (they don't scan)

Did you try the one here?
https://cdn-shop.adafruit.com/product-f ... arcode.png

adafruit_support_carter
 
Posts: 12971
Joined: Tue Nov 29, 2016 2:45 pm

Re: MCR12 PS/2 Barcode Scanner Defective?

by robodwyer on Fri Aug 23, 2019 4:01 pm

I tried that one, and there was no obvious response. Should it make a beeping noise when it scans one of the configuration codes like that?

robodwyer
 
Posts: 5
Joined: Tue Aug 20, 2019 6:31 pm

Re: MCR12 PS/2 Barcode Scanner Defective?

by adafruit2 on Sun Aug 25, 2019 2:08 pm

yeah if we recall correctly it should beep during a scan, also try pressing the button to perform a scan.
by chance do you have a usb to ps2 converter like https://www.adafruit.com/product/971 cause then you could test it with your computer - its been a while but it definitely was plug n play last time we used it.

adafruit2
Site Admin
 
Posts: 18659
Joined: Fri Mar 11, 2005 7:36 pm

Re: MCR12 PS/2 Barcode Scanner Defective?

by robodwyer on Mon Sep 09, 2019 2:47 pm

Just tested with an active PS/2->USB adaptor, and it's the same behaviour. Beeps when it's powered on, but no output after that.
I tried scanning several regular barcodes and the "reset" one linked earlier.

It seems pretty likely to me at this point that the module is defective. What's your policy on this?

robodwyer
 
Posts: 5
Joined: Tue Aug 20, 2019 6:31 pm

Re: MCR12 PS/2 Barcode Scanner Defective?

by adafruit2 on Mon Sep 09, 2019 4:40 pm

we can refund or replace, your choice :)

adafruit2
Site Admin
 
Posts: 18659
Joined: Fri Mar 11, 2005 7:36 pm

Re: MCR12 PS/2 Barcode Scanner Defective?

by robodwyer on Tue Sep 10, 2019 4:23 am

Replace would be perfect, as I still want to use this module. Thanks!

Do I need to send back the one that doesn't work?

robodwyer
 
Posts: 5
Joined: Tue Aug 20, 2019 6:31 pm

Re: MCR12 PS/2 Barcode Scanner Defective?

by adafruit2 on Tue Sep 10, 2019 1:26 pm

ok email support@adafruit for a new one!

adafruit2
Site Admin
 
Posts: 18659
Joined: Fri Mar 11, 2005 7:36 pm

Please be positive and constructive with your questions and comments.