I am currently making an ultrasonic dog repellent circuit using a 555 in astable configuration generating a frequency of 30khz. Most circuits that I saw use a piezo buffer. I was thinking that since a speaker connected to computer can generate ultrasound, why not connect the same to a 555 output. Would my speaker burn out?
Can an eight ohm speaker produce ultrasonic sound
555
Related Solutions
You'll never do it with a 555.
Start by ripping a DVD of the TV show or movie. Isolate the warp core sound. Create an MP3 of that sound (and any others that you might be interested in). Then buy one of these things, put it all together. And you're done.
The OP says this regarding his 555 circuit: -
If I halve the resistance, the frequency is less than doubled.
I take this to mean that the frequency the OP wants is proportional to the inverse of resistance. Furthermore I'm assuming that when the OP talks about a potentiometer, he wants in fact to use it as a rheostat i.e. wiper and one end of the pot aka "a variable resistor".
The use of the term "linear" in the question is possibly misleading.
So, consider using an integrator and a schmitt trigger like this: -
Basically it relies on the integrator capacitor being charged and then discharged from the output of the schmitt trigger. Because it's an integrator you will have a very linear ramp-up and ramp-down due to the current in and out of the capacitor being set by the square wave amplitude and R3.
There are plenty of designs based on this type of circuit and here's another one: -
Here's the article that describes it in more detail. For tuning it you can turn R3 into a pot like the one below: -
Or you can use a pot in series with the positive feedback resistor on the schmitt trigger. You can even put the pot in place of R2.
There are variations of this circuit that allow pulse width modulation i.e. you can make the triangle wave more saw-like.
NEW SECTION about choice of op-amp.
The biggest problem area in this design is the comparator. Ideally you want it to switch its output from positive to negative in zero time but that won't happen. For instance the 741 is a bad choise because it has a large delay in dragging its output transistors out of saturation. This will likely be tens of microseconds added to the more normal propagation delay of about a micro second.
Then the 741 is slew rate limited on its output to 0.5 volts per micro second. If you have a +/-15V supply the typical output voltage levels will be at +/-14V (loaded with a 10k resistor). To change the output all the way from +14 volts to -14 volts takes 56 micro seconds and it needs to do this twice per oscillation cycle - that's 112 micro seconds. For most of the time while it's doing this, the integrator isn't really moving its triangle wave output but I reckon you could bank on at least 60 microseconds added to the oscillation cycle.
Also when you load the output the p-p voltage level drops - the data sheet says the 741 output level will drop from +/-14V with a 10k load to +/-13V with a 2k load.
So what does 60 us mean in this design? The op says that he halved the resistance and expected 800 Hz but only got 756 Hz. The time difference between one cycle of 800 Hz and one cycle of 756 Hz is 73 us i.e. probably everything can be put down to slew rate limiting.
To improve this get a much better op-amp circa 10V/us slew rate. Then run it from +/- 5V rails. A typical op-amp of this type might produce +/-4V output i.e. a delta of 8V and, due to the improvement in slew rate the "delay" would be about 0.8 us but what does this mean? Compare this to a 1Hz error in 800 Hz - this is a time delay per cycle of 1.6 us so now, using a 10V/us slew rate op-amp, gives a 1 Hz error at 1600 Hz.
To avoid the extra propagation delay (common to a lot of op-amps) when their outputs saturate, negative feedback can be used to limit the comparator output to maybe +/-2.5V. Use of series back-to-back precision shunt zeners may be able to do this but, as always, the devil is in the data sheet's details so I'm not going to propose anything hard and fast for this feature - I'd just look for an op-amp that is quick at coming out of saturation or go for a fast comparator with push-pull output.
Related Topic
- Electronic – 555 VCO Circuit – Speaker to VCC
- Electrical – How to you wire a 555 timer to gradually decrease sound volume
- Electronic – Overtones Produced From Speaker Load on Asymmetric Square Wave
- Electronic – the best oscillator to be used in a capacitive soil moisture sensor
- Electronic – PWM dimmer for off-the-shelf 12v LED bulbs
Best Answer
This one can.
Most 8 ohm speakers described as "supertweeters" can produce some ultrasonic output - this one seems reasonably competent up to 40kHz according to its frequency response (below).
So can this one which claims "up to 38kHz" . These links do not necessarily constitute a recommendation for either product.
Any normal audio speaker other than a supertweeter ... forget it.