Obtaining readings of three LDRs in arduino uno

Hello,

I'm trying to connect three LDRs to an arduino uno, so as to be read individually each of the sensors. I'm new to arduino, so I haven't been able to recognize if this is possible, or if the serial monitor can only process one at a time. If it isn't, how would you recommend to program all three?

Thanks

yes. For example:

int LDR1 = analogRead(A0);
int LDR2 = analogRead(A1);
int LDR3 = analogRead(A2);

Along with some appropriate print statements.
Obviously, you'll need to attach the 3 LDR devices appropriately to A0, A1, and A2.

Thank you!

1 Like