https://github.com/sanjinkurelic/arduinoplayground
Some examples written in C++, that use DC motors (L298N), IR and ultrasonic sensors for solving some tasks with Arduino Mega 2560.
https://github.com/sanjinkurelic/arduinoplayground
arduino arduino-mega-2560 arduino-motor arduino-ultrasonics cpp dc-motor dcmotorcontrol ir-sensor l298n ultrasonic-sensor ultrasonic-sensor-distance
Last synced: 2 months ago
JSON representation
Some examples written in C++, that use DC motors (L298N), IR and ultrasonic sensors for solving some tasks with Arduino Mega 2560.
- Host: GitHub
- URL: https://github.com/sanjinkurelic/arduinoplayground
- Owner: SanjinKurelic
- License: mit
- Created: 2021-01-29T08:22:46.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-13T21:52:27.000Z (about 3 years ago)
- Last Synced: 2024-12-26T03:13:29.684Z (4 months ago)
- Topics: arduino, arduino-mega-2560, arduino-motor, arduino-ultrasonics, cpp, dc-motor, dcmotorcontrol, ir-sensor, l298n, ultrasonic-sensor, ultrasonic-sensor-distance
- Language: C++
- Homepage:
- Size: 96.7 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Arduino Playground
Here is a list of some Arduino tasks solved using C++.
## Project 11
Program the robot to drive forward in a motion that resambles sinus line as much as possible.
[Download video result](https://github.com/SanjinKurelic/ArduinoPlayground/raw/master/media/Project11.mp4)
## Project 12
Program the robot to simulate parallel parking. Define own dimensions for parking lot and lane width.
[Download video result](https://github.com/SanjinKurelic/ArduinoPlayground/raw/master/media/Project12.mp4)
## Project 13a
Program the robot to drive forward until it reaches POINT A. Let it rotate 5 times on POINT A. Let it continue further in the same direction until it reaches POINT B. Let it rotate 5 times in different direction on POINT B. Let it drive in the same direction until it reaches the goal. Define own dimensions for each path segment.

[Download video result](https://github.com/SanjinKurelic/ArduinoPlayground/raw/master/media/Project13a.mp4)
## Project 14
Program the robot to drive in a motion that resembles number 8 as much as possible. Do it for five times and then stop. Whenever the robot finishes driving one lap, let it quickly blink built-in LED as many times as is the current finished lap (for example, when it finishes third lap, it should blink 3 times).
## Project 21
Program the robot to follow a straight black line on light background.
[Download video result](https://github.com/SanjinKurelic/ArduinoPlayground/raw/master/media/Project21.mp4)
## Project 22
Program the robot to follow a general black line on light background. Black line is continuous and forms the outline of a shape. No angle will be greater than 90 degrees.
[Download video result](https://github.com/SanjinKurelic/ArduinoPlayground/raw/master/media/Project22.mp4)
## Project 24
Program the robot to exit the maze. The maze is made of four rectangle boxes and there is always only one correct way to the exit. Random box configuration will be selected for marking. One possible configuration might be:

[Download video result](https://github.com/SanjinKurelic/ArduinoPlayground/raw/master/media/Project24.mp4)