Amateur DIY projects in robotics based on arduino
23 posts
I've mounted an action cam on my wheeled robot. So will try to shoot some fpv videos soon.
My wheeled robot is turning around. The power of new motors is enough to do it.
New motors and 2 additional batteries are installed on wheeled robot.
KemaMem is a robot memory class. At each iteration of the loop () , the speed and rotation data are written to the memory, for a total of 3 seconds. The meaning of this memory is to roll back, i.e. If the robot rode forward, then it rolls back, etc.
KemaLED is a class for controlling a full-color LED indicator. Blinking means radio control mode, constant light - robot mode. There are three colors: Green - the robot rides ahead (no obstacles); Yellow - the robot is stopped; Red - the robot rides back. The blue LED means a rollback from memory.
KemaState is a class for saving robot status. It records sensor values, speed and rotation, if any. In the sketch for Arduino Mega, two variables of this class are used: current and previous states.
KemaUS is a class for working with ultrasonic sensors. If the distance to the obstacle is more than 30cm, the robot moves forward, the light on the LED indicator is green. At a distance of 15 - 30 cm - it stops, the LED indicator is yellow. When the obstacle approaches less than 15 cm - the robot travels back, the LED indicator is red.
Arduino sketch for remote control of robot.
Description, designs, sketches and links to used parts: https://vk.com/topic-73778892_35223613
I've added NiMh batteries for motor feeding. Li-ion 650mA is used for arduino and other electronics.
Description, designs, sketches and links to used parts: https://vk.com/topic-73778892_35223613
IR sensors test. Robot stops at the edge of the table Description, designs, sketches and links to used parts: https://vk.com/topic-73778892_35223613
IR sensors on wheeled robot
Description, designs, sketches and links to used parts: https://vk.com/topic-73778892_35223613
Test of ultrasonic sensors on wheeled robot.
Description, designs, sketches and links to used parts: https://vk.com/topic-73778892_35223613
Ultrasonic sensors are mounted on wheeled robot.
Description, designs, sketches and links to used parts: https://vk.com/topic-73778892_35223613
My second version of wheeled robot on arduino. Here you can find description of the project, designs, sketches and links to used parts: https://vk.com/topic-73778892_35223613