LED Control with PIC18F4550
0:30
Table
| Connection | Description |
|---|---|
| U1 Output for D1 | Connect a selected digital output pin of the PIC18F4550 (for example, RC0) to one end of R1 (330Ω), then connect the other end of R1 to the anode of D1. The cathode of D1 is connected to the common ground. |
| U1 Output for D2 | Connect another digital output pin (e.g., RC1) to R2 (330Ω), then connect R2 to the anode of D2; the cathode of D2 goes to ground. |
| U1 Output for D3 | Connect a third digital output pin (e.g., RC2) to R3 (330Ω), then connect R3 to the anode of D3; the cathode of D3 is connected to ground. |
| U1 Output for D4 | Connect a fourth digital output pin (e.g., RC3) to R4 (330Ω), then connect R4 to the anode of D4; the cathode of D4 is connected to ground. |
| Common Ground | All LED cathodes and the PIC18F4550 ground pins are tied together using a Ground component. |
Ready.
Reviews
Welcome 👋
Flux accelerates your PCB design with AI.
Create your account to start using this component and bring your ideas to life.