-->
Page 1 of 1

ESP-01 Barcode Scanner with MAX3232

PostPosted: Tue Jul 26, 2022 7:12 pm
by shivansps
Hi, i started this project because i needed a way to quickly upload barcodes to a mysql database, i had tons of USB barcode around and i noticed some of then had "RS232" capabilities by using a diferent cable.

After some trial and error i come up with using a ESP-01S, a I2C display, a MAX3232 mini converter board, a AMS1117 3.3v regulator, a passive buzzer and a T6845-C powerbank board and a 18650 3.7v lithium battery.

The T6845-C was perfect because it had the female USB Type-A to plug in the barcode reader and had the 5v step up built-in for the reader and the 3.3v regulator.

Wiring
Image

Building
Image
Image
Image

Project page and code:
https://github.com/Shivansps/esp-01-barcode-scanner

For the "revised version" im going to fit all electronics inside the reader itself and only the screen will be on the outside. The 18650 batt fits perfectly on the handle.

Re: ESP-01 Barcode Scanner with MAX3232

PostPosted: Fri Jul 29, 2022 9:01 am
by rooppoorali
Thanks for sharing. What about the range of the barcode sensor that you're using? From how far can it read a barcode?

Re: ESP-01 Barcode Scanner with MAX3232

PostPosted: Sun Sep 18, 2022 10:31 pm
by shivansps
about 15-20cm.

Re: ESP-01 Barcode Scanner with MAX3232

PostPosted: Tue Sep 20, 2022 5:46 am
by rooppoorali
Thank you. Hopefully I'll give it a try too someday.