This time around we are going to cover how to use the SSD1306 OLED as a buffered display. The OLED has a resolution of 128x64. If we take a bit to store the state of each pixel (1=bright, 0=dark), we’d end up having to stash 8192 bits in the atmega328’s SRAM. A whopping 1KB of ram used up to buffer the display!
Interfacing the Arduino with an SSD1306 driven OLED Display - part 1
Who doesn’t want a spiffy display for their Arduino!? An tiny OLED screen will let you do just that. I decided to get myself a display module for a intriguing project that I have in mind - emulating the CHIP-8 system on an Arduino Uno (atmega328). I decided to start by building the display interface.
It’s been a year! A year since I was supposed to document my code. Please, hold the applause while I accept the award for Laziest SlacKing for 2014. Sigh … alright, let’s get on with this. I hope I can understand what I had written…
You read that right. DFT, not FFT. Discrete Fourier Transform, DFT.
Why would I do such a thing you ask? Why not just simply use the faster and simpler FFT (Fast Fourier Transform)? It even has Fast as part of its name!
Well, I was still on chapter 11 of this amazing book The Scientist and Engineer's Guide to Digital Signal Processing by, Steven W. Smith as this experiment. FFT was the next chapter. There's an on-line abridged version too: http://www.dspguide.com/
Why? Letsee... About a month back (2013Dec), Ashok asked me on facebook whether I knew anything about embedded systems and microelectronics. I replied that I did, but I had never actually used one. I told him that there some cool stuff around - Arduino and such, that make prototyping super easy. I then remembered an old memory. I always wanted to learn DSP properly and new exactly what I wanted to do with that knowledge. Back in college I had absolutely wasted away my DSP course by slacking off. Regretful :(