PIC Project: Button Switch


Button Switch adalah projek untuk menghidupkan atau mematikan relay bagi mengawal sebarang keluaran seperti peralatan elektrik atau lampu. Bagi versi Arduino boleh rujuk Arduino Project: Button Switch dan versi ESP32 boleh rujuk ESP32 Project: Button Switch.

Skematiknya adalah seperti berikut.

PCB komponen layout nya adalah seperti berikut.

Senarai komponen projek PIC Button Switch seperti berikut.
No Component Label Unit
1 010 PCB PIC Relay Switch (86mm X 81mm) PCB 1
2 Buzzer-PCB Mount Buzzer 1
3 Capacitor SMD1206 10uF C1-C2 2
4 DC Jack Female DC Jack Female 1
5 Diode SMD1206 1N4001 D1 1
6 IC PIC18F26K22 SOIC PIC18F26K22 1
7 IC ULN2803 SOIC ULN2803 1
8 LED Red 5mm LED1-LED4 4
9 PCB Stand (screw nut) PCB Stand 4
10 Push Button 4 pin 6x6x1 PB1-PB4 4
11 Relay 12V SPDT RLY1-RLY4 4
12 Resistor SMD1206 0.25W 1K R2-R5 4
13 Straight Pin Header (Male) ICSP 1
14 Terminal Block 2 Way PWR 1
15 Terminal Block 3 Way OUT1-OUT4 4
16 Voltage Regulator 5V SOT223 7805 1

Harga projek PIC Button Switch adalah RM150 tidak termasuk bantuan teknikal. Di bawah adalah cara projek ini berfungsi.

PIC Source Code

Sertai Telegram Group bagi dapatkan source code


Leave a Reply

Your email address will not be published. Required fields are marked *