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.
Arduino sketch for remote control of robot.
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
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
I've mounted an action cam on my wheeled robot. So will try to shoot some fpv videos soon.
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.
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