Search found 2 matches

by smachin
Sun Jun 28, 2009 12:04 pm
Forum: General Discussion
Topic: Adding D/A converters, use SPI or I2C?
Replies: 5
Views: 1489

Adding D/A converters, use SPI or I2C?

Hi All, I have a new simple microcontroller design coming up, but it needs two channels of D/A. I want to use a serial interface between the CPU and the external D/As to keep it simple, as no high speed is necessary. Would I be better off using the SPI or I2C interface for this? I haven't used eithe...
by smachin
Sun Feb 01, 2009 5:42 am
Forum: General Discussion
Topic: two axis solar tracking system
Replies: 33
Views: 5519

Re: two axis solar tracking system

Bear in mind that you can determine the position of the sun if you know your exact time and location using many well known algorithms, e.g. the solar positioning algorithm : http://rredc.nrel.gov/solar/codesandalgorithms/spa/ Once you know the sun's zenith you can work out an angle to drive the pane...