Lesson Details
What is an accelerometer and how to read a Smartphone’s accelerometer on evive using Dabble? How does a gesture-controlled robot work?
Activities:
- Creating a script to display the accelerometer data on evive display.
Curriculum:
Robotics for Kids – Level 2
Classroom Bundle Used: STEM Classroom Bundle, STEM Mini Classroom Bundle
Prerequisites:
Joystick Controlled Robot – Programming
Download Resources
Lesson Overview
- In this activity, students will make a smartphone gesture-controlled robot whose motion will be controlled when you tilt the smartphone.
- If the smartphone is tilted forward – the robot will move forward.
- If the smartphone is tilted backward- the robot will move backward.
- If the smartphone is tilted left – the robot will turn left.
- If the smartphone is tilted right – the robot will turn right.
- If the smartphone is flat or parallel to the ground – the robot should be at rest.
- During the activity, students will go through the following activities:
- Circuitry and testing the circuit.
- Programming of the robot.
- Reading sensor values and printing it on TFT display.
Material Required
1 set of the following material per group of 3-5 students:
Component | Image | Quantity | Available in Bundle |
---|---|---|---|
evive | 1 | ||
BO Motor Mount | 2 | ||
Dual Shaft BO Motor | 2 | ||
BO Wheel | 2 | ||
Acrylic Part: Base Plate | 1 | ||
Caster Wheel | 1 | ||
M3 bolts of 8 mm Length | 10 | ||
20mm M3 (Female to Female) | 3 | ||
USB A-B Cable | 1 | ||
Male to Female Jumper Cable 20cm | 5 | ||
Screw Driver (+) | 1 |
Lesson Outline
Introduction and Demonstration of the robot - 10 minutes
Circuitry - 10 minutes
- Connect the motors to evive.
- Connect the Bluetooth module to evive.
Printing sensor values on evive display - 35 minutes
- Make the script to print the accelerometer X and accelerometer Y value on TFT Display.
Wrapping up the lesson - 5 minutes