This control is developed by:

Rafiki Front Bumber

Control Thumbnail

How To Download and Use This Control

  1. Make sure you have the latest version of EZ-Builder installed.
  2. Select the Install button below to download the file.
  3. Double click the downloaded file to open installer.
  4. The installer will add this control to EZ-Builder.


This is the front bumper sensor plugin for Rafiki from Cochran Robotics. A Cochran Robotics subcontroller for a parking sensor must be used with this control, which is part of Rafiki.

4 different proximity sensors are on the front of the Rafiki (left, left front, right front and right). This plugin convert the information provided from these sensors into variables in EZ-Builder. If the object is close to a particular direction, the motor controller will not allow the robot to move or turn in that direction. EZ-Builder is connected to the bumper subsystem controller via serial. This sensor is also used in the SLAM module along with the LIDAR sensor and drop off sensors.

A serial command of "Q0" will return the name of the sensor. There will be another plugin that you will be able to use to identify all of the Rafiki subsystem controller boards. For now, you will have to identify this controller and specify the name of the COM port in the config section of this plugin. The user can identify which port is used for the front bumper by sending a Q0 serial command to the controller com port which needs to be set to 9600, N, 8, 1 which is the default configuration in Windows. This can be done via an Arduino serial monitor or via the Serial Terminal (PC) control in the General list of controls.

This plugin will update 4 variables. You can use these values to then do things withing EZ-Builder. They are are called

The values will be either

The Drive Motor controller is hard wired to this controller. If an object is close to Rafiki, the drive motor controller will refuse commands sent to it to turn or move toward that direction. The Drive motor controller is also tied into the drop-off sensor motor controller. If a drop-off is detected by any of the front 3 sensors, Rafiki's drive motor controller will refuse commands to move forward. The same goes with the back drop-off sensors. Each of these subsystems runs off of its own 16 mhz controller, which is responsible for monitoring specifically one system. This allows any drop offs or objects that are close to be monitored at the same time. By having these connections to the motor controller we are able to stop Rafiki and then alert that there was an issue. This allows much faster and more reliable response than sending a command to EZ-Builder, and then having EZ-Builder send a command to the motor controller to stop. Also, it is possible for EZ-Builder to miss a piece of information . In this event, this missed piece of information could cause damage to someone or to Rafiki itself.

You will run this plugin via a script. Here is an example script


ControlCommand("Rafiki Front Bumber", Start)