mBot Ranger add-on pack Laser Sword
mBlock case programs
We provide mBot Ranger Laser Sword add-on pack with more than one mBlock case program. Introductions and download links of each case program are as below.
- Varying-color Charge Sword
When the finger gets close to “sensor 2” at the line follower sensor, the Laser Sword enters into “Charge State” and LED luminance increases. When LED luminance reaches to the maximum extent, the laser sword enters “Supercharged State”, the on-board LEDs flash and an “alarm” sounds.
- Rainbow Sword
Introduction: When the Laser Sword is enabled, the on-board LEDs and LEDs at the RGB LED strip will light up one by one, producing a “rainbow” effect. When “sensor 1” and “sensor 2” at the line follower sensor are touched at the same time, the on-board LEDs and LEDs at the RGB LED strip will go out one by one until all LEDs go out. When “sensor 1” or “sensor 2” is not touched, the on-board LEDs and LEDs at the RGB LED strip will light up one by one, thus producing a “rainbow” effect again.
- Sound Control Lamp
Introduction: When a sound of certain loudness is detected by the on-board sound sensor in the dark, the RGB LED strip will light up. The strip will go out after a while.
Instruction: The Laser Sword may be hung on the wall to act as a Sound Control Lamp.
- Optical Control Lamp
Introduction: When the ambient luminance is below a certain value, the Laser Sword will light up. The darker the surrounding is, the brighter the RGB LED strip will be.
- Breathing Sword
Introduction: When the Laser Sword lies flat, the LEDs will repeat lighting up and going out in a rhythmic way, just like “breathing”
- Auroral Sword
Introduction: The Auroral Sword can be put into service when it is enabled, without any other operation. After it is enabled, the RGB LED strip will present a flow condition, just like the aurora.
- Light Saber
Introduction: When the Light Saber is enabled, the music sounds and LED color changes several times.
The LEDs will go out one by one when the Laser Saber is put down and will light up when the Laser Sword is raised.
When “sensor 1” and “sensor 2” at the line patrolling module are touched at the same time, LED color changes.