Robot Head – Parking Sensor


Have you ever wondered how parking sensors in cars work? Imagine that you are playing with a robot and at the end of the game you have to park it in some tight and not visible place. Why walk behind the vehicle and make sure it does not hit the wall? Could we use a parking sensor? We present you a robot with a parking sensor!

Connecting electronic modules

  • Distance sensor → port Distance.
  • LED → OUTPUT1.
  • LED → OUTPUT2.
  • Power → USB cable → computer.

The code