Leçon 1, Chapitre 1
En cours

Pictoblox robotic – Smart lamp (teachers)

Yann KIDSHAKER 19 mars 2025

Smart Lamp

Objectives

After this lesson, students will be able to:

  • Build a program that will enable an action to a robot, based on their voice command, just like a virtual assistant (Alexa, Siri etc.).
  • Make a smart lamp using the LED lights of Quarky, that will switch ON when they say ON and will switch OFF when they say OFF.
Introduction

In this session, students are going to learn about voice-controlled devices, i.e. devices that get triggered to some action, for example a device that outputs light based on some voice input. Students will build a voice controlled lamp using Quarky. They will write a script that will make the Quarky LED lights to get switched ON when they say the command ON and will make the LED lights switched OFF when they say the command OFF.

Activity

A smart lamp that will switch ON when you say ON and will switch OFF when you say OFF.

Teaching Resources
PicoBlox Code
Title Description File
Smart Lamp A smart lamp that will switch ON when you say ON and will switch OFF when you say OFF. https://ai.thestempedia.com/wp-content/uploads/2022/03/Session13_Smart-Lamp-1.sb3
Timeline
Title Approximate Duration Procedure Reference Material
Introduction to smart lamps 5
  1. Explain about voice-controlled devices, with examples of Siri, Alexa, IOT.
Lecture Slide
Activity: Smart Lamp 30
  1. Demonstrate the procedure given in the Smart Lamp Activity Sheet to the students.
  2. Ask the students to follow the instructions to create the project.
  3. At the end of the activity, the teacher must check if all the students have created the project and provide feedback accordingly.
 Lecture Slide, PictoBlox File and

Activity Sheet

Conclude the Session 5
  1. Make sure that all the students save their script properly before closing PictoBlox.
  2. Give a summary of the points covered in the lecture.
Lecture Slide
Things to Remember
Before Class
  1. Make sure each PC has the latest version of PictoBlox installed and running.
  2. Make sure all the Quarky robots are in working condition and are fully charged.
  3. Make sure all the Quarky robots have a working USB cable with them. If you are using Bluetooth to connect Quarky with PictoBlox, make sure that you have downloaded the PictoBlox Link and it stays well connected.
  4. Make sure that all the devices running PictoBlox has a working webcam as well as bluetooth.
During Class
  1. If the students are unable to find a block, point them to the color of the block on the block palette.
After Class
  1. Make sure students save their codes/scripts.
  2. Make sure they shut down the PC/Laptops.
  3. Make sure they return Quarky and USB cable in good condition.