controlling the HM55B gyroscope
abdelrazzac10
Posts: 4
hi,
I'm using the basic stamp 2sx to control the HM55B gyroscope... unfortunately I couldn't find the appropriate calibration program of the gyroscope ,so I used the program of the BS2 module (CalibrateHm55bCompass.bs2 ),· with only·replacing ' {$STAMP BS2}· at the head of the program by·' {$STAMP BS2sx} ... it seems that the program works, it asked me to point the gyro to 0 degree and to press enter... well nothing happend after pressing enter (nothing changed! it didnt tell me anything) but I suppose that the gyroscope is calibrated...
after calibration, I used a program called "TestCalibratedHM55BCompass.bs2", with also··replacing ' {$STAMP BS2}· at the head of the program by·' {$STAMP BS2sx} ... when I run the program nothing changed on the Windowpane!.. I don't know if we are reading the angle or not! I used another program called "CalibrateHm55bCompass.bs2" but still seeing nothing changing!!! I even used the HM55B view screen program available at the PARALLAX website... still getting nothing...
anyone has experience with this gyroscope? did I go the right direction? any advice?
thank you very much
I'm using the basic stamp 2sx to control the HM55B gyroscope... unfortunately I couldn't find the appropriate calibration program of the gyroscope ,so I used the program of the BS2 module (CalibrateHm55bCompass.bs2 ),· with only·replacing ' {$STAMP BS2}· at the head of the program by·' {$STAMP BS2sx} ... it seems that the program works, it asked me to point the gyro to 0 degree and to press enter... well nothing happend after pressing enter (nothing changed! it didnt tell me anything) but I suppose that the gyroscope is calibrated...
after calibration, I used a program called "TestCalibratedHM55BCompass.bs2", with also··replacing ' {$STAMP BS2}· at the head of the program by·' {$STAMP BS2sx} ... when I run the program nothing changed on the Windowpane!.. I don't know if we are reading the angle or not! I used another program called "CalibrateHm55bCompass.bs2" but still seeing nothing changing!!! I even used the HM55B view screen program available at the PARALLAX website... still getting nothing...
anyone has experience with this gyroscope? did I go the right direction? any advice?
thank you very much
Comments
Just quickly looking at one of those programs, it appears as though you should be fine since they use SHIFTIN and SHIFTOUT which won't vary in operation based on processor speed. Just for the record the HM55B is a compass module, not a gyro module.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Shawn Lowe
My last words shall be - "NOT YET!!!"
http://www.parallax.com/dl/docs/prod/compshop/HM55BModDocs.pdf