Ath wrote: ↑31 Aug 2022, 15:46
trendkill wrote: ↑31 Aug 2022, 14:12
Thank you, got it!
Any feedback is appreciated. You can also, instead of here, write that as a comment in Github, just choose what feels most appropriate to you.
I just finished soldering them together. Both sensor works! At least they send the data, I didn't measure yet how accurate they are. I didn't use any pullup resitors or anything else, just wired directly to the Wemos D1 Mini board like this:
SENSOR1
Port: SoftwareSerial
Red wire: VCC 5V
Black wire: GND
White wire (TX): D1 (GPIO5)
Yellow wire (RX): not connected
SENSOR2
Port: HW Serial0 swap
Red wire: VCC 5V
Black wire: GND
White wire (TX): D7 (GPIO13)
Yellow wire (RX): D8 (GPIO15)
I used shielded 4x0.22 alarm cable, shield is connected to GND. Both cable is about 3m long, the signal seems stable.
Thanks for your great work!