ATtiny85 Tiny Function Generator

ATtiny85 Tiny Function Generator

3995
Views
0 Comments

David Johnson-Davies build a tiny function generator based on ATtiny85 microcontroller. He writes:

This article describes a simple function generator based on an ATtiny85. It can generate triangle, sawtooth, square, and rectangular waves, a pulse train, and noise. The frequency can be adjusted using a rotary encoder between 1Hz and 5kHz in steps of 1Hz, and the selected waveform and frequency is displayed on an OLED display.

This project really puts the ATtiny85 through its paces; it’s generating 8-bit samples at a 16kHz sampling rate, decoding the rotary encoder, switching between waveforms, and updating the OLED display via I2C.

ATtiny85 Function Generator – [Link] [update 08-02-2019] “David” designed a PCB for this project and provided some additional build details about it.

Mike is the founder and editor of Electronics-Lab.com, an electronics engineering community/news and project sharing platform. He studied Electronics and Physics and enjoys everything that has moving electrons and fun. His interests lying on solar cells, microcontrollers and switchmode power supplies. Feel free to reach him for feedback, random tips or just to say hello :-)

view all posts by admin

Leave a Reply

Archives