500 Series Module Front Panel Design

Here’s how to wire a 4‑pin, independent bi‑color indicator so red and green are controlled separately. Use one series Resistor per color. Do not share a resistor between dies.
Option A: source current from GPIO (active‑high)
  • RISC-V microcontroller GPIOx -> Rred -> LED_R Anode; LED_R Cathode -> GND
  • MCU GPIOy -> Rgreen -> LED_G Anode; LED_G Cathode -> GND
  • Drive pin HIGH to turn on, LOW (or Hi‑Z) to turn off.
Option B: sink current to GPIO (active‑low)
  • VDD -> Rred -> LED_R Anode; LED_R Cathode -> MCU GPIOx
  • VDD -> Rgreen -> LED_G Anode; LED_G Cathode -> MCU GPIOy
  • Drive pin LOW to turn on, HIGH (or Hi‑Z) to turn off.
Notes
  • Use one resistor per color on your Bi-color LED 0805. Choose R independently for red vs green to balance brightness.
  • When powering an LED directly from an MCU GPIO, ensure the LED current is kept between 4 and 20 mA and always check the datasheet. Also check the MCU’s per‑pin and per‑port limits.
  • Keep the LED supply at or below the MCU I/O voltage. If VLED > VIO (e.g., 5 V LED supply with 3.3 V MCU), do not connect directly to the GPIO; use a transistor driver or level shifting.
  • For dimming and matching, use PWM on each color channel. Turning both channels on mixes to an intermediate color.
If you share your LED supply voltage and your target currents, I can compute the exact resistor values next.
Provide LED wiring type
Ask for resistor values
Confirm MCU drive limits
Handle 5V LED rail
Flux schematic help
VDD1(VDD)
NC
SCL
VPP(VCC)
SDA
VDD2(VBAT)
IREF
VCOMH
C2N
C2P
VSS
~{RES}
C1P
C1N


N050-8848TSWYG02-H14

OLED Display N050-8848TSWYG02-H14 OLED-SMD_N050-8848TSWYG02-H14 LCSC Part Number: C2890604 JLCPCB Part Class: Extended Part Manufactured by Newvision(新智景)

Properties

Newvision(新智景)

OLED

N050-8848TSWYG02-H14

C2890604

OLED-SMD_N050-8848TSWYG02-H14

OLED Display

Extended Part

Pricing & Availability

See prices from popular manufacturers for your project.

Controls