KeyBot: Educational Robot Kit

by Harsh Dethe in Teachers > Robotics

1098 Views, 3 Favorites, 0 Comments

KeyBot: Educational Robot Kit

KeyBot.png

Been a while since I shared an article, but I am back again with another instructable. In this post, I want to introduce you to a STEM Robot kit by Keyestudio. Here I have shared: How to assemble the bot, set up the environment and program it. So without wasting anymore time, lets get right into it.

Supplies

Here are the things you will need for the build:

  1. Keyestudio's KeyBot. (Amazon US / Amazon EU)
  2. Needle Nose Pliers. (Amazon US / Amazon EU)
  3. Two 18650 Batteries. (Amazon US / Amazon EU)

That's all you will be needing.

What Is KeyBot?

IMG_20190910_213406.jpg
IMG_20190906_122955_HDR.jpeg
IMG_20190906_123606_HDR.jpeg

The first thing that might come in mind is what really is a KeyBot?.
Well KeyBot is an educational Robotics kit by Keyestudio which is marketed towards students for STEM (Science, Technology, Engineering & Math) education.

The kit consists of all the parts required to assemble a 2 wheel drive robot along with couple of sensors. This Robot is controlled with an Arduino compatible development board which can be programmed using Arduino IDE or Graphical programming interface via Mixly.

In the box you will find a well put together manual with images and instructions. Along with following components:

  1. Metal chassis.
  2. Two geared motors with wheels.
  3. A caster wheel.
  4. 2 types of battery holders. (AA and 18650, batteries are not included)
  5. A microcontroller board.
  6. A line follower sensor.
  7. An ultrasonic sensor.
  8. A single LED module.
  9. 3 RJ11 cables.
  10. HC-06 Bluetooth module
  11. All the required Screws, Nuts and Stand off's.
  12. An Allan wrench and a Phillips head screwdriver.

The kit provides everything you will need to build the robot although I felt the need to use a needle nose pliers for holding the nut at some places.

Assembly:

IMG_20190907_123934.jpg
IMG_20190907_124155.jpg
IMG_20190907_130117.jpg
IMG_20190907_130658.jpg
IMG_20190907_131007.jpg
IMG_20190907_131436.jpg
IMG_20190907_131632.jpg
IMG_20190907_131901.jpg
IMG_20190907_132417.jpg
IMG_20190907_132900.jpg
IMG_20190907_133211.jpg
IMG_20190907_133450.jpg
IMG_20190907_133626.jpg
IMG_20190907_134553.jpg

I recommend you go through the manual as it is well put together. I will share how I assembled mine.

  1. First thing I did was attach the four 40mm spacers on the chassis using 8mm hex screws. It was pretty easy and I did not require any tool for that. These spacers will hold the Controller board later.
  2. Next I attached the motors to the chassis using the 30mm round-head screws and secured it using 4 nuts.
  3. Then I Mounted the Ultrasonic sensor using 8mm hex screws. The senor mounts in the front and the screws are secured in place with nuts which goes around the back. Here I faced some problems as I was not able to hold the nuts due to the extended part made to attach the caster wheel. To overcome this problem I used a needle nose pliers to hold the screws from behind and then tighten them with the Allan wrench.
  4. Next I mounted the Line sensor and Caster wheel. They go in together at the bottom. I placed the Line sensor first aligning the holes and then placed the caster wheel on top.
    Again, fastening the nuts was not simple as I could not reach under there so used the pliers again.
  5. Next I attached the battery holder, here you have a choice whether to go for the AA holder or 18650 holder. I chose the 18650 holder as I already have those laying around and they last longer.
    The battery holder is placed at the back and it is supposed to be secured using two 8mm flat head screws. Here again pliers are required to hold the nut. After screwing and fastening the first screw I realized the second hole was not aligned with the hole on battery holder. I removed the screw and tried to align the holes but couldn't so I had to settle down for single screw which does not work the best.
  6. Then I moved on to install the control board. For this, I used the 15+6mm stand off's. First I paced the controller on top of the 40mm pillars and then screwed the 15+6mm stand off's on top. There is a acrylic panel in the kit which is covered with paper, I removed the paper and placed the panel on top of the spacers and used 10mm hex screws to secure it. This panel has labels for the blocks. Refer the image above to get a better look.

With that been done, The robot is fully assembled. Now we need to make the connections.

Connections:

IMG_20190907_134907.jpg
connections.jpg
IMG_20190907_135204.jpg

Connections are pretty simple, First plug in the motors into the JST connectors. Next plug in Bluetooth module.
I used the 10CM RJ11 cable to connect ultrasonic sensor to A0 and 20CM cable to connect the Line sensor to A1. The battery holder pin is plugged into the JST connector near the on/off switch.
Refer the manual or the image above for more information.

For a more detailed assemble you can refer to the Keyestudio's Wiki page here.

Now all we need to do is program the controller and power up the robot!

Programming:

Screenshot (234).png
3.1-2.png
Screenshot (235).png

To program KeyBot, you can use Arduino IDE which is a bit complicated and requires basic programming knowledge. But if you are a beginner or a student getting into the world of robotics you can use graphical programming to write your codes.

For graphical programming you will need to install Mixly IDE. You can download it from here. Just scroll down and download the software for your system. I recommend installing the Arduino IDE before as it installs all the required drivers and you can tinker around to get familiar with the environment.

  1. Extract the zip file and open Mixly.exe. You will an application which is in Chinese.
  2. To change language, click on the drop down list menu on the top right corner and select your preferred language.
  3. Refer the image above to get an idea of what the interface looks like and general information of the UI.
  4. You can learn more about Mixly here.

Here I followed the instructions to make the Robot follow a black line on white surface. One problem I noticed with the instructions is that they show the logic and loops before the functions which is incorrect as you cannot write the loop without any prior functions.

So first I made the functions for the motors that are front, back, left, right and stop. These functions will be used for all robotic applications as these are the fundamental movement functions.

After that I made the loop which if and else nest. Once the code is completed, connect the controller to your computer using the USB cable and select the com port, then upload the code.

You can download the code from below:

Downloads

My Review:

So I have been playing around with the kit for a while now and until now I have successfully made a Line Follower and an obstacle avoiding car.

The kit provides everything one needs to get started. Assembling is fairly easy. It is a great kit for students who are looking to get started with programming and robotics.

I have been working with Arduino and similar microcontrollers for a long time and I am a big fan of Arduino IDE. I prefer programming in C or C++, but it is quite difficult to understand, especially for children. Graphical block programming is very useful as it is easy to understand and teach. I tried Mixly and I will have to say it is amazing. The drag and drop interface makes it easy and more understandable to beginners who have no prior programming experience.

So over all I really like this kit and would love to experiment more with it to make different projects.
In next instructable I will share more details on how to program different features for this bot.
I hope you like this instructable and review. If you have any questions, feel free to comment down bellow.

You can buy your own KeyBot kit from Amazon: Keyestudio's KeyBot