Go Down

Topic: UNO sensors on A4 & A5 plus a serial display ...? (Read 385 times) previous topic - next topic

dudester

May 01, 2016, 08:04 am Last Edit: May 01, 2016, 11:08 am by dudester
Hi,

I am adapting my 4wd robot to use 3 ultrasonic sensors rather than the servo mounted sensor.
I also have an LCD display outputting all sensor readings so I can see whats happenning visually while I develop my code. 

My problem is when I connect A4 & A5 the arduino freezes.

My research has indicated that the serial lcd pins scl & sca are shared with A4 & A5 on the uno, does this mean there is no way to use A4 & A5 in a sensor and the I2C bus at the same time?

Is my only option to go up to a larger arduino?



Thanks,
Phil.

PaulS

Quote
does this mean there is no way to use A4 & A5 in a sensor and the I2C bus at the same time?
Yes, it does.

Quote
Is my only option to go up to a larger arduino?
No. You could use a serial LCD instead.
The art of getting good answers lies in asking good questions.

Go Up