Pages: [1]   Go Down
Author Topic: Display Bitmap  (Read 888 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 13
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm trying to display a bitmap on a serial LCD (http://www.sparkfun.com/commerce/product_info.php?products_id=8358) and am having some problems. I'm an arduino newbie, so any help or advice would be appreciated. hopefully I'm doing something really dumb and easy to correct!

when I upload my code to the board, it corrupts the bootloader and I have to burn the bootloader again and start over (see problems here - http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1204684257). burning a new bootloader gets me up and running again.

here is the output when I try and upload the program to the board:
http://divinepenguin.com/processing/arduino/uploadBitmapProgram.txt

here is the function I'm using to try and display the bitmap:
http://divinepenguin.com/processing/arduino/printBitmap.txt

and here is the documentation for the LCD:
http://www.sparkfun.com/datasheets/LCD/DX160.pdf

per the documentation, I'm sending [200][6][200] followed by 1024 bytes of bitmap data.

??
Logged

Forum Administrator
Offline Offline
Newbie
*****
Karma: 3
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

power the LCD from a separate power supply
i

if you power the backlighting LEDs from arduino the voltage drops too much and the processor goes crazy

massimo
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 13
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks for the reply.

would the voltage drop only affect the processor when running certain programs? I'm able to display text (multiple lines) and graphics (rectangles, etc) but the arduino only goes nuts when I try and send the bitmap. it also has the same problem when I try and upload the file without the LCD attached.


Logged

Pages: [1]   Go Up
Jump to: