Please see all COVID-19 updates here as some shipments may be delayed due to CDC safety and staffing guidelines. If you have an order or shipping question please refer to our Customer Support page. For technical questions please check out our Forums. Thank you for your continued support.

Member #554014

Member Since: May 13, 2014

Country: United States

  • I have connected this device to an Arduino Uno Rev3. It works perfectly. But when I disconnect from the USB port of my mac and connect again it displays a wrong value, something like -170.xx

    I have connected to I2C also a RTC DS1307, and they work perfectly after loading the sketch. The sketch is based on the linked Arduino example, with minor modifications: I have kept the functions for bcd conversion, setDate, getDate, toggelOneSHot, readPressure, I2Cread/write, setModeBarometer, setOverSampleRate (set to 128).

    set setup is: // setup MPL3115A2 setModeBarometer(); // Measure pressure in Pascals from 20 to 110 kPa setOversampleRate(128); // Set Oversample to the recommended 128 if(IIC_Read(WHO_AM_I) == 196) display.println("MPL3115A2 online!"); else display.println("No response - check connections"); display.display(); //update display delay(3000); display.clearDisplay(); // delete old values }

    Any idea why when reconnecting it does not work, but no message "No response - check connections" ? (BTW this message is correctly displayed if I disconnect either SLA or SDA pin).


No public wish lists :(