Skip to content

coderbyheart/smartvan-firmware

Repository files navigation

SmartVan: turn your campervan into a smart vehicle using the nRF9160 DK

This implements an application that

  • monitors internal and external temperature using BLE beacon thermometers (Blue Coin T) using the onboard nRF52840
  • publishes sensor readings to AWS IoT

LED schema

  • LED 1: Inside temperature up to date
  • LED 2: Outside temperature up to date
  • LED 3: sending data to cloud
  • LED 4: connected to cloud

Building

Prepare the Docker image with all build dependencies

docker build -t sdk-nrf-smartvan .

Build the firmware

For the nRF9160 of the DK

docker run --rm -v ${PWD}:/workdir/ncs/smartvan sdk-nrf-smartvan \
    /bin/bash -c 'cd /workdir/ncs/smartvan && west build -p always -b nrf9160dk_nrf9160ns'
nrfjprog -f nrf91 --program build/zephyr/merged.hex --sectoranduicrerase -r --log

For the nRF52840 of the DK

docker run --rm -v ${PWD}:/workdir/ncs/smartvan sdk-nrf-smartvan \
    /bin/bash -c 'cd ncs/zephyr && west build samples/bluetooth/hci_uart -p always -b nrf9160dk_nrf52840 && ls -la build/zephyr && cp build/zephyr/zephyr.hex /workdir/ncs/smartvan/hci_uart.hex'
nrfjprog -f nrf52 --program hci_uart.hex --sectoranduicrerase -r --log

About

SmartVan: turn your campervan into a smart vehicle using the nRF9160 DK

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published