KS0108 LCD (t12864j) Digital pin Layout

Hi everybody, I would like to know if there is a wireing alternative for my KS0108 LCD (t12864j screen, my problem is that it uses all my analogue inputs in my arduino uno (im using A5 for a lux reading) and I want to extend it to measure temperature and humidity levels.

thanks in advance

Poli

The short answer is yes.
But it depends on which ks0108 library you are using and how many remaining pins you have free.

  • Which library are you using?
  • How many other pins are still free?

If you are using the ks0108/glcd v3 library and
as long as you still have enough free pins, you can relocate any pin by modifying the pin
configuration file: glcd/config/ks0108_Arduino.h (for your board)

You can change the pins to be anything you want/need.
Performance will degrade slightly if you move a data pin but
it shouldn't really be noticeable.

If you don't have enough free pins, then you will have to add some external hardware.
If you are short more than 1 pin, then the current ks0108/glcd library won't be able to be used.

--- bill

What about this option?

http://arduino.cc/forum/index.php/topic,37987.0.html

I to have this problem. I need to have more free analogue pins. I will try that backpack if I get the schematics...

http://arduino.cc/forum/index.php/topic,58295.0.html