Special issue 1. Halloween 2018
-
The purpose of this lesson
Hi! Today we will take a break and make crafts out of wooden sticks, paper and glue. When connected to the M5 will play a melody and periodically change the color of the led backlight. In order to give a little magic we use the simplest light filtering for red color (Fig. 1).
Figure 1
This tutorial will teach: collect the construction of wooden bars, cut paper, soldering and upload the sketch to the device.
Short help
Halloween-a modern international holiday, Dating back to the traditions of the ancient Celts of Ireland and Scotland, whose history began in the territory of modern great Britain and Northern Ireland. It is celebrated every year on October 31, on the eve of all saints ' Day. Halloween is traditionally celebrated in English-speaking countries, although it is not an official holiday. Since the end of the XX century, during the process of globalization, the fashion for Halloween paraphernalia has also arisen in most non-English-speaking countries in Europe and the CIS. Halloween is celebrated informally in some other countries that have close cultural ties with the US or the UK, such as Japan, South Korea, Singapore, Australia and New Zealand, in a number of Oceania island countries.
List of components for the lesson
- PC/MAC;
- M5STACK;
- USB-C cable from standard set;
- colored wires from the standard set;
- hotmelt;
- soldering iron and solder;
- wire cutters;
- ruler;
- scissors;
- resistors 220 Ohms (3 PCs.);
- speaker 30 mm 8 Ohm;
- 3 V LEDs: red, blue, yellow (1 PC for each color);
- wooden bars 50 x 10 x 10 mm (9 PCs.).
Let's start!
Step 1
Prepare wooden bars (Fig.1.1).
Figure 1.1
Step 2
Glue the frame of the future screen using hot melt adhesive (Fig. 2 - 3).
Figure 2
Figure 3
Step 3
Print (Fig. 4) and paste the screen without picture on the screen with picture (Fig. 5).
Figure 4
Figure 5
Step 4
Stick the screen to the frame (Fig. 6).
Figure 6
Step 5
Attach the LEDs to the bar (center beam) with hot melt adhesive and solder the resistors (Fig. 7 - 8).
Figure 7
Figure 8
Step 6
Solder the speaker and colored wires (Fig. 9).
Figure 9
Step 7
Glue the legs and speaker, install the center beam (Fig. 10).
Figure 10
Final step
Great! You can now connect to an Arduino-compatible device and download the sketch.
Homework
Repeat this device on the M5 base. To do this, use the following pictures (Fig. 11 - 13).
Figure 11
Figure 12
Figure 13
Downloads
- Print screens (Yandex Disk): https://yadi.sk/i/YU-AtbjeiXhvfA
- A sketch for Arduino (in close cooperation with the M5 for a homework assignment) (Yandex Disk): https://yadi.sk/d/Z2Nc6cc1bcM09Q
- Sketch for Arduino (if without M5) (Yandex Disk): https://yadi.sk/d/ejXgKaaxWhUWjw
- Video demonstration (YouTube): https://youtu.be/zP5Wcgg2NgY