• Hi there,
    I got the following problem:
    I want to the CMPS10 acceleromometer sensor and the Espruino Wifi at the same time. I'm now struggeling getting them to run smoothly. As soon as I call espruino_wifi.connect (whereas espruino_wifi references the EspruinoWiFi module) the data from I2C Bus freezes somehow and the sensor does not deliver any data anymore. I'm powering the sensor through the 3.3V output on the Espruino Board.
    Separatly they work beautifully.
    Thank you in advance for any idea :)

    The three numbers are readings from my sensor. As soon as the WiFi module kicks in, the values freeze.

    >Loading 48629 bytes from flash...
    0.00097657740  0.20996414129  0.88868543526
    0.01464866102  0.18359655146  0.93165484092
    0.04199282825  0.17578393224  0.95606927595
    >
    0.00585946440  0.19433890287  0.92677195391
    0.01367208361  0.17773708705  0.95411612115
    Connecting to access point using EspruinoWiFi module
    0.03027389944  0.14941634241  0.95020981155
    -0.01068131532  0.18359655146  0.93751430533
    -0.01556420233  0.16992446784  0.93556115053
    -0.01556420233  0.16992446784  0.93556115053
    -0.01556420233  0.16992446784  0.93556115053
    -0.01556420233  0.16992446784  0.93556115053
    -0.01556420233  0.16992446784  0.93556115053
    -0.01556420233  0.16992446784  0.93556115053
    Successfully connected to Access Point
    -0.01556420233  0.16992446784  0.93556115053
    -0.01556420233  0.16992446784  0.93556115053
    -0.01556420233  0.16992446784  0.93556115053
    -0.01556420233  0.16992446784  0.93556115053
    
  • Solved it :) It was like I expected. Wired the compass module directly to the 5V USB output on the board and it works now. I was just unsure, whether the module supports 5 Volts or not. Thank you data sheet - it does.

  • Great - glad you got it sorted!

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

I2C acceleromometer + WSP8266 WiFi module current to high?

Posted by Avatar for llakie @llakie

Actions