Pages: [1]   Go Down
Author Topic: Adjustable Frequency and Duty PWM to tune transformer  (Read 795 times)
0 Members and 1 Guest are viewing this topic.
Auckland, New Zealand
Offline Offline
Newbie
*
Karma: 0
Posts: 17
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

My project uses a Duemilanove connected to an opto isolator and a FET.

What i would like to do is connect the output to various transformers and loads then tweak in the frequency and duty cycle to give me optimum performance. Some of the transformers i will be using a ferrite with various spacer's and the cap and load on the output can change the resonant frequencey quite a bit so i would like to be able to compensate for this.

Has anyone got any suggestions as to how It would be best to do this? I had thought about using Tone but this would not allow me to adjust the duty cycle.

Regards
Andrew



Logged


Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 217
Posts: 13702
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Maybe you could use the tone lib as a starting point ....?
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Germany
Online Online
Edison Member
*
Karma: 136
Posts: 1488
If you believe something is right, you won't see what's wrong (David Straker).
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

A similar question has been discussed here:
http://arduino.cc/forum/index.php/topic,67758.0.html
I put some code into that thread.

See also the my frequency generator (exhibition). Of course the display is not needed for your application:
http://arduino.cc/forum/index.php/topic,66088.0.html

Oliver

Logged

Auckland, New Zealand
Offline Offline
Newbie
*
Karma: 0
Posts: 17
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the quick response guys.
I will give it a try and see how things go.

Actually with some form of feedback in to one of the analogue inputs this could also make a pretty cool little grid dip meter.

Regards
Andrew
Logged


Pages: [1]   Go Up
Jump to: