Arduino Forum

Community => Gigs and Collaborations => Topic started by: Xenon69 on Feb 18, 2011, 11:41 pm

Title: Need HELP!!! 3 phase sine wave generator with 60 degree offset!
Post by: Xenon69 on Feb 18, 2011, 11:41 pm
hi!
At first sorry for my bad language! Please help me someone because i am a begginer in AVR library. In Arduino i have a good knowledges! I need to generate a 3 phase sinewave with 60 degree offset! I find how to generate a sinewave http://interface.khm.de/index.php/lab/experiments/arduino-dds-sinewave-generator/ (http://interface.khm.de/index.php/lab/experiments/arduino-dds-sinewave-generator/) but in this programm is used a "avr/pgmspace.h" library and i in it didn't un derstand, where is what! :( I didn't understand even vhere is in program initializet from witch pin is output signal! I just read it in specification, but in program i can't find! Can someone help me PLEASE?
Title: Re: Need HELP!!! 3 phase sine wave generator with 60 degree offset!
Post by: Grumpy_Mike on Feb 28, 2011, 11:52 pm
Look here:-
http://www.arduino.cc/en/Reference/PROGMEM (http://www.arduino.cc/en/Reference/PROGMEM)
to find where to down load it from and what it does. You need to put it in your libraries folder when you get it.
Title: Re: Need HELP!!! 3 phase sine wave generator with 60 degree offset!
Post by: sriliam on Sep 06, 2011, 06:23 pm
Hi,
Did you carry out your job successfully ?
Is it possible to have a 120° offset instead of 60° with your Arduino based on what you already done ?
See ya.
Title: Re: Need HELP!!! 3 phase sine wave generator with 60 degree offset!
Post by: Grumpy_Mike on Sep 06, 2011, 07:57 pm
Quote
Is it possible to have a 120° offset instead of 60° with your Arduino

Yes it is a simple matter of adjusting the second readout pointer to point at one third through the lookup table instead of one sixth.