User Tools

Site Tools


charlieplexing_on_the_esp32

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
charlieplexing_on_the_esp32 [2020/09/02 02:31]
49.180.4.219
charlieplexing_on_the_esp32 [2020/09/02 06:43]
49.180.4.219
Line 106: Line 106:
 {{ :​charlieplexing:​schematic-3-pin.png?​nolink |}} {{ :​charlieplexing:​schematic-3-pin.png?​nolink |}}
  
-Notice there are now two groups of two LEDs, plus two more bridging across at the bottom. This arrangement lets us use lots of pin mode combinations to get all the LEDs to light up one at a time.+Notice there are now two groups of two LEDs, plus two more bridging across at the bottom. This arrangement lets us use lots of pin mode combinations to get each LED to light up on it's own.
  
 We'll trace the schematic to see what is needed to light LED1. If we set pin 21 to be ''​OUTPUT''​ and ''​HIGH''​ to supply voltage, and on pin 22, we set to ''​OUTPUT''​ and ''​LOW''​ to act as ''​GND'',​ then we can be pretty sure that current will happily flow on that path and LED1 will light up. We'll trace the schematic to see what is needed to light LED1. If we set pin 21 to be ''​OUTPUT''​ and ''​HIGH''​ to supply voltage, and on pin 22, we set to ''​OUTPUT''​ and ''​LOW''​ to act as ''​GND'',​ then we can be pretty sure that current will happily flow on that path and LED1 will light up.
Line 168: Line 168:
 | LED6 | OUTPUT LOW  | INPUT       | OUTPUT HIGH | | LED6 | OUTPUT LOW  | INPUT       | OUTPUT HIGH |
  
-Now it is time to breadboard the schematic. This can be tricky. I like to take the existing schematic and stretch it out to be as similar as possible ​as how it will be on a breadboard. I used KiCad to move the existing schematic to be laid out like this:+Now it is time to breadboard the schematic. This can be tricky. I like to take the existing schematic and stretch it out to be as similar as possible ​to how it will be on a breadboard. I used KiCad to move the existing schematic to be laid out like this:
  
 {{ :​charlieplexing:​3-pin-schem-stretched.png?​nolink |}} {{ :​charlieplexing:​3-pin-schem-stretched.png?​nolink |}}
charlieplexing_on_the_esp32.txt ยท Last modified: 2021/02/02 01:24 (external edit)