Pages: [1]   Go Down
Author Topic: New Project  (Read 980 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi everyone, i am kinda new to the Arduino world, i am wanting to start a project but have already hit a brick wall.
It is a controller which i am wanting to produce with a lcd touch screen that will control temp, humidity and light.
i am wanting to use a Arduino Mega 2560, ITB02 Arduino mega shield and a 3.2 inch tft lcd module touch panel with sd card.
Once all these items are put together, all the pins are being used (i think) what is there i can get or make so i can use pins 20sda,21scl and some digital pins or pwm pins to connect some ssr's?

All help would be much appreciated

Thanks for reading
Logged

nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 121
Posts: 8439
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Once all these items are put together, all the pins are being used (i think)
You've used 54 IO pins smiley-eek

Surely that lot doesn't use that many.

For example you can to the LCD and touch with 2 pins if you get the right screen.
_____
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have searched high and low for a similar screen that uses less pins and have found nothing.
Did you take a look at those items I have chosen? Can someone confirm weither they do use up all pins on the arduino mega.

Thanks
Logged

nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 121
Posts: 8439
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

From what I can see that shield uses A4 and 5 which as you know are the I2C pins.

I'd say you are shafted then.

Do you need the SPI function for the SD card? If not you may be able to modify their code to use two of those pins.

Another option may be to use an Arduino Mega, it's I2C pins are on different a header.

EDIT: But you said you wanted to use a Mega, so I don't think you have a problem, the I2C pins are free as are about 30 other IO pins.

______
Rob
« Last Edit: October 14, 2011, 08:51:04 am by Graynomad » Logged

Rob Gray aka the GRAYnomad www.robgray.com

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am no slightly confused, the board in the middle uses the pins from the side while forwarding the end IDE pins to the screen right? So how would there be pins left? Could you make a small little diagram as I would understand better that way.

Thanks in advance for your time smiley
Logged

nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 121
Posts: 8439
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
the board in the middle uses the pins from the side while forwarding the end IDE pins to the screen right?
At first I thought that too, that the LCD board used the end header on the Mega, but it doesn't.

The LCD board has a 40-pin connector that just happens to look like the large connector on the end of the Mega, however I think it plugs onto their adapter shield.

From what I can see that adapter shield uses all of the standard Arduino headers but not the extra Mega headers. Therefore you have access to the extra Mega headers which include the i2c pins and about 30 other general-purpose IO pins.

It' a bit confusing but I think you are good to go.

______
Rob

 
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have just realised there is a new Arduino Shield 1.3.  The 1.1 was the one I was looking at which uses up all pins ect, the new 1.3 uses like you said just the pins that appear on the arduino UNO.
Thanks for your replies
Logged

Pages: [1]   Go Up
Jump to: