RANet Ready Dimmable LED Driver

Expansion modules and attachments
User avatar
cosmith71
Posts: 1437
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: RANet Ready Dimmable LED Driver

Post by cosmith71 »

Any way to code this lightning into the current cloud software?

--Colin
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RANet Ready Dimmable LED Driver

Post by rimai »

That sucks :(
I lost the code. I can't find it. :? :oops:
Roberto.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RANet Ready Dimmable LED Driver

Post by rimai »

I found it :)

Code: Select all

  int a=random(5);
  for (int i=0;i<a;i++)
  {
    int newdata=4095;
    Wire.beginTransmission(0x40);
    Wire.write(0x8+(4*2));
    Wire.write(newdata&0xff);
    Wire.write(newdata>>8);
    Wire.endTransmission();
    delay(20+random(50));
    newdata=0;
    Wire.beginTransmission(0x40);
    Wire.write(0x8+(4*2));
    Wire.write(newdata&0xff);
    Wire.write(newdata>>8);
    Wire.endTransmission();
    delay(30+random(20));
  }
  delay(random(1000));
Roberto.
User avatar
cosmith71
Posts: 1437
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: RANet Ready Dimmable LED Driver

Post by cosmith71 »

Nice. I might steal it. ;)

--Colin
User avatar
cosmith71
Posts: 1437
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: RANet Ready Dimmable LED Driver

Post by cosmith71 »

So would something like this:

Code: Select all

if (lightningchance && (NumMins(hour(),minute())==(cloudstart+(cloudduration/2))) && second()<5) 
      {
        int a=random(5);
        for (int i=0; i<a; i++)
        {
          analogWrite(daylightPWMPin, 255);
          delay(20+random(50));
          analogWrite(daylightPWMPin, 0);
          delay(30+random(20));
        }
        delay(random(1000));
      }
Essentially taking over for 5 seconds, cause any timing problems with anything else if it hits in the middle of, say, top-off or dosing?

--Colin
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RANet Ready Dimmable LED Driver

Post by rimai »

Looks good :)
Roberto.
User avatar
cosmith71
Posts: 1437
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: RANet Ready Dimmable LED Driver

Post by cosmith71 »

It works great! Will try to post a video later.

--Colin
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: RANet Ready Dimmable LED Driver

Post by lnevo »

Is there a thread of the official(?) cloud/lightning code anywhere? If there is can we sticky it? If not, can we get one posted. Too often I see the requests for it, and no idea where to find it :)

Colin, you should post your code somewhere if you don't already have it.
User avatar
cosmith71
Posts: 1437
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: RANet Ready Dimmable LED Driver

Post by cosmith71 »

Smotz
Posts: 412
Joined: Sat Mar 30, 2013 5:02 pm
Location: CT, USA

Re: RANet Ready Dimmable LED Driver

Post by Smotz »

been considering upgrading my lights. I should probably hold off to see what happens here..
User avatar
GiraffeCat
Posts: 61
Joined: Sun Jun 08, 2014 12:55 pm
Location: Firestone

Re: RANet Ready Dimmable LED Driver

Post by GiraffeCat »

How many channels is each driver going to have? Is this going to be a RANet Dimming Expansion?
What is the range of voltages it can handle? Fixed voltage input, or selectable/tolerant of 12 to 48 volt range?

LMK.

Thank You,
GC
.....Your forefathers wisely set aside their compassion - Steeled themselves for what needed to be done.......
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RANet Ready Dimmable LED Driver

Post by rimai »

Each module has 3 channels capable of delivering anywhere from 350mA to 1000mA each channel.
You can use a power supply from 12V all the way up to 48V, depending on the number of LEDs you want to have in each string.
Roberto.
User avatar
GiraffeCat
Posts: 61
Joined: Sun Jun 08, 2014 12:55 pm
Location: Firestone

Re: RANet Ready Dimmable LED Driver

Post by GiraffeCat »

Does it need a separate power source to run the electronics, or does it sample from the led source?

Many uses this RANet has. (In Yoda speak)

Late,
GC
.....Your forefathers wisely set aside their compassion - Steeled themselves for what needed to be done.......
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RANet Ready Dimmable LED Driver

Post by rimai »

Yes, you will need a power supply to feed power to as many LEDs you wish to light up.
For example, 3 LEDs, you only need 12V, but for 12-13LEDs, you need 48V.
It's the same as the LDD drivers.
Each channel is configured individually so you can set them to run at different amperages if you wish. Anywhere from 250mA to 1000mA each channel.
Roberto.
User avatar
GiraffeCat
Posts: 61
Joined: Sun Jun 08, 2014 12:55 pm
Location: Firestone

Re: RANet Ready Dimmable LED Driver

Post by GiraffeCat »

Forgive me. Let me ask a different way.

Does the RANet LED Driver need a power source of its own - to run the wireless communication portion of the driver. ( Not the LED power source - A separate source independent of the led power source .)

LMK,
GC
.....Your forefathers wisely set aside their compassion - Steeled themselves for what needed to be done.......
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RANet Ready Dimmable LED Driver

Post by rimai »

No....
It has a built-in DC-DC converter to reduce the 12V-48V down to 5V to run the internal circuit.
Roberto.
User avatar
GiraffeCat
Posts: 61
Joined: Sun Jun 08, 2014 12:55 pm
Location: Firestone

Re: RANet Ready Dimmable LED Driver

Post by GiraffeCat »

Update? I'm sure more than one person is wondering how it's going.

LUK,
GC
.....Your forefathers wisely set aside their compassion - Steeled themselves for what needed to be done.......
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RANet Ready Dimmable LED Driver

Post by rimai »

Someone is already running it on his system :)
Maybe he will post some pics :)
Roberto.
jegillis
Posts: 86
Joined: Sat Jan 04, 2014 10:26 am

Re: RANet Ready Dimmable LED Driver

Post by jegillis »

rimai wrote:Someone is already running it on his system :)
Maybe he will post some pics :)

Pics will be here shortly dimmer is running great however my cheap ebay power supply burned out. Waiting on a new one to get here to take pics.
Image
User avatar
Rodasphoto
Posts: 187
Joined: Wed Apr 10, 2013 2:48 pm
Location: Athens, Ga
Contact:

Re: RANet Ready Dimmable LED Driver

Post by Rodasphoto »

How much do these cost and how can I order a couple of them?
Image
jegillis
Posts: 86
Joined: Sat Jan 04, 2014 10:26 am

Re: RANet Ready Dimmable LED Driver

Post by jegillis »

Im getting an overheat problem with the LED driver, channel 0 was shutting off for a few seconds about every 10 seconds. I unplugged the driver and checked the temp inside the case and found it at 150 degrees. I took the cover off and let it cool. Plugged it back in and it appears to be ok for now except the green power led is no longer working.

I have the driver in my cabinet that is running about 72 degrees right now.

Channel 0 is being run at 950 ma
Channel 1 and 2 are run at 600 ma

This is going to end up being a problem in the summer when my thermostat will not be set at 66 degrees.
Image
jegillis
Posts: 86
Joined: Sat Jan 04, 2014 10:26 am

Re: RANet Ready Dimmable LED Driver

Post by jegillis »

Ok well the dimmer does not dim anymore everything is just at 100 percent or off nothing in between for all 3 channels
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: RANet Ready Dimmable LED Driver

Post by rimai »

PM for RMA
Roberto.
Post Reply