Build your own Smartglass for Home Auotmation using ESP32

Published  November 13, 2024   
S Staff
Author



The ESP32 AI Smartglass is an innovative wearable device that blends the power of artificial intelligence with the convenience of home automation. Built around the ESP32-S3 mini microcontroller with 4MB of flash and 2MB of PSRAM, this smartglass is equipped to handle a variety of tasks efficiently. With built-in components like the INMP441 microphone, OV2640 camera, and MAX98357 I2S audio amplifier with a speaker, the smart glass is designed for seamless QR code-based control of household appliances. All the hardware is compactly integrated on a single PCB, which also forms the right leg of the smart glass, providing an elegant and functional solution. One of the standout features of the smart glass is its ease of use and versatility. By utilising the camera to scan QR codes, the user can control devices such as lights or fans connected to the same WiFi network. Once powered on, the RGB LEDs provide visual feedback during WiFi connection attempts, and the smart glass offers a welcome chime when the connection is successful. This smart glass removes the need for complex remote controls or hardwired switches, giving users a hands-free, efficient way to manage home automation with a simple glance at the desired QR code.

The smart glass incorporates an onboard LTC4065 battery charger for recharging via micro USB, ensuring extended usage without frequent interruptions. Additionally, the ADM7171 3.3V LDO provides stable voltage regulation, which is essential for the sensitive components inside. With two addressable RGB LEDs providing real-time status updates and a highly efficient and affordable SoC, the smart glass brings the potential of AI-driven IoT directly into a sleek, wearable form. Intended for smart home environments, the ESP32 AI Smartglass can transform how users interact with their devices. It’s perfect for controlling multiple WiFi-connected clients without the need to pre-configure device IPs, thanks to the use of mDNS. Whether you're turning on a light or adjusting a fan, the smart glass will also provide a futuristic, intuitive experience. Plus, the ability to view live camera feeds on a smartphone adds an extra layer of convenience, making this smart glass a must-have for tech-savvy home automation enthusiasts. Apart from the onboard RGB LEDs, the smart glass will also provide audio feedback on every action, thanks to the onboard MAX98357 I2S amplifier and speaker.

Code File

Code and Schematics AI SmartGlassCode and Schematics Zip File AI SmartGlass

PCB Gerber File

PCB Geber File AI SmartGlassPCB Geber ZIP File AI SmartGlass
 
Value Manufacturer Digikey Part Number Datasheet Link    Quantity
4.7u Samsung Electro-Mechanics 1276-1044-1-ND

Datasheet

3
2.2uF Samsung Electro-Mechanics 1276-1134-1-ND

Datasheet

1
100nF YAGEO 311-1088-1-ND

Datasheet

1
100nF Murata Electronics 490-6328-1-ND

Datasheet

3
4.7uF Samsung Electro-Mechanics 1276-1482-1-ND

Datasheet

1
2.2uF Samsung Electro-Mechanics 1276-1467-1-ND

Datasheet

1
1uF YAGEO 311-1446-1-ND

Datasheet

4
1nF KEMET 399-C0603C102K5RAC7867CT-ND

Datasheet

1
1N4148WT ANBON SEMICONDUCTOR (INT'L) LIMITED 4530-1N4148WTCT-ND

Datasheet

1
LTC4065EDC Analog Devices Inc. 505-LTC4065EDC#TRMPBFCT-ND

Datasheet

1
ADM7171ACPZ-3.3-R7 Analog Devices Inc. 505-ADM7171ACPZ-3.3-R7CT-ND

Datasheet

1
MAX98357AETE+T Analog Devices Inc./Maxim Integrated MAX98357AETE+TCT-ND

Datasheet

1
10118194-0001LF Amphenol ICC (FCI) 609-4618-1-ND

Datasheet

1
Conn_01x24 Amphenol ICC (FCI) 609-F33Z-1A7Q1-E8C24CT-ND

Datasheet

1
Red Harvatek corporation 3147-B1911USD-20D000114U1930CT-ND

Datasheet

1
510R YAGEO 311-510HRCT-ND

Datasheet

1
10k YAGEO 311-10KJRCT-ND

Datasheet

2
0R Stackpole Electronics Inc RMCF0603ZT0R00CT-ND

Datasheet

1`
2K Panasonic Electronic Components P2.00KHCT-ND

Datasheet

1
10k Stackpole Electronics Inc RMCF0603JT10K0CT-ND

Datasheet

2
K3-1280S-F1 Nidec Components Corporation 563-1102-1-ND

Datasheet

1
RST CIT Relay and Switch 2449-CS1213AGF160CT-ND

Datasheet

2
AP2127K-2.8 Diodes Incorporated AP2127K-2.8TRG1DICT-ND

Datasheet

1
ESP32-S3-MINI-1U Espressif Systems 1965-ESP32-S3-MINI-1-N4R2CT-ND

Datasheet

1
AP2127K-1.8 Diodes Incorporated AP2127K-1.8TRG1DICT-ND

Datasheet

1