Go Down

Topic: Minimum pins for GLCD display (Read 1 time) previous topic - next topic

cowasaki

I have a working prototype using a 1280 but want to use a 328p instead so that I can build it on my own PCB.  I do not have enough pins though :)  I know we can use the text LCD displays in 4 bit mode.  Is there anything simple that drops the requirement for pins using a GLCD ?  It is currently using 13 pins (unless I miscounted).  If I can get down to 9 that would be a great help.  Every time I search I just get directed to 4bit LCD driving!

Thanks

CrossRoads

So why can't you put a 1280 on a PCB?
If you want more IO and want to stay DIP, consider going to the 40 pin 644P or 1284P.

Check the "1284 evaluation" thread, I have layed out duemilanove style cards in both TQFP and DIP.
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

liudr

Someone a while ago used a chip, maybe an SPI or I2C chip that talks to the GLCD. Plus, google "GLCD with shift register". Might find something you can use.

cowasaki


So why can't you put a 1280 on a PCB?
If you want more IO and want to stay DIP, consider going to the 40 pin 644P or 1284P.

Check the "1284 evaluation" thread, I have layed out duemilanove style cards in both TQFP and DIP.


I hadn't heard of either of those chips that why ! :)

Thanks....  So I can just get a 1284P which I take it is a DIL version of the 1280 then.

Is there a table somewhere that shows a comparison?

CrossRoads

www.atmel.com, there may be a comparison table, or do a data sheet comparison.

644/1284 comes in DIP & TQFP, so is not just a DIP version of 1280.

I'd look it  up, my internet is reeeallly slow at the moment.
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

CrossRoads

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

cowasaki


Here you go
http://www.atmel.com/dyn/products/devices.asp?category_id=163&family_id=607&subfamily_id=760


Thank you very much, I have just ordered 10 of them from Farnell then noticed that the 1284p does not appear in the list (probably why I have not heard of it).  If I set it up on a bread  board with a 6 pin ICSP header and connect it to the USBTinyISP will I be able to program it that way?  I have programmed a number of the 328p with this method but if the 1284p is not listed how do I sort that or is there a list.  I have found some old posts which go back to version 11ish where people were having trouble.  I will also need to find out how to upload a sketch via the ICSP as well as not sure how that would work.

CrossRoads

1284P is the 3rd entry below 1280. How'd you miss it?

Yes, set up pwr/gnd/reset and mosi/miso/sck for programming.
May need 16 MHz xtal and two 22pf caps as well;  same as how you'd set up a 328 basically.

Skyjumper has a bunch of recent posts on this as well.
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

cowasaki


1284P is the 3rd entry below 1280. How'd you miss it?

Yes, set up pwr/gnd/reset and mosi/miso/sck for programming.
May need 16 MHz xtal and two 22pf caps as well;  same as how you'd set up a 328 basically.

Skyjumper has a bunch of recent posts on this as well.


It doesn't appear under Tools::Boards::xxx ??

There is an entry Tools::Burn Bootloader:xxx ??? but how do you upload a sketch via that method?  OR Do I take a normal board and remove the chip then use 6pin to 6pin cable?

I will have a search for Skyjumper, thanks

CrossRoads

I was directing you to the datasheet comparison area. 1284 is not officially supported in the IDE.
Skyjumper can help you out for sure.
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

cowasaki


I was directing you to the datasheet comparison area. 1284 is not officially supported in the IDE.
Skyjumper can help you out for sure.


Thanks.

I have found a file containing dozens of new board definitions including the 644p and 1284p which is now installed so it is possible to select the 1284p in the IDE.

Just waiting for the chips to arrive which should be on Monday. Will update with a complete step by step once I get it going and will talk to skywalker to see what help he can give (hopefully ge has already done a step by step for it).

I'm surprised it isn't included as it is a useful version of the chip. Not everyone has the equipment to solder 1280 chips onto their own boards!

CrossRoads

Yes, the 1284 DIP seems a great part. Lots of memory, dual serial, lots of IO, nice to work with.
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

olikraus

Quote
Is there anything simple that drops the requirement for pins using a GLCD ?


There are some nice Graphic LCDs with SPI interface. These displays only need 4 pins:
http://code.google.com/p/dogm128/wiki/dogm128_arduino_hardware

Oliver

cowasaki


Quote
Is there anything simple that drops the requirement for pins using a GLCD ?


There are some nice Graphic LCDs with SPI interface. These displays only need 4 pins:
http://code.google.com/p/dogm128/wiki/dogm128_arduino_hardware

Oliver



Thanks but I need to keep the cost down per build and GLCDs with built in serial interfaces are not cheap :)

I have found the stuff for the 1284p so hopefully that should sort matters out.

cowasaki

I found this page regarding the 664p & 1284p, it looks perfect but my ICs are not due until tomorrow so can't check until then.

http://aka47.adsl24.co.uk/serendipity/index.php?/pages/Min644pWarez.html

Just added the text to boards.txt ie:

Code: [Select]
##############################################################

ADABoot1284P.name=min1284p - stk500v2 loader w/20Mhz ATmega1284p
ADABoot1284P.upload.protocol=stk500v2
ADABoot1284P.upload.maximum_size=126976
ADABoot1284P.upload.speed=115200

ADABoot1284P.bootloader.low_fuses=0xF7
ADABoot1284P.bootloader.high_fuses=0xD8
ADABoot1284P.bootloader.extended_fuses=0xFD
ADABoot1284P.bootloader.path=stk500v2
ADABoot1284P.bootloader.file=stk500boot_v2_mega1284p.hex
ADABoot1284P.bootloader.unlock_bits=0x3F
ADABoot1284P.bootloader.lock_bits=0x0F

ADABoot1284P.build.mcu=atmega1284p
ADABoot1284P.build.f_cpu=20000000L
ADABoot1284P.build.core=arduino
ADABoot1284P.verbose=true


then downloaded the 1284p hex code for the bootloader etc.......

Fingers crossed

Go Up