
AutoDistance
AlexDom513/autoDistance
FPGA project to automatically control the position of a cart on a ramp

An embedded style system designed to assist visually impaired individuals using real-time proximity sensing and traffic light recognition.
Mobility aid is an open-source printed circuit board by TF2113, from the TF2113/mobility-aid repository on GitHub. It is a 2-layer board of 55.5 × 57 mm with 20 parts on 38 nets, routed with 87 tracks and 5 vias.
It is built around the HC-SR04 and PN2222A. Its parts include 7 resistors, 3 capacitors, 1 diode, 1 transistor and 1 connector.
A low-cost embedded system designed to assist visually impaired individuals using real-time proximity sensing and traffic light recognition. Built on a Raspberry Pi, the system integrates ultrasonic sensors, a camera, and a lightweight machine learning model (YOLOv11n) to detect environmental conditions and provide haptic feedback.
This mobility aid project helps users safely navigate streets, particularly at pedestrian crossings. The system combines:
mobility-aid/
│
├── include/ # C header files
│ ├── config_loader.h # Loads external config values
│ ├── gpio_functions.h # GPIO pin setup and control
│ └── tick.h # Timing utilities
│
├── src/ # C source files
│ ├── configs/ # Config database using data generated by web app
│ │ └── config.db
│ └── sys_controller.c # Ultrasonic sensor and control loop
│
├── ml/ # Machine learning module
│ ├── augmentation.ipynb # Data augmentation and preprocessing
│ ├── train_model.ipynb # YOLOv11n training logic
│ └── models/
│ └── best.pt # Trained YOLOv11n model weights
│
├── test/ # Test cases, mocks and framework files for testing C & Python
│
├── web/ # Web interface (Flask app)
│ └── app.py # Local dashboard
│
├── Makefile # Compiles the C code
📡 Ultrasonic Sensing
Detects objects and measures distance with HC-SR04 sensor.
🧠 Traffic Light Recognition (YOLOv11n)
Recognizes red/green pedestrian and traffic lights from a camera feed.
🔊 Feedback System
Triggers vibration when objects are too close or crossing is unsafe.
⚙️ Modular Design
Split into embedded C for performance and Python for AI tasks.
🪛 Easily Configurable
Adjust logic thresholds via external config files.
.pt model located at ml/models/best.ptaugmentation.ipynb: Image resizing, color shifts, flipstrain_model.ipynb: Fine-tuning YOLOv11n with labeled traffic light data| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | 330 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R5, R6, R7 |
| 3 | LED | LED_THT:LED_D5.0mm | AMB1, GRN1, RED1 |
| 2 | C | Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mm | C1, C2 |
| 2 | MountingHole_Pad | MountingHole:MountingHole_2.5mm_Pad | Neg1, Pos1 |
| 1 | 10k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R1 |
| 1 | 1N4007 | Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal | D1 |
| 1 | 1k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R4 |
| 1 | 20k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R2 |
| 1 | 22 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R3 |
| 1 | C | Capacitor_THT:CP_Radial_D6.3mm_P2.50mm | C3 |
| 1 | HC-SR04 | Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Horizontal | HCSR04 |
| 1 | LOGO | Logos:frog | G*** |
| 1 | PN2222A | Package_TO_SOT_THT:TO-92_Inline | Q2 |
| 1 | Raspberry_Pi_4 | Connector_PinSocket_2.54mm:PinSocket_2x20_P2.54mm_Vertical | J1 |
It measures 55.5 × 57 mm and has 2 copper layers, 1.6 mm thick.
20 parts, built around the HC-SR04 and PN2222A. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the TF2113/mobility-aid repository on GitHub, at the commit this page was made from: the board is docs/pcb/mobility_aid.kicad_pcb and its schematic docs/pcb/mobility_aid.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask TF2113 before reusing the design.

AlexDom513/autoDistance
FPGA project to automatically control the position of a cart on a ramp

kennySzhucheng/EnvMonitor
🌡️ 智能环境监测站 | STM32F103C8T6 + FreeRTOS + ESP8266 | 温湿度/光照/测距/OLED菜单/ThingSpeak上云 | 从裸机到RTOS到KiCad PCB全流程


NikolaiRadke/Noko_2
The do-it-yourself Arduino-based Noko monster. Version 2 with PCB and 3D printed casing.

billtsol/Maze
This project demonstrates how to use an Arduino board, IR sensors, and a motor driver shield to create a maze-solving robot.

c-lydia/ESP-ROS2
A tiny robot with IMU (MPU5060) and an ultrasonic sensor (HC-SR04), running on micro-ROS, communicating over UDP.

dbrgn/crazyflie2-hcsr04
Ultrasonic sensor (HC-SR04) extension board for the Crazyflie 2.0

YousefAliAicha/aegis-embedded-system
Networked rotating ultrasonic radar system built on the Deneyap Kart 1A (ESP32-S3), with a real-time web dashboard served directly from the board.