troubles with altimeter MS5607 #29124
nomad
Posts: 276
hi
today i make first tests with the altimeter
1) Luckily, i have a PropellerDemoBoard here
i connected the device as per 29124_altimeter.spin object
its running but i think the output is verry wrong
on pst: altitude: -2086.08 m
-6844.09 ft
i living in winterthur near zurich in switzerland
and i think the altitude should be around 450 m
what going wrong ?
2) on the 29124_altimeter.spin object i can see
only that altimeter working on propeller-demo-board
and other boards
see: default Module setting:
it's possible to work with the altimeter on
- PPDB (propellerProfessionalDemoBoard)
or
with the propellerProtoBoard or
the new C3
- it's possible that, on ppb:
- 29124 pin gnd -> bdb:VSS -> my ppb: gnd
vin -> P7 P7 or +3.3V
ps -> P6 -
SCL -> P5 P5
SDA -> P4 P4
SDO -> P3 -
CS -> P2 -
have somebody ideas for this ??
i am working on a quadcopter with the ppb or C3-
and cant working with the demoboard
thanks for hints and help
regards nomad
today i make first tests with the altimeter
1) Luckily, i have a PropellerDemoBoard here
i connected the device as per 29124_altimeter.spin object
its running but i think the output is verry wrong
on pst: altitude: -2086.08 m
-6844.09 ft
i living in winterthur near zurich in switzerland
and i think the altitude should be around 450 m
what going wrong ?
2) on the 29124_altimeter.spin object i can see
only that altimeter working on propeller-demo-board
and other boards
see: default Module setting:
it's possible to work with the altimeter on
- PPDB (propellerProfessionalDemoBoard)
or
with the propellerProtoBoard or
the new C3
- it's possible that, on ppb:
- 29124 pin gnd -> bdb:VSS -> my ppb: gnd
vin -> P7 P7 or +3.3V
ps -> P6 -
SCL -> P5 P5
SDA -> P4 P4
SDO -> P3 -
CS -> P2 -
have somebody ideas for this ??
i am working on a quadcopter with the ppb or C3-
and cant working with the demoboard
thanks for hints and help
regards nomad
Comments
http://tymkrs.tumblr.com/post/21916124555/parallax-altimeter-module-29124-rev-a-ms5607-part-1-2
http://tymkrs.tumblr.com/post/21982704463/parallax-altimeter-module-29124-rev-a-ms5607-part-2-2
And I believe you can set the pins to whatever you want in the OBJ file.
thanks for your answer.
i work with the 29124_simple_altimeter_demo.spin
my Start_Alt := 200
today i am testing your code....
thanks for the hints on tymksr.tumblr.com
regards nomad
Good luck - let me know if it works or if there's anything on there I haven't addressed!
thanks for your reply.
yesterday i have testing the stuff with your code with PropellerProfessionalDemoBoard.
Pins are: SDA: P4
SCL: P6
Results:
altitude: -2086.08m
-6844.o9ft
Barometric Pressure: 7864.43 mb
232.24 in
Temperature: 20.01° C
68.01° F
START_ALT := 1317
i dont know what i should done??
ev. is the chip defect, i dont now
thanks for hints and tips
regards nomad
I don't think, however, that it's a chip defect since your temperature looks pretty reasonable.
Oh and try setting your starting altitude closer to your actual starting altitude.
change it to this:
-Phil
thanks for your answer:
i confirm i taken this with OBJ 29129_Altimeter.spin
i set Start_Alt: 1_387 ft (423meter) to 1 meter = 3.2808399 feet (3 feet 3⅜ inches)
on the weekend i test this with your pastebin-code with the changing of source from phil (look next post)
after test i make a reply
thanks for help
regards nomad
thanks for your answer and your help:
on the weekend i test this and make reply
regards nomad
@ tymkr, @phil,
on sunday morning i make some Tests:
i have make the changes as per your postings:
- testing with C3 :
- Pin gem. 29124_altimeter.spin -> (PropDemoBoard)
- Pins P4 = SDA (black)
P5 = SCL (red)
- 1.OnlineTest:
pst.output: - with alti-1.spin -> -2086.08m
- with alti-2.spin -> -2086.08m, -6844.09 ft
Temperature are the same as my early postings.
its possible that i working with wrong pins???
Now :-(
as per attachment i posting the alti-1.spin and alti-2.spin
thanks for help and tip hints and tricks
regards nomad
I just tested my code and though it should be working, I too got the -2086 and -6844 results. So I'm going to try and see whether or not it's my code. (Most likely is).
thanks for your answer
in the moment i dont use the altimeter
i am working on a quadcopter,,
and i must use the L3G4200D 3Axes-Gyroscope , its essential for the whole stuff.
but i have my GPS-System and on the GPS-System i have a correct Altitude.
thanks for your help
regards nomad