6036752937
Changed to v5.1.1
2023-11-06 21:05:20 +00:00
8fd658071a
Added start of HTTP server (& data storage)
2023-11-06 20:41:17 +00:00
37ce171347
Mid commit save
2023-11-01 21:56:12 +00:00
776eb15c59
Added somethings
2023-11-01 21:39:57 +00:00
2b117b4b33
Started on DS18B20 and PMS5003
...
Didn't realise DS18B20 was 1-Wire
Will probably just find a library for that one - can't be arsed
doing more bit banging
2023-11-01 21:12:39 +00:00
8aeade9922
Added scaffolding for DS18B20
2023-11-01 17:31:30 +00:00
6ed826ed7a
There's a bug with the rolling average
...
Not quite sure where though
2023-10-31 22:12:51 +00:00
7b29ea24db
Cleanedup code and added some logging
...
I think the averaging is working - will need to check the 10 minutes
2023-10-31 21:24:21 +00:00
6a3e39342e
I think just being completely flexible about the setup timings just works
...
I wonder if I put too much trust into the datasheet? I don't know
2023-10-31 21:13:49 +00:00
36041e63d2
The reading doesn't work with WiFi enabled
...
Just get timing errors
2023-10-31 21:00:44 +00:00
03b4bc7e5a
More cleanup and seems to be working
2023-10-31 20:42:29 +00:00
45d7001bb0
Working! and cleanup collapsed
...
got better results that passed checksum. NO idea why - I guess just being less
"strict" on what the high / low period was
2023-10-31 20:30:53 +00:00
822b73597e
Looked into another DHT22 library for inspiration
...
Still not working and I really can't tell why
2023-10-30 23:37:36 +00:00
69a7732017
Can't believe I fucked the for loop like that
...
Well I can believe it
2023-10-30 22:58:28 +00:00
e139aa7e9c
Every 4th byte comes back with zero time elapsed high.
...
Really don't know why
2023-10-30 22:13:16 +00:00
089d8a62f1
I get a timing error on every 4th bit
...
No idea why
2023-10-30 22:13:02 +00:00
6b40f97ba5
DHT22 is not working how I want it to
...
Need to keep debugging it... think of a different way to approach it maybe
2023-10-30 21:11:24 +00:00
5c6a89df87
Ran clang-format
2023-10-28 17:28:13 +01:00
bbfc55a066
Added SNTP and start of data logging
2023-10-28 13:40:19 +01:00
cf9a549cf2
Added Wifi
...
Seems to be working.
It's 90% the same code as the examples
2023-10-28 00:58:33 +01:00
e8c1dc0647
Added a random error checking function
...
Not actually sure I'll use it?
2023-10-25 22:11:04 +01:00
ce0de58466
Fleshing out some more parts
2023-10-25 21:43:47 +01:00
5efca6b3c0
Figured out how to turn on PSRAM
...
Now it looks like you can just allocate from a regular "malloc"
Code ran successfully (afaict) when writing to 7MB - didn't seem
to when doing 8MB. Not 100% sure why, but I don't think it'll
matter tbh
2023-10-24 22:07:59 +01:00
d8c6ef5c8b
Already found some bugs
...
Wish I could be writing this in rust
2023-10-23 22:36:19 +01:00
6b9ec20b72
Started some DHT22 stuff
...
Haven't tested it at all
2023-10-23 22:34:21 +01:00
c91a8fc729
Got the KConfig stuff to work
...
I didn't quite realise I needed to #include sdkconfig.h
I thought they were injected as -D flags for ... no reason really
2023-10-23 21:41:32 +01:00
92949ea84d
Trying to get Kconfig to work
...
There's something wrong with the importing part I think
2023-10-23 21:30:38 +01:00