Mikey V

Member Since: December 23, 2012

Country: United States

  • Ok got a weird question - I’ve been playing around with this sensor for awhile and was wondering if there was anyway to interpret the interrupt functions (specifically the free fall detection) without using a microcontroller.

    Ideally I’d like to set the limits for free fall in the register using a mcu, disconnect the mcu, then be able to use the interrupt pin as a control (i.e. pin goes high -> turn on led or whatever, pin goes low -> turn off led). I’m thinking set up could be similar to how you initially set the time on a rtc then as along as you keep it powered it keeps an accurate time, but I’m not sure how reading and translating the interrupt register would work…


  • Sorry to just be getting back to you on this (I didn’t see I had a reply…) but this explains it perfectly! Thanks for all the help!

  • Could anyone help me understand a bit what is coming out of the sensor when you read the interrupt register? Looking at the advanced code I see this line: if(values[0] & (1<<5))tapType=2; which I don’t fully understand. Is it shifting the values variable 5 bits left? For example 10001000 becomes 1000000 and if that is nonzero the statement is true? Still trying to wrap my head around this kind of stuff so any help would be much appreciated, thanks!

No public wish lists :(