PIC Project: Relay Timer
Relay Timer adalah projek timer bagi menghidupkan dan mematikan relay. LCD digunakan bagi memaparkan jam dan jangka masa untuk relay itu dihidupkan. Push button digunakan bagi mengubah jam dan jangka masa untuk relay itu dihidupkan.
Skematiknya adalah seperti berikut.
PCB komponen layout nya adalah seperti berikut.
No | Component | Label | Unit |
---|---|---|---|
1 | 020 PCB PIC Four Input (123mm X 73mm) | PCB | 1 |
2 | Buzzer-PCB Mount | Buzzer | 1 |
3 | Capacitor Ceramic 0.1uF | C3 | 1 |
4 | Capacitor Electrolytic 10uF | C1-C2 | 2 |
5 | Cell Battery CR2032 | Battery 3V | 1 |
6 | Cell Battery Holder | Battery 3V | 1 |
7 | Crystal RTC 32.768kHz | XTAL | 1 |
8 | DC Jack Female | DC Jack Female | 1 |
9 | Diode 1N4001 | D1 | 1 |
10 | IC DS1307 DIP | DS1307 | 1 |
11 | IC PIC16F1939 DIP | PIC16F1939 | 1 |
12 | IC Socket 40pin | PIC16F1939 | 1 |
13 | IC Socket 8pin | DS1307 | 1 |
14 | LCD 16X2 | LCD | 1 |
15 | LED Red 5mm | LED1 | 1 |
16 | PCB Stand (screw nut) | PCB Stand | 6 |
17 | Push Button 4 pin 6x6x1 | PB1-PB4 | 4 |
18 | Relay 12V SPDT | RLY1 | 1 |
19 | Resistor 0.25W 1K | R3-R5 | 3 |
20 | Resistor 0.25W 1K | R7-R14 | 8 |
21 | Resistor 0.25W 1K/4.7K | R2 | 1 |
22 | Resistor 0.25W 330 | R1 | 1 |
23 | Resistor 0.25W 330 | R6 | 1 |
24 | Right Angle Pin Header (Male) | ICSP | 1 |
25 | Slide Switch | S1 | 1 |
26 | Terminal Block 2 Way | PWR | 1 |
27 | Terminal Block 3 Way | OUT | 1 |
28 | Transistor 2N2222 | Q1-Q2 | 2 |
29 | Voltage Regulator 5V TO220 | 7805 | 1 |
Harga projek PIC Relay Timer adalah RM210 tidak termasuk bantuan teknikal. Di bawah adalah cara projek ini berfungsi.
PIC Source Code
Sertai Telegram Group bagi dapatkan source code
Do make available the pcb file?
Hello, could make available the PCB project file?
asalam bang. nak tanya coding tu nak kena try dalam software micro C atau Mplab?
W/salam.
Guna software MPLabX dan compiler XC8.
Hello from México, you could give me the hex file, I can not complie the program please
No