My project is a robot with two wheels which move forward, backward, right and left.
when it's dark the above lamp should be lit
the ultrasonic sensor work as the robot's eye, when something get closer it makes a sound
and there is two modes:
tracer mod: it's enabled when I push square button on the app and when I shake my hand in front of the robot, then the robot see if I am close it goes backward, and if I am far it goes forward
random movement: the robot will move around the place and avoid in barriers
[🢁]: move forward
[🢃]: move backward
[🢂]:
when pressed first time: turn right
when pressed second time: rotate clockwise fast
[🢀]:
when pressed first time: turn left
when pressed second time: rotate anticlockwise fast
[ SELECT]: make sound
[ △ ]: Turn the lamp on and off
[ X ]: Stop any movement or any mod
[ O ]: Mod 2
[ ▢ ]: Mod 1
Automatic mode
Manual mode