Thanks for your reply, now that i read the topic above, im curious that the RS-485 only use 2 cable for A and B, but don't have the same ground that connect the transmitter and the receiver still can communicate with each other.
I'm sorry but i have read some documentation about the RS-485, but still cannot understand all of them at once. i gotta spend more time for this, thank you. :)
I hope your RS-485 cable has a separate wire that connects the grounds at each end for RS-485.
Thanks for your reply, this is what my cable looks like, it consists of 2 cable for A and B and a shield that wraps them. and the shield is what im going to ground to the earth ground (i think) but i've seen some PowerMeter that use RS-485 has a terminal called shield, i wonder where does this terminal connected to because i don't have any on my own.
Your weather station should ultimately have a real earth ground through the power supply connected to the mains power. But if not, should still operate ok.
my weather station is powered by a USB phone charger, so i think there is no earth ground connected.
my weather station works perfectly in my workshop, but after testing in field, it sometimes didn't respond, that's why i started to think about the shield. :)
If it is outside be sure the shield (drain) is connected to earth ground only at one end the other open. When you get sparks in the sky guess where they want to go and how they will get there. EMI will die when buried in the ground as well. I can only guess as I do not know what it looks like or where it is going to be mounted. I did all my outside sensors wireless so that eliminated the problem with sky sparks blowing stuff up but it still causes communication interruptions.
Thanks for your reply, i will learn more about the wireless like the ESP and LoRA, may i ask what did you use to send the data wireless-ly?
Thank you, for all your reply, im sorry for a lot of question that i asked, i have a lot of question in my head rn, that is what encourage me to start to use the Arduino forum after a year using Arduino myself :)