A micro:bit smart home project uses a BBC micro:bit board connected to sensors and motors to automate house functions like turning on lights in the dark, running a fan when hot, or opening a door with a password. You can code it easily using block code on Microsoft MakeCode. [1, 2, 3, 4, 5]
Main Parts You Need
Brain: BBC micro:bit board.
Controller Board: Expansion board (like Breakout board or IoT:bit) to plug in wires.
Sensors: Light sensor, temperature sensor (TMP36), sound/noise sensor, and a rain or soil moisture sensor.
Outputs: Servo motor (for doors), mini DC motor (for fans), LEDs or RGB strips (for lights), and a buzzer (for alarms). [1, 2, 3, 4, 5]
Popular Smart Home Ideas
Automatic Lights: Turn on LEDs when the room gets dark using the light level block.
Smart Fan: Spin a small motor when the temperature goes above a set limit.
Secret Door Lock: Use a servo motor to open a model door when you press the correct button code or input a password.
Rain Alarm: Sound a buzzer or pull a roof back if a rain sensor gets wet. [1, 2]
Challenges:
(1) If daylight gets too dark, turn on lights according to a program
Uses built-in light sensor; LEDs or lamps
(2) Vary lights to make it look like someone is home
Uses LEDs or lamps or Neopixels, copper tape or wire
(3) Turn on outdoor lights if someone approaches using a PIR motion sensor
Same as above + PIR sensor
(4) Arm a security alarm if all doors and windows are closed. If armed and door opens, sound alarm& sonalert, and send message to an Internet dashboard.
Copper tape, aluminum foil, sonalert,
(5) Water plants if they get too dry
Moisture Sensor, 5V pump
(6) If temperature exceeds a preset level or upon voice request, turn on a fan
DC Motor, propeller
(7) Open a door with a servo motor
Servomotor
(8) Play music upon voice request( via https://microbitai.inventor.city/ )
Chromebook
(9) Unlock a door using facial recognition( via https://microbitai.inventor.city/ )
Chromebook
Gumball LEDs
Resistors
Propeller
Sonalert
Wiring
Terminal Strip
Smarthome Kit is a product about smart home project base on micro:bit which is developed by ELECFREAKS.
We selected executed components commonly used at home as TMP36 temperature sensor, sound sensor, crash sensor, servo, motor. You can build scene like windowsill, wardrobe and fish tank, create yourself smart sweet home and programming to intelligently driving them using micro:bit.
Smarthome Kit is what makes life more practical and playing with it is what makes life more interesting.
Hardware list
1 x sensor:bit
1 x IIC OLED Module
1 x Battery Box
Voice Recognition Module
DF Robot Smart House
https://community.dfrobot.com/makelog-313210.html