Documentos de Académico
Documentos de Profesional
Documentos de Cultura
pcb8051@gmail.com
Features Summary:
1. 2. 3. 4. 5. 6. 7. Microchip PIC16F883 DIP28 LCD Module 1602 Power Circuit (MC34063A , Vin=7V~16V, Vout=5V/ 1 A) J5:Voltage Input (Voltage Range =0V~55V) Keyboard Circuit(Up/Down/Right/Left/Select, Five keyboards) Relay Circuit: Build in one Relay. J4:Digital TemperatureDS18B20 (You must buy Digital Temperature DS18B20 in additional). 8. The product needs to be assembled and soldered by your-self. 9. Function1: Timer Relay ON/OFF 1 second to 999 hours (999:59:59) Digital Display 10. Function2: UP-DOWN Counter 00000000-99999999 with Relay Control 11. Function3: Digital Temperature Control Relay -50 to +125C PC FAN Kit
1. Timer Relay ON/OFF 1second to 999 hours (999:59:59) Digital Display This circuit is Digital Timerboard which you can set Timer of Relay to turn on and set Timer of Relay to turn off. The Relay work On -> Off -> On-> Off -> On->Off as loop until power off.
Keep setting counter value in PIC16 internal EEPROM , don't worry about power off. The setting counter value will be reloaded when power on. The Timer range can be adjusted be 5 keyboards. DisplayTimer by LCD 1602 Module. Relay can handle max at 7A/240VAC or 10A/110VAC. Mode1: Set Timer of Relay to turn on / press clear button to reset Mode2: Loop count without clear button. It has Relay ON when the Timer = Set Timer Relay time and Relay OFF(reset) when the Timer= Set Timer OFF time as loop until power off. EX : When Timer=001:00:00(Set Timer Relay time)the Lamp toturn on. When Timer=001:50:00 (Set Timer OFF time) the Lamp toturn off.
The Lamp work On -> Off -> On-> Off -> On->Off as loop until power off.(Relay control Power ON/OFF)
Press LEFT=>Up/Down Counter Control Relay Press RIGHT=>Timer Control Relay Press DOWN=>Temperature Control Relay
Loop count without clear button. Relay will turn on when count to setting value and Relay on 1-9second of setting time.
J4(CP1 Pin):UP Counter Signal Input, TTL Level(5V/0V) J2(CP2 Pin):DOWN Counter Signal Input, TTL Level(5V/0V) J5:Voltage Meter input(0V~55V)
Press RIGHT Keypad:UP Count(+1) Press LEFTKeypad:DOWN Count(-1) Press Down/ClearKeypad: Clear Counter Value &Relay OFF, (Restart Counter)
Press Down/Clear: Clear Timer &Relay OFF (Restart Timer) Mode1: Set Timer of Relay to turn on / press clear button to reset Mode2: Loop count without clear button. It has Relay ON when the Timer = Set Timer Relay time and Relay OFF(Reset) when the Timer= Set Timer OFF time as loop until power off.
Setup Relay OFF Temperature Press DownKeypad=>- Press UpKeypad=>+ Press Select=> Enter Temperature Using UP/Down/Right/Left/SelectKeypadSetupTemperature(Ex: +024C)
When Temperature =< +024C =>Relay OFF Press Down/ClearKeypad=> Relay OFF
20 MHz Y1
R7 2K
5V IO5
VR1
CON3 J6 1 2 3
R8 2K
Note: CAP1=100uF/16V
3. PIC16F883 Circuit
5. Keyboard Circuit
The PIC16 buil-in 10-bit ADCs. For this example, an analogue keyboard is connected to one of the ADCs.When a key is pressed, the input voltage detected by the ADC changes according to the voltage divider activated by the keypad. The conversion result from the ADC is used to determine which key is pressed. 1. No any key is pressed: Keyin=5V. 2. SW1 is pressed:keyin=0V. 3. SW2 is pressed: keyin=5*[300/(300+2K)]=0.65V 4. SW3 is pressed: keyin=5*[600/(600+2K)]=1.15V 5. SW4 is pressed: keyin=5*[900/(900+2K)]=1.55V 6. SW5 is pressed: keyin=5*[1200/(1200+2K)]=1.85V If more than one key is pressed at the same time, the key detected is the closest key to the ADC input in the chain. This means that the key recognition is managed by priority.The number of keys that can be detected depends on the tolerance of the resistors used and the noise from the circuit. The application software uses a voltage range corresponding to each key when converting an analogue reading to a key number.
9. PICKIT3 Connector
Bill Of Materials
Quantity
2 5 1 1 3 3 6 5 5 1 1 2 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Reference
J8,J1 2,J3,J4,J6,J7 J5 J9 C1,C2,C4 R1,R4,R9 R2,R3,R10,R11,R12,R14 R5,R7,R8,R13,R15 SW1,SW2,SW3,SW4,SW5 R6 RN1 D1,D3
Part
CON6 CON3 CON2 JH5 0.1uF 10K ohm 300 ohm 2K ohm SW 100K 1% 4.7K ohm (label :473) 1N4004 LCD 16x2 VAR PIC16F883 20MHz 20PF MC34063A 1N5819 HEADER 2 0.3 ohm;1/2W 3K ohm;1/4W 1K ohm;1/4W 470pF (Label:471) 220uH 100uF/16V 470uF/16V LED RELAY NPN 9013 HEADER 3
LCD 16x2&MCU Circuit LCD1 VR1 U1 Y1 C6,C5 U2 D2 HT2 R16 R17 R18 C3 L1 CAP1 CAP2 LED1 LS1 Q2 HT1
Power Circuit
2. Relay Circuit
Q2: NPN9013 R13,R15: 2K ohm LED1: LED D1: 1N4004 LS1: RELAY HT1: HEADER3
3. Power Circuit:
U2: MC34063A R16: 0.3 ohm,1/2W R17: 3K ohm R18: 1K ohm CAP1: 100uF/16V or 100uF/25V CAP2: 470uF/16V C3: 470pF (label:471) D3: 1N4004 D2: 1N5819 HT2: HEADER2
R6: 100K R9: 10K RN1: 5P4R, 4.7K ohm (Label:472) J2: 3Pin J5: 2Pin (Attention Pin 1)
LCD: 16Pin U1: PIC16F883 C1,C4: 0.1uF Y1: 20MHz C5,C6: 20pF R1: 10K ohm VR1: VAR