First, thanks George. I looked more into that 74LVC' ICs and I think I like them! I found Mouser has a thousand 74LVC244's right now in DIP form. So, power them with 3.3V right?
GARTHWILSON wrote:
For a unidirectional line with a CMOS load, going from 5V to 3.3V is easily done with a pair of resistors; but to avoid slowing down the signal's edges due to the resistance and the load capacitance C
L which is across R2, there should be a capacitor across R1:
Forum member akohlbecker
posted a simulation of the effect of resistance and capacitance.
This matter of capacitance is something the hackaday article missed.
Going the other direction, from 3.3V to 5V, any 74_C
T__ gate, powered by 5V, will work, for example 74HCT__ or 74ACT__, since they'll take anything above 2V as a valid logic '1', and their logic '1' output will be very close to 5V.
That simulation REALLY hit home. Wow. And just like you said, a triangle wave if you oscillate fast enough! Makes me think of making a triangle wave circuit now
Overall, good info there, thank you Garth.
So I've been thinking about going in reverse with MISO for a while, and I have 1/2 of an LM393 left over from other stuff. Attached is what I *think* would work for MISO (mine is on PA6 in particular here). The 8.2K and 4.3K tied to 3V3 making a 'low' level of 1.1 V. So then comparing to 1.1V we get either high or low. Because the comparator could oscillate if left untied, I put a big 100K pull-up resistor on it, so leaving the comparator as high-Z. And then finally the 10K pull-up resistor brings it to 5V. Now, this MISO is tied to other 5V components, but... I think this should work? Thoughts? It's almost my first time trying this analog stuff out on my own. I'm open to all criticism!
Thank you again everyone!
Chad