I'll explain best I can. I have a bandsaw mill I built and I'm working on a project where I can select a measurement by 1/8th of an inch and full inches up or down. I select a measurement and push an up or down button which runs a 12v motor to my selected measurement and stops. Hope that makes sense.
So my measurements are set by push buttons. Which are sent to a picaxe chip. With each push of a button the picaxe does some calculations, and sends pulses to the 74194 counter, 7447 decoder then the 7 seg displays, displaying my desired length I wish to move. No problems yet, this works fine. I then push a button for up or down, which goes to the picaxe then out to a small relay, one relay for up, one for down. Still no problems yet. Works good on my proto board. Where I do have a problem is when I hook it up to the 12volt reversing relay of the drive motor. It all works good. Except for when the larger reversing relay activates my displays reset to 0. Some reason they reset on activation going up, and reset on deactivation going down. I do have flybacks the relays on the circuit board, and I have triedflybacks on the reversing relay. I bought a cheap oscilloscope to find spikes on the 74192 reset pin and I was unsuccessful. Not sure if I was using the unit right but I could find the pulses on the count pin of the 74192. I'm Iot sure what more to do.
So my measurements are set by push buttons. Which are sent to a picaxe chip. With each push of a button the picaxe does some calculations, and sends pulses to the 74194 counter, 7447 decoder then the 7 seg displays, displaying my desired length I wish to move. No problems yet, this works fine. I then push a button for up or down, which goes to the picaxe then out to a small relay, one relay for up, one for down. Still no problems yet. Works good on my proto board. Where I do have a problem is when I hook it up to the 12volt reversing relay of the drive motor. It all works good. Except for when the larger reversing relay activates my displays reset to 0. Some reason they reset on activation going up, and reset on deactivation going down. I do have flybacks the relays on the circuit board, and I have triedflybacks on the reversing relay. I bought a cheap oscilloscope to find spikes on the 74192 reset pin and I was unsuccessful. Not sure if I was using the unit right but I could find the pulses on the count pin of the 74192. I'm Iot sure what more to do.