Building an M5Stack Core Snap Circuits alarm device
In this section, you will wire a Snap Circuits alarm device that is controlled by the M5Stack controller. The alarm circuit device will be operated by the electromechanical relay module used in the previous project. The electromechanical relay module’s switching action will be influenced by the M5Stack Core’s UiFlow Blockly code. The UiFlow Blockly code will alternately switch the Snap Circuits alarm device on and off. The switching contact of the electromechanical relay module will provide a symmetric-based alarm sound, thus getting the attention of a bystander. The main Snap Circuits module that will provide the audible sound is the ALARM IC. Figure 4.21 shows the Snap Circuits alarm IC and electrical connections.
Note
The Snap Circuits alarm IC module uses a custom Application-Specific Integrated Circuit (ASIC) to produce several audible sounds.
Figure 4.21 – The Snap Circuits...