Ruuvitag with external I2C sensor #7224
Unanswered
espruino-discuss
asked this question in
Other Boards
Replies: 1 comment
-
Posted at 2018-04-04 by @gfwilliams It looks like D28 and D29 are already used for SPI for the onboard sensors: http://www.espruino.com/modules/Ruuvitag.js So setting them to I2C is likely to mess things up. Are there any other pins you think you could get to? Posted at 2018-04-04 by jonreid Oh i did not think to check that. I just assumed the external pads were free. Easy to swap over. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-04-03 by jonreid
I have attached a SI7055 temperature sensor to a Ruuvitag as I need 2x temperature sensors for an application. My simple test app is below . If I call readBmpTemp() I get a correct temperature. If I then call read7055Temp() - the first time I get an I2C arbitration error and then the second call works. If I switch back to readBmpTemp() the first reading is incorrect etc
Is there something I have setup wrong ?
Beta Was this translation helpful? Give feedback.
All reactions