My first Microcontroller project. Sadly, I do not have access to a crystal oscillator so I just accessed the oscillator of arduino uno.
My first Microcontroller project. Sadly, I do not have access to a crystal oscillator so I just accessed the oscillator of arduino uno. from electronics
Can you get a crystal instead if an oscillator? µC often have pins to directly connect a crystal and tho capacitors. Or look up a circuit with two NANDs.
No need to have a crystal on a project like this! Looks fine to me!
Since your Arduino isn’t visible I have to make a few assumptions that may be wrong:
You almost never want to tap off the crystal to get a clock source, it looks like you could be since you have two wires coming in from off screen. The crystal is sensitive to capacitance and loading, plus you have both chips trying to resonate it!
The ATMEGA*8 used on most Arduino boards has a buffered system clock output, so you can get a strongly driven 16MHz clock the Arduino can share with other boards.
OP, excellent work!
Just so you know, though, the ATMega328 has an on-chip oscillator you can use. There’s tutorials you can follow on how to use it.
I’m your current state, you have two chips trying to oscillate one, and while it worked, it usually….doesn’t. I couldn’t get it to work on one of the PICs.
What do you need an oscillator for?
Sciance!
Everyone loves blinkies 🙂
Reminds me of my first projects. Quite helpful learning aids, especially when you want to run blinkies asynchronously.
keep it up! just use the internal RC oscillator; you need to program fuse bits. check out the datasheet!
You could use an astable 555 timer instead of a crystal, very easy to set up and cheap to get the ICs
https://www.allaboutcircuits.com/tools/555-timer-astable-circuit/
https://www.amazon.com/Texas-Instruments-NE555P-Single-Precision/dp/B00K243MIQ/ref=mp_s_a_1_3?crid=QDFASUWUDCXW&keywords=555+timer&qid=1674496524&sprefix=555%2Caps%2C552&sr=8-3