How to create a sine lookup table...

Hi,

Can anyone guide me to create a sine lookup table according to the adc value.I am new to PIC.so plz help me.

I am designin a UPS control with PID.here sine wave is generated according to the adc and triangle wave is generated with fixed amplitute.

Then these two will compare by comparator.

Plz tell me how to do this task.....

Reply to
kvrajasekar
Loading thread data ...

Assuming you mean DAC (not adc), write a simple program in your favorite language to spit out source code in whatever language you are using to program your micro. Best regards, Spehro Pefhany

--
"it's the network..."                          "The Journey is the reward"
speff@interlog.com             Info for manufacturers: http://www.trexon.com
 Click to see the full signature
Reply to
Spehro Pefhany

Google sine table generator

Reply to
Jim Stewart

g

I just used Excel to do it.

JM

Reply to
John Mianowski

ing

Hi Mr.JM,

can you please help me to create sine lookup table using excel.I dont know how to create in excel.

Reply to
raja

So yo are designing a 'UPS control with PID' but ar unable to find the sine function in excel? Interesting skills set.

--
Stef    (remove caps, dashes and .invalid from e-mail address to reply by mail)

Kennedy's Market Theorem:
 Click to see the full signature
Reply to
Stef

c

rding

Start with Excel's Help menu. Look up or search for the SIN() worksheet function.

JM

Reply to
John Mianowski

ad=

acco=

Perhaps it would be opportune to mention my book: Excel by Example: A Microsoft Excel Cookbook for Electronics Engineers published by Elsevier/Newnes ISBN: 0750677562

Amongst many other functions pertinent to electrical engineering, I also describe the sine function

-Aubrey

Reply to
antedeluvian51

c

rding

I do hope this is some form of university project.

If this is a commercial product, please tell us who for so we know to=20 avoid those POTENTIALLY dangerous products.=20

--=20 Paul Carpenter | snipped-for-privacy@pcserviceselectronics.co.uk PC Services Timing Diagram Font GNU H8 - compiler & Renesas H8/H8S/H8 Tiny For those web sites you hate

Reply to
Paul Carpenter

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.