pic.programmer
Advanced Member level 3
- Joined
- Aug 19, 2015
- Messages
- 773
- Helped
- 141
- Reputation
- 284
- Reaction score
- 140
- Trophy points
- 43
- Activity points
- 7,531
Ok. No the clamping diodes will be connected between VDD and GND of PIC and not between VDD and AC mains. Just in proteus I used a common GND.
@faiz
Why use PIC16F877A ? You need 3 input pins and one Output pin. Why not use a PIC12F683 or 12F1840 ? They are 8 pin MCUs and it will reduce the size of the PCB.
@faiz
Why use PIC16F877A ? You need 3 input pins and one Output pin. Why not use a PIC12F683 or 12F1840 ? They are 8 pin MCUs and it will reduce the size of the PCB.
Last edited: