Member #75914

Member Since: July 10, 2009

Country: United States

  • I have the backpack working once again on the Arduino Uno using IDE 1.0.1 and the sketch Write_LCD from the Arduino Examples. Since the very same serial pack LCD works fine on the picaxe the problem must be with the serial output of the Arduino so I disconnected the serial wire, programmed the arduino for a blink led program just to clear the lcd program from its memory then I remove the serial wire to the lcd, uploaded Write_LCD and while the program is running then re-attached the serial wire to the Arduino, pin TX of course.

    What I'm thinking is that the Arduino sends data to the TX pin that screws up the serial backpack, perhaps its the . Anyway here is the original program with my changes, messy so the changes are obvious. /* Analog input

    reads an analog input on analog in 0, prints the value out.

    created 24 March 2006 by Tom Igoe

    This actually works with the sparkfun LCD using Serial.write Question, how do I send binary?

    ADDED delay at the program start. The display was correct then something flaky happened in the LCD causing garbage to display


    int analogValue = 0; // variable to hold the analog value

    void setup() { // open the serial port at 9600 bps: Serial.begin(9600); // Serial.flush(); }

    void loop() {

    delay(2000); // read the analog input on pin 0; //analogValue = analogRead(0); //Serial.print(254); Serial.write(254); //control code delay(50); //Serial.print(01, BIN); //Serial.write(01); //control code to clear the lcd screen fe+01 analogValue = 75; // the letter K // print it out in many formats: Serial.write(analogValue); //Serial.print(analogValue); // print as an ASCII-encoded decimal //Serial.println(analogValue, DEC); // print as an ASCII-encoded decimal //Serial.println(analogValue, HEX); // print as an ASCII-encoded hexadecimal //Serial.println(analogValue, OCT); // print as an ASCII-encoded octal //Serial.println(analogValue, BIN); // print as an ASCII-encoded binary

    // delay 10 milliseconds before the next reading: delay(1000); Serial.write(254); // FE control code to clear the LCD, works Serial.write(01); // control code to clear the lcd screen fe+01 AOK Serial.write("now is the time"); delay(500); }

  • I'm using this back pack at 9600 successfully with the picaxe 20x2 but when its used with the Arduino UNO and IDE 1.0.1 I get jibberish except for one time so I added a 5 second delay as the first line of the Write_LCD program and changed all serial.print to serial.write commands but do not know what to do with BYTE data type as it is no longer valid in Arduino 1.0.1 . Unfortunately, the display is back to jibberish but still works fine with the picaxe 20x2. That doesn't make sense.

    Any help with Arduino serial to this LCD would be appreciated.

  • I've been using the glcd 09351 with a couple of picaxe 20x2 projects. I wonder why the default baud rate is 115,200 when most of the u-chips operate 4800 to 9600 default. Of course I can guess the display is exciting at 115,200 but in most cases this is not realistic.

    Just a note to new users, the glcd is 115,200 baud and is compatible to PC serial output. Using the information in the product documents, a PC terminal program can be used to set the default to your requirements. Put a 5 second delay in your program INIT routine to allow the glcd to boot past the banner page otherwise the baud rate auto resets back to 115,200 ... Yeah pretty strange. Otherwise I find the glcd to be reliable, drawing lines and circles is no problem, even making a simple 'scope is possible and kinda fun.

  • Works fine with the PICAXE and I2C. The Micromega PICAXE library makes for a very good 'fast start' , getting the chip up and running. Some of the symbols used in the examples duplicate real PICAXE commands to I just renamed the command adding 32 to the name, for example cos32. I'm using a 128X64 graphic LCD for display which worked fine as some of the program examples are outputting up to 6 lines of info. Its going to take a while to master this chip.
    There is a 64 bit version in the works, should be even more interesting.

  • Along with everything else, I really enjoy receiving those very nice red boxes holding my order. Each box is re-used as a parts bin for my micro parts. Very nice ! Now if I could get a choice for size when ordering so they are all uniform.
    thanks ... good job .... Bill

  • Is there anything I can do to determine if the firmware is new or if it is the old firmware I read complaints about.
    I can draw boxes and send text Ok, is it possible to rotate the characters 90 degrees and make double size characters?
    The baud rate reset to 115200 is not a problem if the program begins with a long delay (5 seconds here) before sending a serial stream. Once the display resets to 115200 its necessary to use a PC terminal emulator at 115200 to send the control string for lower baud rates. So far this has not been a problem.
    picaxe 20X2 user at 9600 baud.

  • fixed polarity problem

  • which display does this chip work with and how do I learn how to use it. PICAXE user here.

  • Wow, despite the C.1 firmware level, I've made some very cool projects with this chip including a 2 axis solar tracker & Satellite chaser and another project integrating temperature, compass heading and Real Time click displaying to a serial LCD.
    Has anyone interfaced a PC keyboard to this chip ?
    Too bad I cannot find a simple strip line proto board for my cool projects.

  • Wow, be aware, while this is a fine chip for learning purposes (i2C)at stable room temperature it looses about 60 seconds per week.
    BTW, this I2C buss chip works fine at 5VDC with the HMC Compass chip on the same I2C buss. I2C pull down resistors either 4.7k or 10K are part of the MHC compass chip.

No public wish lists :(