Ever wonder how a crystal oscillator works? How does that little metal can with a sliver of quartz start vibrating to produce a clock signal for just about everything we use, while doing it in the accuracy range in the parts per million and cost practically nothing?
Well [Craig] decided its about time for an in depth tutorial that covers everything you need to know to understand, design, and construct your very own. Wrapped up in a 41 minute video, [Craig] covers the absolute basic theories and designs, math, datasheet explanation of crystals, and even a practical example of a Pierce crystal oscillator, suitable for use in a HF transceiver. Now you can make your own for your own application no matter if you’re just trying to save a pin on your favorite micro, or making a radio transceiver.
With this wealth of knowledge, whether you are learning for the first time, or just need a refresher, you should join us after the break, kick back and check out this highly informative video.
Continue reading “Everything You Wanted To Know About Oscillators”
Many of us still tune in to terrestrial radio for one reason or another, be it baseball games, talk radio, or classic rock. But do you know how the sound is transmitted to your receiver? This week, our spotlight shines upon a short film produced by KYW Radio that serves as a cheerful introduction to the mysteries of amplitude modulation (AM) radio transmission as they were in 1940.
Sound vibrations enter a microphone and are converted to electrical current, or an audio waveform. The wave is amplified and sent several miles away to the transmitting station. During this trip, the signal loses power and so is amplified at the transmitting station in several stages. This audio wave can’t be transmitted by itself, though; it needs to catch a ride on a high-frequency carrier wave. This wave is generated on-site with a huge crystal oscillator, then subjected to its own series of amplifications prior to broadcast.
The final step is the amplitude modulation itself. Here, the changing amplitude of the original audio wave is used to modulate that of the high-frequency carrier wave. Now the signal is ready to be sent to the tower. Any receiver tuned in to the carrier frequency and in range of the signal will capture the carrier wave. Within the reciever, these currents are converted back to the vibrations that our ears know and love.
Continue reading “Retrotechtacular: The Spirit Of Radio”
When it came time to try out some old-school computing [Quinn Dunki] grabbed a 6502 processor and got to work. For those that are unfamiliar, this is the first chip that was both powerful, affordable, and available to the hobby computing market back in the 1970’s. They were used in Apple computers, Commodore 64, and a slew of other hardware.
The first order of business in making something with the chip is to establish a clock signal. She sourced a crystal oscillator which runs at 1 MHz, but also wanted the option to single step through code. Her solution was to build two clock signals in one. A toggle switch allows her to choose the crystal, or a 555 timer circuit which uses a push button to fire each clock pulse.
Check out the video after the break to see some single stepping action. There’s no memory on board just yet. But the input pins have been hard-wired to voltage or ground to simulate data input. We wondered what she was up to with that HEX Out project which stiffs the logic on the data bus. Looks like it’s extremely useful in this project!
Continue reading “Building A Computer Around A 6502 Processor”
[Paul] has been working on porting over Arduino libraries for use with the Teensy microcontroller platform. This tends to be pretty simple since they both use the same Atmel chip architecture. But once in a while he finds the Arduino libraries are not what they’re cracked up to be. When looking to port over a frequency measurement library he ended up writing his own that works better and is much more portable.
He had two big beefs with the Arduino Frequency Counter Library. The first is that it required the compensation factor the be calibrated using an accurate frequency counter. That’s a chick-and-egg problem since many people who build a frequency counter with an Arduino are doing so because they don’t already have a standalone tool. The second problem is that the Arduino library was hardcoded for ATmega168 or ATmega328 chips.
This new library fixes both issues with just one trade-off. Your hardware setup must be using a crystal oscillator. You can see above in the image above that the frequency measurement is quite accurate with this method. The package also uses a thin abstraction layer which will make it easy to port to any 8-bit microcontroller which is programmed in C.