This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Can nRf51822 be activated by vibrations?

My question is can the beacon be activated by someone shaking it and receive a notification via Bluetooth? If so what is the range it would have? If not can an additional sensor be added to achieve this effect? Understanding that additional equipment maybe be needed. Student in classroom setting for project.

Parents
  • The nRF51822 does not have any built in vibration sensing as far as I'm aware

    You would need to attach an external vibration sensor of some kind.

    You can buy simple vibration sensors, which are basically a push button switch which gets pressed when there is vibration, however my experience with these sorts of sensors, is that they are not good at detecting a shake and they seem to be designed to detect a sharp movement, e.g. you knock or tap the them. However you may be able to find a mechanical sensor which does trigger when you shake it.

    Alternatively, you need to use an accelerometer chip of some kind e.g. LIS2DH

    Or accelerometer + gyro (LIS3DH) etc

    But its far harder to use these devices as they have to be configured via TWI or SPI and interfacing to their interrupt signals can be problematic because the GPIOTE system on the nRF51 takes a lot of power in fast mode, which may be required to detect the interrupt from such devices

    So if you simply want to detect a shake, I suspect your best option is to find a suitable mechanical sensor which will trigger with the sort of shake you anticipated

    (Someone may be able to suggest a suitable mechanical sensor)

Reply Children
No Data
Related