Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Use PIC16f877A to turn on relay and magnetic valve.Why MCu hot?

Status
Not open for further replies.
See why it helps to draw schematics. Can't see how you could heat up a 16F877 with a 10K on VDD though. Do you have decoupling caps? Both VDD & VSS connected? Stable regulated 5V?

Maybe it is current starved and oscillating? Who knows ???

Never used a PIC, do they go into wierd conditions with funky power?

Last CPU I designed with was the mobile pentium. Damn pain in the arse part.
 
Last edited:
You have not shown how the PIC is connected to the supply, an EXACT schematic is essential if you want to solve the problem.

thanks
a
 
You did not answer my previous question about the 10k resistor. You do not need decouple caps on your ground pins, You only need decouple caps on your power pins ie. +5v
I think Blu meant caps connected from power to ground.
 
Last edited:
now i remove the 10k resistor at the Vin place.Initially i do this is to protect my MCU burned.

So have you tested it yet? What happens now?
 
You need decoupling caps with any digital logic IC. 0.1uF is common. We can't help you until you provide a complete schematic of your design. Photos may help.
 
i try it whole day,i figure out somethings.That is,my MCU circuit and relay all no probelm,works well.Even i use relay to turn on 240V without load(mean valve),its still work.But if i connrct the 240 to my valve,problems happen.MCU hot and MCU stop function.i am using 220v ac 50hz solenoid valve.is than my valve problems???
 
Better learn babboy =) Text description are almost completely useless for anything more than a couple of connections. Try just jotting down all the electrical connections as you have them hooked up using standard symbols. Do it on paper and scan or photograph the paper if you can't do it on a computer.

Electronic symbol - Wikipedia, the free encyclopedia
There's a good starting point.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top