How high?warrensk wrote:Hello, I am wondering what would be the best route for creating a high frequency signal to switch mosfets/transistors....I want to use the high frequency signal to pulse a coil at various frequencies, possibly making a resonant frequency graphing program. However this would be heavily reliant on the maximum frequency that can be achieved by the pwm or any of its other ports.
Thanks for any help
Not sure why you think the Arduino can only go to 500Hz - it can generate outputs much faster than that...warrensk wrote:Thanks gordon,
I want to go up to 15Mhz tops. Im after harmonics and the higher the frequency the better. If it can go up to 19.2 Mhz that will be plenty....I just know the arduino can only go to 500 hz or so...This was my decision of which one I should get depending on top frequency... Raspberry PI wins
The bottom frequency is 19.2 / 4095 = ~4688.warrensk wrote:@ gordon you are the man!
I tried searching for the same answer with the arduino and heard it may use most of its CPU while it does this, Also only a couple outputs are capable of faster frequencies... Im not sure how high it can go but its sounding like the R-Pi will be my best bet. Keep me updated if you have any more input. Ive got a little vortex coil Id love to pulse with this running my circuit and show some beautiful purple radiant energy. With the high frequencies and programming capable with up to 7-8 different outputs....talk about wave mixing!
Also, you said from 4600hz to 19.2mhz.....is the bottom frequency 4600 or can it go lower into the 10-100 hz range? I am looking for a full spectrum from 10 hz all the way up to 13-15Mhz. Ive got a spectrum analyzer that will be able to show how well it does in these high frequencies while it pulses a coil...finding the spacial resonant frequency will be a walk in the park with something of this capability.
One program could do it, but it would need to use 2 technologys.warrensk wrote:@ gordon,
So to clarify, A written code could provide a program that could go all the way from 1hz-15mhz? or will it get pretty messy with separate programs?
Code: Select all
gpio mode 1 pwm gpio pwm-ms gpio pwmc 32 gpio pwmr 600000 gpio pwm 1 300000
Users browsing this forum: No registered users and 11 guests