If it's for a single frequency with a 50% duty cycle you could still use a pair of integrator made with Op-Amp.
If it's for a single frequency with a 50% duty cycle you could still use a pair of integrator made with Op-Amp.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I need 6 frequencies.
maybe using an analog circuit using amplifiers to make the oscillation and the pic to control + / - a few kilohertz to get lets say between 20 to 30 khz ??
The goal of this is to create an ultrasonic bird repeller, maybe the square waves (although noisy) can scare them off.
k
Originally Posted by lerameur
Make sure it won't attract the big insects if not small birds!
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Hi lerameur,
I need one of those too, to repel pidgeons, and neighbors with BIG STEREOS!
About 300 watts ought to do it! Someone on eBay is already selling PICs programmed to do this and he sells tranducers too!
Good luck with the birds, let us know how it works.
Joe
Some DDS synth may do the job.
some DACs to control some VCOs too.
Tons of different way. A single PIC.. maybe good for low frequency.
Do you have all frequency values? It could be possible with some effort...
EDIT: you said 6 frequency... All together or what?
Be carefull some birds are much intelligent than others...
<img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=1119&stc=1&d=116054050 2">
Last edited by mister_e; - 11th October 2006 at 05:22.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
well I thought this thing could be battery operated, at 300watt forget that..
here is the code I would like to use:
Also, one freqnecy the output looks good, but more then one the frequency varies from 11k to 31khz and very unstable.
@ DEVICE HS_OSC
TRISB = 0
loop: FREQOUT PORTB.1,10000,20000
' Pause 100 ' Delay for .5 seconds
FREQOUT PORTB.1,10000,26000 ' Turn on PORTB for 1- sec at 26Khz
Pause 100 ' Delay for .5 seconds
FREQOUT PORTB.1,10000,21000 ' Turn on PORTB for 1- sec at 21Khz
Pause 100 ' Delay for .5 seconds
FREQOUT PORTB.1,10000,27000
Pause 100
FREQOUT PORTB.1,10000,22000
Pause 100
FREQOUT PORTB.1,10000,28000
Pause 100
FREQOUT PORTB.1,10000,23000
Pause 100
FREQOUT PORTB.1,10000,29000
Pause 100
Goto loop ' Go back to loop
A look here ???
http://shop.elv.de/output/controller...&detail2=10617
...
no comment !!!
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks