Skip to content
/ carts Public

Autonomous Line Following Robot fleet powered by Arduino Uno R4 WiFi. Features PID control, auto-calibration, UDP mesh networking, and a Flutter-based mobile command center.

License

Notifications You must be signed in to change notification settings

eddndev/carts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino C++ Flutter Dart

WiFi Line Follower Carts

Project for two Arduino Uno R4 WiFi based line-following carts with peer-to-peer communication and a mobile control app.

Structure

  • firmware/ - Arduino source code (C++).
  • cart_controller/ - Mobile Control App (Flutter/Dart).
  • tools/ - Extra scripts.

Setup

  1. Firmware: Use arduino-cli with arduino:renesas_uno.
  2. App: Use flutter run in cart_controller/.

Features

🤖 Robot Firmware

  • Line Following: Robust PID control (Kp=0.09) with deadband compensation.
  • Auto-Calibration: Sensor threshold detection with LED Matrix feedback.
  • P2P WiFi: UDP communication mesh.
  • Visuals: Real-time position tracking on LED Matrix.

📱 Mobile Controller

  • UDP Discovery: Auto-scans local subnet for active robots.
  • Remote Control: Wireless commands (Explore, Stop, Reset).
  • Cyberpunk UI: Reactive interface with haptic/visual feedback.

Configuration (v1.0)

  • Base Speed: 90
  • PID: Kp=0.09, Kd=1.0
  • Sensors: QTR-8A (Analog) on Pins A5-A0.
  • Motors: L298N Driver.

About

Autonomous Line Following Robot fleet powered by Arduino Uno R4 WiFi. Features PID control, auto-calibration, UDP mesh networking, and a Flutter-based mobile command center.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published