Sorry for the absence everyone have been very busy but thought I would share my current projects.Please forgive my instruction if I miss anything...Am working on 5 of these and thought to document the last build...Main Unit is finished and will document the relay/sensor housing next.
Arduino Mega 1280
Plastic Project Box
DB15 Female connector with solder cups (or your choice)
22AWG Stranded Wire or even 24AWG Stranded can be used.
Measure the thickness of the housing and write it down. Attach the stand-offs to the Mega and measure from the bottom up to the bottom and top of the USB port as well as the DC Jack and add the thickness of the housing to those measurements.Then lay those measurements on your project box and scribe the lines for the cut-outs with a razor knife as well as the measurements for the DB15 Connector.It's alot easier if you drill out the center of the cutout and "shave" the material away until you reach your scribed lines.
After your cut-outs are made place the Mega for fitment as well as the DB15.If the Mega fits remove it and take off the stand-offs and replace into the holes.....Use the mounting holes on the Mega as a guide to drill mounting holes for the stand-offs into the base of the enclosure.Remount the stand-offs and fasten securely.
To mount the RTC I used double sided tape and placed it where ever I wanted.
Wiring it all up.......this step is crucial.On a piece of paper write down the numbers 1-15. Wire the RTC to the appropriate pins on the Mega.....there are 3 total 5v+ connections on the Mega....2 above the pinouts for pins 22 and 23....Use one of them for the 5v+ to the RTC and a GND below pins 52 and 53.On my Build I used pin 1 for 5v+ and pin 2 for GND on the DB15 connector and used the 5v+ n GND pins before the Analog row of pins.Then for the rest of the pins remaining on the DB15 connector label each Pin you use accordingly as it is important to match the same pins to the relay box and in my case my sensor shield.
Stay tuned for more to come on mounting the GLCD Screen and wiring to complete the Main Housing....But here is a teaser pic of the finished units.