Barcode scanner w/ Arduino - cheapest way

Hello, I'd like to ask what's the cheapest option when buying barcode scanner.. I need it to connect it to Arduino MEGA R3, in order to make my school project.

Taobao is probably the world leader in cheapness.
Aliexpress a good second.
Shipping time will be anywhere from 1 to 60 days depending on your locality and the seller's locality (for me it's normally 1-7 days for Taobao depending on the method used).

wvmarle:
Taobao is probably the world leader in cheapness.
Aliexpress a good second.
Shipping time will be anywhere from 1 to 60 days depending on your locality and the seller's locality (for me it's normally 1-7 days for Taobao depending on the method used).

Thanks for quick reply! Can you send me some specific barcode scanner? I already bought one, but after reaching out to seller I quickly realized it's not compatible with Arduino. So I would like to be sure this time, you know

for exampe, would this combination work with arduino?

Scanner :

https://www.aliexpress.com/item/Embedded-1D-Barcode-Scanner-Reader-Module-CCD-Bar-Code-Scanner-Engine-Module-with-RS232-Interface/32825964379.html?spm=2114.search0104.3.74.3a54792cTxyLS3&ws_ab_test=searchweb0_0,searchweb201602_3_10152_10065_10151_10344_10068_10130_10324_10342_10547_10325_10343_10340_5722611_10548_10341_10696_5722911_10192_10190_5722811_10084_5722711_10083_10618_10307_10820_10301_10821_10303_10059_306_100031_10103_10624_10623_10622_10621_10620_5722511,searchweb201603_1,ppcSwitch_5&algo_expid=210c43aa-f34d-4e89-82f0-a48332511764-12&algo_pvid=210c43aa-f34d-4e89-82f0-a48332511764&priceBeautifyAB=0

RS232 shield :

https://www.aliexpress.com/item/RS232-To-TTL-Converter-Module-COM-Serial-Port-Board-MAX3232-MAX232CSE-DIY-Electronic-Kit-Communication-Shield/32854354296.html?spm=2114.search0104.3.52.4f2979edOuVGTg&ws_ab_test=searchweb0_0,searchweb201602_3_10152_10065_10151_10344_10068_10130_10324_10342_10547_10325_10343_10340_5722611_10548_10341_10696_5722911_10192_10190_5722811_10084_5722711_10083_10618_10307_10820_10301_10821_10303_10059_306_100031_10103_10624_10623_10622_10621_10620_5722511-10152_10151,searchweb201603_1,ppcSwitch_5&algo_expid=871082eb-0137-4ab1-8ee9-4224099213fd-8&algo_pvid=871082eb-0137-4ab1-8ee9-4224099213fd&priceBeautifyAB=0

Please make those links clickable Too hard to find the head and tail of them.

Any bar code scanner that has TTL Serial or I2C or SPI communication will do. The common USB ones not.

wvmarle:
Please make those links clickable Too hard to find the head and tail of them.

Any bar code scanner that has TTL Serial or I2C or SPI communication will do. The common USB ones not.

Check it out now

Can't read whatever language that is.

wvmarle:
Can't read whatever language that is.

you cant change language of AliExpress?

bimbawz:
Hello, I'd like to ask what's the cheapest option when buying barcode scanner.. I need it to connect it to Arduino MEGA R3, in order to make my school project.

Hi,

The link you provide is for a scanner (without power supply) ended in what looks like a RJ45 plug. Probably it does from the software point of view: I guess it outputs the ascii code as it detects a valid bar code.

You'll need the ttl adaptor, but more information on the connections of the scanner is needed.

Regards.

vffgaston:
Hi,

The link you provide is for a scanner (without power supply) ended in what looks like a RJ45 plug. Probably it does from the software point of view: I guess it outputs the ascii code as it detects a valid bar code.

You'll need the ttl adaptor, but more information on the connections of the scanner is needed.

Regards.

Hello, is it possible for you to send me some specific solution? Like barcode + shield or something required to connection?

bimbawz:
you cant change language of AliExpress?

Can't see a link saying "English" or so. I also don't see it as my job to spend lots of time figuring out those things while you (i.e. the one asking for help) could just provide an English language link.

I just did a quick Google search on "Arduino barcode scanner" and the overall picture is not pretty. There's a hack posted in the Arduino Playground to get a PS/2 scanner working. It seems that it's possible to get a USB one working using an USB host shield. RS232 scanners should be able to connect using an RS232 to TTL converter (that one is built around the MAX232 chip).
The main difference between RS232 and TTL is the signal voltage level, so that should be the most straightforward to get to connect. As far as I know a barcode scanner just sends a string of characters, it connects to a PC as if it is a keyboard, so should be easy to read out.

bimbawz:
Hello, is it possible for you to send me some specific solution? Like barcode + shield or something required to connection?

Hi,

I have never worked with such a device, but common sense tells me that a RS232 interface has to give ASCII code; you can find a good description here.

The product you link does not have a datasheet annexed, so is difficult to make any suggestion ...

Regards.

What would the Arduino do with the information gathered by the scanner?

Years ago, the CueCat bar code scanner came out (Radio Shack gave them away for free as part of a commercial venture), intended to be plugged into a PC serial port connection. You can still get them on eBay for $10 or so, and the output can be read by Arduino. Another Arduino hack is described here.

bimbawz:
Hello, is it possible for you to send me some specific solution? Like barcode + shield or something required to connection?

Hi we have a solution to connect the Arduino Uno board with our OEM barcode scanner which with TTL interface. we built a converter board which connect oem barcode scanner via 12pins flat cable in one side and connect the Arduino board by Dupont Line in the other side. the solution can be very cheap if you no need buzzer or you add the buzzer by yourself.
For more details, please visit:

I had the same needs... Solved it with:

available on amazon... switch it to UART and it will send what it reads to the Arduino serial pins...

coppin:
I had the same needs... Solved it with:

https://www.waveshare.com/wiki/Barcode_Scanner_Module

available on amazon... switch it to UART and it will send what it reads to the Arduino serial pins...

Don't post in old threads and from the looks of it, the problem is already solved and you are just sharing this link.