Go Down

Topic: Multiple LCD's (Read 1 time) previous topic - next topic

Kcarp

I am new to Ardunio, but loving what I see so far.

I just purchased a Uno R3.  I have been messing around with it and I think it is awesome!

I have not ordered any LCD's yet. However, I am looking to display 2 different LCD's, use 2 different temp sensors, and run a couple relays for power outlets.  Will the Arduino be sufficient for this setup?

Thanks.

pylon

If you use I2C LCD displays and DS18B20 temperature sensors you're fine, else you may run out of pins, depending on what "a couple of" is actually in numbers. Standard LCDs with 4-bit parallel interface use at least 6 pins, thermistors use an analog pin, so you need 14 pin out of 20 just for them. Usually you want the serial interface for debugging, make 2 additional pins, leaving 4 for your relays. Is this a couple of?

Riva


If you use I2C LCD displays and DS18B20 temperature sensors you're fine, else you may run out of pins, depending on what "a couple of" is actually in numbers. Standard LCDs with 4-bit parallel interface use at least 6 pins, thermistors use an analog pin, so you need 14 pin out of 20 just for them. Usually you want the serial interface for debugging, make 2 additional pins, leaving 4 for your relays. Is this a couple of?

Could you parallel the Data, R & R/W pins to both LCD's and have separate E line for each LCD's. It's not a thing I have tried but data should only get latched when the (E)nable pin is pulsed so should be able to steer the data to the required LCD. This would save 5 pins.

dhenry

Quote
I am looking to display 2 different LCD's, use 2 different temp sensors, and run a couple relays for power outlets.  Will the Arduino be sufficient for this setup?


that would depend on whath kind of LCDs, temp sensors / relays you are talking about. Some of them can take a lot of pins.

utwg

Should be enough. 2 x 5 pins for the LCDs and 2 x 1 pin for the temperature sensor.

Go Up