Lesson 7 – Reading sensors



  1. In our next tutorial we will focus on reading values from the sensors on the mBot.
  2. Access the tutorial through the following <Link>
  3. Clicking on the each of the above links will open them up a new window.
  4. Once you’ve tested out your code on the mBot you are ready to move onto the next tutorial.


Here are the list of prerequisites for working on the Makeblock mBot robotics development track.

  1. This robotics development track makes extensive use of the Makeblock mBot. Head over to OzToyLib and pick-up a Makeblock mBot.
  2. You will need to download and install the Makeblock mBlock 5 code editor for your laptop/computer.
  3. The mBlock 5 code editor supports block based coding, coding in the C++ (Arduino) language including Python.
  4. Once you’ve obtained the Makeblock mBot and installed the mBlock 5 code editor for your laptop/computer you are ready to proceed with the tutorials.
  5. MakeBlock also offers applications for use on your tablet / hand held device. Options for the Andriod / iPad include – mBlockly or MakeBlock HD. See the Makeblock mBlock link for additional details.


  1. To learn more about the mBot head over to – <Link>
  2. To download PC software (mBlock5, mBlock3) head over to – <Link>
  3. To download apps for your Andriod tablet or Apple iPad head over to – <Link>