Show Posts
|
|
Pages: [1] 2
|
|
4
|
Using Arduino / Sensors / Re: MPU6050 + arduino nano + raw data over serial
|
on: June 28, 2012, 07:50:54 am
|
Sorry but I still don't get it. you have the function, the pointing reg to write, and the last value, I don't get how I'm supposed to determine the number I need. I have to modify the 1B and the 1C, MPU6050_GYRO_CONFIG and MPU6050_ACCEL_CONFIG. on gyroconfig I need to write 00001000 ; but bits 2, 1 and 0 are reserved. on accelconfig I need to write 00001000 ; but here non of the bites are reserved. I just have to use MPU6050_write_reg (MPU6050_GYRO_CONFIG, 0x08); MPU6050_write_reg (MPU6050_ACCEL_CONFIG, 0x08);
and that's all????? just that? AWSOME!
|
|
|
|
|
5
|
Using Arduino / Sensors / Re: MPU6050 + arduino nano + raw data over serial
|
on: June 27, 2012, 08:52:55 pm
|
Ok, let's see. As an example, I want to modify the REg 0x1B (27 DEC) the registry consist of: b7 b6 b5 b4 b3 b2 b1 b0 ST ST ST FS_SEL RESERVED So, to modify the range I need to put on the bites 3 and 4 the value DEC1 - meaning a BYN 01 - = 00001000 If I understand your function to write I think I should put void setup (); MPU6050_write(27, 8,  or something like that????? I don't get the function of the last number in your function and how should I work with reserved registry bits.
|
|
|
|
|
6
|
Using Arduino / Sensors / Re: MPU6050 + arduino nano + raw data over serial
|
on: June 27, 2012, 07:52:53 am
|
|
yes yes, I see that even the range can be changed, the accelerometer can messure 2g (default) 4 8 and +-16g, for me I think 4 g would be great.
I think I need to give a better look at the datasheet and library and see the functions and call wire.write(FUNTION) in the correct way to make changes to the configuration. Am I right?
It's my firs time with an I2C board, but I'm starting to like it as a protocol.
|
|
|
|
|
7
|
Using Arduino / Sensors / Re: MPU6050 + arduino nano + raw data over serial
|
on: June 26, 2012, 10:32:07 pm
|
|
IT'S ALIVE!!!!!!!!!!!!!!!!!!!!
I thinks it's working, and to keep a good feed of data I think I will decode and filter/average directly on puredata. Which it's the range of values of the gyro and accel? if it's in 16 bits, one bit for the sign and number between -32767 and 32767???? it's that even close?
|
|
|
|
|
8
|
Using Arduino / Sensors / Re: MPU6050 + arduino nano + raw data over serial
|
on: June 26, 2012, 08:43:28 pm
|
You where right, I took out the 3.3v and works fine but I need the pullup resistors, if I take them away stops communicating. Ok, so it's working, but why the values are so erratic? the temperature reading looks kind of stable, but I leave the board steady on the table and the values change dramatically. InvenSense MPU-6050 June 2012 WHO_AM_I : 68, error = 0 PWR_MGMT_2 : 0, error = 0
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 192, 60, -13372 temperature: 23.518 degrees Celsius gyro x,y,z : -144, -25, 22,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 64, 112, -13100 temperature: 23.612 degrees Celsius gyro x,y,z : -181, 26, 25,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 884, 76, -12336 temperature: 23.565 degrees Celsius gyro x,y,z : -121, -24, 51,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 712, 404, -12368 temperature: 23.565 degrees Celsius gyro x,y,z : -186, -21, 35,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: -248, 368, -12872 temperature: 23.706 degrees Celsius gyro x,y,z : -166, -105, 119,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 704, 440, -12892 temperature: 23.612 degrees Celsius gyro x,y,z : -248, 1, 31,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 308, 208, -12716 temperature: 23.706 degrees Celsius gyro x,y,z : -147, -89, 88,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 1148, 380, -12952 temperature: 23.612 degrees Celsius gyro x,y,z : -160, -16, 93,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 8, 528, -12676 temperature: 23.518 degrees Celsius gyro x,y,z : -168, -5, 92,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: -436, -52, -12948 temperature: 23.612 degrees Celsius gyro x,y,z : -169, 90, 56,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 516, -508, -12976 temperature: 23.612 degrees Celsius gyro x,y,z : -176, -61, -14,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 456, 672, -13008 temperature: 23.565 degrees Celsius gyro x,y,z : -103, 11, 95,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 776, 704, -12880 temperature: 23.612 degrees Celsius gyro x,y,z : -268, -41, 114,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 212, -92, -12772 temperature: 23.565 degrees Celsius gyro x,y,z : -169, -21, -59,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 712, -616, -12652 temperature: 23.612 degrees Celsius gyro x,y,z : -202, -41, 87,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 652, -276, -12596 temperature: 23.659 degrees Celsius gyro x,y,z : -152, 15, 55,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 28, 164, -13212 temperature: 23.565 degrees Celsius gyro x,y,z : -233, -84, 75,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 216, 92, -13024 temperature: 23.518 degrees Celsius gyro x,y,z : -198, 24, 26,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 612, 244, -13552 temperature: 23.471 degrees Celsius gyro x,y,z : -191, -65, -11,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 552, -464, -13216 temperature: 23.518 degrees Celsius gyro x,y,z : -167, -3, 12,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 280, 88, -13088 temperature: 23.659 degrees Celsius gyro x,y,z : -196, -95, 10,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: -176, 72, -12884 temperature: 23.612 degrees Celsius gyro x,y,z : -171, -219, -13,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 216, -284, -13324 temperature: 23.565 degrees Celsius gyro x,y,z : -153, 145, 3,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 500, -524, -13360 temperature: 23.612 degrees Celsius gyro x,y,z : -247, -140, 85,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 552, 272, -13832 temperature: 23.612 degrees Celsius gyro x,y,z : -198, 76, 28,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 676, 12, -13336 temperature: 23.659 degrees Celsius gyro x,y,z : -176, 28, 37,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 816, -408, -13080 temperature: 23.659 degrees Celsius gyro x,y,z : -150, 3, 64,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: -224, -104, -12812 temperature: 23.659 degrees Celsius gyro x,y,z : -201, 32, 55,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 368, 360, -13316 temperature: 23.753 degrees Celsius gyro x,y,z : -205, -43, -8,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 100, 756, -13448 temperature: 23.471 degrees Celsius gyro x,y,z : -135, 12, 52,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 332, -188, -13100 temperature: 23.565 degrees Celsius gyro x,y,z : -157, -68, 48,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 904, 708, -13120 temperature: 23.706 degrees Celsius gyro x,y,z : -123, 1, 45,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 600, -372, -12800 temperature: 23.706 degrees Celsius gyro x,y,z : -134, 17, -18,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 1072, 724, -13252 temperature: 23.565 degrees Celsius gyro x,y,z : -213, -32, -7,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: -336, -48, -12972 temperature: 23.659 degrees Celsius gyro x,y,z : -146, 2, -49,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 292, 392, -13152 temperature: 23.518 degrees Celsius gyro x,y,z : -212, -169, 106,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 116, -504, -12388 temperature: 23.612 degrees Celsius gyro x,y,z : -188, 51, 38,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 304, 116, -12740 temperature: 23.706 degrees Celsius gyro x,y,z : -150, 42, 40,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 344, -424, -13104 temperature: 23.471 degrees Celsius gyro x,y,z : -178, -30, 56,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 472, 800, -13340 temperature: 23.659 degrees Celsius gyro x,y,z : -203, 10, 27,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 524, 192, -12968 temperature: 23.706 degrees Celsius gyro x,y,z : -247, -98, -24,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 752, 448, -12528 temperature: 23.659 degrees Celsius gyro x,y,z : -194, 140, 8,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 644, -380, -12412 temperature: 23.753 degrees Celsius gyro x,y,z : -147, -95, -9,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 424, 136, -12596 temperature: 23.518 degrees Celsius gyro x,y,z : -216, -13, 16,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 636, -292, -12532 temperature: 23.565 degrees Celsius gyro x,y,z : -212, 20, 43,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 296, 512, -12968 temperature: 23.706 degrees Celsius gyro x,y,z : -188, 20, 130,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 520, 500, -13472 temperature: 23.706 degrees Celsius gyro x,y,z : -231, -38, 8,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 396, 224, -13188 temperature: 23.706 degrees Celsius gyro x,y,z : -137, 71, 12,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 612, -304, -13568 temperature: 23.659 degrees Celsius gyro x,y,z : -199, 34, 61,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 332, -144, -13404 temperature: 23.612 degrees Celsius gyro x,y,z : -104, 31, 87,
I really can't see a relation between them. If I move the board I can't either see a pattern between the movement and the numbers. Anyway Krodal, You helped a lot! Thanks!!!!! in that page it says that the I2C address is 0x69. Anyway, I've learned a lot finding it out by myself.
|
|
|
|
|
10
|
Using Arduino / Sensors / Re: MPU6050 + arduino nano + raw data over serial
|
on: June 26, 2012, 12:49:58 pm
|
Ok, I've tried that, I changed in the sketch #define MPU6050_I2C_ADDRESS 0x68 to #define MPU6050_I2C_ADDRESS 0x69 and it seems to kind of start working hahahahaha. the serial port read its InvenSense MPU-6050 June 2012 WHO_AM_I : 68, error = 0 PWR_MGMT_2 : 0, error = 0
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 368, -44, -12616 temperature: 23.329 degrees Celsius gyro x,y,z : -176, -63, 31,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 380, 516, -13460 temperature: 23.424 degrees Celsius gyro x,y,z : -196, -84, 1,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 520, 260, -12556 temperature: 23.376 degrees Celsius gyro x,y,z : -174, -46, 45,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 644, 432, -13304 temperature: 23.424 degrees Celsius gyro x,y,z : -175, 23, 27,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 600, 340, -12400 temperature: 23.471 degrees Celsius gyro x,y,z : -135, -22, 77,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 796, 264, -12840 temperature: 23.565 degrees Celsius gyro x,y,z : -164, -61, 54,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 4, -484, -12364 temperature: 23.424 degrees Celsius gyro x,y,z : -206, -15, -27,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 804, 320, -12464 temperature: 23.424 degrees Celsius gyro x,y,z : -145, 12, 83,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 592, 444, -12892 temperature: 23.518 degrees Celsius gyro x,y,z : -196, 17, 86,
I think it's working because if I put my finger over the board the temperature rises smoothly, and goes back when I take out the finger. About the accel and gyro data, I really don't get it, it's confusing. Anyway, now I get some data, I'ts a lot better  anyway This board seems to have the voltage regulator but hasn't the pullup pulldown resistors, I added that and the I2C scan port sketch gave me the address. Thanks for all the help!!!!!! I just need to have some real readings now. ========================================EDIT============================================ Ignore this picture, I've attached the wrong one, look the next post.
|
|
|
|
|
11
|
Using Arduino / Sensors / Re: MPU6050 SparkFun Breakout to Arduino Uno - No Communication
|
on: June 26, 2012, 10:10:18 am
|
ok, noy I want to use this code // I2C device class (I2Cdev) demonstration Arduino sketch for MPU6050 class // 10/7/2011 by Jeff Rowberg < jeff@rowberg.net> // Updates should (hopefully) always be available at https://github.com/jrowberg/i2cdevlib// // Changelog: // 2011-10-07 - initial release /* ============================================ I2Cdev device library code is placed under the MIT license Copyright (c) 2011 Jeff Rowberg Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. =============================================== */ // Arduino Wire library is required if I2Cdev I2CDEV_ARDUINO_WIRE implementation // is used in I2Cdev.h #include "Wire.h" // I2Cdev and MPU6050 must be installed as libraries, or else the .cpp/.h files // for both classes must be in the include path of your project #include "I2Cdev.h" #include "MPU6050.h" // class default I2C address is 0x68 // specific I2C addresses may be passed as a parameter here // AD0 low = 0x68 (default for InvenSense evaluation board) // AD0 high = 0x69 MPU6050 accelgyro; int16_t ax, ay, az; int16_t gx, gy, gz; #define LED_PIN 13 bool blinkState = false; void setup() { // join I2C bus (I2Cdev library doesn't do this automatically) Wire.begin(); Serial.begin(9600); // initialize device Serial.println("Initializing I2C devices..."); accelgyro.initialize(); // verify connection Serial.println("Testing device connections..."); Serial.println(accelgyro.testConnection() ? "MPU6050 connection successful" : "MPU6050 connection failed"); // configure Arduino LED for pinMode(LED_PIN, OUTPUT); } void loop() { // read raw accel/gyro measurements from device accelgyro.getMotion6(&ax, &ay, &az, &gx, &gy, &gz); // these methods (and a few others) are also available //accelgyro.getAcceleration(&ax, &ay, &az); //accelgyro.getRotation(&gx, &gy, &gz); // display tab-separated accel/gyro x/y/z values Serial.print("a/g:\t"); Serial.print(ax); Serial.print("\t"); Serial.print(ay); Serial.print("\t"); Serial.print(az); Serial.print("\t"); Serial.print(gx); Serial.print("\t"); Serial.print(gy); Serial.print("\t"); Serial.println(gz); // blink LED to indicate activity blinkState = !blinkState; digitalWrite(LED_PIN, blinkState); } from https://github.com/jrowberg/i2cdevlib/blob/master/Arduino/MPU6050/Examples/MPU6050_raw/MPU6050_raw.inobut I don't know how to change the address to 0x69. any ideas?
|
|
|
|
|
12
|
Using Arduino / Sensors / Re: MPU6050 + arduino nano + raw data over serial
|
on: June 26, 2012, 10:03:11 am
|
Thanks! but does code don't really work as they are, the libs have been updated. If anyone needs it now should be something like this /** * I2CScanner.pde -- I2C bus scanner for Arduino * * 2009, Tod E. Kurt, http://todbot.com/blog/ * */ #include "Wire.h" extern "C" { #include "utility/twi.h" // from Wire library, so we can do bus scanning } // Scan the I2C bus between addresses from_addr and to_addr. // On each address, call the callback function with the address and result. // If result==0, address was found, otherwise, address wasn't found // (can use result to potentially get other status on the I2C bus, see twi.c) // Assumes Wire.begin() has already been called void scanI2CBus(byte from_addr, byte to_addr, void(*callback)(byte address, byte result) ) { byte rc; byte data = 0; // not used, just an address to feed to twi_writeTo() for( byte addr = from_addr; addr <= to_addr; addr++ ) { rc = twi_writeTo(addr, &data, 0, 1, 0); callback( addr, rc ); } } // Called when address is found in scanI2CBus() // Feel free to change this as needed // (like adding I2C comm code to figure out what kind of I2C device is there) void scanFunc( byte addr, byte result ) { Serial.print("addr: "); Serial.print(addr,DEC); Serial.print( (result==0) ? " found!":" "); Serial.print( (addr%4) ? "\t":"\n"); } byte start_address = 1; byte end_address = 200; // standard Arduino setup() void setup() { Wire.begin(); Serial.begin(19200); Serial.println("\nI2CScanner ready!"); Serial.print("starting scanning of I2C bus from "); Serial.print(start_address,DEC); Serial.print(" to "); Serial.print(end_address,DEC); Serial.println("..."); // start the scan, will call "scanFunc()" on result from each address scanI2CBus( start_address, end_address, scanFunc ); Serial.println("\ndone"); } // standard Arduino loop() void loop() { // Nothing to do here, so we'll just blink the built-in LED digitalWrite(13,HIGH); delay(300); digitalWrite(13,LOW); delay(300); } it works for me this way.
|
|
|
|
|
13
|
Using Arduino / Sensors / Re: MPU6050 SparkFun Breakout to Arduino Uno - No Communication
|
on: June 26, 2012, 10:01:25 am
|
Ok, I've made some progress. I Found the code for a I2C Scanner, the problem is that the library twi.h was updated so I've added some code there to make it work. Here It is /** * I2CScanner.pde -- I2C bus scanner for Arduino * * 2009, Tod E. Kurt, http://todbot.com/blog/ * */ #include "Wire.h" extern "C" { #include "utility/twi.h" // from Wire library, so we can do bus scanning } // Scan the I2C bus between addresses from_addr and to_addr. // On each address, call the callback function with the address and result. // If result==0, address was found, otherwise, address wasn't found // (can use result to potentially get other status on the I2C bus, see twi.c) // Assumes Wire.begin() has already been called void scanI2CBus(byte from_addr, byte to_addr, void(*callback)(byte address, byte result) ) { byte rc; byte data = 0; // not used, just an address to feed to twi_writeTo() for( byte addr = from_addr; addr <= to_addr; addr++ ) { rc = twi_writeTo(addr, &data, 0, 1, 0); callback( addr, rc ); } } // Called when address is found in scanI2CBus() // Feel free to change this as needed // (like adding I2C comm code to figure out what kind of I2C device is there) void scanFunc( byte addr, byte result ) { Serial.print("addr: "); Serial.print(addr,DEC); Serial.print( (result==0) ? " found!":" "); Serial.print( (addr%4) ? "\t":"\n"); } byte start_address = 1; byte end_address = 200; // standard Arduino setup() void setup() { Wire.begin(); Serial.begin(19200); Serial.println("\nI2CScanner ready!"); Serial.print("starting scanning of I2C bus from "); Serial.print(start_address,DEC); Serial.print(" to "); Serial.print(end_address,DEC); Serial.println("..."); // start the scan, will call "scanFunc()" on result from each address scanI2CBus( start_address, end_address, scanFunc ); Serial.println("\ndone"); } // standard Arduino loop() void loop() { // Nothing to do here, so we'll just blink the built-in LED digitalWrite(13,HIGH); delay(300); digitalWrite(13,LOW); delay(300); } ok, this scan tell me that my device it's actually in the por 105, meaning, 0x69 not 0x68. Now I need to make everithing else work, but it's a start. Ah, another thing, My board can be suplied with 5v or 3.3v, it's the same thing, but you need the pullup resistors to 3.3v to make it work, otherwise the scan doesn't detect the device. Douh!! now I need a nice piece of code thar takes all the raw data and sends it back to me  over serial.
|
|
|
|
|
14
|
Using Arduino / Sensors / Re: MPU6050 + arduino nano + raw data over serial
|
on: June 26, 2012, 08:20:51 am
|
I've connected it to the I2C port (digital 4 and 5), Then you've done it wrong, SDA is A4, SCL is A5 (not digital 4/5) and you _must_ use 4.7k pull-up resistors on both those pins. If the device is 3.3V (which I believe it is) the pull-ups _must_ go to +3.3V, not 5V. You are right, I was connecting it to A not D, my bad. are you sure to use the right I2C address? there are some skect that "portscan" every I2C address, if your MPU6050 won't show up then probabily is broken, or you are making confusion with internal/external pullup, or the I2C level (5v and ?v) aren't compatible
actually i'm not sure at all, I'm searching in the forum for that kind of sketches but I can't find one, can you give me a link pleas? thanks.
|
|
|
|
|
15
|
Using Arduino / Sensors / Re: MPU6050 SparkFun Breakout to Arduino Uno - No Communication
|
on: June 25, 2012, 09:08:32 pm
|
|
I'm having the same problem as you. I've loaded Obakemono code on my duemilanove nano, wiring just like you said, only my board has different pins, actualy has a 5v pin, 3.3v, GNd, SCL, SDA, INT. Everithing should work but I only see "who am I?" on the serial monitor.
just looking at the code, the addres shoul be x68 or x6B????
|
|
|
|
|