Expansion module

Expansion modules and attachments
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Expansion module

Post by rimai »

Ok, I changed it to this:

Code: Select all

  double SalCompensation;
  if (TempSensor.unit)
    SalCompensation=Params.Salinity/(1+((Params.Temp[T1_PROBE]-250)*0.0024));
  else
    SalCompensation=Params.Salinity/(1+((Params.Temp[T1_PROBE]-770)*0.001333));
  Params.Salinity=round(SalCompensation);
Would you like to test and see if it works?
Roberto.
ahmedess
Posts: 174
Joined: Sun May 22, 2011 2:29 pm

Re: Expansion module

Post by ahmedess »

Yes i ll test it now and let you know
ahmedess
Posts: 174
Joined: Sun May 22, 2011 2:29 pm

Re: Expansion module

Post by ahmedess »

its working!!! that's awesome, thanks a lot!!
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Expansion module

Post by rimai »

Cool!!
Thanks a lot for contributing and getting the compensation formula :)
Roberto.
btorrenga
Posts: 100
Joined: Mon Apr 16, 2012 10:22 pm

Re: Expansion module

Post by btorrenga »

rimai wrote:Did you use the +5VDC power supply that came with it?
It's required to get the HUB powered up.
Is this the cable with a USB on one end, and two conductor plastic fitting on the other? If so, how do you connect it to what ports?

My controller will not boot if the expansion hub is connected to the main relay (it goes to a solid white screen, stays there forever), but I don't see any way to do so.

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

Re: Expansion module

Post by rimai »

The cable you are refering to is this:
http://www.reefangel.com/Products.USB-Power-Cable.ashx

Can you post a photo of your hub?
Roberto.
btorrenga
Posts: 100
Joined: Mon Apr 16, 2012 10:22 pm

Re: Expansion module

Post by btorrenga »

rimai wrote:The cable you are refering to is this:
http://www.reefangel.com/Products.USB-Power-Cable.ashx

Can you post a photo of your hub?
Here is the hub:
http://www.torrenga.com/~btorrenga/ExpansionHub.jpg
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Expansion module

Post by rimai »

That is the new design and doesn't require a power supply.
You should've received a USB cable that gets plugged into the HUB and the other end should be plugged into the relay box.
Does the green LED on the side of the HUB lights up when you connect it to the relay box?
Roberto.
btorrenga
Posts: 100
Joined: Mon Apr 16, 2012 10:22 pm

Re: Expansion module

Post by btorrenga »

rimai wrote:That is the new design and doesn't require a power supply.
You should've received a USB cable that gets plugged into the HUB and the other end should be plugged into the relay box.
Does the green LED on the side of the HUB lights up when you connect it to the relay box?
Right, I got that cable, too. However, plugging that cable into the relay box does not light up the LED on the expansion hub, as it will light up the LED on the relay expansion module, for instance. Does it sound like the hub may be defective?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Expansion module

Post by rimai »

Can you plug it into the other relay box and see if it lights up?
Roberto.
btorrenga
Posts: 100
Joined: Mon Apr 16, 2012 10:22 pm

Re: Expansion module

Post by btorrenga »

rimai wrote:Can you plug it into the other relay box and see if it lights up?
Confirmed neither of my relay boxes will light up the expansion hub LED. In contrast, both relay boxes WILL light up the LED on the IO Expansion.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Expansion module

Post by rimai »

I was pretty sure that I had tested it prior to shipping, but I guess not.
Can you try one last thing?
Use one of the other USB cables just to confirm that it is not the cable and it is indeed the hub?
Roberto.
btorrenga
Posts: 100
Joined: Mon Apr 16, 2012 10:22 pm

Re: Expansion module

Post by btorrenga »

No combination of cable or relay box will light the LED. Any other thoughts? I can open it up, not that I know what to look for though.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Expansion module

Post by rimai »

That really does look like bad hub. Can you PM me your address?
Roberto.
Post Reply