PDA

View Full Version : How to generate sine PWM using 16f877



kvrajasekar
- 11th September 2008, 10:56
Hi,

Can anyone help me to built a sine PWM using 16f877.How to make a sine lookup table.

I am using asm code.Plz guide me.



Regards,
Raja.

Archangel
- 11th September 2008, 21:28
Hi Raja,
Why beat your head against the wall? What you want to do is basic analog stuff, better done with analog parts, like 555 timers and op amps, they're cheap, available and millions have been used to make what you are making. On top of all that you seem unable or unwilling to use anything but assembly language, and we only do our own homework.
Look at these links if you need to build a function generator, and please use google, keywords Function Generator. Good Hunting !
http://www.4qdtec.com/wfg.html
http://hackedgadgets.com/2008/09/01/nuxie-shop-function-generator/
http://www.alternatezone.com/electronics/hsfg.htm
http://www.marchandelec.com/fg.html
http://www.electronickits.com/kit/complete/meas/fg500k.htm
http://www.bls.fr/amatech/electronique/radio/Modem_300/xr2206.pdf
http://www.exar.com/Common/Content/ProductDetails.aspx?ID=XR2206
EXAR xr 2206 costs under $2 US available from Futerlec and it is a complete Function Generator on 1 chip

kvrajasekar
- 12th September 2008, 07:37
Hi,

Thanks for the response.

I am not goin to design function generator,I am interest to built a UPS control with PID.

So for that my requirement is adaptive control which means sine and triangular wave .

I am new to PIC so i need some guide to generate sine lookup table and triangular wave generation.

Melanie
- 12th September 2008, 08:40
Please enter the word SINE into the SEARCH facility on this forum.