27 03 2014
Someone on the matrix multimedia forum (French) needed to drive some WS2812 LEDs and wanted to use a 16F876A at 20MHz to do so.
The WS2812 LEDs are RGB LEDs with an integrated controller chip. There’s a data input and data output so you can cascade multiple LEDs by connecting DO to DI of the next LED. Each LED reads 3 bytes, being the value of the color green, red and blue.
Once you’ve sent a color to the LED, it will stay that color until you send another code.
Driving the LEDs would require timings in the 50ns/100ns range, but you can stretch it just a bit.
This is one of those things where timing is pretty much crucial and an AVR would be a better microcontroller for this as it executes one instruction per clock cycle where the PIC needs 4 clock cycles per instruction.
17 08 2013
In 2009 I made a DCF77 radio clock for my final years project. I used Flowcode to program the radio clock back then.
Today, I’ve rewritten the code in C and I used the free version of the XC8 compiler to compile it.
I’m using the Winstar yellow 16×2 OLED display and my library to display the time and date.
1 08 2013
I have here a sample code that uses the Winstar OLED display library, aka WS0010 driver.
It’s so easy to use, I’m just going to copy paste the code here.
1 08 2013
Here’s a little library for a WS0010 controller used in a Winstar WEH001602AL 16×2 character OLED display.
It’s been built for a PIC microcontroller and is still a work in progress as only the 8-bit parallel mode works.
17 07 2013
The idea of writing a Fast Fourier Transformation came to me when we had to chose a project for my embedded system class.
At that time, we were given the Stellaris LM3S6965 Ethernet Evaluation Kit to work with.
I’d just learned about the Fourier transformations and I really wanted to try and code a Fast Fourier Transformation. So why not try this on the Stellaris board ?
This board has a 128×64 OLED display which is excellent for me to display the amplitudes of the Fourier transformation.