Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Very Urgent Problem with PIC

Status
Not open for further replies.

hassan1980

Full Member level 4
Joined
Jan 14, 2005
Messages
204
Helped
9
Reputation
18
Reaction score
6
Trophy points
1,298
Activity points
1,340
Happy New Year To You All.

I have a problem :

The PIC 16F84A affects with turning on Flourisent neon at my room.

Would please let me know how to solve this problem.
 

Improve the power supply noise rejection for the PIC: 100nF decoupling caps as close to PIC pins as possible, insert a 10uF decoupling cap + 100uH choke + 10uF decoupling cap in the power supply line to the PIC...
 

Generally PICs are a lot less affected by such noise as compared to some other architechtures. But if you still get this problem, try putting some EMI filters in the circuit. In addition to what rfmw as told you, also use ferrite beads / rings on the cables entering and leaving the circuit. For example, put a ring (in common mode) on the 2 power wires and similarly on signal wires.
 

rfmw said:
Improve the power supply noise rejection for the PIC: 100nF decoupling caps as close to PIC pins as possible, insert a 10uF decoupling cap + 100uH choke + 10uF decoupling cap in the power supply line to the PIC...

Would you please uplaod schematic for the above explanation?


techie said:
Generally PICs are a lot less affected by such noise as compared to some other architechtures. But if you still get this problem, try putting some EMI filters in the circuit. In addition to what rfmw as told you, also use ferrite beads / rings on the cables entering and leaving the circuit. For example, put a ring (in common mode) on the 2 power wires and similarly on signal wires.

on the other hand, What EMI Filters?
 

see the attached pcb
 

You know, it would help if you would write some more about your project. What we really know is that you use PIC and have trouble with it...
 

rfmw said:
You know, it would help if you would write some more about your project. What we really know is that you use PIC and have trouble with it...

I made a project for Hokey Game, then this hokey game has a switch to start a game.

the problem is when I turn on the Flourisent neon the game start without pressing the start switch.

I give you example :

scan btfss porta,0
goto scan

scan1 btfsc porta,0
goto scan1

start game


that lead me to say, logically the pic mustn't goto start game if I don't press the switch then it is affect by turning on Flourisent neon.

Hope I explain the problem.

Would you please let me know what is the problem?
 

I understand your problem now. How do you connect the switch to the PIC? Do you use any debounce circuits? I hope that your wires from the switch to the PIC are short...

Attach your schematic and picture of the device if possible. It might be that EM noise produces a spike in your switch wires, therefore PIC senses it as if you've pressed a switch, while you really didn't...
 

you must put a 100nF capacitor from input pin and ground and pull up or pull down (220 ohm) resistor from input pin and power line .
I prefer make input normally pull-up with a diode 1N4148 connect series with the external switch (switch give negative when push) and i use a debounce software filter of 100mS
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top