I meant to say use BOD_OFF.
Most likely!
-----------------------
I meant to say use BOD_OFF.
Most likely!
-----------------------
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
hello ,
I'm having a similar problem.
I have made a 7seg LED clock (PIC16F628 @ 4Mhz).
The clock resets when i switch on the tube light in my room.
The clock and the tube a not linked to one another in any way.
I was using a wall adapter before to power it, but even after i replaced it with a 9 volt battery, the clock still resets when i switch the tube on.
What could be the reason for this ? ? ?
without schematic and code it's hard to say.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
This is the schematic . . .
http://www.josepino.com/pic_projects...clock_4050.gif
I have used transistors instead of the 4050 IC's .
I have used PIC16F84A and not PIC16F628.
I dont think its the code error cause if i keep the clock in another room, it doesn't reset.
Last edited by shahidali55; - 11th March 2007 at 07:53.
Not sure if it has any bearing on this but I built a sequential light display that flashed mains light bulbs (240v) and didn't suffer any issues of the PIC resetting. I used solid state relays for the mains switching which are opto isolated from the mains. The only issue is that they aren't as cheap as traditional relays.
Maybe you could use an opto isolator and thyristro / triac driver to do the same thing only a bit cheaper. Something like
(ommit the 741 - as it wouldn't be needed for your circuit)
shahidali55
Any capacitor close to your PIC and close to your 7 Segment display?
Where are the current limiting resistor for the display.
3.6-5.5V is that right?
How about your configuration fuse?
How the final 'gizmo' looks?
Sure there's something that pickup noise. Is the software take care of this poor unconnected PIN 4?
malc-c
I think you misread something or... could be me too![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Could of.. but I thought the problem was with the relay causing the PIC to reset when the lamp is switched
This was why I commented on the use of SSR's which I've used directly dirven from the PIC and don't suffer any issues of then PIC re-setting. However if I've missed the plot (quite plausable) then sorry for taking the thread OT !
Bookmarks