Pages: [1]   Go Down
Author Topic: Two simple questions  (Read 440 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 46
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

0
Offline Offline
Faraday Member
**
Karma: 8
Posts: 2526
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Logged

Pages: [1]   Go Up
Jump to: