Zio Recipes; Gpio Port - Zilogic Systems ZIO User Manual

Table of Contents

Advertisement

ZIO, Motherboard User Manual
Chapter 3. ZIO Recipes
1. GPIO Port
Connecting LEDs.  Connect the anode of the LED to an Output signal, and the cathode to GND.
The built-in series resistor is sufficient to limit the current.
Connecting series of LEDs.  Since the Output signal can not provide sufficient power for more
than one LED, and external power source is to be used. And the power supply can be controlled
using a MOSFET switch.
The circuit diagram for connecting a series of LEDs is shown above. The following formula can
be used to calculate the resistance for the current limiting resistor. (The voltage drop across the
MOSFET is considered to be negligible.)
R = (V
- NV
) / I
cc
d
d
Where,
V
Voltage Drop Across LED
d
N
No. of LEDs
I
Current for the required brightness
d
V
LED supply voltage
cc
R
Current Limiting Resistor
As an example, for the following parameters,
• V
= 12V
cc
• I
= 11mA
d
• N = 4
the calculated current limiting resistance is 470 ohms.
Zilogic Systems
Rev. 2.0
Page 8

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ZIO and is the answer not in the manual?

Questions and answers

Table of Contents