https://github.com/rehankarthikchandralal/bar-code-scanner-robot-with-error-correction-and-stack-machine
Built a Bar Code scanning Robot with the help of LEGO Mindstorms EV3 set that could read an encoded Barcode, decode the barcode and display and speak out the final result.
https://github.com/rehankarthikchandralal/bar-code-scanner-robot-with-error-correction-and-stack-machine
embedded-systems git python
Last synced: about 2 months ago
JSON representation
Built a Bar Code scanning Robot with the help of LEGO Mindstorms EV3 set that could read an encoded Barcode, decode the barcode and display and speak out the final result.
- Host: GitHub
- URL: https://github.com/rehankarthikchandralal/bar-code-scanner-robot-with-error-correction-and-stack-machine
- Owner: rehankarthikchandralal
- Created: 2024-10-31T12:33:59.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-14T11:44:28.000Z (over 1 year ago)
- Last Synced: 2025-07-06T10:41:09.377Z (about 1 year ago)
- Topics: embedded-systems, git, python
- Language: Python
- Homepage:
- Size: 485 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LEGO Mindstorms EV3 Barcode Scanning Robot
**Project Overview**
This project involved building a LEGO Mindstorms EV3 robot capable of:
1. **Scanning Barcodes:** Precisely scanning individual barcodes on a sheet.
2. **Decoding Barcodes:** Using Hamming Code logic to decode the scanned data.
3. **Displaying and Speaking Results:** Audibly communicating the decoded information.
4. **Scrolling Through Barcode Sheet:** Mechanically navigating to different barcode positions.
**Technical Implementation**
* **Hardware:**
- LEGO Mindstorms EV3 Core Set
- Motors for movement and barcode scanning
- Sensors for barcode detection
* **Software:**
- Python with appropriate libraries
- Hamming Code implementation
- Stack Machine for instruction/operand execution
* **Version Control:** GitLab
**Workflow**
1. **Barcode Scanning:**
- Robot precisely positions itself over a barcode using motor control.
- Barcode sensor captures the image.
2. **Decoding:**
- Captured image is processed to extract raw data.
- Hamming Code is applied to correct errors and extract the original data.
3. **Result Processing:**
- Decoded data is interpreted as a sequence of instructions or characters.
- A stack machine executes these instructions or displays/speaks the characters.
4. **Scrolling:**
- Motors are controlled to move the robot to the next barcode position.