Please refer the image file.
PORTC and PORTD are connected with 7 SEGMENT(CC) display through 470R resistor and another two pins are used to drive an TRIAC(These not shown in the schematic).
My concept is when the switch S5 and S6 is turned ON means the LED have to glow and low state is given pic controller.But both LEDs are always in ON state,without operating the switch.I changed the PIC PINS state also but there is no change in LEDs,its always in ON STATE.
The TRIAC will be switched on based on the time interval.This is the basic operation of the circuit.At initial time the controller working fine,after sometimes(Nearly after 15MINS )there is no operation performed by the controller.It simply in idle state.
Why you have two 5V supplies?
* "+5V" for the PIC
* "+5V_l" for the LEDs
How are they generated, how are the related to each other? --> show the complete circuit.
One switch "NC" is wired and the other switch "NO" is wired. According this the "random"LED is "normally ON.
Maybe the switches are wrongly wired. --> check wiring.
Why you have two 5V supplies?
* "+5V" for the PIC
* "+5V_l" for the LEDs
How are they generated, how are the related to each other? --> show the complete circuit.
One switch "NC" is wired and the other switch "NO" is wired. According this the "random"LED is "normally ON.
Maybe the switches are wrongly wired. --> check wiring.
Why you have two 5V supplies?
* "+5V" for the PIC
* "+5V_l" for the LEDs
How are they generated, how are the related to each other? --> show the complete circuit.
One switch "NC" is wired and the other switch "NO" is wired. According this the "random"LED is "normally ON.
Maybe the switches are wrongly wired. --> check wiring.
I see
* A ground symbol
* signals named with "GND"
* signals named with "GND_1"
--> Please use one solution only to prevent confusing us and yourself.
I see 6 "pieces" of signal named as "RESET".
--> Place the parts in useful groups and connect the signals directly.
(For sure this sometimes is not possible. But in your case it is.)
I see
* A ground symbol
* signals named with "GND"
* signals named with "GND_1"
--> Please use one solution only to prevent confusing us and yourself.
I see 6 "pieces" of signal named as "RESET".
--> Place the parts in useful groups and connect the signals directly.
(For sure this sometimes is not possible. But in your case it is.)
Hai,in single side PCB,if there is an need of using jumper lead means i'm naming the wire after two leads of jumper in different name.
One side of the jumper lead is named as like the wire name in component and another based on where to connect the jumper lead.
I will practice to improve it...
If any tips available for using jumper lead means please guide.I will improve it surely.
My advice:
Nowadays, with increasing swtiching frequencies, SMPS, Bluetooth, WiFi... and - especially because you need to be EMI / EMC compliant - I don´t think a single side PCB is useful anymore.
Don´t be surprised when a single sided PCB fails.
Use at least two sided. While one side should be GND only.
It´s more difficult to layout a reliably running single side PCB than a double side PCB.
My advice:
Nowadays, with increasing swtiching frequencies, SMPS, Bluetooth, WiFi... and - especially because you need to be EMI / EMC compliant - I don´t think a single side PCB is useful anymore.
Don´t be surprised when a single sided PCB fails.
Use at least two sided. While one side should be GND only.
It´s more difficult to layout a reliably running single side PCB than a double side PCB.