Project Files of GM65 Barcode Scanner Library for Proteus Simulation
b0b17720d98343a28a23ed24ae1b33b7.zip

GM65 Barcode Scanner Library for Proteus V1.0
GM65 Barcode Scanner Library for Proteus V1.0 comes as a ZIP archive of 19 files (2.3 MB, 5.1 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch and compiled HEX firmware.
- LIBProteus library
- DLLProteus model
- DSNProteus simulation
- INOArduino sketch
- HEXHEX firmware
Description
GM65-Barcode-Scanner-Library-for-Proteus-v1.0.zip with the GM65 scanner for Proteus simulation (TEPGM65.LIB and TEPGM65.DLL), our I2C LCD, resistors and LEDs, our Arduino UNO V4.0, the A4 demo, its sketch and a README.
File Structure
7.7 KB201.9 KB14.4 KB181.4 KB21.8 KB306.9 KB883.5 KB312 KB409 KB289.5 KB311 KB27.1 KB35.6 KB883.5 KB312 KB409 KB289.5 KB311 KB15.4 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in GM65 Barcode Scanner Library for Proteus Simulation. Open an image for its full size.
README
GM65 BARCODE SCANNER LIBRARY FOR PROTEUS SIMULATION - V1.0 (a barcode and QR code scanner over UART, a pop-up)
Designed by The Engineering Projects
www.TheEngineeringProjects.com
IMPORTANT LINKS
Article (read it first - pictures, step by step, every feature explained):
https://www.theengineeringprojects.com/2026/12/gm65-barcode-scanner-library-for-proteus.html
Report a bug or suggest a feature (our forum):
https://www.theengineeringprojects.com/forum/category/photodiode-proteus-library
The demo runs on our Arduino UNO V4.0 (included) - working LEDs, RESET and a
built-in serial monitor, no Virtual Terminal to wire - its own article:
https://www.theengineeringprojects.com/2026/10/arduino-uno-library-for-proteus-v40.html
Support us (the libraries are free):
https://www.theengineeringprojects.com/donate
FILE STRUCTURE
GM65-Barcode-Scanner-TEP-v1.0/
|-- Proteus Library Files/
| |-- ArduinoV4TEP.LIB 201.9 KB TEP Arduino boards V4.0 (UNO) -> LIBRARY
| |-- TEPGM65.LIB 14.4 KB the library -> LIBRARY folder
| |-- TEPI2CLCD16X2.LIB 181.4 KB a part the demo uses -> LIBRARY folder
| |-- TEPLED5MM.LIB 21.8 KB a part the demo uses -> LIBRARY folder
| |-- TEPRESISTOR.LIB 306.9 KB a part the demo uses -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPARDUINO.DLL 883.5 KB the Arduino board model -> MODELS folder
| |-- TEPGM65.DLL 312.0 KB the model -> MODELS folder
| |-- TEPLCD.DLL 409.0 KB its model -> MODELS folder
| |-- TEPLED5MM.DLL 289.5 KB its model -> MODELS folder
| |-- TEPRESISTOR.DLL 311.0 KB its model -> MODELS folder
|-- Proteus Simulation/
| |-- GM65_Checkout.hex 35.6 KB the demo firmware
| |-- GM65-Checkout-ArduinoUnoV4.pdsprj 27.1 KB the demo project
| |-- TEPARDUINO.DLL 883.5 KB copy of the board model
| |-- TEPGM65.DLL 312.0 KB copy of the model
| |-- TEPLCD.DLL 409.0 KB copy of its model
| |-- TEPLED5MM.DLL 289.5 KB copy of its model
| |-- TEPRESISTOR.DLL 311.0 KB copy of its model
|-- Arduino Code/
| |-- GM65_Checkout/GM65_Checkout.ino 7.7 KB the demo sketch (source of the .hex)
|-- README.txt ~16.0 KB this file
Total: 5.10 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
The GM65 1D / 2D barcode and QR code scanner, drawn from the top at its real size (46.8 x 27.5 mm):
the carrier board with its
buzzer, the TRIG button, the status LED, four holes, the USB and the UART connectors, and the camera
scan engine at the front with its
window, the white illumination LED and the red aimer. The drawing is our own; the model follows the
scanner's user manual:
* A TTL UART, 8N1, 9600 baud from the factory (BAUD) - but the factory interface is USB KEYBOARD:
nothing comes out on TX until
register 0x000D is set to 0x00 (IFACE = USB, the default; SERIAL starts it in serial mode).
* Commands: 7E 00, the type (07 read, 08 write, 09 save), the length, the address (2 bytes), the
data, then a CRC-16/CCITT
(polynomial 0x1021, start 0, over type .. data) or AB CD for no check. Writes and the save
answer 02 00 00 01 00 33 31; a read answers
02 00 00, the count, the data and its CRC. A wrong CRC or a frame broken off for 400 ms gets no
answer at all.
* Registers: 0x0000 the good-read LED (b7), the beep (b6), the aimer (b5-4), the light (b3-2) and
the mode (b1-0: manual, command,
continuous, induction); 0x0002 = 1 starts a scan in command mode; 0x0004 / 0x0005 / 0x0006 the
stabilisation, the read interval and
the single-read time (x 0.1 s); 0x000D the interface; 0x002A / 0x002B the baud divisor; 0x002E
EAN-13, 0x002F EAN-8, 0x0033 Code 128,
0x003F QR (enabled); 0x0060 the tail (CR, CR LF, TAB or none); 0x00E0 - 0x00E5 the model, the
versions and the date; 0x00D9 = 0x55
the factory settings.
* A decoded code comes out as its text and the tail (a CR from the factory).
* The codes: PROFILE DEMO is a recorded checkout in fast time - six products and a payment QR code
pass the camera; STEADY puts CODE in
front of it. At Run the aimer and the white light glow while it scans, and the status LED
flashes blue on a good read.
* Click the scanner for the pop-up: the code in front of the camera (bars or a QR pattern), the
registers and the last command and
reply; graphs, an event log and a check page.
The body is drawn as on the real part and to true scale against our Arduino.
The TEP signature and the pop-up are TEP additions.
ONE DEVICE (search "GM65" or "barcode" in Pick Devices):
GM65TEP "GM65 Barcode Scanner V1.0" in TEPGM65.LIB (Modules > Sensors), prefix U, model
TEPGM65.DLL (mixed).
Pins: 5V TX RX GND (the UART connector).
The demo also uses our I2C LCD 16x2 (TEPI2CLCD16X2 / TEPLCD), resistors (TEPRESISTOR) and 5 mm
LEDs (TEPLED5MM).
THE POP-UP
Click the part at Run. Tabs:
Scanner The code in front of the camera (bars from its digits, or a QR pattern), the mode,
the last read and the output (serial or
USB keyboard); the registers card (mode / lights, timings, interface, baud divisor,
codes enabled, the tail, versions)
with the last command and the last reply in hex; tiles: 5V, the UART, the mode, the
output, codes read, commands /
replies, rejected commands, reads lost in USB mode. Chips: Checkout demo, Show
EAN-13, Show QR code, Nothing, Press TRIG.
Graphs the live values over the last 2, 6 or 15 s. Live / Freeze.
Event log every change and warning; filters All / Changes / Warnings, Pause, Clear
Check what the part is doing and what to look at, each with a verdict (green = fine, amber
= check, red = wrong)
Settings theme, text size, open at Run, window size
Help report a bug, suggest a feature, article, updates, donate, forum; Copy diagnostics
for a bug report
TEST STATUS
V1.0: verified in Proteus 8.5 on 24 Nov 2026 (the demo project as shipped: an A4 sheet, an Arduino UNO V4.0).
What the runs showed (the model's own numbers and the sketch's monitor):
* The project loads and starts cleanly; the demo ran 7.9 simulated seconds in about 2 minutes 31
seconds on our PC with the pop-up open
and the pictures being taken. The scanner on D8 / D9 (AltSoftSerial, 9600 baud), the OK LED on
D5, the unknown LED on D6, the LCD at 0x27.
* Set-up: booted 301.0 ms as a USB keyboard in manual mode; 0x000D = 0x00 699.9 ms, 0x0005 = 5,
0x0000 = 0xD6 737.1 ms (continuous),
read 0x00E1 x 2 756.1 ms (64 6E = HW 1.00, SW 1.10), saved 776.6 ms; 5 commands, 5 replies, 0
rejected.
* Decoded (Event log): milk 1.752 s, bread 2.751 s, book 3.751 s, gum (EAN-8) 4.750 s, unknown
5.750 s, milk again 6.750 s,
QR "TEP-PAY" 7.750 s - each read once (the 0.5 s read interval).
* Monitor: 1.70 s Milk 1 L 1.20 total 1.20; 2.70 s Bread 2.50 total 3.70; 3.70 s Book 12.99 total
16.69; 4.69 s Gum pack 0.99 total
17.68; 5.70 s UNKNOWN (red LED); 6.70 s Milk 1 L x2 total 18.88; 7.69 s QR "TEP-PAY": 5 items,
total 18.88 - PAID.
* Check page: output TTL serial (7 read), commands 5 / 5, continuous 0.5 s / 5.0 s, UART 0 framing
errors; all rows green.
* The pop-up (Scanner, Graphs, Event log, Check) followed the run.
INSTALLATION (about 2 minutes)
1. Close Proteus. Extract the WHOLE ZIP to a normal folder (e.g. Desktop).
2. Copy everything in "Proteus Library Files" (TEPGM65.LIB, TEPI2CLCD16X2.LIB, TEPRESISTOR.LIB,
TEPLED5MM.LIB and our Arduino library V4.0, ArduinoV4TEP.LIB, with the ARDUINO UNO V4.0 used by the
demo) to the LIBRARY folder of Proteus, for example:
C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY
(use the folder that already holds Proteus's own .LIB files).
3. Copy TEPGM65.DLL, TEPLCD.DLL, TEPRESISTOR.DLL, TEPLED5MM.DLL and TEPARDUINO.DLL from "Proteus
Model Files" to the MODELS folder (...\Proteus 8 Professional\MODELS).
4. Delete TEPGM65.IDX from the LIBRARY folder if it is there (Proteus makes a new index).
5. Start Proteus. In Pick Devices (P) search "GM65".
RUN THE DEMO
"Proteus Simulation\GM65-Checkout-ArduinoUnoV4.pdsprj" (an A4 sheet) - keep the .hex file and the
DLLs beside the project.
ARD1: Arduino UNO V4.0 running GM65_Checkout.hex (window "TEP Arduino UNO - ARD1"): D8 = the
scanner's TX (AltSoftSerial RX), D9 =
the scanner's RX, A4 / A5 = the LCD, D5 = the good-read LED, D6 = the unknown-code LED.
U1: the GM65 with the DEMO checkout, IFACE USB (as it leaves the factory), BAUD 9600.
LCD1: a 16x2 LCD on its I2C backpack at 0x27: the item and its price, the number of items and
the total.
D1 / D2: green = a product found, red = a code that is not in the table, through R1 / R2 (220
ohm).
The sketch switches the scanner to serial output, sets a 0.5 s read interval and continuous mode,
reads the versions and saves the
settings, then adds every product it reads to the bill; the payment QR code closes it. The DEMO is
a recorded run in fast time.
Closed the monitor? Click the UNO's USB port.
WIRING (the same in Proteus and on a real board)
5V to 5 V, GND to GND, the scanner's TX to the Arduino's RX (D8 with AltSoftSerial), the scanner's
RX to the Arduino's TX (D9).
The UART is TTL level; the scanner draws about 160 mA while it scans, so feed it from a supply
that can give that.
REAL HARDWARE:
* First switch it to serial output (0x000D = 0x00) and save, or scan the "TTL output" setting code
from the manual.
* Continuous mode reads the same code again after the read interval - keep the interval short for a
checkout, or ignore repeats.
* Hold the code 5 - 20 cm in front of the window; very glossy labels read better at a slight angle.
* Read until the CR: the codes have different lengths (EAN-8, EAN-13, QR texts).
* Settings written over the UART are lost at power-off unless they are saved (type 09).
THE DEMO SKETCH ON THE SERIAL MONITOR (GM65_Checkout V1.0, 9600 baud)
GM65_Checkout prints the set-up, then a line for every code it reads. EXPECTED MONITOR OUTPUT
(shortened)
Checkout: GM65 on D8 / D9 (9600 baud), OK LED D5, unknown LED D6, LCD 0x27
Serial output on, interval 0.5 s ok, continuous mode ok
Scanner HW 1.00, SW 1.10; settings saved - scan the items
... s 5901234123457 Milk 1 L 1.20 total 1.20
PROPERTIES (double-click the part > Edit Properties)
PROFILE DEMO (the checkout) or STEADY (CODE in front of the camera). Default DEMO.
CODE For STEADY: the text of the code (13 digits = EAN-13, 8 digits = EAN-8, anything else =
a QR code). Default 5901234123457.
IFACE The interface at power-up: USB (USB keyboard - nothing on TX until 0x000D = 0, as from
the factory) or SERIAL. Default USB.
BAUD The UART baud rate, 1200 - 115200. Default 9600.
Every run starts again from the properties.
LINKS.INI (OPTIONAL)
The Help page cards of the pop-up open web pages. To point them somewhere else without a new DLL,
put a text file named links.ini next to TEPGM65.DLL with lines KEY=URL, for example:
ARTICLE=https://www.theengineeringprojects.com/...
Keys: WEBSITE, FORUM, BUG_REPORT, FEATURE_REQUEST, ARTICLE, USER_GUIDE,
UPDATE_CHECK, DONATE. Only http:// and https:// links are used; lines starting
with # are comments.
TROUBLESHOOTING
* Nothing arrives at all: the scanner is still a USB keyboard - write 0x00 to 0x000D (7E 00 08 01 00
0D 00 AB CD) and save.
* No answer to a command: a wrong CRC (use AB CD while testing) or TX / RX swapped.
* The same item is counted twice: continuous mode reads again after the read interval - lengthen
0x0005 or ignore repeats.
* A code is never read: its type is switched off (0x002E EAN-13, 0x002F EAN-8, 0x0033 Code 128,
0x003F QR).
* The part is not simulated: TEPGM65.DLL is missing from MODELS and from the project folder.
* The part is not simulated: TEPGM65.DLL is missing from MODELS and from the project folder. No UNO
/ no monitor window: TEPARDUINO.DLL is missing, or click the UNO's USB port.
BUG REPORTS AND FEATURE REQUESTS
Please post them in our forum with a screenshot, the Serial Monitor text, the
simulation log and the pop-up's Copy diagnostics text:
https://www.theengineeringprojects.com/forum/category/photodiode-proteus-library
SUPPORT US
This library is free. If it saves you time, please support our work:
https://www.theengineeringprojects.com/donate
WEBSITE
https://www.theengineeringprojects.com/
LICENCES AND THIRD-PARTY NOTES
* The model (TEPGM65.DLL), the symbols and artwork, the other parts of ours in the demo and the
Arduino Library V4.0 (ArduinoV4TEP.LIB / TEPARDUINO.DLL, with its built-in TEP Serial Monitor
Advance) are made by The Engineering Projects. The models use only standard Windows libraries; no
Visual C++ redistributable is needed.
The C++ source code is not included.
* Arduino UNO V4.0 (ArduinoV4TEP.LIB / TEPARDUINO.DLL, our Arduino Library V4.0 - its
microcontroller is Proteus's own AVR model): The Engineering Projects,
https://www.theengineeringprojects.com/2026/10/arduino-uno-library-for-proteus-v40.html
* The .hex file is built from the demo sketch and the Arduino AVR core 1.8.6, which includes
LGPL-licensed code; its source code is available at
https://github.com/arduino/ArduinoCore-avr/tree/1.8.6
* Proteus is a product of Labcenter Electronics and is not included. Arduino is a trademark of Arduino SA.
This library is not made or endorsed by Arduino or Labcenter.
REBUILDING THE FIRMWARE (OPTIONAL)
The HEX file is supplied; Arduino IDE is not needed to run the demo. To edit the sketch, open
Arduino Code\GM65_Checkout\GM65_Checkout.ino, select Arduino Uno and use Sketch > Export Compiled
Binary. Replace the simulation's .hex with the exported HEX. The sketch needs 12,942 bytes of flash
and 944 bytes of RAM.
MODEL SCOPE AND LIMITS
Modelled: the UART and its baud rates, the command frames with CRC-16 or AB CD, silence on a bad
frame or a 400 ms gap, read / write /
save, the registers above with the four modes, the trigger, the timings, the interface (USB keyboard
= nothing on TX), the code enables,
the tail, the IDs and the factory reset, a decoded code + tail on TX, the DEMO checkout or a steady
code.
Our figures: manual mode and USB keyboard at power-up (the manual's two defaults disagree), 0.3 s to
boot, 0.15 s to decode, the versions
HW 1.00 / SW 1.10, 30 mA standby and 160 mA scanning. The baud divisor registers are stored but the
rate stays BAUD.
Not modelled: the image itself (print quality, angle, distance), the USB side, prefixes / suffixes /
Code ID, the other code types.
VERSION
TEP GM65 Barcode Scanner library V1.0 (Nov 2026). Device GM65TEP (TEPGM65.LIB / TEPGM65.DLL). Demo
sketch GM65_Checkout V1.0 (Wire, AltSoftSerial). Demo board: ARDUINO UNO V4.0 (TEP Arduino Library
V4.0) with its built-in serial monitor; our I2C LCD 16x2, resistor and 5 mm LED libraries.Development1 release
-
V1.0GM65 Barcode Scanner Library for Proteus V1.0this page
V1.0 is the only release in the Download Center so far. When a newer version is published, it appears above with its own download page.
Installation8 steps
From the download to a working project, in order. The steps follow what the package contains.
You will need
- Proteus Design SuiteProteus 8 or newer (Labcenter), on Windows
- Arduino IDE1.8 or 2.x, with the board of the tutorial chosen under Tools → Board
- Any archive toolWindows, macOS and Linux extract ZIP files on their own
Steps
- 1
Extract the archive
Right-click b0b17720d98343a28a23ed24ae1b33b7.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (GM65-Barcode-Scanner-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB, TEPGM65.LIB and TEPI2CLCD16X2.LIB and 2 more and the files into the LIBRARY folder of your Proteus installation: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY for Proteus 8, or the matching Proteus 7 folder. Older versions keep it under ProgramData\Labcenter Electronics. If Proteus is open, close it first.
- 3
Add the simulation model
Copy TEPARDUINO.DLL, TEPGM65.DLL and TEPLCD.DLL and 2 more into the MODELS folder next to LIBRARY, so the component can run, not only be drawn.
- 4
Restart Proteus and place the component
Start Proteus, open a schematic, press P (Pick Devices) and search for the component by the name used in the tutorial. It appears with its pins ready to wire.
- 5
Open the sketch in the Arduino IDE
Open GM65_Checkout.ino, select your board and port under Tools, then Verify. Sketch → Export Compiled Binary writes the HEX file a simulation needs.
- 6
Load the HEX file
In Proteus double-click the microcontroller, set Program File to GM65_Checkout.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open GM65-Checkout-ArduinoUnoV4.pdsprj in Proteus to see the wiring exactly as in the tutorial. Check the controller's Program File path, then press Play.
- 8
Follow the tutorial
GM65 Barcode Scanner Library for Proteus Simulation explains every connection and setting in order; keep it open beside the files while you build.
FAQs9 questionsContact TEP
How do I download GM65 Barcode Scanner Library for Proteus V1.0?
Wait for the 30-second guest countdown on this page, then press the download button; the file comes straight from our storage. Members who are logged in skip the wait. If the browser opens the file instead of saving it, use its Save as option. The download link is made for you when the countdown ends and works for 15 minutes; a saved or shared link stops working, so share this page instead.
What is inside the archive?
GM65 Barcode Scanner Library for Proteus V1.0 comes as a ZIP archive of 19 files (2.3 MB, 5.1 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch and compiled HEX firmware. Open the File Structure tab for the full list of 19 files.
What should I do if the download does not start?
Check the browser's download list first; an ad blocker or a company firewall can also hold it back, so try another browser or network. If the file arrives incomplete, download it again. For an installation problem, read the Install tab or tell us in the comments with your software version and the exact error message.
Is this file free?
Yes. Every file in the TEP Download Center is free for learning, personal and student projects. If you share it, link back to this page or the tutorial so others find the latest version.
How do I check that the file arrived complete?
Compare its SHA-256 with the one on this page, 8cf7741f8c5c36a04a41b7fcfabca71116220da527561ecad7702bbf9440f309. In PowerShell run Get-FileHash "b0b17720d98343a28a23ed24ae1b33b7.zip"; on macOS or Linux run shasum -a 256 "b0b17720d98343a28a23ed24ae1b33b7.zip". The same value means the file is exactly the one in our storage; a different one means the download broke off, so download it again.
Do I need WinRAR to open the ZIP file?
No. Windows, macOS and Linux open ZIP archives on their own (Extract All, or double-click). WinRAR and 7-Zip work too. Extract the whole archive before using the files.
Where do I put the LIB and IDX files?
Both files go into the LIBRARY folder of your Proteus installation (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY; Proteus 7 has the same folder under its own name). Restart Proteus afterwards and search for the component with P.
Which Proteus version does the library need?
The tutorial names the Proteus version the library was made and tested with. Most TEP libraries work in Proteus 7 and Proteus 8; if the component does not appear after a restart, check that both the LIB and the IDX file were copied and that Proteus was fully closed while copying.
How do I get the HEX file into the simulation?
Compile the sketch in the Arduino IDE (Sketch → Export Compiled Binary gives you the HEX next to the sketch), then in Proteus double-click the board, set Program File to that HEX and run.
Members skip the wait. Log in or join TEP.
- 0Total downloads
- 4%Popularity
- ProteusCategory
- 0Comments
- ssyedzainnasirUploaded by
- 5 Dec 2026Uploaded at
8cf7741f8c5c36a04a41b7fcfabca71116220da527561ecad7702bbf9440f309



























Comments
0