Microbit as controller for smart gateway
Relay to turn on/off load
Use led to test load
I used a breakout board from Key-e-Studio to be able to do it with relay attached to microbit and load and used power line to go through relay on microbit breakout board to simulate a real relay but at 5V
Open this page at https://stanwww99.github.io/speaker/
This repository can be added as an extension in MakeCode.
- open https://makecode.microbit.org/
- click on New Project
- click on Extensions under the gearwheel menu
- search for https://github.com/stanwww99/speaker and import
To edit this repository in MakeCode.
- open https://makecode.microbit.org/
- click on Import then click on Import URL
- paste https://github.com/stanwww99/speaker and click import
- for PXT/microbit