Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use Adafruit FunHouse: Examples, Pinouts, and Specs

Image of Adafruit FunHouseDesign with Adafruit FunHouse in Cirkit Designer

Introduction

The Adafruit FunHouse is an innovative development board designed for creating smart home projects. It is built around the powerful ESP32 microcontroller and is equipped with a variety of sensors and actuators, making it an ideal platform for IoT applications. The FunHouse is particularly user-friendly, with a capacitive touch display for interactive projects and connectors that simplify the addition of extra modules.

Explore Projects Built with Adafruit FunHouse

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Arduino Mega-Nano Hybrid Control Panel with Wireless Communication and LED Displays: A project utilizing Adafruit FunHouse in a practical application
Arduino Mega-Nano Hybrid Control Panel with Wireless Communication and LED Displays

This is a multifunctional interactive system featuring an Arduino Mega 2560 and an Arduino Nano for control. It includes user input components (pushbuttons, keypad), visual output (OLED displays, LED matrices, NeoPixel rings/jewels), audio output (DFPlayer MINI with loudspeakers), and wireless communication (433MHz RF transmitter). The system is designed for user interaction, feedback display, and wireless control, with placeholder code for future development.

Open Project in Cirkit Designer
Image of Arduino-Controlled Interactive LED and Sound System with Motion Detection: A project utilizing Adafruit FunHouse in a practical application
Arduino-Controlled Interactive LED and Sound System with Motion Detection

This circuit features an Arduino UNO microcontroller interfaced with an Adafruit ADXL345 accelerometer, an HC-SR04 ultrasonic sensor, two SG90 servomotors, a DFPlayer Mini MP3 module, a WS2812 RGB LED strip, and a loudspeaker. The Arduino controls the LED strip and servomotors based on distance measurements from the ultrasonic sensor and plays sounds through the DFPlayer Mini when motion is detected by the accelerometer. The circuit is designed for interactive displays or installations where visual and auditory feedback is provided in response to object proximity and movement.

Open Project in Cirkit Designer

Common Applications and Use Cases

Technical Specifications

Key Technical Details

Pin Configuration and Descriptions

Pin Number Function Description
1 3V3 3.3V power supply
2 GND Ground
3 SDA I2C data line
4 SCL I2C clock line
5-14 GPIO 0-9 General-purpose input/output pins

Usage Instructions

How to Use the Component in a Circuit

  1. Powering the FunHouse:

    • Connect a 5V power source to the USB-C port or attach a battery to the JST connector.
  2. Connecting to Wi-Fi:

    • Use the ESP32's Wi-Fi capabilities to connect the FunHouse to your local network for IoT applications.
  3. Interacting with Sensors:

    • Access the onboard sensors through the ESP32's I2C interface or the provided GPIO pins.
  4. Display and Touch Interface:

    • Utilize the capacitive touch display to create interactive interfaces for your projects.

Important Considerations and Best Practices

Troubleshooting and FAQs

Common Issues Users Might Face

Solutions and Tips for Troubleshooting

FAQs

Example Code for Arduino UNO

Below is a simple example code snippet that demonstrates how to blink an onboard LED on the Adafruit FunHouse using the Arduino IDE. This example assumes you have the appropriate board support package installed for the ESP32-S2.

#include <Arduino.h>

// Define the pin for the onboard LED
const int ledPin = 13; // Replace with the correct pin number for the FunHouse

void setup() {
  // Initialize the LED pin as an output
  pinMode(ledPin, OUTPUT);
}

void loop() {
  // Turn the LED on
  digitalWrite(ledPin, HIGH);
  // Wait for one second
  delay(1000);
  // Turn the LED off
  digitalWrite(ledPin, LOW);
  // Wait for one second
  delay(1000);
}

Remember to replace ledPin with the correct pin number for the onboard LED on the Adafruit FunHouse. The above code will toggle the LED on and off every second, creating a blinking effect.