Arduino Project: Button Switch
Button Switch adalah projek untuk menghidupkan atau mematikan relay bagi mengawal sebarang keluaran seperti peralatan elektrik atau lampu. Bagi versi PIC boleh rujuk PIC Project: Button Switch dan versi ESP32 boleh rujuk ESP32 Project: Button Switch.
Skematiknya adalah seperti berikut.
PCB komponen layout nya adalah seperti berikut.
No | Component | Label | Unit |
---|---|---|---|
1 | 011 PCB Arduino Relay Switch (86mm X 81mm) | PCB | 1 |
2 | Buzzer-PCB Mount | Buzzer | 1 |
3 | Capacitor SMD1206 0.1uF | C5 | 1 |
4 | Capacitor SMD1206 10uF | C1-C2 | 2 |
5 | Capacitor SMD1206 22pF | C3-C4 | 2 |
6 | Crystal SMD 16MHz | XTAL | 1 |
7 | DC Jack Female | DC Jack Female | 1 |
8 | Diode SMD1206 1N4001 | D1 | 1 |
9 | IC ATMEGA328P-AU TQFP | ATMEGA328 | 1 |
10 | IC ULN2803 SOIC | ULN2803 | 1 |
11 | LED Red 5mm | LED1-LED4 | 4 |
12 | PCB Stand (screw nut) | PCB Stand | 4 |
13 | Push Button 4 pin 6x6x1 | PB1-PB4 | 4 |
14 | Relay 12V SPDT | RLY1-RLY4 | 4 |
15 | Resistor SMD1206 0.125W 10K | R1 | 1 |
16 | Resistor SMD1206 0.25W 1K | R2-R5 | 4 |
17 | Straight Pin Header (Male) | ICSP | 1 |
18 | Terminal Block 2 Way | PWR | 1 |
19 | Terminal Block 3 Way | OUT1-OUT4 | 4 |
20 | Voltage Regulator 5V SOT223 | 7805 | 1 |
Harga projek Arduino Button Switch adalah RM150 tidak termasuk bantuan teknikal. Di bawah adalah cara projek ini berfungsi.
Arduino Source Code
Sertai Telegram Group bagi dapatkan source code
Leave a Reply