Hi guys
I need some expert advice on a small part of my homebrew 6502.
I plan to use a 4MHz crystal oscillator and a D-type flip-flop (a 74HCT74) to give me a steady 2MHz clock signal. Due to post Xmas cash flow issues I'm waiting to get the 74HCT74 and a few other things needed for the project, so have decided have a play with the 4MHz oscillator.
Here's the very small circuit I put together:
The odd thing is that the input voltage is too low after the resistor. There oscillator needs 5V and going be the (very scant) information in the datasheet it should be limited to less than 20mA.
So I calculated things this way: 5v / 0.015 (15mA) = 333 Ohms for R1.
I believe this to be wrong as the incoming power supply rail is 5V, but the oscillator takes 5V. Going by Ohms law surely that should equal 5-5=0 / 0.015 which is ... 0.
How do you limit the oscillator so that it's VCC does not take more than 20mA (ideally 15mA)? or is this a case of the oscillator will take only 20mA by itself - i.e. this isn't a case of limitation, but just to note it doesn't take more than that?
Cheers!
P.S. Oddly my oscilloscope (a PDS5022S) does say it's detecting 4MHz, but the voltage is 6v!
BTW I'm new to all of this if you hadn't already guessed