SanjinKurelic / ArduinoPlayground

Some examples written in C++, that use DC motors (L298N), IR and ultrasonic sensors for solving some tasks with Arduino Mega 2560.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Project 12

Program the robot to simulate parallel parking. Define own dimensions for parking lot and lane width.

Download video result

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

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

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

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

About

Some examples written in C++, that use DC motors (L298N), IR and ultrasonic sensors for solving some tasks with Arduino Mega 2560.

License:MIT License


Languages

Language:C++ 100.0%