Go Down

Topic: Two simple questions (Read 499 times) previous topic - next topic

windmis

Hi,

First... do I have to use 4,7k resistors connected to +5 and SDA, SCL when I am using I2C?
Second... I want to use a diode which protect that + is conected to + and - to -, but I am not sure if I do it correct.
Like this?  

GND  --- -power jack+ --- ->|- --- +5

->|- this is my diode

kg4wsv

Quote
do I have to use 4,7k resistors connected to +5 and SDA, SCL when I am using I2C?

In general, no.  The ATmega has internal pullups that the Wire library enables.

If you have lots of devices and/or long runs on the bus, stronger external pullups may be necessary.

-j


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy