Commit Graph

49 Commits

Author SHA1 Message Date
Joerg Lehmann ab86c843b1 cancel transactions at timeout 2020-06-01 19:04:39 +02:00
Joerg Lehmann 6d3053d8ad try to make it more stable... 2020-06-01 12:57:54 +02:00
Joerg Lehmann 85b0f6db06 refactor 2020-05-30 20:11:19 +02:00
Joerg Lehmann 0c5c673e5e add delay, see https://github.com/mcci-catena/arduino-lmic/issues/547 2020-05-30 18:01:13 +02:00
Joerg Lehmann e30a8293ac do not try a second time to use SendBuffer at failure 2020-05-29 17:12:20 +02:00
Joerg Lehmann 174f8b360f refactor a bit 2020-05-29 16:16:12 +02:00
Joerg Lehmann d0389af061 try second time if first try fails (SendBuffer) 2020-05-28 20:08:21 +02:00
Joerg Lehmann d2e4b81416 remove unused variable 2020-05-27 10:20:45 +02:00
Joerg Lehmann 1ce266ab22 remove timestamps in debug messages, debug nau7802 i2c connection 2020-05-23 18:13:08 +02:00
Joerg Lehmann 760ae035fd new version 20200522 2020-05-22 11:14:51 +02:00
Joerg Lehmann bf8c9f8441 optimize power 2020-05-18 16:06:31 +02:00
Joerg Lehmann 14490795af power optimizations 2020-05-15 10:10:29 +02:00
Joerg Lehmann 9c8b63fda8 new ADC: NAU7802, new library versions 2020-05-13 19:30:13 +02:00
Joerg Lehmann 8592ba94aa cal_factor must be 1 when absent 2020-02-29 13:59:34 +01:00
Joerg Lehmann f3e2e0181a fix formula 2020-02-29 12:39:54 +01:00
Joerg Lehmann 92c1aaefbe use NA to disable load cell in calibration command 2020-02-29 11:38:17 +01:00
Joerg Lehmann d2b821c46e make possible to disable load cell, store config in proper place 2020-02-29 10:57:42 +01:00
Joerg Lehmann 13d58eecc1 add sleep mode code 2020-02-11 16:57:31 +01:00
Joerg Lehmann e26fc4051b replace bodge/HX711 with Sthing/Q2-HX711-Arduino-Library 2020-02-10 19:41:40 +01:00
Joerg Lehmann d4a67b1803 change LMIC_setClockError setting, periodic system reset 2020-01-17 16:00:49 +01:00
Joerg Lehmann 4c021ff34a use median instead of average 2020-01-13 17:29:40 +01:00
Joerg Lehmann 730904e6ba change timing/power handling 2020-01-09 17:12:04 +01:00
Joerg Lehmann 2a1e647fc2 enhance calibration code 2019-12-20 09:05:24 +01:00
Joerg Lehmann 9830316e0d 5 init packets instead of 3 2019-12-14 23:07:56 +01:00
Joerg Lehmann c13648ff6d send sporadic init packets 2019-12-14 18:25:02 +01:00
Joerg Lehmann a991af0cd3 calibrate with downlink 2019-12-12 20:35:51 +01:00
Joerg Lehmann 14ac7a5ba4 make weighing more stable (hopefully) 2019-12-09 21:26:01 +01:00
Joerg Lehmann 116e92496e Cleanup 2019-11-22 21:22:33 +01:00
Joerg Lehmann 0b493ffa56 minor fix 2019-11-22 08:07:45 +01:00
Joerg Lehmann 54460724db disable led, refactor 2019-11-22 07:39:39 +01:00
Joerg Lehmann 54c2985774 enhance logging, correct loop logic 2019-11-20 20:16:00 +01:00
Joerg Lehmann da5e52a033 refactor sending code 2019-11-15 22:03:55 +01:00
Joerg Lehmann c81d96bca8 other way to read tare values 2019-10-04 13:18:21 +02:00
Joerg Lehmann a74a835103 fix type 2019-10-04 10:55:02 +02:00
Joerg Lehmann 89ee03f1f4 limit tare based on uplink count 2019-10-04 07:20:26 +02:00
Joerg Lehmann eb5ca48a86 only accept downlink message to tare within certain time 2019-10-03 20:55:51 +02:00
Joerg Lehmann df2178e6e0 update version, save calibration values 2019-10-03 20:41:05 +02:00
Joerg Lehmann 58de0909b3 add receive logic 2019-10-03 20:23:11 +02:00
Joerg Lehmann 6884d7f1ac make version part of init packet 2019-09-24 17:04:45 +02:00
Joerg Lehmann 754404a771 make debug level configurable in FRAM 2019-09-13 14:38:16 +02:00
Joerg Lehmann eb419b016a do not use LMIC_setClockError 2019-09-13 13:31:27 +02:00
Joerg Lehmann 794b4066ed Stand Hoechfeld Update 2019-09-07 09:57:35 +02:00
Joerg Lehmann 12f048cc39 do unjoin when started 2019-08-31 09:14:59 +02:00
Joerg Lehmann 3d03d0b52d refactor code 2019-08-10 20:06:25 +02:00
Joerg Lehmann a97afbf36c refactor read sensors 2019-07-12 21:17:11 +02:00
Joerg Lehmann 59f6a1c0b9 mobe warm-up of bme280 2019-07-10 17:22:34 +02:00
Joerg Lehmann c9875123f4 only one HX711, rename load cell names 2019-07-08 16:46:40 +02:00
Joerg Lehmann bac960c897 cleanup, debug-switch 2019-06-21 15:42:32 +02:00
Joerg Lehmann 441356f0ab Initial commit 2019-06-21 14:21:59 +02:00