r9PdMVm

Light Goddess Morpho Butterfly

 
Overview
Update Log
2024-05-26

Added a two-layer PCB
and added code testing. Project

Overview
: This project's PCB is based on Xiaojunxi's
"Butterfly Goddess," with minor modifications to the original version, adding battery power, Wi-Fi wireless control, voice recognition, vibration sensing, and Touch control.
The design concept aims to simulate biological characteristics as closely as possible. The brain part uses an ESP32-S3 to process information, while the cerebellum part utilizes an MPU 6050 to sense vibrations. The project simulates biological morphology, using the antenna as the "mouthparts" and featuring an "abdomen" energy storage unit. The entire development board is symmetrically laid out around the center.
See the Bilibili video for the final effect:


Electronic Butterfly - Light Mode


, Electronic Butterfly - Control Mode.


Morpho Morpho (the most beautiful butterfly in the world) Introduction:
The Morpho Morpho butterfly is rare and therefore very precious. A specimen of a Morpho Morpho butterfly once sold for a high price of US$43,000, equivalent to approximately RMB 360,000.
The Goddess of Light Butterfly symbolizes beauty and holds a special significance in Brazil. It is believed that the butterfly grants beautiful women a second life, allowing them to find love with the most outstanding man in their new life. Therefore, many Brazilian women collect Goddess of Light butterflies to pray for a fulfilling love life.
The Goddess of Light Butterfly is also the exclusive martial soul created specifically for Tang Wutong (alias Wang Dong) in the novel *Douluo Continent* by Tang Jia San Shao. The Goddess of Light Butterfly is the most beautiful butterfly martial soul in *Douluo Continent*, representing the pinnacle of beauty among beast martial souls. Its
pair of blue butterfly wings instantly unfold, the colors at the tips of the forewings constantly changing from deep blue, azure, to light blue, the entire wing surface resembling a bright halo inlaid in a blue sky, forming a V-shape, bringing light to the world. Its shape and color are unparalleled and flawlessly beautiful. The entire wing surface resembles white waves surging on a vast blue sea, its color and patterns are spectacular, ranging from purplish-blue. The wing surface is like a string of bright halos embedded in a blue sky, sometimes deep blue, sometimes azure, sometimes light blue. The white Manchu characters on the wings are like inlaid jewels, shimmering and captivating.
Instructions for Use:
This project supports multiple modes, including light mode, music rhythm mode, remote control mode, and sensor mode. Users can switch between different modes via voice commands, and the current mode is displayed by the "eye" indicator light.
Light Mode:


Mode selection: "Light Mode", "Night Light Mode"


Mode indication: Eye indicator light is white


Voice Control: Includes turning the light on/off, adjusting the light color (white, red, green, blue) and brightness, as well as special "blinking" commands

. Turn on the light: "Turn on the light", "Turn on the light"
Turn off the light: "Turn off the light", "Turn off the light"
White light: "Turn the light to white", "White light", "White"
Blue light: "Turn the light to white" Adjust to blue, "blue light", "blue"
Green light: "Adjust the light to green", "green light", "green", "the color of love"
Red light: "Adjust the light to red", "red light", "red", "forgive her"
Flashing: "Second Soul Skill: Butterfly God's Light", "Butterfly God's Light"



Brightness adjustment: Adjust the brightness of the light by touching the antennae.

Left antennae increase brightness,
right antennae decrease brightness.



Small desk lamp: Automatically turns the light on/off based on the angle detected by the MPU6050.

Horizontal light on,
vertical light off



. Tapping to turn on: Uses the MPU6050 to detect the tapping acceleration to control the light.

Gently tap to switch between turning on and off.
Strongly tap to turn on the light. No further tapping to turn off the light was detected within seconds.



Mobile control: Controls the hue, saturation, and brightness of the light via the App.
Music Rhythm Mode


: Mode selection: "Music Rhythm Mode," "Music Rhythm"


mode indicator: Blue eye indicator.


Function description: Changes the color and brightness of the light based on the frequency and loudness of the music.

Uses FFT to obtain the frequency in the music to change the color of the light
and obtains the loudness to change the brightness of the light.



Remote Control Mode

: Mode selection: "Remote Control Mode," "Remote Control Mode."
Mode indicator: Red eye indicator.
Function description: Connects to Home Assistant, linking with smart devices in the home such as Mijia, Midea, Tuya, and Apple.
Four wings are equivalent to four switches, which can link four different smart devices respectively.
Controls air conditioners, washing machines, bathroom heaters, etc. via voice commands.



Sensor Mode (to be implemented)

: Mode selection: "Remote Control Mode," "Remote Control Mode."
Mode indicator: Green eye indicator.
Function description:
Vibration sensor: Detects vibration, drop, and tilt via MPU6050, linking with smart home devices.
Touch sensor: Determines touch status based on capacitance value using the ESP32-S3 Touch Sensor.
Temperature sensor: Detects vibration, drop, and tilt via ESP32-S3. The chip incorporates a built-in temperature sensor for detecting
human movement. A sensor that uses the ESP32-S3 chip's Wi-Fi CSI function enables human movement detection



. Voice control includes:

wake-up words (modifiable, supporting multiple wake-up words such as "Hello Xiaozhi," "Xiao Ai Tongxue," "Hi," and "Lexin"), and wake- up
-free operation (wake-up is triggered by vibration, drop, tilting, or wings being pinched )
. Continuous recognition allows for continuous recognition after being woken up, without needing to be woken up again
. Command words support up to 200 custom command words for a single control command. Power

supply:

Male butterflies use a Type-C male charging port for direct charging with a mobile phone .
Female butterflies use a Type-C female charging port and support magnetic charging when attached to the Haotian Hammer.
To ensure the Morpho butterfly's complete lifespan, it supports a low-power mode, activated via the MPU6050.

Replication Notes

: This component is difficult to solder and not suitable for beginners. Due to PCB size limitations, most components are in 0402 packages, especially the ESP32-S3-PICO-1. Solder pins are on the back of the chip, resulting in an extremely low soldering success rate
. The four-layer board version cannot be color printed: Due to manufacturing limitations, LCSC's process does not support color printing on four-layer boards
. It's best to use a stencil; otherwise, soldering failure is very likely.
If you encounter problems during replication, you can leave a message under the Bilibili video.

Open source

project code: butterfly. A complete code repository for secondary development.
The test code `software_common` can be used to test each function individually via serial port command line.
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-23 21:57:14

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号