Feb 16, 2015

Restoring an old laptop LCD

Since my hp laptop die by a George Foreman Grill temperature processor, I decided to recycle him or some parts but I didn't  have idea of how to do this until a time ago. I bought a LCD controller and I removed the LCD from the laptop, now I get a extended monitor that costs me 23$(ebay price of controller), see below some photos of this:






Feb 12, 2015

Upgrade Debian 7.8 to 8.0

After I started to use Debian 7.8 with gnome 3.4 (that's who comes with the image) I realized that some extensions that I want to use aren't supported in this version of gnome . If you see in the Debian website, the stable version launched in 10 of January of 2015 is perfect, but still use the gnome 3.4 and I preferred to upgrade my version to test once, a unstable testing version. The unstable version, "Jessie" in Debian 8 it's great and comes with gnome 3.14!!!! The steps that I follow are simple and remember to do by your own risk, try to test before in a virtual machine.
1- First update the source list replacing all words of "wheezy" by "jessie"  in the "/etc/apt/sources.list".
2- After update and install all packages:
su
apt-get update
apt-get upgrade
apt-get dist-upgrade
And go to prepare a cup of coffee, mainly if your internet is slow......It takes sometime to finish, but in the end you will be happy to see a image like this:

Feb 11, 2015

Wallpaper of the blog

This is a wallpaper of the blog, like everyone who is inspired by GNU/Linux philosopy...it's in 1600x900 because of my monitor, and if you want in higher resolution, just ask!

Feb 7, 2015

8x8 RGB Matrix Booster Pack in Tiva Launchpad

Like i promise, almost in the end of the week, here is another post. In four months ago i bought this booster pack from tindie and i forgot to read that the board didn't come with components, dammit!. I need to buy all the components from ebay.com because there's no store to buy SMD components here where i live, i start to buy and after two long months, all components arrived from our Chinese friends. I also forgot to read that besides the components, there isn't library for use this on Tiva launchpad, but reading the code, is very simple to port to other uControllers. I re-write the code from RobG that is for msp430, and i added in the github to use in the Tiva Launchpad. The API is very simple and the board use a TLC5947, that's PWM LED driver where you send the data through serial (SPI) of each LED(R.G.B) and a 74HC138, a demux to select the line to ground. I try to use the SPI module from Tiva but it didn't work as i expected (i didn't discovered the pattern of this TLC and i was tired to search about it) then i just convert to hardware SPI, like Robg. 
The code works sending each color of each RGB LED, in other words, to write one line you use 24 chars of memory because of this, remember to declare const the data that will be write in the matrix, if not you can overload the heap of the uC. To write in all the matrix, you need to call this function:
 bool SendSSITLC(unsigned char *matrix_t, uint16_t offset,uint16_t limit);
eight times passing a char vector of colors an offset in this vector if you need sure, and the limit of this vector. In the main.c example you will see the Launchpad write in the matrix, but you can change easily, changing the pattern.h file. See above some photos of the matrix and the code running: