Skip to content

Commit

Permalink
Updates table
Browse files Browse the repository at this point in the history
  • Loading branch information
apmiller108 committed Nov 19, 2024
1 parent b57d393 commit 36ac698
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 23 deletions.
36 changes: 14 additions & 22 deletions 20241115143211-leds.org
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,20 @@
:END:
#+title: LEDs
#+date: 2024-11-15 14:32 PM
#+updated: 2024-11-15 14:33 PM
#+updated: 2024-11-19 15:23 PM
#+filetags: :electronics:arduino:

* Resistors
Which resistor should I use? When in doubt use 220 ohm. Otherwise...
| LED Color | 3.3V | 3.7V | 5V | 6V | 9V | 12V |
|---------------|--------------|--------------|--------------|--------------|--------------|--------------|
| AMBER | 68 Ohm | 82 Ohm | 150 Ohm | 220 Ohm | 390 Ohm | 560 Ohm |
| 2.1V, 20mA | 1/8 W | 1/8 W | 1/8 W | 1/8 W | 1/4 W | 1/4 W |
| BLUE | 5.6 Ohm | 27 Ohm | 100 Ohm | 150 Ohm | 330 Ohm | 470 Ohm |
| 3.2V, 20mA | 1/8 W | 1/8 W | 1/8 W | 1/8 W | 1/8 W | 1/4 W |
| GREEN | 68 Ohm | 82 Ohm | 150 Ohm | 220 Ohm | 390 Ohm | 560 Ohm |
| 2.1V, 20mA | 1/8 W | 1/8 W | 1/8 W | 1/8 W | 1/4 W | 1/4 W |
| ORANGE | 68 Ohm | 100 Ohm | 180 Ohm | 220 Ohm | 390 Ohm | 560 Ohm |
| 2V, 20mA | 1/8 W | 1/8 W | 1/8 W | 1/8 W | 1/4 W | 1/4 W |
| PINK | 5.6 Ohm | 27 Ohm | 100 Ohm | 150 Ohm | 330 Ohm | 470 Ohm |
| 3.2V, 20mA | 1/8 W | 1/8 W | 1/8 W | 1/8 W | 1/8 W | 1/4 W |
| PURPLE | 5.6 Ohm | 27 Ohm | 100 Ohm | 150 Ohm | 330 Ohm | 470 Ohm |
| 3.2V, 20mA | 1/8 W | 1/8 W | 1/8 W | 1/8 W | 1/8 W | 1/4 W |
| RED | 82 Ohm | 100 Ohm | 180 Ohm | 220 Ohm | 390 Ohm | 560 Ohm |
| 1.8V, 20mA | 1/8 W | 1/8 W | 1/8 W | 1/8 W | 1/4 W | 1/4 W |
| WHITE | 5.6 Ohm | 27 Ohm | 100 Ohm | 150 Ohm | 330 Ohm | 470 Ohm |
| 3.2V, 20mA | 1/8 W | 1/8 W | 1/8 W | 1/8 W | 1/8 W | 1/4 W |
| YELLOW | 68 Ohm | 100 Ohm | 180 Ohm | 220 Ohm | 390 Ohm | 560 Ohm |
| 2V, 20mA | 1/8 W | 1/8 W | 1/8 W | 1/8 W | 1/4 W | 1/4 W |
Which resistor should I use? When in doubt use 220 ohm. Otherwise, these are
common resistor values:
| LED Color | 3.3V | 3.7V | 5V | 6V | 9V | 12V |
|-------------------+---------+---------+---------+---------+---------+---------|
| AMBER 2.1V, 20mA | 68 Ohm | 82 Ohm | 150 Ohm | 220 Ohm | 390 Ohm | 560 Ohm |
| BLUE 3.2V, 20mA | 5.6 Ohm | 27 Ohm | 100 Ohm | 150 Ohm | 330 Ohm | 470 Ohm |
| GREEN 2.1V, 20mA | 68 Ohm | 82 Ohm | 150 Ohm | 220 Ohm | 390 Ohm | 560 Ohm |
| ORANGE 2V, 20mA | 68 Ohm | 100 Ohm | 180 Ohm | 220 Ohm | 390 Ohm | 560 Ohm |
| PINK 3.2V, 20mA | 5.6 Ohm | 27 Ohm | 100 Ohm | 150 Ohm | 330 Ohm | 470 Ohm |
| PURPLE 3.2V, 20mA | 5.6 Ohm | 27 Ohm | 100 Ohm | 150 Ohm | 330 Ohm | 470 Ohm |
| RED 1.8V, 20mA | 82 Ohm | 100 Ohm | 180 Ohm | 220 Ohm | 390 Ohm | 560 Ohm |
| WHITE 3.2V, 20mA | 5.6 Ohm | 27 Ohm | 100 Ohm | 150 Ohm | 330 Ohm | 470 Ohm |
| YELLOW 2V, 20mA | 68 Ohm | 100 Ohm | 180 Ohm | 220 Ohm | 390 Ohm | 560 Ohm |
4 changes: 3 additions & 1 deletion 20241115180746-wiring_of_common_components.org
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
:END:
#+title: Wiring of common components
#+date: 2024-11-15 18:07 PM
#+updated: 2024-11-19 14:56 PM
#+updated: 2024-11-19 15:09 PM
#+filetags: :electroncis:ardunio:

* LEDs
See also [[id:BA461725-12D2-4F3D-883C-29FA4B3EA91E][LEDs]]
* Button
** Pull up
** Pull down
Expand Down

0 comments on commit 36ac698

Please sign in to comment.