I was so happy to have finaly a fonctionnal sketch for my esp8266 gateway whith the DHT22 that i post directly my code.
I hope that it will help some people.
based on: https://github.com/RobTillaart/DHTNew/blob/master/examples/dhtnew_endless/dhtnew_endless.ino
Hi, now I do, I have 1 gate and 3 nodes, I have already connected 1 node to a test meter, now I choose the same data that is displayed on the meter screen and MYCONTROLLER, node ID I install it manually, now I want to test at what maximum distance can the connection between the gate and the node be made, the gate is made on TTGO LoRa32 SX1276 OLED and the test node also TTGO LoRa32 SX1276 OLED, the other 2 nodes are nodemcu esp8266 + RFM95, they have standard antennas that do not inspire me much confidence , I want to try to build other antennas to see the difference between the standard antenna and the one I made, then I want to solve the problem with bootloader for FOTA, I think to create the nodes from nodemcu esp8266 + RFM95 because I want to connect to a node several counters from 2-6-8, because arduino Pro Mini / Nano no more than 2 interrupts esp8266 all gpio can be as interrupt, here I think how to do bootloader for FOTA.!!
my test stand:
I am finally getting around to trying this out. I was playing with just trying to see if i can get the pulses. First thing i did was take an old compass and put it beside the meter and had someone turn on the water. I could definitely see the compass needle pull a little as the water was flowing. So I assumed that pull was enough to be detectable with my hall effect sensor. I have tried a couple, and just can't seem to get it to pick up.
If i use a magnet, simple code will detect the pulse and the green led on the sensor lights up.
But no matter where I put that sensor near the meter it just doesn't seem to detect it. Not quite sure what's happening.
The meter i have is this one.
https://www.badgermeter.com/resources/add29b88-1ffb-49c9-80ab-bb8697bd6d1a/absolute digital encoder product data sheet ade-ds-00183-en.pdf/
Not sure if anyone has any recommendation on which hall effect sensor would be the best for this but ill take suggestions lol
My sensor I am testing with is
3144E Hall Effect Sensor
Doesn't have a sensitivity dial but the recommended one on this build page didn't either.
I would like to ask about the radio module connection - I am using SX1276 and I connect it the same way as described by @sundberg84 said in Connecting the Radio except I additionally connect also RST (NRESET) pin according to this https://github.com/sandeepmistry/arduino-LoRa/blob/master/README.md#semtech-sx1276777879-wiring
Is it necessary?
Well, i don't know if it is a timing issue or a hardware issue, but increasing the RFM95_POWERUP_DELAY_MS from 10 to 100ms solved the issue.
Now testing range improvement over rfm69h, will report back.
@tekka , Great work !