Shop OBEX P1 Docs P2 Docs Learn Events
Hitachi H48C Tri-Axis Accelerometer as seismometer? — Parallax Forums

Hitachi H48C Tri-Axis Accelerometer as seismometer?

Dave FDave F Posts: 11
edited 2010-05-27 16:53 in Propeller 1
Hi All,

I was looking at the specs of the Hitachi H48C Tri-Axis Accelerometer the other day and began wondering if anyone has attempted to use this unit to measure ground movements (earthquakes and tremors).

Wikipedia notes that earlier MEMS cantilever weight systems tended to be too noisy and were not sensitive enough for this application. But the H48C is a fairly recent development, and has a 12 bit A/D output. While this is nowhere near the 24 bit output of professional seismographs, yet it might be adequate for a strong-motion velocity sensor type of seismograph. And it is a full three axis unit in one package!

Anyway, thought I would put out the question to the forum. Anyone played with this?

Dave

Comments

  • Dave FDave F Posts: 11
    edited 2010-02-12 19:27
    I guess I should have mentioned that I am looking for prop specific applications.

    Dave
  • hover1hover1 Posts: 1,929
    edited 2010-02-12 20:01
    Most new notebooks have a 3-axis Accelerometer to detect a free fall condition to spin down the hard drive. Given that, this is what Stanford University is doing for earthquake detection.

    ·http://qcn.stanford.edu/

    Jim
  • Dave FDave F Posts: 11
    edited 2010-02-12 22:45
    Thanks Jim,

    That is really interesting.

    Dave
  • kf4ixmkf4ixm Posts: 529
    edited 2010-02-12 23:03
    i have done some experimenting with the 2 axis memsic 2125 for siesmic readings. i authored a post hear while back about this, but for the life of me i can't find it right now with the search. i used a basic stamp 2 though. i used the 2125 to detect the s and p-waves usually monitored for siesmic activity. then i had a small bs2 program that would take the readings, debug them as actual g-force values and had two servo's set up to replicate pen movements of a siesmograph, (n-s and e-w movements). i've been wanting to get a 3-axis to monitor all three axis of movement. it was pretty sensitive though, i could detect a train moving down the tracks at about 3/4 a mile away just mounted to a pole concreted in the ground. pretty much all "professional" siesmographs are anchored to solid bedrock in the ground to detect actual siesmic activity and not noise, (like from a train 3/4 mile away). im just starting with the propeller myself, so i can't be much help there, but it can be done!

    Post Edited (kf4ixm) : 2/12/2010 11:12:32 PM GMT
  • hover1hover1 Posts: 1,929
    edited 2010-02-12 23:38
    @kf4ixm

    Is this the post you were refering to?

    ·http://forums.parallax.com/showthread.php?p=866552

    Jim
  • LeonLeon Posts: 7,620
    edited 2010-02-12 23:42
    I once asked one of my contacts at Analog Devices about using their accelerometers for seismic measurements. He said that some people were doing it.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
  • Dave FDave F Posts: 11
    edited 2010-02-13 04:37
    @kf4ixm
    That is a cool project! That is exactly the sort of feedback I was looking for. It looks like hover1 successfully found your post. I enjoyed reading that thread also. Even though I am considering using the prop for this idea, your BS2 code is very useful.

    @hover1

    Thanks for finding kf4ixm’s post for us.

    @Leon

    Thanks for the info. It is encouraging to know that the idea has merit.

    Dave
  • kf4ixmkf4ixm Posts: 529
    edited 2010-02-13 15:49
    yes, that was it! thanks hover1! i have kinda moved this project to the back burner for the time being while trying to educate myself on the prop. i do plan on moving my idea to the prop eventually. i had originally planned on designing a paper drum system that would have one revolution per hour, index over and resume the next hour. having to change the paper every 24 hours. one for n-s measurements, one for e-w mesurements, and one for z up down measurements and transform the debug out of all data to a .cvs file to the usb stick datalogger. one thing i did notice while playing with the debug out's was that the more you debug out, the slower the servo's respond, because of the fact that debug out statements take some time to process and execute. this may not be a problem for the prop. keep us informed on your project!

    Also, i had found doing some research and watching a series on either the science channel or nat geo channel about plate tetonics, i discovered that the north american plate actually moves southwest by approximatly 3" per year. this got me to thinking about upgrading the system to include a hm55b compass and gps sensor into this system to actually monitor the plate movement of the sensor array. one would of course have to take into account of magnetic declination, which for my position is +4° 23' EAST. (see here for you area)
    I know a couple of years back when i checked it was around the 3 degree range, so it does change over time, i'm just not sure by how much. i for one would be interested in seeing what the gps postition and plate orientation is before and after a siesmic event. i know gps is gonna have some variations between readings, but my plan was to gather data over an hour, average that hourly·data, then log the hourly data and 24 hour data average. also using a high gain gps antenna, like helical or offset dipole arraingment, (like ones for we-fax i have built before)·to recieve the most satellites possible across the entire horizon instead of just looking up as in patch type antenna's.




    Post Edited (kf4ixm) : 2/13/2010 5:07:05 PM GMT
  • Dave FDave F Posts: 11
    edited 2010-02-13 18:15
    @kf4ixm

    I'll bet the prop will be able to take care of those Basic Stamp speed issues for you. Especially since you can load various processes into individual cogs where they can do their thing without disturbing other parts of your program. And not only that, there area all those cool prop objects just waiting to make your life easier by having already written code functions that you can just 'plug in' like a black box to do things for you.

    If you are teaching yourself about the prop, I would highly recommend Andy Lindsay's Propeller Education Kit Fundamentals material. I have used it for several years with my beginning electronics students. It is very well written and progresses smoothly from concept to concept. And by the time you are finished with it you will have a good grasp of Spin programming fundamentals. As a bonus, the whole .PDF document is built right in to the Propeller Tool software. You can get to it under the Help menu in the Prop Tool.

    Happy Spinning.

    Dave
  • kf4ixmkf4ixm Posts: 529
    edited 2010-02-13 20:14
    Thanks Dave! I'm now reading the 'programming and customizing the multicore propeller microcontroller' book i got this week. thats one reason i wanted to move my project to the prop for the speed, and i plan on using a cog for each sensor (accelerometer, compass and gps) and a cog for the datalogger. i will for sure check out the pdf you mentioned.

    Thanks again!
  • Muzzamil JanjuaMuzzamil Janjua Posts: 1
    edited 2010-05-26 20:02
    hello to all of you.
    i am· student of electrical engineerig. some one please tell me how to use or operate "hitachi H48C" Accelerometer.
    thanking you in anticipation.
    my email address is jj_4_u@hotmail.com
    regards
    muzzamil janjua
  • hover1hover1 Posts: 1,929
    edited 2010-05-26 20:12
    Welcome!

    Check the Object Exchange for some samples:

    ·http://obex.parallax.com/objects/search/?q=H48C

    Also the lower right corner of the product page has the Data Sheet and more downloads.

    ·http://www.parallax.com/Store/Microcontrollers/BASICStampModules/tabid/134/txtSearch/H48C/List/1/ProductID/97/Default.aspx?SortField=ProductName%2cProductName


    Jim
  • MacTuxLinMacTuxLin Posts: 821
    edited 2010-05-27 16:53
    Got this module from Parallax & ran it on my Protoboard using the object with VGA output. Its cool to see how responsive it is. You'll still need to write the logic for your project, though.
Sign In or Register to comment.