MCP

Specifications

39% Complete
9/23 fields · click for tiers
Priority 1 (Core)75%
Priority 2 (Smart Specs)25%
Priority 3 (Extended)14%
BrandYeelight
Manufacturer—
Model NumberYLAI002
Also Known As—
ASIN—
Price—
Official Site—
Dimensions—
Weight—
Color / Material— / —
Cloud Control—
Local ControlYes
Hardware Requirements—
Requirement Notes—
Release / Discontinued— / Active
Connectivity
Power Types—
USB Type—
Battery—
Sensors—
Voice Assistants—
Compatible Apps—
Compatible Services
Sourceblakadder_templates

Description

Pry open the lid in the middle and lift the ESP32 module PCB with pliers from the mains PCB.

<iframe width="560" height="315" src="https://www.youtube.com/embed/aeNiFpzwE1A" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

## Serial Flashing
All pins necessary for flashing are labelled on the module PCB.

![PCB image](/assets/device_images/yeelight_YLAI002_pinout.webp)


## Pins

| GPIO | Function | Label
| --- | --- |
| GPIO12 | Button_i | Button (not working)
| GPIO14 | Relay2 | L2
| GPIO17 | Ledi 1 | Blue LED (connection status)
| GPIO18 | Ledi 2 | Red LED (relay 1 and 2 status)
| GPIO27 | Relay1 | L1
| GPIO19 | Switch2 | S2
| GPIO21 | Switch1 | S1
| GPIO33 | Switch3 | K2
| GPIO32 | Switch4 | K1 (not triggering)

K1 is not triggering on switch toggles. If you want to show relay status on its respective LED, set any unused GPIO as LedLink.

Unlike the origin

Additional Attributes

Device TypeSwitch Module
Electrical Standardglobal

Gallery

Related Hardware

Browse Catalog
Compare