Go Down

Topic: My project Arduino + Ethernet + LCD Touch, help! (Read 3827 times) previous topic - next topic


Oct 07, 2010, 07:51 am Last Edit: Oct 07, 2010, 04:51 pm by samuelh15 Reason: 1
hi ppl im new with arduino and i got some questions

im using arduino with a touch lcd as a menu and the things i select from the menu send it to the pc using ethernet

i just like to know if i can conect these 3 devices together

1.Arduino Mega 2560
2.Ethernet Shield (i read the last one is compatible with the mega)
3.touch lcd

this is the touch i found

2.4" TFT LCD Screen Module: ITDB02-2.4

ITDB02 Arduino MEGA Shield v1.1

so can i conect em together??


Oct 07, 2010, 03:10 pm Last Edit: Oct 07, 2010, 03:11 pm by Grumpy_Mike Reason: 1
so can i conect em together


Will it work?

I don't know. Here is how you find out.
Make a list of each pin each unit uses. Are there any the same? If not then yes.
If yes then see if any of the common pins can be reassigned or is it asking too many pins of the same type, like both want to use the serial port. If they can be wire them to these different pins and rewrite the code.

the 2.4" TFT LCD Screen Module: ITDB02-2.4 is just back to a reply on this forum.


Pin Conection

ARDUINO                  2.4" TFT LCD Screen Module: ITDB02-2.4
5V                             VCC
3V3                           LED_A             RD
GND                          GND
D22(PA0)                   DB8
D23(PA1)                   DB9
D24(PA2)                   DB10
D25(PA3)                   DB11
D26(PA4)                   DB12
D27(PA5)                   DB13
D28(PA6)                   DB14
D29(PA7)                   DB15
D37(PC0)                   DB0
D36(PC1)                   DB1
D35(PC2)                   DB2
D34(PC3)                   DB3
D33(PC4)                   DB4
D32(PC5)                   DB5
D21(PC6)                   DB6
D30(PC7)                   DB7
D41(PG0)                   RESET
D40(PG1)                   CS
D39(PG2)                   WR
D38(PD7)                   RS
D50(PB3)                   SD_OUT
D51(PB2)                   SD_CLK
D52(PB1)                   SD_IN
D53(PB0)                   SD_CS
D6                             D_CLK
D5                             D_CS
D4                             D_IN
D3                             D_OUT
D2                             D_IRQ
D20                           RTC_SDA
D21                            RTC_SCL

now about the ethernet pins

"Arduino communicates with both the W5100 and SD card using the SPI bus (through the ICSP header). This is on digital pins 11, 12, and 13 on the Duemilanove and pins 50, 51, and 52 on the Mega. On both boards, pin 10 is used to select the W5100 and pin 4 for the SD card. These pins cannot be used for general i/o. On the Mega, the hardware SS pin, 53, is not used to select either the W5100 or the SD card, but it must be kept as an output or the SPI interface won't work"

so the ethernet module uses, but not physically cuz the ethernet shield is smaller  than the arduino but i read the new one is fully complatible
now if you compare the lcd uses this pins for SD and i dont think im gonna us SD

D50(PB3)                   SD_OUT
D51(PB2)                   SD_CLK
D52(PB1)                   SD_IN
D53(PB0)                   SD_CS

so you think it will work???

Go Up