Forum Members section Show your controller New build.

New build.


Post Number:#61 Post Mon Nov 24, 2014 2:57 pm
Posts: 1578
Topics: 38
Images: 271
Solve rating: 213
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 34
Location: São Paulo
Gender: Male
National Flag:
Brazil

I have an observation for you.

This is my relay board:

Image


As you can see the specification says 125 V / 10 A but, look the PCB trace width:

Image


The width is 3 mm, using this calculator the maximum load for this width is 5.3A.

Image


So no matter if the relay can work at 10 A if the PCB trace can't.
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.

Post Number:#62 Post Tue Nov 25, 2014 6:59 pm
Posts: 273
Topics: 6
Images: 46
Solve rating: 0
Joined: Mon Sep 08, 2014 1:35 am
Topics: 6
Age: 37
Location: Aurora
Gender: Male
National Flag:
United States of America

Hi, the new relays that I just got have a thicker and wider trace than the others, I asked before I bought them. trace is 5.5mm wide and 2.5oz thick. thank you for the info and, could you post a link to the calculator you showed?
Happy reefing to all.
Christopher Kindig

Post Number:#63 Post Tue Dec 02, 2014 3:37 pm
Posts: 273
Topics: 6
Images: 46
Solve rating: 0
Joined: Mon Sep 08, 2014 1:35 am
Topics: 6
Age: 37
Location: Aurora
Gender: Male
National Flag:
United States of America

Go here:

Image: http://screenshots.portforward.com/routers/Dlink/DIR-815/Advanced_Port_Forwarding.jpg

In the first row:
Name: Ferduino
IP Address: (ip you set in ferduino code)

Public port and private port: choose the port you set in Ferduino Mega code

In joy-reef in ip address put the addres you get from the ? in the field.

This should work, let us know



this did not work I have gone back to the d-link router and my own modem.
Happy reefing to all.
Christopher Kindig

Post Number:#64 Post Tue Dec 16, 2014 12:00 am
Posts: 273
Topics: 6
Images: 46
Solve rating: 0
Joined: Mon Sep 08, 2014 1:35 am
Topics: 6
Age: 37
Location: Aurora
Gender: Male
National Flag:
United States of America

So new weird issue ferduino board working and online now, thank you so very much for the help Fernando, I have a new issue the ferduino kicked all most all other items off my home network but i will figure that one out.

-------------------------------- Last edited Mon Dec 15, 2014 9:00 pm --------------------------------

So new weird issue ferduino board working and online now, thank you so very much for the help Fernando, I have a new issue the ferduino kicked all most all other items off my home network but i will figure that one out.
Happy reefing to all.
Christopher Kindig

Post Number:#65 Post Tue Dec 16, 2014 3:51 am
Posts: 273
Topics: 6
Images: 46
Solve rating: 0
Joined: Mon Sep 08, 2014 1:35 am
Topics: 6
Age: 37
Location: Aurora
Gender: Male
National Flag:
United States of America

I have figured out what happend on my network, it was something I forgot to change #-o .

Next part will be to set up 16 relay board 120 volt items and controls as well as codde for PCF. :D

-------------------------------- Last edited Tue Dec 16, 2014 1:11 am --------------------------------

I have figured out what happend on my network, it was something I forgot to change #-o .

Next part will be to set up 16 relay board 120 volt items and controls as well as codde for PCF. :D
Happy reefing to all.
Christopher Kindig

Post Number:#66 Post Thu Dec 18, 2014 3:38 am
Posts: 273
Topics: 6
Images: 46
Solve rating: 0
Joined: Mon Sep 08, 2014 1:35 am
Topics: 6
Age: 37
Location: Aurora
Gender: Male
National Flag:
United States of America

Ok so new issue was working on some other stuff and now no more Internet connection, when I bring up the serial monitor it give a server ip of 198.128.0.128 whitch is not the server I have it set up for I tried to reboot router and network, then I tried to change port on all three ferduino, router and, joy reef but none worked. I work more with it tomorrow.
I did however have a question about the pins for the chiller and heater I could not PCF8575 to work so I went back to original and was wondering is on when pin is LOW or HIGH?

-------------------------------- Last edited Thu Dec 18, 2014 1:02 am --------------------------------

Ok so new issue was working on some other stuff and now no more Internet connection, when I bring up the serial monitor it give a server ip of 198.128.0.128 whitch is not the server I have it set up for I tried to reboot router and network, then I tried to change port on all three ferduino, router and, joy reef but none worked. I work more with it tomorrow.
I did however have a question about the pins for the chiller and heater I could not PCF8575 to work so I went back to original and was wondering is on when pin is LOW or HIGH?
Happy reefing to all.
Christopher Kindig

Post Number:#67 Post Thu Dec 18, 2014 8:31 am
Posts: 1578
Topics: 38
Images: 271
Solve rating: 213
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 34
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

This issue of wrong IP is related with SD card. Check if your card is connected and working fine.

Your relay board should be HIGH to OFF and LOW to ON.

On this case I think better connect the relay board to an ULN2803 so, no needs lose time changing the code.

Wiring:

Image


Best regards.
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.

Post Number:#68 Post Thu Dec 18, 2014 10:20 am
Posts: 273
Topics: 6
Images: 46
Solve rating: 0
Joined: Mon Sep 08, 2014 1:35 am
Topics: 6
Age: 37
Location: Aurora
Gender: Male
National Flag:
United States of America

The ULN chip is all redy on the board or do I have to set up?

Ip issue: I will check the sd card when I get home, serial said it was reading ok but that may not be the case?

How hard would it be to add more buttons to menu 2 for service of pumps to turn off, on and automatic.

As far as pump controls I will try that on my own I am not trying to make more work for you. :-bd
Happy reefing to all.
Christopher Kindig

Post Number:#69 Post Thu Dec 18, 2014 2:29 pm
Posts: 1578
Topics: 38
Images: 271
Solve rating: 213
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 34
Location: São Paulo
Gender: Male
National Flag:
Brazil

ULN can be used when relays are connected to RJ45 (Relays-1) or you can change on code HIGH to LOW and LOW to HIGH.

This isn't needed when the relays are connected to DB25.

The difficult depends of your ability to learn.

I did a new example, check this topic.
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.

Post Number:#70 Post Sat Dec 20, 2014 4:47 pm
Posts: 273
Topics: 6
Images: 46
Solve rating: 0
Joined: Mon Sep 08, 2014 1:35 am
Topics: 6
Age: 37
Location: Aurora
Gender: Male
National Flag:
United States of America

Hi Fernando,

I tried the code change for db25 and was not able to get it to work, one question is does the pin configuration stay the same as in you previous post or do all pins become high low switched?
Happy reefing to all.
Christopher Kindig

Post Number:#71 Post Sat Dec 20, 2014 5:13 pm
Posts: 1578
Topics: 38
Images: 271
Solve rating: 213
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 34
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

To DB25 NO need change LOW to HIGH.

First try using this example to make sure that it isn't a problem of wiring.

#include <Wire.h>
#include <PCF8575.h>


byte address = 0x20;

PCF8575 PCF8575;

void setup()
{
  Serial.begin(38400);
  Serial.println("I'm alive!");

  PCF8575.begin(address);

  for(int i = 0; i < 16; i++)
  {
    PCF8575.pinMode(i,OUTPUT);
  }
}

void loop()
{
  for(int i = 0; i < 16; i++)
  {
    PCF8575.digitalWrite(i, HIGH); // Tun on all pins
    delay(200);
  }
  delay(5000);
 
  for(int i = 0; i < 16; i++)
  {
    PCF8575.digitalWrite(i, LOW); // Turn off all pins
    delay(200);
  }
  delay(5000);
}


Best regards.
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.

Post Number:#72 Post Sat Dec 20, 2014 6:36 pm
Posts: 273
Topics: 6
Images: 46
Solve rating: 0
Joined: Mon Sep 08, 2014 1:35 am
Topics: 6
Age: 37
Location: Aurora
Gender: Male
National Flag:
United States of America

okay will try.


All work accept the ones that say 5volt GND and Vin.
Happy reefing to all.
Christopher Kindig

Post Number:#73 Post Mon Dec 22, 2014 9:06 am
Posts: 273
Topics: 6
Images: 46
Solve rating: 0
Joined: Mon Sep 08, 2014 1:35 am
Topics: 6
Age: 37
Location: Aurora
Gender: Male
National Flag:
United States of America

Hi Fernando.

I was able to get the test code that you gave me for PFC8575 to work now I just need to assiggn the pins, I had seen in an other post here you showed how to assign the pins I just remember witch one. Can you repost for me.

-------------------------------- Last edited Mon Dec 22, 2014 6:51 am --------------------------------

Hi Fernando.

I was able to get the test code that you gave me for PFC8575 to work now I just need to assiggn the pins, I had seen in an other post here you showed how to assign the pins I just remember witch one. Can you repost for me.
Happy reefing to all.
Christopher Kindig

Post Number:#74 Post Tue Dec 23, 2014 3:07 pm
Posts: 273
Topics: 6
Images: 46
Solve rating: 0
Joined: Mon Sep 08, 2014 1:35 am
Topics: 6
Age: 37
Location: Aurora
Gender: Male
National Flag:
United States of America

Hi Fernando.

Just was wondering how you and Willie changed things for his 5.0 TFT? I have been looking all over the place and can't find any thing. Also how can I shift all C readings to F on all pages, I have figured some out. plus on that same topic when I changed code as shown in Willie's feed I now get high temp alarms.
Happy reefing to all.
Christopher Kindig

Post Number:#75 Post Tue Dec 23, 2014 3:47 pm
Posts: 1578
Topics: 38
Images: 271
Solve rating: 213
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 34
Location: São Paulo
Gender: Male
National Flag:
Brazil

Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.

Post Number:#76 Post Wed Dec 24, 2014 11:25 pm
Posts: 273
Topics: 6
Images: 46
Solve rating: 0
Joined: Mon Sep 08, 2014 1:35 am
Topics: 6
Age: 37
Location: Aurora
Gender: Male
National Flag:
United States of America

relays all worked on time I have working with the code to try and get them to work as they should and can't them to come on. then some thing new came up I loaded the test code that you gave to me the other day and none of them would work, so disconnect all but one and the light baerly came on the relay board is hooked to a power supply from a pc and, ferduino is on usb power not sure what to do next. really bummed out at this point. and joy reef is hit and miss weather it will work as well. :-s :| :-\
Happy reefing to all.
Christopher Kindig

Post Number:#77 Post Thu Dec 25, 2014 9:47 am
Posts: 1578
Topics: 38
Images: 271
Solve rating: 213
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 34
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Have you connected GND from Ferduino Mega to GND in the relay board?

Look for this:

Watch on youtube.com


Best regards.
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.

Post Number:#78 Post Fri Dec 26, 2014 7:42 pm
Posts: 273
Topics: 6
Images: 46
Solve rating: 0
Joined: Mon Sep 08, 2014 1:35 am
Topics: 6
Age: 37
Location: Aurora
Gender: Male
National Flag:
United States of America

when I tried to supply power with Ferduino board it did not work so I was using pc power supply to power 5 volts on the relay board.
Now it is all working again?
Happy reefing to all.
Christopher Kindig

Post Number:#79 Post Fri Dec 26, 2014 8:21 pm
Posts: 1578
Topics: 38
Images: 271
Solve rating: 213
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 34
Location: São Paulo
Gender: Male
National Flag:
Brazil

What you mean?
Please do not PM me for support unless it is absolutely necessary.

I'll not write custom function to nobody unless you can pay for my job.

Post Number:#80 Post Fri Dec 26, 2014 9:23 pm
Posts: 273
Topics: 6
Images: 46
Solve rating: 0
Joined: Mon Sep 08, 2014 1:35 am
Topics: 6
Age: 37
Location: Aurora
Gender: Male
National Flag:
United States of America

i am not sure what happened but the other night only the lights on the relay board would come on and the relays would not click, but now all is working again, nothing is connected any different so I am not sure what to do some things are not being reliable and it has me very nervous to put on my tank
Happy reefing to all.
Christopher Kindig

PreviousNext



Return to Show your controller





Who is online

Users viewing this topic: No registered users and 0 guests