Creating a Self-Resetting Bs1-IC.
sumdawgy
Posts: 167
My own personal pet(first) project is nearly completed.· But, I have one last issue.
I need the Bs1-ic to reset itself when it's reset is pulled low then released...
by one of it's own I/O pins.·· I am trying to·avoid using anything external except maybe a resistor.
When I·progmatically·pull·the pin low & release it.. The chip doesn't reset.
But the front panel buttons grounding·reset DO reset the chip.
Is this a current flow issue?· Not enough sink from the I/O pin?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Before you criticize someone, walk a mile in his shoes. That way if he gets angry, he'll be a mile away and barefoot. - unknown
I need the Bs1-ic to reset itself when it's reset is pulled low then released...
by one of it's own I/O pins.·· I am trying to·avoid using anything external except maybe a resistor.
When I·progmatically·pull·the pin low & release it.. The chip doesn't reset.
But the front panel buttons grounding·reset DO reset the chip.
Is this a current flow issue?· Not enough sink from the I/O pin?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Before you criticize someone, walk a mile in his shoes. That way if he gets angry, he'll be a mile away and barefoot. - unknown
Comments
(grrr.uploaded wrong image.)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Before you criticize someone, walk a mile in his shoes. That way if he gets angry, he'll be a mile away and barefoot. - unknown
Although (as you knew), I'd used a slightly more expanded circuit for testing..
it included a buzzer that sounds on prog init.
I'm attaching the more appropriate circuit & . . . .
Apologizing for rushing off that·response post.
When I run this setup...the bs1...doesn't reset unless·I press both buttons.
(EDITED·the picture....again I uploaded the old version....sigh.)
....onButton = pin6
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Before you criticize someone, walk a mile in his shoes. That way if he gets angry, he'll be a mile away and barefoot. - unknown
Post Edited (sumdawgy) : 5/19/2010 6:14:48 PM GMT
The default state of the output register is low, so once the pin is made an output it will drive the pin low. Once the reset is executed the interpreter will initialize all I/O pins to inputs releasing the reset pin automatically.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
·
Givin your picture, you would have to press both buttons in order to reset the stamp. Isn't this what you want?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Shawn Lowe
When all else fails.....procrastinate!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Before you criticize someone, walk a mile in his shoes. That way if he gets angry, he'll be a mile away and barefoot. - unknown
Well, I didn't try it that way.· Will implement it tomorrow.· Obviously if that fails... I've got some other issue.· (It occurs to me· I didn't test the pin for damage...altho..it's not had any stress.)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Before you criticize someone, walk a mile in his shoes. That way if he gets angry, he'll be a mile away and barefoot. - unknown
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
·