https://github.com/coderbyheart/smartvan-firmware
SmartVan: turn your campervan into a smart vehicle using the nRF9160 DK
https://github.com/coderbyheart/smartvan-firmware
smartvan
Last synced: 9 months ago
JSON representation
SmartVan: turn your campervan into a smart vehicle using the nRF9160 DK
- Host: GitHub
- URL: https://github.com/coderbyheart/smartvan-firmware
- Owner: coderbyheart
- Created: 2020-11-22T22:59:45.000Z (about 5 years ago)
- Default Branch: saga
- Last Pushed: 2020-12-26T13:58:38.000Z (almost 5 years ago)
- Last Synced: 2025-02-01T11:11:09.281Z (11 months ago)
- Topics: smartvan
- Language: C
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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