-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MS5xxx example does not work on my ESP8266 12E board #6
Comments
Hi Gerald, Looks like the I2C-Connection is not working. I don't know all the details of your setup, but some ideas that might help:
If that still doesn't work, try to scan you I2C-Bus. There is a default I2C-Example from Arduino that performs a scan of all I2C-Addresses or use something like this. If it finds a device, perfect! Example:
Hope that helps - please let me know if that works. I really think the manufacturer changed the address as I could find some forks for the same chip with different address. Cheers, |
Hi @kreativnix - is there any update on this issue? From my point of view it can be only the I2C-Address and this is not a bug but something that needs to be configured. I have added information on how to change it. |
Unfortunately it is not tht simple. Today I played a little around with
the examples from the Library "MS5xxx-1.0.2" and I had always the
connection Error 2, seems to be the sensor did not ack.
Of course I tryed both addreses 0x76 and 0x77 (which was found by
i2cdetect.ino.
Then I found another library "MS5607-master" and tryed the example which
first did not work, then I found a way to give it the address 0x77 and
it worked !! SUCCESS!
With exact the same setup and wiring.
Best regard
Gerald
…On 25.07.20 13:50, Roman Schmitz wrote:
Hi @kreativnix <https://github.com/kreativnix> - is there any update on
this issue? From my point of view it can be only the I2C-Address and
this is not a bug but something that needs to be configured. I have
added information on how to change it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKZ72IPA57WVZW5LJ3MMVTR5LBH3ANCNFSM4OXQHDQQ>.
--
....................................................................
Gerald Pechoc
Engineer for Telecommunications
and Electronics
email: gerald@pechoc.eu
mobil: +43 680 215 15 19
|
Concerning the I2C-Address: Interesting problem, seems a bit strange that is issue is rather new and was not observed before (or at least not reported). I am not aware of any differences using the ESP8266 Wire libraries that might cause this issue. I've been using it with ESP8266 and ESP32 for months without any problems. There must be some small difference in code or a different version of one of the libraries... I have to double-check what changes in code might cause this issue. Questions @kreativnix: Is the MS5607-master the old version of this library or from a different project? Are you using a MS5607 or some different sensor? |
My installation consists of:
Wemos D1 mini pro
MS5607
Software:
Arduino IDE 1.8.13
Lib:
MS5xxx-1.0.2 did not work with none of the both i2C Addresses
MS5607-master (seem to be from 09/2018)
Here I had to look how to change the i2C address, then it worked fine.
Best regards
Gerald
…On 01.08.20 20:25, Roman Schmitz wrote:
Concerning the I2C-Address:
Thanks for the update. From the fork at ImperialSpaceSociety
<ImperialSpaceSociety@3dad725>
I can also see that obviously the default I2C address was changed by the
manufacturer.
Interesting problem, seems a bit strange that is issue is rather new and
was not observed before (or at least not reported). I am not aware of
any differences using the ESP8266 Wire libraries that might cause this
issue. I've been using it with ESP8266 and ESP32 for months without any
problems. There must be some small difference in code or a different
version of one of the libraries... I have to double-check what changes
in code might cause this issue.
Questions @kreativnix <https://github.com/kreativnix>: Is the
MS5607-master the old version of this library or from a different
project? Are you using a MS5607 or some different sensor?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKZ72OAMZ6NQL72K46VT3LR6RM2XANCNFSM4OXQHDQQ>.
--
....................................................................
Gerald Pechoc
Engineer for Telecommunications
and Electronics
email: gerald@pechoc.eu
mobil: +43 680 215 15 19
|
I have newly installed Arduino IDE v1.8.13 and downloaded the MS5xxx lib, as I remember from arduinolibraries.info but the example program Simple Server does not run.
I always get "Error connecting..." means can not connect to the sensor.
Because I am not a specialist with this breakout board and not that code master, could you help me what I could do ?
Regards Gerald
The text was updated successfully, but these errors were encountered: