without schematic and code it's hard to say.
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 !
Just looked at the thread again and I think we're at cross purposes as there seems to be a thread with in a thread... I was responding to Luke's original question in post #1, and not shahidali55's in post #17
Bookmarks