Commit graph

390 commits

Author SHA1 Message Date
rbaron
945663e70b Plotted gerbers for parasite52832 2021-02-24 07:58:44 +01:00
rbaron
66234ce256 Adds sht30 temperature and humidity sensor 2021-02-23 22:17:48 +01:00
rbaron
5c81a37d86 Add saadc-vcc-nrf52832 playground example
It samples its own VDD without any external circuit!
2021-02-23 22:16:58 +01:00
rbaron
91380796cf Some minor adjustements on pcbnew 2021-02-23 19:00:53 +01:00
rbaron
9106585305 Initial commit with parasite52832 2021-02-23 18:44:48 +01:00
rbaron
a06dfbfaec Introduces ble-rtc-low-power-advertiser 2021-02-22 14:13:19 +01:00
rbaron
b29ad7d217 Adds ble-rtc-advertiser nrf_sdk example 2021-02-21 15:18:07 +01:00
rbaron
405277ae19 Adds ble-advertiser nrf_sdk example 2021-02-21 14:14:15 +01:00
rbaron
963500587e Adds ble-beacon to nrf_sdk playground 2021-02-21 12:30:26 +01:00
rbaron
b470bf4d14 Some notes on low power modes 2021-02-21 11:04:04 +01:00
rbaron
41690a7198 Fixes rtc playground example 2021-02-20 12:24:31 +01:00
rbaron
e4bc5cc1f4 nrf_dfk rtt playground example 2021-02-20 12:10:54 +01:00
rbaron
9d352b2181 simple_timer nrf_sdk playground example.
This uses the app_simple_timer library, which uses the high frequency clock
for keeping track of time.
In reality, we want to use the low frequency clock with RTC, since it's much
more power efficient and we don't need high precision.
2021-02-20 10:17:10 +01:00
rbaron
7c222f1729 Add a blinky_rtt example with RTT logging 2021-02-20 09:17:31 +01:00
rbaron
529412e0ed Add a non-Arduino, nrf5 SDK only blinky playground project 2021-02-19 20:37:07 +01:00
rbaron
5ca930d5da Investigating a weird high current consumption. 2021-02-19 18:38:53 +01:00
rbaron
fb48ad7da7 Implement ADC correction for the soil sensor for a range of input voltages 2021-02-19 10:35:25 +01:00
rbaron
5b3c6a471d Some battery saving improvements
Got it working on the nrf52840 breakout board!
2021-02-17 22:40:03 +01:00
rbaron
972f5507f4 Notes on nrf52840 breakout 2021-02-16 18:09:24 +01:00
rbaron
fa99707053 Experiments with SoftwareTimer 2021-02-15 21:50:15 +01:00
rbaron
efe2fa1f69 Silly timer implementation
I'm starting to explore ways to get into sleep. It seems like I need to:
1. Set/schedule an RTC interrupt
2. Get into the System ON sleep mode
2021-02-14 17:09:52 +01:00
rbaron
321e70a188 Add battery level to the BLE advertisement packet 2021-02-14 13:15:41 +01:00
rbaron
9c2d95569d Extracts soil reading to SoilMonitor 2021-02-14 12:43:00 +01:00
rbaron
4c30ff3549 Adds a simple battery monitoring circuit and analog to digital measuring. 2021-02-14 10:59:18 +01:00
rbaron
6c4b57f2b0 Extracts BLE internals to a BLEAdvertising class 2021-02-13 17:11:36 +01:00
rbaron
8d01cd3b7e Extracted BLE advertisement packet building logic to BLEAdvertisementData 2021-02-13 15:26:44 +01:00
rbaron
30aa1168fa Fixes bit shifting value when packing soil moisture reading 2021-02-13 14:57:50 +01:00
rbaron
df97f89bd9 Uses service data instead of manufacturer specific data for advertising sensor values 2021-02-13 11:48:56 +01:00
rbaron
02e2f3d074 Uses a random, static MAC address 2021-02-13 10:18:05 +01:00
rbaron
b96129a6e6 Quick and dirty ble advetiment 2021-02-12 18:21:11 +01:00
rbaron
850df22f1a Removes custom board lnker scripts
For now let's use adafruit_feather_nrf52832.
2021-02-11 18:29:44 +01:00
rbaron
ea4bd872bc Simple PWM-based square wave works 2021-02-11 17:59:35 +01:00
rbaron
a4adc0087d Adds a README.md 2021-02-10 22:53:48 +01:00
rbaron
3652d89e77 Adds support to user-supplied PWM frequency 2021-02-10 22:49:21 +01:00
rbaron
11cf6583a3 Adds clang-format 2021-02-10 22:25:06 +01:00
rbaron
d138a266b5 Initial quick and dirty PWM implementation using Adafruit's HardwarePWM.h 2021-02-10 22:14:25 +01:00
rbaron
868d767b56 Custom board e73-tbb sort of works. 2021-02-10 17:09:13 +01:00
rbaron
66a0d8e4e3 Serial upload works.
Currently uploading via the Arduino IDE and PlatformIO works. But it's not perfect yet:
1. We're using a custom-compiled bootloader for the e73 board, which is nice;
2. We're still using `board = adafruit_feather_nrf52832` in the `platformio.ini` file. Using our custom board `boards/e73-tbb.json` doesn't work yet. Uploading results in a `*** [upload] IndexError : list index out of range` error. Most likely has to be fixed in https://github.com/platformio/platform-nordicnrf52/blob/develop/builder/main.py.
2021-02-10 09:36:58 +01:00
rbaron
0940e4ea7e Trying to make DFU work. No luck so far. 2021-02-10 00:07:57 +01:00
rbaron
0b52583781 Initial commit.
Blinky works on my E73-TBB nRF52832 development board.
It uses the "Generic" board variant and uploads using the jlink programmer.
2021-02-09 17:55:58 +01:00