Speaking of standards, NBR 5410 is ABNT's specific norm that mentions the necessary distance for junction boxes. In it, the specification is very clear: for internal pipes, the distance must be up to 15 meters, and, in external pipes, it must be up to 30 meters, in a straight line. You must use approved materials, choose the right size box, and make sure you ground everything correctly. Many people miss these steps and face problems during. According to the NEC (National Electrical Code), all wire splices and electrical connections must be enclosed within an approved electrical junction box to ensure safety, accessibility, and code compliance.