Skip to content

Search the documentation

Kit
Firmware

Smart Home examples

Ready-to-open MoBot projects for the Smart Home. Each one is a .mobot file you open in MoBot, with a page that says what to plug in, what to press, and what you should see or hear. See how to run an example if this is your first time. The pins and parts of the Smart Home are on its kit page.

10 projects made of blocks. Start with the first one in the list. If it does not work, the problem is the board, the firmware or how the program was sent, not your program.

Example What it is about
Numbers on the 7-segment Counts 1, 22, 333, 0 on the little red 3-digit display, over and over.
Room thermometer Prints the temperature and the humidity from the DHT11 to the serial monitor.
Gas alarm Watches the MQ135 gas sensor; when the air gets dirty the buzzer wails and the RGB LED lights up.
Night light The RGB LED turns itself on when the room goes dark, and reports the battery voltage at startup.
Motion alarm The PIR sensor watches the room; any movement sets off a beep.
Card door Reads RFID cards, prints every card number, and swings the servo open for the one card you choose.
Fan dial Turn the potentiometer and the fan speeds up or slows down to match.
Draw on the screen Clears the OLED screen and draws a title, a line, a rectangle and a circle.
Doorbell Press the button and the buzzer plays two notes and then the doorbell tune.
Web dashboard The board makes its own Wi-Fi network and puts its sensor readings on a web page that a phone can open; a switch on the page runs the fan.

6 projects written in MicroPython, for when dragging blocks is not enough, and for the parts of the firmware that no block can reach. Every one has two versions, one for firmware 3.0 and one for firmware 2.x, in tabs on its page.

Example What it is about
Hello, house A tour of the screen, the colour light, the buzzer, the fan and the servo - run this first on a new board.
Seven segment Numbers, decimals, the nine letters it can draw, and switching the seven bars on and off yourself.
OLED picture Drawing on the screen one pixel at a time: a checkerboard, a wave, and a bouncing ball animation.
Web dashboard The board makes its own wifi network, publishes every sensor, and takes orders from a phone.
Smart house (3 files) Three files that put the house on your own wifi, give its address and name, and watch every sensor - switch the five Smart Home minds on in the MoBot app and the house looks after itself.
Doorbell An RFID door that learns cards, remembers them after a power cut, and opens for as long as the knob says.