Skip to content

(智能家居)ElecFreaks Smart Home Kit MakeCode package for micro:bit

License

Notifications You must be signed in to change notification settings

tinkertanker/pxt-smarthome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Home kit Package

This ELECFREAKS Smart Home kit package was developed by ELECFREAKS with minor assistance from Tinkercademy.

Smart Home Kit introduction

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

Code Example

basic.forever(function () {
    basic.showString("noise:")
    basic.showNumber(smarthome.ReadNoise(AnalogPin.P1))
    basic.showString("temperature:")
    basic.showNumber(smarthome.ReadTemperature(TMP36Type.TMP36_temperature_C, AnalogPin.P2))
})

License

MIT

Supported targets

for PXT/microbit (The metadata above is needed for package search.)

About

(智能家居)ElecFreaks Smart Home Kit MakeCode package for micro:bit

Resources

License

Stars

Watchers

Forks

Packages

No packages published