Need help with SparkFun Graphic LCD Serial Backpack!

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello all,

As my first serious AVR project, I'm trying to make the Sparkfun Serial Backpack for the 128x64 LCD,
I am useing Arduino FTDI bitbang metod, to opload the .Hex to the ATmega168. I was able to program the ATmeag168 (flash, eeprom & the Fuses) very well, but it's not working! I have tried so many time with no luck!
I have not really work with AVR before, but only some LED blink and something like that, and it is my first serious work, I don't know what I'm doing wrong! (The LCD and ATmega168 are both okay)

The LCD Backpack code, schematic &... is here:
http://www.sparkfun.com/commerce...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
but it's not working! I have tried so many time with no luck!
Elaborate on the "not working" bit. It could mean a million things. ie no serial comms, no power, incorrect display, no display, no text, no graphics etc.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

So you compile and burn the serial packpack hex file into the 168. I assume it compiles and burns ok, no errors, no warnings. Right so far? Then what? You have to send graphics commands to it at 115200bps, so you have to cook up a file somehow to send a cmd to clear screen, draw a box, writge 'hello world' etc. Is there an led on the board that flashes when it gets a command?

Imagecraft compiler user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
send graphics commands to it at 115200bps,
After attaching a RS232 module I suspect. The board has TTL only as far as I can see.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

@js - @bobgardner thank you for your quick reply.

I mean by 'not working' is that, there is no sign on the LCD, like SparkFun logo (splash screen) at power up, or some other sign to show that system is working. I have manage to upload the .Hex file and there is no errors, no warnings, however I guess that, the problem must lay somewhere around here!
Yes, I have tried to hook up to the PC terminal to send the relevant command. I have also tried to remove the LCD module and check all the ATmega I/O parts by debuging with some LEDs, but they are not acting as they should, some of the I/O's are always high and the rest are low!
As I said the ATmega chip and LCD module are both okay, I have checked them and they working very well.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have the 128_64 lcd pre assembeled with the backpack. I don't remember any trouble with getting it to at least display somthing straight out of the box. As has been said the serial is logic level rather than RS232.

It's good being able to re-program it though as the default firmware is teribly slow and rather unstable.

I have a version I have overhauled for the 128x64 lcd that you are welcome to have (offered it to Sparkfun but no resonce) ifor at blueyonder dot co dot uk I would be suprised if this made things just work for you though. The default did display for me.