reef-pi :: An opensource reef tank controller based on Raspberry Pi.

Question regarding the 2.3 pwm fix, my dosing pumps don't move fluid below 50% via the PCA 9685 at the default 1500 Hz, so if I run the update and drop the frequency to say 100 or 200 Hz if my theory is correct, I can expect the pump to work at lower speeds?
I really dont know, I'll let @theatrus or someone else who is more knowledgable on these things speak. All I can say is that now pca9685 will respond to frequency changes correctly (you have to reload reef-pi everytime you change it ).
Generally it depends upon what type of circuit you are using to feed this pwm and then drive the dosing pumps. Its like a constrain of the intermediate ic /mosfet etc. So depending upon your exact circuit this will vary..
I just prefer to try stuff and fail spectacularly till i succeed.
 
meanwhile... relocated the lepto
DSC_1472.jpg

DSC_1475.jpg
 
Havent tried metering yet to check frequencies...but with 2.3 loaded, im seeing no behavior changes on the PWM for the pca9685...all settings of frequency from 10 to 1500 yield the same behavior like its stuck at 1500hz.

Checking with my meter confirms it stuck at 1500hz

I am on the latest raspbian
Pi zero w
Reef pi 2.3

I tried deleting the jacks and lights, reloaded then rebuilt them and reloaded.
Everything else about the pca9685 works, but the 100 percent setting bug is still present.

I even purged reef pi and reinstalled 2.3 with no luck although i did keep my reef pi database file.

To confirm its not related to my hardware if i switch a channel to a pi pwm pin set at 100hz, my lighting dims as its supposed to.
 
Last edited:
Havent tried metering yet to check frequencies...but with 2.3 loaded, im seeing no behavior changes on the PWM for the pca9685...all settings of frequency from 10 to 1500 yield the same behavior like its stuck at 1500hz.

Checking with my meter confirms it stuck at 1500hz

I am on the latest raspbian
Pi zero w
Reef pi 2.3

I tried deleting the jacks and lights, reloaded then rebuilt them and reloaded.
Everything else about the pca9685 works, but the 100 percent setting bug is still present.

I even purged reef pi and reinstalled 2.3 with no luck although i did keep my reef pi database file.

To confirm its not related to my hardware if i switch a channel to a pi pwm pin set at 100hz, my lighting dims as its supposed to.
I just confirmed similar behavior on a Pi3. My cheap meter reads 1.6 kHz regardless of the setting. I manually changed the frequency using a test script and was able to confirm a frequency change in the pca9685. However, it reverted back to 1.6 kHz after I reloaded reef-pi...

I'm sure we're just overlooking something simple in the software, and I'm confident we'll get it sorted soon.
 
I just confirmed similar behavior on a Pi3. My cheap meter reads 1.6 kHz regardless of the setting. I manually changed the frequency using a test script and was able to confirm a frequency change in the pca9685. However, it reverted back to 1.6 kHz after I reloaded reef-pi...

I'm sure we're just overlooking something simple in the software, and I'm confident we'll get it sorted soon.
Havent tried metering yet to check frequencies...but with 2.3 loaded, im seeing no behavior changes on the PWM for the pca9685...all settings of frequency from 10 to 1500 yield the same behavior like its stuck at 1500hz.

Checking with my meter confirms it stuck at 1500hz

I am on the latest raspbian
Pi zero w
Reef pi 2.3

I tried deleting the jacks and lights, reloaded then rebuilt them and reloaded.
Everything else about the pca9685 works, but the 100 percent setting bug is still present.

I even purged reef pi and reinstalled 2.3 with no luck although i did keep my reef pi database file.

To confirm its not related to my hardware if i switch a channel to a pi pwm pin set at 100hz, my lighting dims as its supposed to.
dang , let me look into this ASAP. I’ll re publish the builds soon. We know for sure this is fixed, let me check why it’s not working on 2.3
 
dang , let me look into this ASAP. I’ll re publish the builds soon. We know for sure this is fixed, let me check why it’s not working on 2.3
No problem, just reporting my findings with as much info as possible.
 
I have the ADJ-SRP8 for the AC outlets. Does anyone have a clear drawing of pin outs from the chip outputs to the DB9 male. Can not find any documentation on the SRP8. Just want to verify connections before I power up.

Thanks !
 
Ok, i found out the issue. I didnt pull down the latest bug fixes before building the release.. just republished the builds now. I am also testing it out on one of my build as I write this post.
 
Ok, i found out the issue. I didnt pull down the latest bug fixes before building the release.. just republished the builds now. I am also testing it out on one of my build as I write this post.
Does this mean I can re-install 2.3 and test it out?
 
Does this mean I can re-install 2.3 and test it out?
I tested, Its not working. I know we have fixed the code , but due to some glitch it’s not being picked up in 2.3 release build. I was looking into that .., but a different situation unfolded and got busy with that
24A655C6-8781-4B81-A452-D2D9D3AB3FD9.jpeg
 
I tested, Its not working. I know we have fixed the code , but due to some glitch it’s not being picked up in 2.3 release build. I was looking into that .., but a different situation unfolded and got busy with that
24A655C6-8781-4B81-A452-D2D9D3AB3FD9.jpeg
Lol, I remember those situations, I have them with the grandkids now ;)
 
I tested, Its not working. I know we have fixed the code , but due to some glitch it’s not being picked up in 2.3 release build. I was looking into that .., but a different situation unfolded and got busy with that
24A655C6-8781-4B81-A452-D2D9D3AB3FD9.jpeg

Thats priceless, you made me laugh, I remember those days, enjoy them while you can they go way to fast :)
 
I tested, Its not working. I know we have fixed the code , but due to some glitch it’s not being picked up in 2.3 release build. I was looking into that .., but a different situation unfolded and got busy with that
24A655C6-8781-4B81-A452-D2D9D3AB3FD9.jpeg

This is great but you know he's going to need more track!
 
@Bigtrout i just tested out the 2.3 builds, i think its fixed now. Can you test it out(just download the debian file and re-install) when you have time, and let me know if its still not working.

There was two different issues intermingled.. one involving the core pca9685 driver (i2c stuff), and the other around the reef-pi<-> pca9685 integration that was modified during the HAL work,.
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%
Back
Top