Skip to content

Category: AVR

Avr

Nokia 6100 GLCD Port for Epson based Displays

Ported the [glcd](http://www.apetech.de/article.php?artId=3&nnId=12) lib to the Epson based Nokia LCDs. I tried to leave the code portable so that you can switch between the Epson and the Philips controller via a #define switch.

Actually i only changed the lowlevel hw access and init functions to deal with the Epson controller. Currently native screen rotation is implemented but i didn’t work on the hardware scrolling stuff. May i’ll do this later.

![pic1](http://optixx.org/images/nokia/glcd1.jpg)
![pic1](http://optixx.org/images/nokia/glcd2.jpg)
![pic1](http://optixx.org/images/nokia/glcd3.jpg)
![pic1](http://optixx.org/images/nokia/glcd4.jpg)

[download source](http://optixx.org/download/glcd_v11_epson.tar.gz)

3 Comments

Nokia 6100 LCD

Got my Nokia 6100 LCD working. Long story of failures. First try was a LCD with a Epson controller from ebay for 10 Euros. But somehow someone failed to solder the smd socket proberly and it went a way 😉 ( thx max ) .

Next try was a Epson based LCD including a header board from
[sparkfun](http://www.sparkfun.com) . But this time i wasn’t able to run some demo code which was made for the LPC2138 on my LPC2148. I think the board was to fast to talk to the display. I wasn’t able set up SPI on the LPC2148 correct. Need more investigation on that topic.

So i gave up at this point and decided to go for a atmega16. I did a devel board for that which is losy based on this [schematics]( http://wiki.koeln.ccc.de/index.php?title=Atmel_Mikrocontroller_Kickstart). The boads uses simple parport icsp and has a serial line for debugging and sending data.

Finally i threw some code together using the init commands found in this [project](http://www.e-dsp.com/controlling-a-color-graphic-lcd-epson-s1d15g10-controller-with-an-atmel-avr-atmega32l). Added support for receiving images via uart and wrote an little python client for sending images.

Future plans are to port the [glcd](http://www.apetech.de/article.php?artId=3&nnId=12) lib to the epson based lcd.

![pic1](http://optixx.org/images/nokia/board.jpg)
![pic2](http://optixx.org/images/nokia/lcd.jpg)

[download source](http://optixx.org/download/nokia_epson_lcd_send.tar.gz)

8 Comments

AVR Matrix? Who needs a VU-Meter for XMMS ?

Not me? Just did some more or less useful stuff with my [STK-500 dev boad](http://www.atmel.com/dyn/products/tools_card.asp?tool_id=2735). I took 64 leds and formed a **8×8 matrix** out of them, solderd them onto 2 layers of ciruit boards. The leds are connected to 2 8Bit IO-Busses of an **Atmel AT90S8515**. I use one bus to select a row and the other bus to write on byte into a led-row. since iam changing the rows very quick, you won’t see an flicker. actually it’s 100hz refresh rate.

Then i a wrote a litte library in C using [AVR-GCC](http://gcc.gnu.org/) to access the matrix like an framebuffer. Also funny stuff like scroll text is included in that lib. On top of this a wrote some code to interface the Atmel to PC’s serial port. That incoming data from the SIO get’s displayed on the led matrix.
So that an **echo “\xFF” > /dev/ttyS0** on the linux box will light up one row of the led matrix.

Last but not least i took a [XMMS](http://www.xmms.org/) template plugin. Reworte it so the level output of the vu-meter is cutted down to 8 values. These values get sent to the PC’s serial interface.that’s it.

![AVR Matrix](http://optixx.org/images/avrmatrix/avrmatrix_s01.jpg)
![AVR Matrix](http://optixx.org/images/avrmatrix/avrmatrix_s02.jpg)

[Picture 1](http://optixx.org/images/avrmatrix/avrmatrix01.jpg)

[Picture 2](http://optixx.org/images/avrmatrix/avrmatrix02.jpg)

[Picture 3](http://optixx.org/images/avrmatrix/avrmatrix03.jpg)

[Source](http://optixx.org/download/avrmatrix.tar.gz)

[Binary](http://optixx.org/download/avrmatrix_bin.tar.gz)

1 Comment