Go Down

Topic: Noob questions about memory, LCDs, XBees, and other stuff (Read 1 time) previous topic - next topic

Fej42

May 09, 2011, 05:24 am Last Edit: May 16, 2011, 04:33 am by Fej42 Reason: 1
Hi everyone.

If it wasn't already apparent, I'm an Arduino noob. Hopefully I don't look too stupid.  :smiley-sweat:

So, my questions...first, I want to know how feasible using a color LCD is due to memory constraints. I just looked at the ladyada tutorials for character and 128x64 monochrome screens, and it said that a 128x64 screen would use a lot of memory (about half I think). That made me think...how can we use a 128x128 color screen while having enough memory left to do anything? Does it have built in memory or something? My project involves several other parts including some way to output audio (haven't figured that out yet either) and an XBee radio. In short, I'm worried about running out of memory.

If somehow it is feasible, can anyone point me to how to use them? The code examples I got off sparkfun...well I didn't know how to use them and I don't think they were meant for Arduinos anyway (judging by the comments).

Thanks in advance.

Nick Gammon

What about this one?

http://www.adafruit.com/blog/2011/02/15/new-product-2-8-16-bit-color-tft-lcd-with-touchscreen-breakout-board/

That has 240×320 pixels. The example sketch (a simple paint program) used:

Code: [Select]
Binary sketch size: 9584 bytes (of a 32256 byte maximum)


PaulS

Quote
My project involves several other parts including some way to output audio (haven't figured that out yet either) and an XBee radio.

One XBee radio, huh? Have you a clue what XBee radios are?

What will you be doing with audio? Converting digital data to analog for output as audio? This is not a trivial task. Converting analog (audio) data to digital form is even more difficult, given the speed (or lack thereof) of the Arduino's analog to digital converter.

brucethehoon

As with many projects, your real question should be budget.  There are MANY options for displays that can be VERY impressive and use next to no memory, only a serial library (I have a great display that users SPI), and there are shields for audio all over the place.

What's the budget?

Fej42

#4
May 10, 2011, 03:40 am Last Edit: May 15, 2011, 06:10 am by Fej42 Reason: 1

What about this one?

http://www.adafruit.com/blog/2011/02/15/new-product-2-8-16-bit-color-tft-lcd-with-touchscreen-breakout-board/

That has 240×320 pixels. The example sketch (a simple paint program) used:

Code: [Select]
Binary sketch size: 9584 bytes (of a 32256 byte maximum)



That is actually pretty good! Thanks! I just hope I have enough memory to fit everything else.


Quote
My project involves several other parts including some way to output audio (haven't figured that out yet either) and an XBee radio.

One XBee radio, huh? Have you a clue what XBee radios are?

What will you be doing with audio? Converting digital data to analog for output as audio? This is not a trivial task. Converting analog (audio) data to digital form is even more difficult, given the speed (or lack thereof) of the Arduino's analog to digital converter.


I worded it wrong.

My project is a laser tag system. This is one part of the project - the gun/tagger/whatever you want to call it, to be exact. It's the most complex piece parts-wise. The XBee radios will be for communication between the guns and a base station. The audio part is for sound effects, nothing major.

By the way - do the XBee radios actually go 300 feet? With or without obstructions?


As with many projects, your real question should be budget.  There are MANY options for displays that can be VERY impressive and use next to no memory, only a serial library (I have a great display that users SPI), and there are shields for audio all over the place.

What's the budget?


I'm not looking for a super-impressive display here. As I said above, this is going to be a laser tag system - the screen is there to provide a wealth of information to the player.

The budget is flexible (deleted - see my next post)

Thanks everyone!

Go Up