I2c on arduino

Hey

So i am building a project and i want to use 6 analogue inputs and the i2c pins aswell

is this possible on an Uno

the newer board has i2c pin outs

where as the old board it was on A4 and A5

can I use 6 inputs and i2c aswell on a newer board?

This is probably a stupid question but I have looked for the answer all over the place and I cant find the answer.

Any help would be greatly appreciated

Regards Larry

No, this is not possible on an UNO. There are many alternatives, though. Which one would be best depends on your project. Without more details, it's impossible to give a'y good recommendations.

Pieter

Larr3y:
Hey

So i am building a project and i want to use 6 analogue inputs and the i2c pins aswell

is this possible on an Uno

It is possible with NANO. The NANO has 8 ADC Channels -- ADC0, ADC1, ADC2, ADC3, ADC4 (SDA), ADC5 (SCL), ADC6, and ADC7.

Using NANO, you can have 6 ADC Channels and I2C Bus as well.

Larr3y:
This is probably a stupid question but I have looked for the answer all over the place and I cant find the answer.

Try a Google search on;

'arduino uno pinout'

These pinout diagrams do show that the SDA and SCL pins are shared with A4 and A5 respectivly.

I have looked for the answer all over the place and I cant find the answer.

The processor data sheet explains shared pin functions very clearly.

Alternate functions of Port-C as ADC (ADC0 - ADC3) and I2C Bus in Arduino NANO

thanks for the help