Forum Members section Show your controller New build.

New build.


Post Number:#341 Post Sun Dec 11, 2016 3:50 pm
Posts: 274
Topics: 6
Images: 46
Solve rating: 0
Joined: Mon Sep 08, 2014 1:35 am
Topics: 6
Age: 43
Location: Aurora
Gender: Male
National Flag:
United States of America


Post Number:#342 Post Sun Dec 11, 2016 5:24 pm
Posts: 274
Topics: 6
Images: 46
Solve rating: 0
Joined: Mon Sep 08, 2014 1:35 am
Topics: 6
Age: 43
Location: Aurora
Gender: Male
National Flag:
United States of America

I found a missing part in setup:
pwm.begin();
pwm.setPWMFreq(1600);


-------------------------------- Last edited Sun Dec 11, 2016 3:13 pm --------------------------------

all wavemaker functions are working with ferduino and web control through PCA9685 board using I2c communication, next to build a menu for control of the return and protein skimmer pumps so they can all be put on the same power supply. yay less wall outlets used.
Happy reefing to all.
Christopher Kindig

Post Number:#343 Post Mon Dec 12, 2016 7:16 am
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 40
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

I see this line but I think there a default value, so this line is not mandatory but I'm not sure.

Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#344 Post Mon Dec 12, 2016 8:55 am
Posts: 274
Topics: 6
Images: 46
Solve rating: 0
Joined: Mon Sep 08, 2014 1:35 am
Topics: 6
Age: 43
Location: Aurora
Gender: Male
National Flag:
United States of America

Pump did not run without it so I added it and pumps were running.

-------------------------------- Last edited Mon Dec 12, 2016 6:07 am --------------------------------

If I am correct it is the communication to tell the PCA how fast to run in hertz frequency, I believe 1600 is the max speed that it will process.
Happy reefing to all.
Christopher Kindig

Post Number:#345 Post Mon Dec 12, 2016 9:10 am
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 40
Location: São Paulo
Gender: Male
National Flag:
Brazil

Yes, the library haven't a default value declared for frequency.

https://github.com/adafruit/Adafruit-PW ... iver.h#L51
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#346 Post Sun Jan 08, 2017 12:01 am
Posts: 274
Topics: 6
Images: 46
Solve rating: 0
Joined: Mon Sep 08, 2014 1:35 am
Topics: 6
Age: 43
Location: Aurora
Gender: Male
National Flag:
United States of America

Last 2 ISO boards are done, If you you want one PM me.

-------------------------------- Last edited Sat Jan 07, 2017 9:10 pm --------------------------------

Image
Happy reefing to all.
Christopher Kindig

Post Number:#347 Post Wed Feb 21, 2018 8:34 pm
Posts: 274
Topics: 6
Images: 46
Solve rating: 0
Joined: Mon Sep 08, 2014 1:35 am
Topics: 6
Age: 43
Location: Aurora
Gender: Male
National Flag:
United States of America

Hi Fernando I am working with theold board again and can not get the screen to come up I used this from a long time back and checked all pins
as shown, on the 20x2 all pins have a reading of 4.2 volts and on the others pins 6 and 7 have no voltage any thoughts?

update never mind it is okay now found a bad connection.

Hi!

Using the code below try:

1º Check if have ~ 4.5 V on pins 3 - 7, 22 - 41 and 50 - 53;

2º Check if have ~ 3.3 V in all pins else to GND and NC on connector 2 x 20.

Image: http://ferduino.com/forum/gallery/image.php?album_id=11&image_id=132

void setup()
{
  for(int i = 3; i < 8; i++)
  {
    pinMode(i, OUTPUT);
    digitalWrite(i, HIGH);
  }
  for(int i = 22; i < 42; i++)
  {
    pinMode(i, OUTPUT);
    digitalWrite(i, HIGH);
  }
  for(int i = 50; i < 54; i++)
  {
    pinMode(i, OUTPUT);
    digitalWrite(i, HIGH);
  }
}

void loop()
{
}


Best regards.
Happy reefing to all.
Christopher Kindig

Previous



Return to Show your controller





Who is online

Users viewing this topic: No registered users and 1 guest