Commit Graph
92 Commits
Author SHA1 Message Date
jlehmann cee3752349 some changes 2022-05-21 17:40:50 +02:00
jlehmann c3aa3b7845 with fixed ADC code 2020-08-04 16:19:15 +02:00
jlehmann 3bb6edd1e8 only format code 2020-08-04 16:16:30 +02:00
jlehmann 0aa2c11402 try with other nau7802 settings because of rare wrong readings 2020-07-21 14:27:58 +02:00
jlehmann 7ef7d25693 try some nau7802 settings because of rare wrong readings 2020-07-21 10:33:14 +02:00
jlehmann 1f0072797f millis() is unsigned long 2020-07-14 19:45:25 +02:00
jlehmann cfaccfb14a plausibility checks, eliminiate NOT_ATTACHED 2020-07-01 13:11:56 +02:00
jlehmann 90782229d5 fix bug 2020-07-01 11:11:16 +02:00
jlehmann 363e8ecc23 read sensors a second time if values do not seem plausible 2020-07-01 11:05:25 +02:00
jlehmann 924ec0719f handle scale timeouts better 2020-06-30 09:51:57 +02:00
jlehmann 3cf651b338 bug fix 2020-06-29 21:50:23 +02:00
jlehmann 0c553eed56 confirmed only if big difference in weight 2020-06-29 21:13:36 +02:00
jlehmann fecc1bf67b fix bug with last_values 2020-06-29 20:51:59 +02:00
jlehmann ddec85f57e fix bug with last_values 2020-06-29 20:10:04 +02:00
jlehmann 2ebcac04b7 enhance debug message 2020-06-29 17:57:01 +02:00
jlehmann 592bccdeb5 wait longer for sending to happen 2020-06-29 17:09:11 +02:00
jlehmann 3028836e2f try to make measurements more stable... 2020-06-29 16:54:59 +02:00
jlehmann f846c0d82a README update 2020-06-29 15:59:46 +02:00
jlehmann 875b1fef02 do not go to deep sleep if we do a stop_iterations 2020-06-12 19:54:43 +02:00
jlehmann 9cc59aadbb new release with patched library Catena-Arduino-Platform 2020-06-12 15:46:22 +02:00
jlehmann 22982235fb do not send on first position 2020-06-08 20:40:57 +02:00
jlehmann 23de8b8f4b use SF12 for initial Join 2020-06-08 16:06:52 +02:00
jlehmann f0b4b0d286 add delay after wakeup of deep sleep; add command calibrate_scales 2020-06-08 14:29:34 +02:00
jlehmann 3a8764dcb4 avoid recursion 2020-06-06 19:34:47 +02:00
jlehmann 57d795c36b 20200605 2020-06-06 08:37:28 +02:00
jlehmann d0a173a54a 20200604 2020-06-04 20:16:01 +02:00
jlehmann a8fe52fa0e reduce timeout again to 300sec, but sleep 10sec after timeout 2020-06-03 17:05:46 +02:00
jlehmann eb4da9d637 add debugging info, bug fix 2020-06-03 16:04:47 +02:00
jlehmann a4c0c71e54 README: patch arduino-lmic to use SF10 2020-06-03 10:37:26 +02:00
jlehmann fcfc596506 increase timeout from 300 to 900 seconds 2020-06-03 08:56:10 +02:00
jlehmann 59ce7ee44d 20200602 2020-06-02 21:21:05 +02:00
jlehmann f8909fc353 print LMIC.opmode before sleep 2020-06-01 19:31:36 +02:00
jlehmann ab86c843b1 cancel transactions at timeout 2020-06-01 19:04:39 +02:00
jlehmann 6d3053d8ad try to make it more stable... 2020-06-01 12:57:54 +02:00
jlehmann 85b0f6db06 refactor 2020-05-30 20:11:19 +02:00
jlehmann 0c5c673e5e add delay, see https://github.com/mcci-catena/arduino-lmic/issues/547 2020-05-30 18:01:13 +02:00
jlehmann e30a8293ac do not try a second time to use SendBuffer at failure 2020-05-29 17:12:20 +02:00
jlehmann 174f8b360f refactor a bit 2020-05-29 16:16:12 +02:00
jlehmann d0389af061 try second time if first try fails (SendBuffer) 2020-05-28 20:08:21 +02:00
jlehmann 7c8a52cafe tune code 2020-05-28 13:27:19 +02:00
jlehmann b71e0c0f0c make it more stable 2020-05-27 15:10:40 +02:00
jlehmann d2e4b81416 remove unused variable 2020-05-27 10:20:45 +02:00
jlehmann de0fef6971 some more tuning 2020-05-25 18:07:56 +02:00
jlehmann 1ce266ab22 remove timestamps in debug messages, debug nau7802 i2c connection 2020-05-23 18:13:08 +02:00
jlehmann 775eafc74f revised version 20200522 2020-05-22 14:52:09 +02:00
jlehmann 760ae035fd new version 20200522 2020-05-22 11:14:51 +02:00
jlehmann bf8c9f8441 optimize power 2020-05-18 16:06:31 +02:00
jlehmann 14490795af power optimizations 2020-05-15 10:10:29 +02:00
jlehmann 9c8b63fda8 new ADC: NAU7802, new library versions 2020-05-13 19:30:13 +02:00
jlehmann 8592ba94aa cal_factor must be 1 when absent 2020-02-29 13:59:34 +01:00
jlehmann f3e2e0181a fix formula 2020-02-29 12:39:54 +01:00
jlehmann 92c1aaefbe use NA to disable load cell in calibration command 2020-02-29 11:38:17 +01:00
jlehmann 08f90010e7 fix version typo 2020-02-29 11:32:08 +01:00
jlehmann d2b821c46e make possible to disable load cell, store config in proper place 2020-02-29 10:57:42 +01:00
jlehmann 4fd870e6d5 only short hash for commits 2020-02-11 17:52:04 +01:00
jlehmann c61b89d1f1 add build information to README 2020-02-11 17:48:14 +01:00
jlehmann 13d58eecc1 add sleep mode code 2020-02-11 16:57:31 +01:00
jlehmann e26fc4051b replace bodge/HX711 with Sthing/Q2-HX711-Arduino-Library 2020-02-10 19:41:40 +01:00
jlehmann 3f348f2abb new version (no other change, but updated libs) 2020-02-10 17:43:31 +01:00
jlehmann d4a67b1803 change LMIC_setClockError setting, periodic system reset 2020-01-17 16:00:49 +01:00
jlehmann 4c021ff34a use median instead of average 2020-01-13 17:29:40 +01:00
jlehmann 730904e6ba change timing/power handling 2020-01-09 17:12:04 +01:00
jlehmann 630c432289 new version of used libraries 2020-01-07 17:42:50 +01:00
jlehmann 2a1e647fc2 enhance calibration code 2019-12-20 09:05:24 +01:00
jlehmann 9830316e0d 5 init packets instead of 3 2019-12-14 23:07:56 +01:00
jlehmann c13648ff6d send sporadic init packets 2019-12-14 18:25:02 +01:00
jlehmann a991af0cd3 calibrate with downlink 2019-12-12 20:35:51 +01:00
jlehmann 14ac7a5ba4 make weighing more stable (hopefully) 2019-12-09 21:26:01 +01:00
jlehmann 116e92496e Cleanup 2019-11-22 21:22:33 +01:00
jlehmann 0b493ffa56 minor fix 2019-11-22 08:07:45 +01:00
jlehmann 54460724db disable led, refactor 2019-11-22 07:39:39 +01:00
jlehmann 54c2985774 enhance logging, correct loop logic 2019-11-20 20:16:00 +01:00
jlehmann da5e52a033 refactor sending code 2019-11-15 22:03:55 +01:00
jlehmann 9be03ea5c2 make serial interface configurable 2019-11-09 21:08:57 +01:00
jlehmann 863f81e434 add mini-beieli-provison.go 2019-11-09 20:59:44 +01:00
jlehmann c81d96bca8 other way to read tare values 2019-10-04 13:18:21 +02:00
jlehmann a74a835103 fix type 2019-10-04 10:55:02 +02:00
jlehmann 89ee03f1f4 limit tare based on uplink count 2019-10-04 07:20:26 +02:00
jlehmann eb5ca48a86 only accept downlink message to tare within certain time 2019-10-03 20:55:51 +02:00
jlehmann df2178e6e0 update version, save calibration values 2019-10-03 20:41:05 +02:00
jlehmann 58de0909b3 add receive logic 2019-10-03 20:23:11 +02:00
jlehmann 6884d7f1ac make version part of init packet 2019-09-24 17:04:45 +02:00
jlehmann 754404a771 make debug level configurable in FRAM 2019-09-13 14:38:16 +02:00
jlehmann eb419b016a do not use LMIC_setClockError 2019-09-13 13:31:27 +02:00
jlehmann 794b4066ed Stand Hoechfeld Update 2019-09-07 09:57:35 +02:00
jlehmann 12f048cc39 do unjoin when started 2019-08-31 09:14:59 +02:00
jlehmann 3d03d0b52d refactor code 2019-08-10 20:06:25 +02:00
jlehmann a97afbf36c refactor read sensors 2019-07-12 21:17:11 +02:00
jlehmann 59f6a1c0b9 mobe warm-up of bme280 2019-07-10 17:22:34 +02:00
jlehmann c9875123f4 only one HX711, rename load cell names 2019-07-08 16:46:40 +02:00
jlehmann bac960c897 cleanup, debug-switch 2019-06-21 15:42:32 +02:00
jlehmann 441356f0ab Initial commit 2019-06-21 14:21:59 +02:00