Electronics Layout

Setting up the electronics layout for the robot is a very important task, for without it the robot simply would not run at all. If it is made badly, it will cause more trouble in debugging the robot and perhaps cause the robot to cease to function as well.

Location, Location, Location
Location of the electronics board on the robot is quite important. Ideally, the board should be on a flat surface that is open enough to lay out the various components freely, but small enough to not be a waste of space. The board should also be free of any moving components, especially motors to remove the electromagnetic fields motors create when in use.

Components
Before any holes are to be drilled for the board, it is required that the board be laid out with all components that are to be used. Ergo, if you plan to use five Victors, then five Victors need to be acquired and laid out with the rest of the board.

Here is a list of the most commonly used components on the electronics board:
 * cRIO
 * Power Distribution Board
 * Includes main breaker
 * Digital Sidecar
 * Analog Breakout
 * Motor Controllers
 * Relays

Sensors and other components such as pneumatic switches usually do not have to be included on the board unless the component cannot be mounted elsewhere.

Wire
The overall key to laying out the electronics board is remembering a few simple things, but the key idea is - short wire. Where ever you place a component, there is one or more wires going to or from it. Having components wired together placed closer together allows for a shorter wire and leads to less money spent on wire and the possibility for electronic signal distrubance.

Keep in mind when placing the following components as they have several wires going to and from them:
 * Motor Controllers
 * Three Wires
 * Power
 * Motor
 * PWM Cable
 * Relays
 * Three Wires
 * Power
 * Motor
 * PWM Cable
 * Power Distribution Board
 * Any number of wires leading to motor controllers or relays
 * Wires to cRIO, router, and/or camera

While this is a long list of items for wires, it is not complete. Individual electronic boards may be different.

Marking it Up
Once the board is laid out to best configuration possible, the holes to mount the components should be marked using a thin Sharpie. As said marking device may be inadequate to go through mounting holes in some components, it may be required to "eye ball" it.

After holes for one component are marked, it is suggested that the area underneath the component is labeled with the name of the component to remind the builder what goes in the spot after the holes are drilled.

Drilling the Holes
After all the holes for each and every component are marked, the holes for them can be drilled out. Make sure that this is done away from the components as getting any debris in the components could cause a failure at any time.

Mounting the Components
Mounting the components is quite a simple task that could be given to any freshmen. All that is required is a screwdriver, screws, and nuts. Note that nuts may be included with some components already.

Wiring the Components
Wiring is perhaps the single time consuming task on constructing the electronics board other than laying out the components. Wires should be cut so that they are short and follow paths in the board so that the board is neat and clean. The path of each wire should be obvious so it can be seen where it leads to.

It is highly recommended to label where everything is connected. For example, if a motor controller is added, there should be a label saying what the motor controller controls on:
 * Motor
 * Motor Controller
 * Power Distribution Board (breakers)
 * PWM Cable

Pre-Test Lookover
Before applying any power to the board, double check the wiring. This is stressed as this is the last point to catch any errors for incorrect wiring. Once power is applied, any components that are wired wrong will result in magic blue smoke and a broken, expensive component.

Also check to make sure that no debris from drilling the mounting holes is caught in any open cooling vents such as the motor controllers.

Final Test
Once everything is approved as safe and correct, power from a battery can be applied. If no magic blue smoke is present and all status lights seem to be happy and "go", then the board seems to be wired correctly and is ready to be mounted on a robot.