Lab's Objective:
Bimo X Lab 2
Objective
Students will learn about wireless control and how we can code our own Bimo to move around without our direct supervision. Students will also learn to map out controllers and the general idea on how they work.
Activity
Make sure library of is installed on the microcontroller. This library is called IR.
Call onto the library by placing the IR remote control blocks which are on the remote control option.
Once on the code, start mapping your controller. The little controller has 21 buttons and you can define them to be whatever we want!
Assessment
Students will be able to understand the back coding it takes for controllers to control microcontrollers wirelessly.
They will be able to choose controls to their choosing, meaning they will also learn to map controllers to be confortable for use.
Google Slides
Build Video
In this lab the students will be able to control Bimo wirelessly use the IR remote. The way it works is if you see the microcontroller there is a black little bulb looking part. This part is called the IR receiver and it detects any IR or infra red light signal and read it. We will use the IR library and place the blocks to detect the signal. Once done, press any button and you will see the signal read on the terminal. Each button has its own number mapped to it. Once learned we can map them to the simple movements! We can map any button to any functionality of the robot.
Lab Summary:
Required Materials:
Photos | Item Name | Purpose | Required Quantity | Labeled Bag |
---|---|---|---|---|
Step 1
Upload the IR library to your microcontroller and code it to read IR signals by placing its respective blocks.
Step 3
Challence yourself by coding the number buttons to mean speed and the arrows the direction is going. This way you have more control over your robot!
Step 1
Step 2
Once you can get the signals from the controller, map the buttons for forwards, backwards, left and right. If done you can disconnect the robot and control it from afar!