FunHouse - WiFi Home Automation Development Board
Home is where the heart is…it’s also where all we keep all our electronic bits. So why not wire it up with sensors and actuators to turn our house into an electronic wonderland. Whether it’s tracking the environmental temperature and humidity in your laundry room, or notifying you when someone is detected in the kitchen, to sensing when a window was left open, or logging when your cat leaves through the pet door, this board is designed to make it way easy to make WiFi-connected home automation projects.
The main processor is the ESP32-S2, which has the advantage of the low cost and power of the ESP32 with the flexibility of CircuitPython support thanks to native USB support. There’s also Arduino support for this chip, and many existing ESP32 projects seem to run as-is. Note this chip does not have BLE support, but for WiFi projects its great. You can use it to connect to IoT services or just the Internet in general, with SSL support and this module has plenty of PSRAM for any kind of data processing.
The board is designed to make it easy to wire up sensors with little or no soldering. There are built in sensors for light, pressure, humidity and temperature sensors. Three JST PH plugs allow for quick connection of STEMMA boards that use digital or analog I/O, and there’s a STEMMA QT port for any I2C devices.
Here’s what we included on this development board:
- ESP32-S2 240MHz Tensilica processor - the next generation of ESP32, now with native USB so it can act like a keyboard/mouse, MIDI device, disk drive, etc!
- WROVER module has FCC/CE certification and comes with 4 MByte of Flash and 2 MByte of PSRAM - you can have huge data buffers
- 1.54” Color TFT display with 240x240 pixels. This petite display is one of our favorites, with SPI interface and a controllable backlight.
- USB C power and data connector
- Five mini RGB DotStar LEDs on the top, for animations or easily-visible notification
- Three buttons can be used to wake up the ESP32 from deep-sleep, or select different modes
- DPS310 barometric pressure and temperature sensor
- AHT20 relative humidity and temperature sensor
- Plug in socket for Mini PIR sensor (not included)
- Front facing light sensor
- Speaker/Buzzer can play tones and beeps for audible notification.
- STEMMA QT port for attaching all sorts of I2C devices
- Three STEMMA 3 pin JST connectors for attaching NeoPixels, speakers, servos or relays.
- Three capacitive touch pads and one capacitive touch slider with 5 elements.
- On/Off switch
- Boot and Reset buttons for re-programming
Have some info to add for this board? Edit the source for this page here.
This is the latest stable release of CircuitPython that will work with the FunHouse - WiFi Home Automation Development Board.
Start here if you are new to CircuitPython.
Built-in modules available: _bleio, adafruit_bus_device, adafruit_pixelbuf, aesio, alarm, analogio, atexit, audiobusio, audiocore, audiomixer, binascii, bitbangio, bitmaptools, board, busio, canio, countio, digitalio, displayio, dualbank, errno, fontio, framebufferio, frequencyio, getpass, imagecapture, ipaddress, json, keypad, math, microcontroller, msgpack, neopixel_write, nvm, onewireio, os, paralleldisplay, ps2io, pulseio, pwmio, qrio, rainbowio, random, re, rgbmatrix, rotaryio, rtc, sdcardio, sharpdisplay, socketpool, ssl, storage, struct, supervisor, synthio, terminalio, time, touchio, traceback, ulab, usb_cdc, usb_hid, usb_midi, vectorio, watchdog, wifi
Every time we commit new code to CircuitPython we automatically build binaries for each board and language. The binaries are stored on Amazon S3, organized by board, and then by language. Try them if you want the absolute latest and are feeling daring or want to see if a problem has been fixed.
All previous releases are listed on GitHub, with release notes, and are available for download from Amazon S3. They are handy for testing, but otherwise we recommend using the latest stable release. Some older GitHub release pages include the same binaries for downloading. But we have discontinued including binaries as assets on newer release pages because of the large number of files for each release.
Install, Repair, or Update UF2 Bootloader
Latest version: 0.5.2
The UF2 bootloader allows you to load CircuitPython, MakeCode, and Arduino programs. The bootloader is not CircuitPython. If a UF2 bootloader is installed, you can check its version by looking in the INFO_UF2.TXT file when the BOOT drive is visible (FTHRS2BOOT, MAGTAGBOOT, HOUSEBOOT, etc.)
It is not necessary to reinstall a UF2 bootloader you unless a BOOT drive is not visible when in UF2 bootloader mode, or you know of a problem with your current UF2 bootloader.
If a UF2 bootloader has never been installed on the board, or the UF2 bootloader was removed by erasing or overwriting the flash, the UF2 bootloader must be installed in order to flash .uf2 files onto the board. .bin files can be uploaded without a UF2 bootloader, using the Adafruit WebSerial ESPTool or esptool.py.
Note: update.uf2 files are not currently working on ESP32-S2 boards.
Important: this will erase previously flashed firmware and sketches from the board, but needs to be perfomed only once.
- Unzip to find the file combined.bin.
- Place board in bootloader mode:
- Plug board into a USB port on your computer using a data/sync cable. Make sure it is the only board plugged in, and that a charge-only cable is not being used.
- Press and hold down the BOOT or 0 button.
- Press and release the RESET or RST button.
- Release the BOOT button.
- Upload combined.bin (Google Chrome 89 or newer):
- Open Adafruit WebSerial ESPTool in a new window/tab.
- Select 460800 Baud from the pull-down menu (top-right).
- Click Connect (top-right).
- Select the COM or Serial port from the pop-up window.
- After successful connection, click Erase.
- After successful erase, click any Choose a file..., then locate and select the combined.bin file unzipped earlier.
- After successfully choosing combined.bin, click Program.
- After the TinyUF2 firmware update is complete, press the RESET button on the board. A new drive BOOT should be visible in your file browser.
After you update, check INFO_UF2.TXT to verify that the bootloader version has been updated. Then you will need to load or reload CircuitPython using the .uf2 file.