Skip to content
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. General Discussion
  3. External connector options?
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

External connector options?

Scheduled Pinned Locked Moved General Discussion
14 Posts 4 Posters 7.1k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • TD22057T Offline
    TD22057T Offline
    TD22057
    Hardware Contributor
    wrote on last edited by
    #5

    I don't plan on it but the sensor or cable could get bumped which would cause them to rotate and I don't want that to shut off the water in that case.

    1 Reply Last reply
    0
    • rvendrameR Offline
      rvendrameR Offline
      rvendrame
      Hero Member
      wrote on last edited by
      #6

      Maybe you could program arduino to ignore short sparks in the readings.

      Home Assistant / Vera Plus UI7
      ESP8266 GW + mySensors 2.3.2
      Alexa / Google Home

      1 Reply Last reply
      0
      • TD22057T Offline
        TD22057T Offline
        TD22057
        Hardware Contributor
        wrote on last edited by
        #7

        Perhaps. If I could figure out a way to make nice looking square holes in a plastic case, something like these wiring harness connectors would work well. They're cheap and are easy to use.

        1 Reply Last reply
        0
        • rvendrameR Offline
          rvendrameR Offline
          rvendrame
          Hero Member
          wrote on last edited by
          #8

          I don't have good experience with square holes. If you don't expect to plug/unplug the sensors so often --- maybe something like this? But you have to open a large hole and expose part of pcb to outside...

          http://www.aliexpress.com/item/5pcs-10-Poles-10-Pin-2-54mm-0-1-PCB-Universal-Screw-Terminal-Block-Connector/32377294289.html

          Home Assistant / Vera Plus UI7
          ESP8266 GW + mySensors 2.3.2
          Alexa / Google Home

          1 Reply Last reply
          0
          • b0rmannB Offline
            b0rmannB Offline
            b0rmann
            wrote on last edited by
            #9

            i use rj11 jack for sensors

            TD22057T 1 Reply Last reply
            0
            • b0rmannB b0rmann

              i use rj11 jack for sensors

              TD22057T Offline
              TD22057T Offline
              TD22057
              Hardware Contributor
              wrote on last edited by
              #10

              @b0rmann said:

              i use rj11 jack for sensors

              Also a good choice. But the question I'm really asking is how did you mount them in a plastic project box so they look nice? My experience with them is that they require a fairly precise square hole and can be glued in from the back so there is no covering for the edges of the hole.

              1 Reply Last reply
              0
              • greglG Offline
                greglG Offline
                gregl
                Hero Member
                wrote on last edited by
                #11

                I like these style...

                http://www.aliexpress.com/item/Free-shipping-5-pin-interface-plug-12mm-GX12-5-core-cable-plug-connector-socket-5-sets/32247251729.html

                You can get them in 2,3,4,5,6,7,8 pin configurations, they are keyed meaning you cant plug them in wrong.
                I use 2pin for power , 3pin for temp sensors, and 8pin for interface - but its up to you what you choose.
                Easy to use - solder the wires to the pins, and drill a round hole to mount.
                Relatively robust and plug screws onto socket making them difficult to dislodge.

                Cheap for what you get too!

                1 Reply Last reply
                0
                • TD22057T Offline
                  TD22057T Offline
                  TD22057
                  Hardware Contributor
                  wrote on last edited by
                  #12

                  Thanks @gregl - those look just like the XLR connectors except they're cheaper. I ordered a selection of 2, 4, and 5 pin (GX12-2, GX12-4, and GX12-5) from this seller for ~$1/connector along with the locking 5.5 mm power plugs in my original posts.

                  1 Reply Last reply
                  0
                  • greglG Offline
                    greglG Offline
                    gregl
                    Hero Member
                    wrote on last edited by
                    #13

                    No worries. They are a lot smaller than XLR connectors but im sure you realise that.

                    1 Reply Last reply
                    0
                    • TD22057T Offline
                      TD22057T Offline
                      TD22057
                      Hardware Contributor
                      wrote on last edited by
                      #14

                      I've been planning on using JST PH (2.0 mm pitch) connectors on my custom PCB's to connect the external connectors (GX12, 3.5 mm headphone jacks, 5.5 mm power sockets) from the sensor case to the board. They're nice in that they're fairly small, polarized, and cheap. But - you need to buy a good crimper - the pins are incredibly tiny. I almost decided to by the plugs with wires attached because they're so hard to crimp. None the crimpers I own was small enough so I ordered the (Engineer PA 09)]http://www.ebay.com/itm/Engineer-PA-09-Mini-Molex-Amp-JST-Crimp-Tool-Wire-Terminal-Crimping-Pliers-/252030460510?hash=item3aae2fa25e] which seems to be the cheapest "good" option.

                      Another option on the board (I wouldn't use these on the sensor case) are Dupont 2-pin connector. These "Dupont" connectors require a female pin (which is also really cheap) and push on to standard 0.1" pitch pins on a PCB (like the 4x2 NRF radios). They have the advantage that they use less space than the JST connectors but are not polarized. Search for "Dupont connector" on ebay to find tons of options. I can't decide if the easier crimping and less board space are worth the risk of mounting connectors backwards and potentially wrecking components.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      8

                      Online

                      11.7k

                      Users

                      11.2k

                      Topics

                      113.0k

                      Posts


                      Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • OpenHardware.io
                      • Categories
                      • Recent
                      • Tags
                      • Popular