Well, the Arduino has dedicated groups of pins for different things. It also depends a bit on the code you're using. In my case all the switches share a common ground and they switch to their own digital input pin. Both the pots and hall sensor need a 5v source, a ground, and an output pin. The outputs for these go to the analog input pins. This is a very basic level of electronics, anyone can do it.