Tuesday 20 November 2018

oscillator - What is the simplest way to make an oscillating signal?


Imagine you have a black box with 5VDC and ground inputs and you have to create one output that is an oscillating signal. What is the simplest circuit that can do so? Can you create a tank circuit with an inductor and capacitor?


The output signal will be detected by a PIC. The frequency is not important but should be rather low (between 10 and 500Hz). The PIC will not measure the frequency but only detect if the oscillating signal is present or not present based on whether this "box" is connected or not. That means the signal can be sin, square, saw-tooth, whatever, the shape doesn't matter.


Bonus points for the cheapest, lowest component count and lowest real estate solution!



Answer



Lowest component count I can think of:


enter image description here


The 74HC1G14 is the single gate version of the 74HC14 in SOT-23 package.



OK, I lied. You can do it with less. Take a microcontroller with an internal oscillator and write this incredibly complicated program to output a square wave. Number of components: 1. Board space: 6 mm\$^2\$.


If you drop the frequency restriction you can use a LED: f ~ 374740572500000 Hz. ;-)


Also out-of-spec is the Schmitt-trigger inverter with the output connected to the input. That's also a 1-component solution. Should oscillate at a few MHz.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...