Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vitorccs/huskylens-line-tracking-car
Line Tracking Car using Arduino and Huskylens board
https://github.com/vitorccs/huskylens-line-tracking-car
arduino huskylends line-follower-robot line-tracking-robot platformio robocore
Last synced: 13 days ago
JSON representation
Line Tracking Car using Arduino and Huskylens board
- Host: GitHub
- URL: https://github.com/vitorccs/huskylens-line-tracking-car
- Owner: vitorccs
- License: gpl-3.0
- Created: 2024-08-29T15:34:33.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-08-29T19:06:40.000Z (4 months ago)
- Last Synced: 2024-11-03T20:42:20.301Z (2 months ago)
- Topics: arduino, huskylends, line-follower-robot, line-tracking-robot, platformio, robocore
- Language: C++
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Huskylens Line Tracking Car
Line Tracking Car using Arduino and Huskylens Board
## Schematics
![huskylens-line-tracking-car_bb](https://github.com/user-attachments/assets/f2197aad-0e55-4a8f-8209-4f984e901ebd)## Components
* 01 - 2WD or 4WD car chassis
* 02 - DC motors (3v - 6v)
* 02 - Wheels
* 01 - Arduino UNO
* 01 - [L293D Adafruit Motor Shield (v1)](https://www.aliexpress.us/item/3256806925995549.html)
* 02 - 18650 batteries (3.7v - 4.2v)
* 01 - Battery support## About PlatformIO IDE
This is a [Platform IO IDE](https://platformio.org/platformio-ide) project coded in C++.Platform IO is a plugin for Microsoft Virtual Studio Code. It is a more robust IDE compared to official Arduino IDE which makes easy to create our own private libraries and use a better object-oriented design.
## About the code
The parameters can be customized in the `main.cpp`
```c++
#define DEFAULT_SPEED 150 // Default motor speed for driving
#define PID_PGAIN 200 // PID Proportional
#define PID_IGAIN 0 // PID Integral
#define PID_DGAIN 0 // PID Derivative
#define PID_SERVO false // PID Servo
```## About Car Chassis
This project was optimized for a 2WD car chassis. But a 4WD chassis can also be used by changing the motor speed and PID parameters.### Reference 1 (Brazil):
https://www.robocore.net/robotica-robocore/plataforma-robotica-falcon-v2
### Reference 2 (Brazil):
https://www.robocore.net/robotica-robocore/plataforma-robotica-rocket-tank
### Reference 3 (International):
https://www.aliexpress.us/item/3256801542172576.html
## About the Power Supply
I recommend to use high quality 18650 batteries (3.7v - 4.2v, 2200mAh, at least 2C of discharge rate).## Fritzing file
The electronic schematic was created in the [Fritzing](https://fritzing.org/) software and can be downloaded at
* [huskylens-line-tracking-car.zip](https://github.com/user-attachments/files/16801611/huskylens-line-tracking-car.zip)