Guide: Arduino based LED controller for Current Satellite LED+ - Page 3
Planted Tank Forums
Your Tanks Image Hosting *Tank Tracker * Plant Profiles Fish Profiles Planted Tank Guide Photo Gallery Articles

Go Back   The Planted Tank Forum > Specific Aspects of a Planted Tank > DIY


Reply
 
Thread Tools Display Modes
Old 07-24-2013, 11:08 PM   #31
O2surplus
Planted Tank Enthusiast
 
O2surplus's Avatar
 
PTrader: (4/100%)
Join Date: Jan 2010
Location: yorba linda, ca.
Posts: 566
Default

Quote:
Originally Posted by Indychus View Post
I agree, my coding is very clunky and could be greatly simplified. I'll play around with making a library tonight.

I think the work you've done so far is awesome and I appreciate it very much. I couldn't code my way out of "a wet paper bag", but I'm learning a lot by following your work. LOL I'm good with understanding the electronics/hardware side of Arduino projects, it's the software side that has me baffled. If you ever want to "shrink down" the whole hardware side of this project into a single PcB let me know. I'd love to help.
__________________
225 Gal, Glass "Reef Ready" w/ twin Iwaki Pumps & 2 Ocean Clear inline filters. Custom 320 watt LED Lighting system utilizing a 6' Maker's Heat Sink, 12 BridgeLux Vero 18's,3 purpose built 5 channel A6211 Led driver/Controllers, and a 20lb CO2 system w/ Milwaukee Ph Controller.
O2surplus is online now   Reply With Quote
Sponsored Links
Advertisement
 
Old 07-24-2013, 11:09 PM   #32
mistergreen
No more Bow ties
 
mistergreen's Avatar
 
PTrader: (13/100%)
Join Date: Dec 2006
Location: Cincinnati
Posts: 13,957
Default

I might be missing something but what's sending/receiving the IR calls to control the devices?

Is the arduino sending or receiving?
There's a device missing or something
mistergreen is online now   Reply With Quote
Old 07-24-2013, 11:12 PM   #33
Indychus
Planted Tank Enthusiast
 
Indychus's Avatar
 
PTrader: (8/100%)
Join Date: Feb 2013
Location: Irmo, SC
Posts: 645
Default

The Arduino is sending. The factory receiver on the fixture receives. The Arduino acts just like the factory remote, it just does it on its own without you standing there pressing buttons. The receiver on the Arduino is just for decoding unknown signals; it isnt needed once you have the protocol and codes.
__________________
The Fraternity of Dirt
Check out my open-source Arduino-Powered Light Controller Guide for Current LED+ and other IR switchable lights.
Indychus is offline   Reply With Quote
Old 07-24-2013, 11:15 PM   #34
Indychus
Planted Tank Enthusiast
 
Indychus's Avatar
 
PTrader: (8/100%)
Join Date: Feb 2013
Location: Irmo, SC
Posts: 645
Default

Quote:
Originally Posted by O2surplus View Post
I think the work you've done so far is awesome and I appreciate it very much. I couldn't code my way out of "a wet paper bag", but I'm learning a lot by following your work. LOL I'm good with understanding the electronics/hardware side of Arduino projects, it's the software side that has me baffled. If you ever want to "shrink down" the whole hardware side of this project into a single PcB let me know. I'd love to help.
That would be pretty cool... Once I get all of the features nailed down we might can look at a single PCB. I know I still need to add an RTC, and I'm thinking about an Ethernet or WiFi shield to allow remote control from a PC or android phone. I have an NPN transistor circuit in the works also to amplify the IR emitter for better range.
__________________
The Fraternity of Dirt
Check out my open-source Arduino-Powered Light Controller Guide for Current LED+ and other IR switchable lights.
Indychus is offline   Reply With Quote
Old 07-24-2013, 11:35 PM   #35
mistergreen
No more Bow ties
 
mistergreen's Avatar
 
PTrader: (13/100%)
Join Date: Dec 2006
Location: Cincinnati
Posts: 13,957
Default

Ah, I see. This will only work for devices with IR receivers with some logic built in like a TV etc....
mistergreen is online now   Reply With Quote
Old 07-24-2013, 11:36 PM   #36
Indychus
Planted Tank Enthusiast
 
Indychus's Avatar
 
PTrader: (8/100%)
Join Date: Feb 2013
Location: Irmo, SC
Posts: 645
Default

Since there's been some question as to how this operates, here's a picture of mine right now running the light on my 55g. You can see I just have it aimed at the factory IR receiver on the Current fixture. The remote still works if you want to manually change the mode, but if you don't touch it, the Arduino automatically changes modes according to the times you set up in the sketch.

The box underneath the Arduino and Current receiver is an old DSL WiFi box that I have gutted to use as a case for this project.

Note that the range right now is around 2 feet, I only have it this close for accuracy during testing. In the near future, I hope to extend the range to around 10 feet (the same as the factory remote).

__________________
The Fraternity of Dirt
Check out my open-source Arduino-Powered Light Controller Guide for Current LED+ and other IR switchable lights.
Indychus is offline   Reply With Quote
Old 07-24-2013, 11:38 PM   #37
Indychus
Planted Tank Enthusiast
 
Indychus's Avatar
 
PTrader: (8/100%)
Join Date: Feb 2013
Location: Irmo, SC
Posts: 645
Default

Quote:
Originally Posted by mistergreen View Post
Ah, I see. This will only work for devices with IR receivers with some logic built in like a TV etc....
Exactly... I guess it's more accurate to say that I'm automating the remote as opposed to automating the light. I'm hoping this kind of approach is more appealing to those who might not want to open the light fixture up and void their warranty. I already have a 24" LED+ in pieces on my workbench though
__________________
The Fraternity of Dirt
Check out my open-source Arduino-Powered Light Controller Guide for Current LED+ and other IR switchable lights.
Indychus is offline   Reply With Quote
Old 07-25-2013, 12:42 AM   #38
Dahammer
Algae Grower
 
PTrader: (0/0%)
Join Date: Oct 2010
Location: Mississippi
Posts: 118
Default

Very interesting indeed. Once upon a time, I dabbled a bit with home built PCBs using Eagle software and the photo method. I think adding a RTC is a great idea. I also like the idea of single PCB. But in lieu of that, you could also just do a simple PCB for the IR emitter and whatever other electronics you add to the project and place everything inside a project box to keep it simple and clean.

I wander if you could wire the Arduino in between the fixture's IR receiver and the fixture, allowing the remote to continue to work as well. That way you could hide the controller in a cabinet or something and still use the remote when you wanted too. And you wouldn't need the emitter.

Now I have to order one so I can monkey with it.
Dahammer is offline   Reply With Quote
Old 07-25-2013, 01:05 AM   #39
Indychus
Planted Tank Enthusiast
 
Indychus's Avatar
 
PTrader: (8/100%)
Join Date: Feb 2013
Location: Irmo, SC
Posts: 645
Default

The remote still works, until another command is sent from the Arduino, at which point it defaults to the programming again. It would be easy to put the Arduino inline between the receiver and light fixture if you don't mind cutting the factory wires to the receiver, allowing you to hide the controller and still have the receiver exposed. The Arduino outputs 5V on this channel, so you'd just have to make sure 5V is what the fixture needs. I'm pretty sure most PWM signals are 5V, so it should be good.
__________________
The Fraternity of Dirt
Check out my open-source Arduino-Powered Light Controller Guide for Current LED+ and other IR switchable lights.
Indychus is offline   Reply With Quote
Old 07-25-2013, 01:22 AM   #40
Dahammer
Algae Grower
 
PTrader: (0/0%)
Join Date: Oct 2010
Location: Mississippi
Posts: 118
Default

Quote:
Originally Posted by Indychus View Post
The remote still works, until another command is sent from the Arduino, at which point it defaults to the programming again. It would be easy to put the Arduino inline between the receiver and light fixture if you don't mind cutting the factory wires to the receiver, allowing you to hide the controller and still have the receiver exposed. The Arduino outputs 5V on this channel, so you'd just have to make sure 5V is what the fixture needs. I'm pretty sure most PWM signals are 5V, so it should be good.
Yeah, that's kind of the direction I was thinking of going with it in order to get everything out of sight. You'd still have the wire to hide though. Did you see this RTC kit?
http://learn.adafruit.com/ds1307-rea...kout-board-kit
Dahammer is offline   Reply With Quote
Old 07-25-2013, 01:27 AM   #41
Indychus
Planted Tank Enthusiast
 
Indychus's Avatar
 
PTrader: (8/100%)
Join Date: Feb 2013
Location: Irmo, SC
Posts: 645
Default

Quote:
Originally Posted by Dahammer View Post
Yeah, that's kind of the direction I was thinking of going with it in order to get everything out of sight. You'd still have the wire to hide though. Did you see this RTC kit?
http://learn.adafruit.com/ds1307-rea...kout-board-kit
That's pretty cool! I found an off-the-shelf RTC for $4 that should be here tomorrow. I wish I would have seen this before ordering one, as I much prefer to DIY whatever I can.
__________________
The Fraternity of Dirt
Check out my open-source Arduino-Powered Light Controller Guide for Current LED+ and other IR switchable lights.
Indychus is offline   Reply With Quote
Old 07-25-2013, 01:37 AM   #42
Vermino
Planted Tank Enthusiast
 
Vermino's Avatar
 
PTrader: (2/100%)
Join Date: Jun 2012
Location: Las Vegas
Posts: 567
Default

Quote:
Originally Posted by Indychus View Post
With the Current product announcement and their own controllers out now, there isn't much reason to build your own economically speaking (I was a little shocked at how low their MSRP is), but this does allow you more control and the ability to tailor it exactly to your needs.
Yeah sorry to let that cat out of the bag on that one. There are still people wanting to have more control than a "out of the box" controller though. Anything I buy, I usually tweak like a mad scientist. Love the DIY picture BTW indychus =)
Vermino is offline   Reply With Quote
Old 07-25-2013, 02:13 AM   #43
Indychus
Planted Tank Enthusiast
 
Indychus's Avatar
 
PTrader: (8/100%)
Join Date: Feb 2013
Location: Irmo, SC
Posts: 645
Default

Quote:
Originally Posted by Vermino View Post
Yeah sorry to let that cat out of the bag on that one. There are still people wanting to have more control than a "out of the box" controller though. Anything I buy, I usually tweak like a mad scientist. Love the DIY picture BTW indychus =)
Yeah, I emailed current a few weeks ago and they said they wouldn't release the IR protocol but that they had a controller coming out, so I knew it was coming soon. I didn't expect it to be so affordable though.
__________________
The Fraternity of Dirt
Check out my open-source Arduino-Powered Light Controller Guide for Current LED+ and other IR switchable lights.
Indychus is offline   Reply With Quote
Old 07-25-2013, 02:27 AM   #44
Dahammer
Algae Grower
 
PTrader: (0/0%)
Join Date: Oct 2010
Location: Mississippi
Posts: 118
Default

I've got to hand it too you, Indychus, this is an awesome little DIY project. My wife is already cussing you, since I've just found my next "spousal substitute" as she labels my projects.

I'm going to have to do the IR end of it because it's just too cool not too. I can think of all kinds of uses, aside from controlling the light fixture, where I can use this device. If nothing else I can turn on the bedroom TV at 3:00AM a couple times a week to freak the wife out. lol!

I'll probably still end up with one hard wired into the fixture though, so if you reverse engineer the fixture you have torn apart on your bench, be sure and let us know!
Dahammer is offline   Reply With Quote
Old 07-25-2013, 02:37 AM   #45
Indychus
Planted Tank Enthusiast
 
Indychus's Avatar
 
PTrader: (8/100%)
Join Date: Feb 2013
Location: Irmo, SC
Posts: 645
Default

My wife feels the same way about my projects... I have so many hobbies its hard to keep track of them. I love the Arduino though, after I bought my first one and realized what it was capable of, I ordered 2 more within a week!
__________________
The Fraternity of Dirt
Check out my open-source Arduino-Powered Light Controller Guide for Current LED+ and other IR switchable lights.
Indychus is offline   Reply With Quote
Reply

Tags
arduino, automation, current led+, diy, light controller

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:34 PM.


Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright Planted Tank LLC 2012