Good for you trying something that is outside your comfort zone!
Start by realising that you have an analogue circuit with inputs/outputs which have restricted valid values.
Key questions:
- what is the ringing frequency? (I'll bet ~100MHz)
- are you using decoupling capacitors?
- what is the construction technique you are using? If solderless breadboards then good luck to you, since they will cause you more problems than the circuit itself
- what is your probing technique? (I'll bet there is a 6in ground lead in there)
Thanks! This is something I have always wanted to do, but never found the time for. What I'd really like to do is build a full computer from "discrete logic" but this seemed like a better first project: more likely to succeed while also exposing me to a wide range of issues and techniques.
The analog nature of the circuit was evident from the first time I powered it on. I've been very conservative in applying my bench power supply to the circuit, so I started with the current limit turned all the way down and slowly brought it up until the supply went from current limited to voltage limited at +5.0V. Watching the output of the oscillator (routed through a couple inverters on a 74LS04, in a vain attempt to produce a delayed two-phase clock) on the scope made it very clear that I was not really dealing with a simple digital circuit.
I have not tried to measure the frequency of the ringing, but I will have a look at that (though using the grounding spring instead of the ground clip on my scope probe revealed that a bunch of the ringing appears to be in how I'm probing the circuit. Using the ground spring produces remarkably clean square waves, which sadly I can not attach a picture of because I have no free hands when I'm not using the sprung hook and ground clip on the probe). From memory, though, I think that there are about 10 or 12 oscillations of the ringing per half square wave, which would make it something like 30-40 MHz, but my memory might easily be low by a factor of 2 or 3.
I am not using any decoupling caps, but I was just thinking that I should because I found ringing noise on the power line that is clearly coming from the oscillator.
I'm doing this on a solderless breadboard
but I guess I should consider moving to something else.
My probing technique did indeed include a 6 inch ground lead. As I said, switching to the ground spring improved my results remarkably, but leaves me with no hands free to do other things.