Please help to convert a number to barcode

Hello, I have a project but I have a problem in the way to convert a number for example 0709080905 * 1 to barcode

1 I want to use a keyboard to enter the above numbers

2
Converted to bar code

On what platform? What is the connection with Covid? What are you showcasing in a showcasing sub forum?

"Arduino" + "barcode" at DuckDuckGo

I assume there are C/C++ libraries but I don't know if there's anything specifically for the Arduino.

If you are going to use a "barcode printer" the barcode conversion MIGHT be built-into the printer's firmware.

(With barcode scanners, the decoder is built-into the scanner so with a computer you can use a scanner in-place of a keyboard or alongside a keyboard with no special drivers or software.)

Note that there is no standard keyboard input, or standard display, or standard printer interface for the Arduino. So, you'll have to figure-out what kind of keyboard or keypad you're going to use, and what display or printer, and get the input & output figured-out before you work on any "conversion".

You might consider a Raspberry Pi. It's little a single-board computer with an operating system so you can plug-in a regular USB keyboard and a standard display or printer and they will work with standard C/C++ code.

There is also more than one barcode standard.

This may help >> Printing Barcode

You could enter the number via the serial monitor or an app such as Putty

And there are various font sizes for bar codes. A customer required a serialized bar code to be put on a gummed label and put on their circuit boards. We bough an expensive bar code program for a PC to print on labels in a laser printer. Would not go small enough for the requirements. Customer printed them for us on a thermal printer.

So, look into the physical size you require for the bar code.

When you want to convert a value to a bar code - you would need a graphic output on your MCU.
Do you have an LCD displaying a picture on it, or USB (e.g. USB-C) to connect a monitor?

Barcode is a graphic - how do you display (assuming you could generate one)?

Otherwise, a web site will do the job for you:
Bar Code generator

I have moved your topic to a more appropriate forum category @didanos.

In the future, please take some time to pick the forum category that best suits the subject of your question. There is an "About the _____ category" topic at the top of each category that explains its purpose.

Thanks in advance for your cooperation.

Code39 (aka 3 of 9) is a FONT. D/l the font, switch to it, put a pair of *'s on either end and print. repeat identical code for taller barcode.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.