Pandabyte LED Module: Digital and Analog Output Guide
by pandabyte in Circuits > Arduino
59 Views, 0 Favorites, 0 Comments
Pandabyte LED Module: Digital and Analog Output Guide
Pandabyte LED Module is a simple actuator module used for learning digital and analog output control with microcontrollers such as Arduino compatible boards, ESP32, or Raspberry Pi Pico. A key feature of this module is that it supports two connection methods:
- Traditional male header pins for standard jumper-wire connections OR
- 4-pin Grove connector for quick plug-and-play prototyping without complex wiring
In this guide, you will learn:
- Module pin configuration
- Digital output control (ON/OFF)
- Analog/PWM brightness control
- Circuit connections and Arduino programming examples
Supplies
Hardware:
- PandaByte LED Module
- Development Board (We will use PandaByte xC3m ESP32C3 Dev board)
- Grove Shield/Expansion Board
- Cables: Dupont, USB, and Grove
Software:
- Arduino IDE
Circuit Connections
Perform the connection based on the table
Programming
Program 1: Digital Output
Turn the LED ON and OFF repeatedly using a digital signal.
Program 2: Analog Output
Change the brightness of the LED gradually from minimum to maximum and vice versa. A Pulse Width Modulation (PWM) signal is used to control the brightness levels.
Output
Program 1: Digital Output
The LED will turn ON and OFF repeatedly at fixed time intervals (1 sec).
Program 2: Analog Output
The brightness of the LED will gradually increase from minimum to maximum and then decrease from maximum to minimum continuously.
Important Info
- All GPIO pins of dev boards (such as xC3m) support digital output. You can connect LED module to any of the GPIO pin
- Not all GPIO pins support analog (PWM) output. Make sure to verify the same in the pinout diagram dev board before using a particular pin for analog output.