# Connecting controls to PCB on side of box - best option?

**URL:** <https://forum.core-electronics.com.au/t/connecting-controls-to-pcb-on-side-of-box-best-option/14303>\
**Category:** Support\
**Created:** [9 June 2022 01:52 UTC](https://forum.core-electronics.com.au/t/connecting-controls-to-pcb-on-side-of-box-best-option/14303 "2022-06-09T01:52:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Colin127849](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/colin127849/32/5696_2.png) [@Colin127849](https://forum.core-electronics.com.au/u/Colin127849)\
**Post date:** [9 June 2022 01:52 UTC](https://forum.core-electronics.com.au/t/connecting-controls-to-pcb-on-side-of-box-best-option/14303/1 "2022-06-09T01:52:26Z")

</div>

I have a project (as in my other thread) where I have the microprocessor in a box, and the controls I have bodged together are connected to that. Right now it’s an impossible mess off dupont connectors:

 ![project](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/3/3a49b02001f9c5def130010cf9386c21e068744c.jpeg)

Those wires are just going into the box and terminating with Dupont again, plugged into header pins on the arduino. It’s a mix of digital and analog inputs.

I’m going to bite the bullet and learn how to make a PCB, and I’d like nice plugs for the extra bits and bobs to come in. USB is a possibility but as far as I know there’s only 2 data pins so I’d probably have to use I2C for the peripherals, which means more microcontrollers.

What will be easiest and best to solder to the PCB (at right angles) and plug my bits into, from 3-6 wires? Is JST the only option you would consider?

---

<div class="post-metadata">

**Author:** ![James](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/james/32/4400_2.png) [@James](https://forum.core-electronics.com.au/u/James)\
**Post date:** [9 June 2022 03:21 UTC](https://forum.core-electronics.com.au/t/connecting-controls-to-pcb-on-side-of-box-best-option/14303/2 "2022-06-09T03:21:04Z")

</div>

Hi Colin,

We’ve got a guide with a ton of different connectors types you might want to check out:

> **[Identify Electrical Connectors - Tutorial Australia](https://core-electronics.com.au/guides/Identify-Electrical-Connectors/)**
>
> There are a ton of electrical wire connectors, too many to elaborate on in a single guide, however there are a couple of connectors that as a maker you will come across. Often when starting your way into the electronics world all you need is the...

JST-XH is spaced at 2.54mm, so it’s a good choice if you still need to work in proto-boards and breadboards. Generally, JST is only “board-to-board” or “board-to-wire”, not “wire-to-wire”, so I’d suggest something from Molex like the MicroFit series for something that can do both.

I learned the basics of KiCAD (FOSS!) through the excellent series by Michael Ruppe:

[![](https://img.youtube.com/vi/e1WiKhna9r0/maxresdefault.jpg "KiCad - Zero to Hero 1 | Introduction: What we'll make") ](https://www.youtube.com/watch?v=e1WiKhna9r0)

If you have any questions about the design process, stick them here!  
-James
