Go Down

Topic: address of i2c unkoum chip (Read 442 times) previous topic - next topic

insertos

Jun 17, 2017, 01:52 pm Last Edit: Jun 17, 2017, 01:59 pm by insertos
i try to serch to i2c addres on arduino uno but with :
Code: [Select]

// I2C Scanner
// Written by Nick Gammon
// Date: 20th April 2011

#include <Wire.h>

void setup() {
  Serial.begin (115200);

  // Leonardo: wait for serial port to connect
  while (!Serial)
    {
    }

  Serial.println ();
  Serial.println ("I2C scanner. Scanning ...");
  byte count = 0;
  
  Wire.begin();
  for (byte i = 8; i < 120; i++)
  {
    Wire.beginTransmission (i);
    if (Wire.endTransmission () == 0)
      {
      Serial.print ("Found address: ");
      Serial.print (i, DEC);
      Serial.print (" (0x");
      Serial.print (i, HEX);
      Serial.println (")");
      count++;
      delay (1);  // maybe unneeded?
      } // end of good response
  } // end of for loop
  Serial.println ("Done.");
  Serial.print ("Found ");
  Serial.print (count, DEC);
  Serial.println (" device(s).");
}  // end of setup

void loop() {}


and :
Code: [Select]


I2C scanner. Scanning ...
Done.
Found 0 device(s).




if i do Arduino I2C Scanner  :
Code: [Select]

Arduino I2C Scanner - 0.1.06

Scanmode:
 s = single scan
 c = continuous scan - 1 second delay
 q = quit continuous scan
 d = toggle latency delay between successful tests. 0 - 5 ms
Output:
 p = toggle printAll - printFound.
 h = toggle header - noHeader.
 a = toggle address range, 0..127 - 8..120
Speeds:
 0 = 50 - 800 Khz
 1 = 100 KHz only
 2 = 200 KHz only
 4 = 400 KHz only
 8 = 800 KHz only

 ? = help - this page

TIME DEC HEX 50 100 200 250 400 500 800 1000 [KHz]
--------------------------------------------------------------------------------------------------------
18060 0 0x00 . . . . . . . .
18062 1 0x01 . . . . . . . V
18065 2 0x02 . . . . . . . .
18067 3 0x03 . . . . . . . V
18070 4 0x04 . . . . . . . .
18073 5 0x05 . . . . . . . V
18075 6 0x06 . . . . . . . .
18078 7 0x07 . . . . . . . V
18080 8 0x08 . . . . . . . .
18083 9 0x09 . . . . . . . V
18085 10 0x0A . . . . . . . .
18088 11 0x0B . . . . . . . V
18092 12 0x0C . . . . . . . .
18094 13 0x0D . . . . . . . V
18097 14 0x0E . . . . . . . .
18100 15 0x0F . . . . . . . V
18102 16 0x10 . . . . . . . .
18105 17 0x11 . . . . . . . V
18108 18 0x12 . . . . . . . .
18110 19 0x13 . . . . . . . V
18113 20 0x14 . . . . . . . .
18116 21 0x15 . . . . . . . V
18118 22 0x16 . . . . . . . .
18121 23 0x17 . . . . . . . V
18124 24 0x18 . . . . . . . .
18126 25 0x19 . . . . . . . V
18129 26 0x1A . . . . . . . .
18132 27 0x1B . . . . . . . V
18135 28 0x1C . . . . . . . .
18138 29 0x1D . . . . . . . V
18141 30 0x1E . . . . . . . .
18143 31 0x1F . . . . . . . V
18146 32 0x20 . . . . . . . .
18149 33 0x21 . . . . . . . V
18151 34 0x22 . . . . . . . .
18154 35 0x23 . . . . . . . V
18156 36 0x24 . . . . . . . .
18159 37 0x25 . . . . . . . V
18162 38 0x26 . . . . . . . .
18164 39 0x27 . . . . . . . V
18167 40 0x28 . . . . . . . .
18170 41 0x29 . . . . . . . V
18172 42 0x2A . . . . . . . .
18176 43 0x2B . . . . . . . V
18179 44 0x2C . . . . . . . .
18181 45 0x2D . . . . . . . V
18184 46 0x2E . . . . . . . .
18187 47 0x2F . . . . . . . V
18189 48 0x30 . . . . . . . .
18192 49 0x31 . . . . . . . V
18195 50 0x32 . . . . . . . .
18197 51 0x33 . . . . . . . V
18200 52 0x34 . . . . . . . .
18203 53 0x35 . . . . . . . V
18205 54 0x36 . . . . . . . .
18208 55 0x37 . . . . . . . V
18211 56 0x38 . . . . . . . .
18213 57 0x39 . . . . . . . V
18216 58 0x3A . . . . . . . .
18220 59 0x3B . . . . . . . V
18222 60 0x3C . . . . . . . .
18225 61 0x3D . . . . . . . V
18228 62 0x3E . . . . . . . .
18230 63 0x3F . . . . . . . V
18233 64 0x40 . . . . . . . .
18236 65 0x41 . . . . . . . .
18238 66 0x42 . . . . . . . .
18241 67 0x43 . . . . . . . .
18243 68 0x44 . . . . . . . .
18246 69 0x45 . . . . . . . .
18249 70 0x46 . . . . . . . .
18251 71 0x47 . . . . . . . .
18254 72 0x48 . . . . . . . .
18257 73 0x49 . . . . . . . .
18259 74 0x4A . . . . . . . .
18263 75 0x4B . . . . . . . .
18266 76 0x4C . . . . . . . .
18268 77 0x4D . . . . . . . .
18271 78 0x4E . . . . . . . .
18274 79 0x4F . . . . . . . .
18276 80 0x50 . . . . . . . .
18279 81 0x51 . . . . . . . .
18282 82 0x52 . . . . . . . .
18284 83 0x53 . . . . . . . .
18287 84 0x54 . . . . . . . .
18290 85 0x55 . . . . . . . .
18292 86 0x56 . . . . . . . .
18295 87 0x57 . . . . . . . .
18298 88 0x58 . . . . . . . .
18300 89 0x59 . . . . . . . .
18304 90 0x5A . . . . . . . .
18307 91 0x5B . . . . . . . .
18309 92 0x5C . . . . . . . .
18312 93 0x5D . . . . . . . .
18315 94 0x5E . . . . . . . .
18317 95 0x5F . . . . . . . .
18320 96 0x60 . . . . . . . .
18323 97 0x61 . . . . . . . .
18325 98 0x62 . . . . . . . .
18328 99 0x63 . . . . . . . .
18330 100 0x64 . . . . . . . .
18333 101 0x65 . . . . . . . .
18336 102 0x66 . . . . . . . .
18339 103 0x67 . . . . . . . .
18341 104 0x68 . . . . . . . .
18344 105 0x69 . . . . . . . .
18348 106 0x6A . . . . . . . .
18351 107 0x6B . . . . . . . .
18353 108 0x6C . . . . . . . .
18356 109 0x6D . . . . . . . .
18359 110 0x6E . . . . . . . .
18362 111 0x6F . . . . . . . .
18364 112 0x70 . . . . . . . .
18367 113 0x71 . . . . . . . .
18370 114 0x72 . . . . . . . .
18373 115 0x73 . . . . . . . .
18375 116 0x74 . . . . . . . .
18378 117 0x75 . . . . . . . .
18381 118 0x76 . . . . . . . .
18384 119 0x77 . . . . . . . .
18386 120 0x78 . . . . . . . .
18390 121 0x79 . . . . . . . .
18393 122 0x7A . . . . . . . .
18395 123 0x7B . . . . . . . .
18398 124 0x7C . . . . . . . .
18401 125 0x7D . . . . . . . .
18404 126 0x7E . . . . . . . .
18406 127 0x7F . . . . . . . .

32 devices found in 357 milliseconds.



how i can find chip address ?

pic :


SurferTim

I trust Nick's code. Where did you get the other code?

insertos

https://github.com/lugu/toner_chip_reset

insertos

#3
Jun 17, 2017, 03:49 pm Last Edit: Jun 17, 2017, 04:01 pm by insertos
ok now..
Code: [Select]


I2C scanner. Scanning ...
Found address: 40 (0x28)
Done.
Found 1 device(s).


but i can't read :/
some can help?

SurferTim

OK, you have an address. Do you have a datasheet for your I2C device?


SurferTim

Where/how did you get that I2C device?

insertos

#7
Jun 17, 2017, 04:45 pm Last Edit: Jun 17, 2017, 05:39 pm by insertos
its a samsung toner chips.
111s-mea.

insertos


jremington

You have the address. What do you want now?

insertos


jremington

"read" what?

I'm beginning to see a pattern here!

Go Up