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