An open API service indexing awesome lists of open source software.

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.

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.

![](https://github.com/SanjinKurelic/ArduinoPlayground/blob/master/media/project1Image.png)

[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).

Video is too large for Github

## 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:

![](https://github.com/SanjinKurelic/ArduinoPlayground/blob/master/media/project2Image.png)

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