kriswiner / EM7180_SENtral_sensor_hub

(Affordable) Ultimate Sensor Fusion Solution
https://www.tindie.com/products/onehorse/ultimate-sensor-fusion-solution/
96 stars 37 forks source link

Raspberry Pi calibration options #50

Open JNatael opened 5 years ago

JNatael commented 5 years ago

I'm currently trying to implement the device on a Raspberry Pi based on this library. I've managed to implement data collection just fine, but I'm a bit unclear about calibration options. The documentation seems to only have sketches for a Teensy device, and the pi code itself has a non-Master object type that seems to write to individual registers and such but if that is usable for calibration, and how to use it, I'm unable to find the documentation or figure it out.

Is calibration with the Pi possible? If so, how can I go about learning how to do it? If not, when will it be added?

kriswiner commented 5 years ago

No plans to specifically support the Raspberry pi, we don't use it. But if you can read data from the EM7180 with the pi there is no reason you can't do everything else with it using the pi including calibrate it. Please see this https://github.com/gregtomasch/EM7180_SENtral_Calibration and this https://github.com/simondlevy/EM7180. If still not good enough, we might be available to make this work for you on a contract basis.

On Wed, Mar 6, 2019 at 9:12 AM JNatael notifications@github.com wrote:

I'm currently trying to implement the device on a Raspberry Pi based on this library. I've managed to implement data collection just fine, but I'm a bit unclear about calibration options. The documentation seems to only have sketches for a Teensy device, and the pi code itself has a non-Master object type that seems to write to individual registers and such but if that is usable for calibration, and how to use it, I'm unable to find the documentation or figure it out.

Is calibration with the Pi possible? If so, how can I go about learning how to do it? If not, when will it be added?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/EM7180_SENtral_sensor_hub/issues/50, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qmM8JAqYS6wut9snmjel4Di4Njmiks5vT_bugaJpZM4bhZCx .

mhmhartman commented 4 years ago

@JNatael have you made any progress on this?

JNatael commented 4 years ago

Sadly no; I think the firmware on my device somehow got corrupted and due to this issue (https://github.com/kriswiner/EM7180_SENtral_sensor_hub/issues/18) I can't rewrite it, meaning I couldn't use it even if I could calibrate.

kriswiner commented 4 years ago

The only way for the firmware to get corrupted is if you try to write to the EEPROM, is this what happened?

On Thu, Sep 12, 2019 at 3:44 PM JNatael notifications@github.com wrote:

Sadly no; I think the firmware on my device somehow got corrupted and due to this issue (#18 https://github.com/kriswiner/EM7180_SENtral_sensor_hub/issues/18) I can't rewrite it, meaning I couldn't use it even if I could calibrate.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/EM7180_SENtral_sensor_hub/issues/50?email_source=notifications&email_token=ABTDLKUBLPMPGGOMLSU5T3LQJLA3PA5CNFSM4G4FSCY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6TPEZY#issuecomment-531034727, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKUJFPA6P6PYPME56B3QJLA3PANCNFSM4G4FSCYQ .

JNatael commented 4 years ago

The only way for the firmware to get corrupted is if you try to write to the EEPROM, is this what happened?

Actually was just posting the more full story in another issue: https://github.com/kriswiner/EM7180_SENtral_sensor_hub/issues/60

The short answer is no, the device worked fine and then, after being shipped overseas, stopped working. I have been trying for some time now to figure out what happened or find a solution, all to no avail. Any help would be much appreciated!