Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

enter image description here


SCL - A5 SDA - A4 VCC - 5v GND - GND

All cables tested and work ..

Im using an arduino nano board and an I2C display - Ive tried everything to get it to work and im now convinced its a hardware fault. Using the Arduino I2C address scanner, it is unable to find a device, even though it is wired correctly(I've checked multiple times)

http://playground.arduino.cc/Main/I2cScanner <--- Thats the code I used

Scanning... No I2C devices found

Scanning... No I2C devices found

Scanning... No I2C devices found

Scanning... No I2C devices found

Scanning... No I2C devices found

Scanning... No I2C devices found

Scanning... No I2C devices found

Is all I get - any suggestions? (Or is my board output fried?)

share|improve this question
1  
To use i2c you normally need pullup resistors on sda and scl, except if the slave device has some. Add 2 pullup resistors to your circuit (you can use 10k, that should be ok). – jfpoilpret Jun 17 '15 at 17:20
    
You need to understand how I2C works first. – Chetan Bhargava Jun 19 '15 at 5:37

You seem to have two issues here:

  • As already pointed out, you have the white wire connected to the wrong pin on the Arduino
  • Also, you need to solder the headers on the Arduino. There is no solder on the pins, which means that there is no connection. You need to solder those headers on; it looks like you just set the Arduino on top, which won't work with headers
share|improve this answer
    
Agreed absolutely. Shoving the header pins into the holes simply won't work. You must solder them. – Nick Gammon Jul 20 '15 at 4:53

Try adding some pull-up resistors to the I2C lines, that might help a bit. Some 2k2 - 4k7 ones should probably do the trick :)

share|improve this answer

That white wire is connected to VIN instead of GND on your Arduino board. You need to move the wire over one slot in the breadboard.

share|improve this answer

Check the solder jumper on the display. Note the example code is for one address, but 2 addresses are supported. try the other address in code, or solder the lcd address pads to select the address to match the code. I had the same problem, the printed address on the lcd solder pads is just the last address bits that make the difference..

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.