Topic outline
ACTIVITY DESCRIPTION
Use potentiometer to:
- Control LED ring on Renger (Auriga Shield).
- Regulate the speed of a fan, in addition to moving it towards the sides.
Some students do not know what is a potentiometer, so through this activity they will know more about it and will be able to apply it in different daily uses. We use Arduino language to write the program which control led ring on Renger.
FIRST VERSION
This is a 50k dial type potentiometer with know which can be rotated up to 270 degrees. It can convert rotary motion to an analog input which can be used to control the speed of a mobile robot, the brightness of RGB LEDs, or others.
Signal type is analog. Range from 0 to 970. It is easy to check it in mBlock program with mBot.
SECOND VERSION
The Ranger, with the help of the Potentiometer, will act as a fan, and can switch it on and off, as well as regulate the speed.
The Makeblock fan, like most Arduino binary engines, only has two states, switch on and off, and it is not possible to regulate the speed. However, it can regulate at regular intervals of time, determined with the potentiometer, stop for a brief moment the engine, we will manage to regulate its speed accurately.
To make the activity more attractive, we have incorporated an ultrasonic sensor that when you put your hand or other object near it, the engines of the Ranger wheels will activate, which will start to rotate as if it were a standing fan.
ACTIVITY RESOURCES
Folder: 1File: 1