Login with Facebook
Forum List Member Tools Community Search Chat Recent Posts
Awesome Corals, Fish & Gear For Your Saltwater Reef Tank
Home Forums > Reef Aquarium Showcase > DIY Projects & Plans
DIY Projects & Plans - Arduino Mega Main Unit Build with KS0108 GLCDDIY Projects & Plans

Arduino Mega Main Unit Build with KS0108 GLCD


Post Reply

 
  #1     Print this Post  
Old 11-08-2011, 07:06 PM

Default Arduino Mega Main Unit Build with KS0108 GLCD

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.

Items Needed:

Arduino Mega 1280
DS1307 RTC
KS0108 GLCD
Plastic Project Box
10mm Stand-off's
DB15 Female connector with solder cups (or your choice)
22AWG Stranded Wire or even 24AWG Stranded can be used.

Step One....

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.
DSC 1672 - Arduino Mega Main Unit Build with KS0108 GLCD

Step Two....

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.
DSC 1673 - Arduino Mega Main Unit Build with KS0108 GLCD

Step Three....

To mount the RTC I used double sided tape and placed it where ever I wanted.
DSC 1674 - Arduino Mega Main Unit Build with KS0108 GLCD

Step Four....

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.
DSC 1676 - Arduino Mega Main Unit Build with KS0108 GLCD


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.
DSC 1668 - Arduino Mega Main Unit Build with KS0108 GLCD
   
 
  #2     Print this Post  
Old 11-08-2011, 07:12 PM

sweet dude....
   
 
  #3     Print this Post  
Old 11-08-2011, 07:17 PM

TY....after this i'll be working on 2 touch-screen versions of this......hehehehe....
   
 
  #4     Print this Post  
Old 11-08-2011, 07:34 PM

That look impressive. However, I'm not electronics savvy so... I have no idea what it is you're building! A controller of some sort is my guess. Could you provide a brief description and/or more detail?

Tom
   
 
  #5     Print this Post  
Old 11-08-2011, 07:57 PM

At current there are a few versions of the Arduino which is a programmable controller using C++ coding. I am currently using the Arduino Mega1280 in these builds with a 128x64 bit KS0108 GLCD screen for the base of this aquarium controller build. The controller itself will be able to control 4 relays (for this build), 2 lighting channels (White LEDs and Blue LEDs) and use the existing Blue LEDs as moonlights also as the LED drivers these are being built for can dim down to 2%. The sensor shield I am using will give readings for pH,ORP,Salinity and water temperature. The 4 relays will control 2 powerheads, fugelight, and heater which the on/off will be handled by the temp probe n high/low settings within the code.
   
 
  #6     Print this Post  
Old 11-08-2011, 08:33 PM

Hah, great to see! I was just mentioning the idea of a DIY controller build based on Arduino not more than twenty four hours ago. Will be watching this with added interest.
   
 
  #7     Print this Post  
Old 11-08-2011, 08:44 PM

I did a basic one already HERE. Have been building them since April.
   
 
  #8     Print this Post  
Old 11-08-2011, 09:41 PM

I figured it was a controller. Nice work. That's an impressive amount of functionality.

Tom
   
 
  #9     Print this Post  
Old 11-13-2011, 09:15 PM

Thanks Tom,

I think i'm addicted n need to start going to meetings....lol

Sent from my Flytouch 3 using Tapatalk.
   
Post Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


 


All times are GMT -5. The time now is 11:20 PM.

Copyright © 2004-2013 CaptiveReefs.com
Reef Aquarium Help & Information Home Page

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77