NerdKits - electronics education for a digital generation

You are not logged in. [log in]

NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.

Microcontroller Programming » I2C communications

October 24, 2009
by mikedoug
mikedoug's Avatar

The docs for the MPU talks about SCL and SDA -- what pins are those? I don't see that explained in the docs...

October 24, 2009
by mrobbins
(NerdKits Staff)

mrobbins's Avatar

Hi mikedoug,

Chapter 21 of the ATmega168 datasheet, titled "2-wire serial interface" and abbreviated TWI, is Atmel's way of avoiding the Philips trademarks on the name I2C. :-)

The actual pin numbers are MCU pin #28 for SCL, and MCU pin #27 for SDA. That's written on page 2 of the ATmega168 datasheet, under "pin configurations".

And I'm guessing that you're looking into this in relationship to the "Biology Project" post?

Mike

October 24, 2009
by mikedoug
mikedoug's Avatar

The Biology Project post got me looking into it -- that and a heck of a lot of curiosity. :)

MikeDoug

Post a Reply

Please log in to post a reply.

Did you know that a piezoelectric buzzer can be used in reverse as a microphone? Learn more...