loading...

Vibrobot made with obniz

obniz_io profile image obniz ・2 min read

Movie

IMAGE ALT TEXT HERE

A Vibrobot is a robot to which brushes are attached instead of tires, and when vibrates the brushes, it proceeds in a specific direction due to the asymmetry of the coat.
This robot can go straight ahead, turn right, and turn left by PWM controlling two vibration motors and operating the left and right brushes respectively.
In addition, a distance sensor is mounted on the front and you can confirm in real time on the screen of the smartphone whether there is an obstacle ahead.

Control

Operation Method

Depending on the distance to the obstacle ahead, the color of the area on the screen changes. It gets green when the obstacle is far, and it gets red when the obstacle is near.
In Manual mode, you can freely control the robot to go straight ahead, turn right and left by adjusting the strength of left and right vibrations with the slider in the Control area on ​​the screen. It may be interesting to control the robot from where you can’t see it but seeing only the color of the screen.
If you set Power to Low, Middle, or High, it will be in Auto mode, usually continue going straight ahead and automatically turn right when approaching to an obstacle, which allows it to keep moving semipermanently.

When you make this, it is necessary to form a habit such that the tips of the brushes turn diagonally backward.
You can also manipulate many obniz at the same time from one smartphone, so if you make a lot of such robots and move them at the same time, they may work interestingly with each other.

Program

https://obniz.io/explore/28

Discussion

pic
Editor guide