Sine generation by an IIR filter approach on low-cost 8 bit MCU's
This project describes the generation of sine waves by a simple recursive digital filter in a way that only 8 bit shift/add/subtraction operations, two permanently occupied 8 bit registers and no data tables are required, therefore permitting the usage of low-cost micro-controllers without multiplication units and little storage capacity.
This project describes the generation of sine waves by a simple recursive digital filter in a way that only 8 bit shift/add/subtraction operations, two permanently occupied 8 bit registers and no data tables are required, therefore permitting the usage of low-cost micro-controllers without multiplication units and little storage capacity. It contains the complete theory of this approach, the finding of suitable parameters under the constraint of 8 bit operations plus substitution of multiplications by shift operations and an example implementation on an ATtiny45 MCU.
Elektor Magazine has been one of the leading sources of information on electronics for engineers, designers, start-ups and companies for 65 years. Our magazine is powered by an active community of electronics engineers – from students to professionals – who are passionate about designing and sharing innovative ideas.
For them, we publish hundreds of items a year, in formats such as articles, videos, webinars, and other learning formats. Our mission is to share knowledge in every possible way and inspire readers with the latest developments within the electrical engineering sector.
Thank you for your vote!
Leave further comments in the fields below.
Thank you for your vote!
If you wish to leave a comment with your rating, please first use the login below. If not, just close this window.
Discussion (6 comments)