GithubHelp home page GithubHelp logo

ayavilevich / nrf9160-vibration-logger Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 60 KB

Thingy91 Firmware for it to function as a vibration logger.

Home Page: https://blog.yavilevich.com/2023/07/thingy91-cellular-vibration-sensor/

CMake 1.13% C 98.87%
diy iot nrf9160 vibration zephyr thing91

nrf9160-vibration-logger's Introduction

nRF9160 Vibration Logger

Zephyr (nRF Connect SDK) firmware for a Thingy91 device for it to function as a vibration logger.

Based on ncs\v2.4.0\nrf\samples\nrf9160\nrf_cloud_mqtt_multi_service . See readme.rst for more details.

Additional references: asset_tracker_v2, mqtt (mqtt helper), mqtt_simple (older), coap_client.

Reference

ADXL362 - low power https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.0/kconfig/index.html#!CONFIG_ADXL362 https://docs.zephyrproject.org/latest/build/dts/api/bindings/sensor/adi,adxl362.html

ADXL372 - high G, impact sensor https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.0/kconfig/index.html#!CONFIG_ADXL372 https://docs.zephyrproject.org/latest/build/dts/api/bindings/sensor/adi,adxl372-spi.html

MQTT and MQTT helper https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.0/kconfig/index.html#!CONFIG_MQTT https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.0/zephyr/connectivity/networking/api/mqtt.html https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.0/nrf/libraries/networking/mqtt_helper.html

CoAP and CoAP utils https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.0/kconfig/index.html#!CONFIG_COAP https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.0/zephyr/connectivity/networking/api/coap.html https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.0/nrf/libraries/networking/coap_utils.html

Building

west build -b thingy91_nrf9160_ns --build-dir build_thingy91_nrf9160_ns
west build -b nrf9160dk_nrf9160_ns --build-dir build_nrf9160dk_nrf9160_ns
west build -p -b nrf9160dk_nrf9160_ns -- -DSHIELD=nrf7002ek -DDTC_OVERLAY_FILE="nrf9160dk_with_nrf7002ek.overlay" -DOVERLAY_CONFIG="overlay-nrf7002ek-wifi-scan-only.conf"
west build -t menuconfig
west flash --erase

nrf9160-vibration-logger's People

Contributors

ayavilevich avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.