LED

LEDs are used to indicate the internal status of obniz. There are two types as follows.

Type Description
Power Indicates that the obnizOS is running.
Signal Indicates the network connection status of obnizOS and errors.

By specifying which LED is connected to the obnizOS, the obnizOS will automatically control the LED.
The available LED patterns are as follows.

Type Required Pins Description
Analog Full Color 3 Simple 3-color LED
Analog Single Color 1 Single Color LED
Analog Full Color(Inverted) 3 Simple tri-color LED, but connected in the direction that it shines when IO is set to Low.
Analog Single Color (Inverted) 1 Single color LED, but it is connected in the direction that it shines when IO is set to Low.
W2812 1 W2812 full color LED

Status and lighting pattern

Signal

Status Single Color Full Color
Startup(Short Time) ON Green
Network Connecting Blink(30 msec ON, 220 msec OFF) Green Blinking(250 msec)
Network Connected & Cloud Connecting Blink(220 msec ON, 30 msec OFF) Blue Blinking(250 msec)
Online ON Blue
Setting Mode Blinking(1000msec) Purple Blinking(250msec)
WPS Mode Blinking(100msec) Purple Blinking(100msec)
Setting Mode Blinking(1000msec) Purple Blinking(250msec)
Error Blinking(50msec) Red Blinking(100msec)
Performing OTA Blinking(100msec) Blue Blinking(100msec)

Power

After obnizOS performs the lighting process at startup, the color and status will not change.
If it does not light up, it means that the system has not booted normally.

Status Single Color Full Color
Always ON Blue

関連の質問