Show Posts
Pages: [1]
1  International / Scandinavia / Re: LCD - näytöt on: September 12, 2011, 11:36:46 am
Hei! tällaista kysymystä tuli mieleen:
tarviiko tätä jos haluaa arduinolla ohjata lcd-näyttöä?:[/quote}

Ei välttämättä, mutta pinnejä menee paljon vähemmän jos käytät tuollaista serial boardia.

ja sisältääkö nämä lcd-näytöt sen HD44780 -piirin?

Tuossa ei ole HD44780 vaan KS0108B piiri. Graafiset näytöt on suht monimutkaisia käyttää verrattuna tavallisiin HD44780 merkkinäyttöihin mutta on niihin kirjastoja kirjoitettu kuitenkin.
2  Using Arduino / Displays / 4D systems 3.2" TFT display SGC ( serial controlled ) on: September 12, 2011, 07:24:49 am
Hello everybody!

I bought this display and thought that it would be easier to control than other displays on the market. Oh boy was i wrong...
I am a novice with arduino but damn this thing makes me wanna cry smiley-grin

My problem is that i can't really do anything with the display since it doesn't respond to my programming..

Get touch screen status for example:

int incomingByte;
int lcdResetpin = 2;
int ledPin = 13;

void setup() {
  pinMode(ledPin, OUTPUT);
  pinMode(lcdResetpin, OUTPUT);
  digitalWrite(lcdResetpin, LOW); //reset lcd screen.
  digitalWrite(lcdResetpin, HIGH);
  Serial1.begin(9600); // initialize serial 1 communication:
  Serial.begin(9600);  // initialize serial communication:
  Serial1.print(0x55, BYTE); //Autobaud command
  Serial1.print(0x59, BYTE); //Enable touch screen command
  Serial1.print(0x05, BYTE);
  Serial1.print(0x00, BYTE);
  Serial1.print(0x56, BYTE); //version request command
  Serial1.print(0x01, BYTE);
void loop() {
Serial1.print(0x6F, BYTE); //Get touch screen status
Serial1.print(0x04, BYTE);

if (Serial1.available() > 0) {
  incomingByte =;
 if (incomingByte == '2') {
    digitalWrite(ledPin, HIGH);}
  else{ digitalWrite(ledPin, LOW);

That just starts to throw weird characters to the serial monitor and the screen does not give any feedback = byte 2.

I know there are some libraries for different 4D Systems displays but i would like to learn to do something without using libraries that aren't really for this particular display.

- Timo
3  Forum 2005-2010 (read only) / Interfacing / Re: LCD hookup and programming on: April 12, 2009, 10:30:23 am
You can read data from the lcd or something. If not needed, just ground the pin and it works.
4  Forum 2005-2010 (read only) / Interfacing / Re: LCD hookup and programming on: April 11, 2009, 04:11:16 pm
What exact model are you using? Are you using the lcd4bit or the liquidcrystal library? Tie pin 5 to ground. See if that helps.
5  Forum 2005-2010 (read only) / Interfacing / Re: difficulties printing characters to lcd on: April 11, 2009, 06:00:14 am
I did some some research and this is what i think i need to get going:

Arduino receives what the other arduino sends, and stores the data in a string of some sort. When a correct character is received ( enter key etc ), it prints what is received to the screen.

I did a test with this:

if (val == 97) {    
if (val == 98) {    

It sorta works, but that really doesn't make this useful. This really isn't the "right" way of doing this anyway i guess smiley
6  Forum 2005-2010 (read only) / Interfacing / difficulties printing characters to lcd on: April 10, 2009, 02:36:40 pm
( N00b alert.. )

Hi everybody, i have a problem which is probably a piece of cake to solve, but i can't get my head around this..

1. I have 2 arduinos connected to each other using xbee modules ( no problem here )

2. I am sending characters H and L from arduino A to arduino B using code on

3. I am receiving the data with the physical pixel sketch and led on pin 13 lights as set in the sketch.

4. When i try to print the received data to an HD44780 lcd, i get numbers like 79 and 76 ( not the real numbers here ). What is happening here??

I've tried to seek information about dealing with this but with no luck smiley-sad

One more thing. How do i send ( human readable ) messages from arduino to another? Let's say i want to make some sort of a messaging thing.

I really appreciate if someone explains this to me or points to some good info!!

- Timo
7  Forum 2005-2010 (read only) / Interfacing / Re: Stepper motor very weak - using motorshield. on: April 11, 2009, 01:01:44 am
I suggest you read this

8  Forum 2005-2010 (read only) / Interfacing / Re: Directly Using Relays on: April 11, 2009, 12:51:06 am
You can switch "push the button" with a transistor smiley <- class 3 page 11 about transistors as switches. Great stuff!
Pages: [1]