Commit graph

390 commits

Author SHA1 Message Date
rbaron
8cfb87ef32 Configs button 2022-11-14 22:37:03 +01:00
rbaron
ffeca36c27 Configures LED 2022-11-14 22:22:08 +01:00
rbaron
c15120178f Enables RTT console for bparasite_nrf52840 2022-11-14 19:13:04 +01:00
rbaron
a639343b6e Code commpiles for custom bparasite_nrf52840 board 2022-11-14 19:01:39 +01:00
rbaron
427f9279de Revert "Uses a single PNP BJT in the fast discharge circuit"
This reverts commit fb7dff8bfe.

Fixes #72
2022-11-14 08:48:02 +01:00
rbaron
2779fe9af6 Started adding a b-parasite board. Not working yet 2022-11-14 08:47:14 +01:00
rbaron
3d6b4eaef1 Tame log levels 2022-11-13 17:28:38 +01:00
rbaron
59f2aad3db Some hacky macros for error handling 2022-11-13 17:26:50 +01:00
rbaron
107936770e Better error handling in adc.c 2022-11-13 16:50:34 +01:00
rbaron
6b1f52925e Moved adc stuff to adc.c 2022-11-13 16:18:30 +01:00
rbaron
522452b465 ADC works 2022-11-13 14:37:55 +01:00
rbaron
9c9492567f PWM kinda works 2022-11-13 11:20:31 +01:00
rbaron
bae06952fb Initial commit
SHTC3 comm via i2c works
2022-11-12 12:46:15 +01:00
rbaron
baec1c2a80 Adds missing base.stl to experimental/rotisserie
Fixes #63
2022-11-08 19:19:08 +01:00
rbaron
fb7dff8bfe Uses a single PNP BJT in the fast discharge circuit 2022-11-06 18:20:47 +01:00
rbaron
54c6c09ff0
Merge pull request #68 from oleo65/python-flash-script
Introduces Python helper script for flashing with OpenOCD (pyocd)
2022-10-23 19:02:58 +02:00
Ole Odendahl
149e15480d
Fixed typo in readme and changed meaning of the sentence to better reflect the actual situation. 2022-10-23 19:00:57 +02:00
Ole Odendahl
d8dfcc69a9
Final cosmetic changes in flashing code to improve output and variable naming. 2022-10-23 18:55:46 +02:00
Ole Odendahl
e45bb43b84
Clarified mac address code so that it will be clearer what it contains (static device mac). 2022-10-23 18:51:56 +02:00
Ole Odendahl
100f4046fa
Added basic readme for flashing based on issue #67. 2022-10-23 18:10:08 +02:00
Ole Odendahl
53e52f3267
Moving the flashing files to different subfolder for better discoverability. 2022-10-23 18:09:43 +02:00
Ole Odendahl
a25ec5ca58
Simplified the cli of flashing scripts. 2022-10-23 18:00:11 +02:00
Ole Odendahl
8202761646
Added requirements file for python environment setup. 2022-10-23 17:36:28 +02:00
Ole Odendahl
39f839b794
Changed use of memory addresses in mac address reader to hex representation. 2022-10-23 17:32:57 +02:00
Ole Odendahl
1174bcab67
Added script for facilitating flashing procedures with pyocd. 2022-10-23 11:48:24 +02:00
Ole Odendahl
f4df95e6a0
Added mac converter class for easy reading of mac address from microcontroller. 2022-10-23 11:38:12 +02:00
rbaron
785c8d7874
Merge pull request #65 from hallsny/main
high airflow case design stl and 3mf files
2022-10-10 23:09:06 +02:00
hallsny
e1ec8fd5a8
high airflow case design stl and 3mf files 2022-10-10 13:16:10 -07:00
rbaron
220ff6ec61
Merge pull request #64 from rbaron/rotisserie
Open sources the rotisserie / spinning drying jig
2022-09-29 23:25:58 +02:00
rbaron
0c7222d199 Open sources the rotisserie / spinning drying jig
Fixes #63
2022-09-29 23:21:32 +02:00
rbaron
9c2c3d7c3a
Merge pull request #62 from sairon/cheaper-lcsc-r10
replace R10 LCSC part with equivalent without extra fee
2022-09-29 22:56:19 +02:00
Jan Čermák
f44e91f865
replace R10 LCSC part with equivalent without extra fee 2022-09-29 20:28:56 +02:00
rbaron
b0cbba00c4
Merge pull request #57 from Hedda/patch-1
nrf2480 / nrf2833  -> nRF52840 / nRF52833
2022-09-09 17:00:59 +02:00
Hedda
c339538913
Makefile comment nrf2480 -> nRF52840
Makefile comment nrf2480 -> nRF52840
2022-09-09 16:53:01 +02:00
Hedda
314a7f2fe3
README.md nrf2480 -> nRF52840
README.md nrf2480 -> nRF52840
2022-09-09 16:51:33 +02:00
rbaron
7ebfe7e399
Update "Battery Life" section in README.md
Fixes #48.
2022-09-09 16:25:48 +02:00
rbaron
82eabe778a Fixes BTHome encoding 2022-08-30 21:02:51 +02:00
rbaron
5c1ea4a164
Merge pull request #53 from rbaron/bthome
Adds support for the BTHome BLE protocol
2022-08-29 21:35:27 +02:00
rbaron
81f0af3cf2 Fixes humidity factor & removes illumminance
The reason for removing illuminance is to leave enough space for the
full name AD element "prst". There may be options for also sending the
illuminance (extended adv, scan response etc), with different power
consumption/overhead/complexity tradeoffs. For now let's keep it simple.
2022-08-29 21:17:17 +02:00
rbaron
ce4c496f4d Uses newly minted 0x14 sensor type for moisture
I also comment out the illiminance sensor, since we need the space for
encoding the device's name - "prst".
2022-08-28 22:47:21 +02:00
rbaron
6ea0bb8525 First stab at an alternative, BTHome compatible BLE protocol
This protococol (https://bthome.io/) allows for automatic sensor
detection in Home Assistant, as long as the device broadcasts its
sensors in the expected format.
2022-08-28 18:58:16 +02:00
rbaron
cc8dcf9240
Merge pull request #49 from rbaron/sleep-adv
Advertises while in deep sleep
2022-08-11 08:42:39 +02:00
rbaron
5cfd69479a Advertises while in deep sleep.
Related to the investigation in #48
2022-08-08 19:34:07 +02:00
rbaron
a7732f106b Introduces new config flag PRST_BLE_EXPERIMENTAL_LONG_RANGE
This flags makes use of the Coded PHY from Bluetooth 5. It should be
treated as an experimental feature and it's disabled by default.
Note that clients (such as ESPHomme) would also have to scan on the
Coded PHY to be able to find b-parasites operating in this mode.
Currently, no client does that. Thus the feature is disabled and marked
as experimental.
2022-08-03 23:14:06 +02:00
rbaron
0e9b9feb97
Merge pull request #47 from perja12/perja/whitespace
Fix a couple of spelling errors and white spaces
2022-07-07 18:33:59 +02:00
Per Thomas Jahr
d56f60ceef Fix a couple of spelling errors and whitespaces. 2022-07-07 10:03:21 +02:00
rbaron
e7f7f96797 Moves KiCad project file to KiCad 6
Moved the Q4 photodiode footprint dot (representing the collector) so
it's more clearly visible. Hopefully it will help addressing the
recurring confusion about Q4's orientation (#3, #42).
2022-05-18 20:13:58 +02:00
rbaron
6382167efb
Merge pull request #35 from drspangle/case-top-features
Added new alternative case cover with gas exchange holes, cutout for photosensor, pry slots
2022-04-28 22:35:50 +02:00
Daniel Smullen
8b80fe6db0 Reorganized case files
+STEP file now contains both case top versions
+Restored original Top STL (without holes)
+Added new Top-holes STL (has the holes for the photosensor and humidity sensor)
2022-04-28 16:25:53 -04:00
Daniel Smullen
e047929617 Added gas exchange holes, cutout for photosensor, pry slots 2022-04-28 13:11:32 -04:00