i want to generate 3 PWM 120 degrees out of phase with arduino uno because i want to control six pulse igbt to control 3 phase motor ( 220v/380v // f=50hz // rpm = 1430 ) and display the frequency in LCD
i found a code (Unknown Language) #it's attached to this topic# but i have some problems with output frequency
can you help me to fix the code for my arduino uno and thx.
The language is C so it is compatible with Arduino (Uno or otherwise). However, the code has line numbers that should not be there.
The code depends upon refclk (line 25) which you have to measure.
The frequency is currently set to 1000 Hz at line 50, but the frequency probably depends upon refclk as well.
The code is NOT set up for 0, 120 degrees and 240 degrees.
Step 1: Learn to read and program in C, or take this to the "Gigs and Collaborations" forum.
It seems that you're saying that you don't know C or C++, and you don't intend to learn either, but you still want to program an Arduino to do something as complicated as operating a three-phase variable frequency drive in real time.
Please read the first post in any forum entitled how to use this forum. http://forum.arduino.cc/index.php/topic,148850.0.html
then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.
What is your area of study, and is this a college/university project?
What is your electronics, programming, arduino, hardware experience?