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

I will probably skip this update for now since everything is working lol
:-) your call. worst case if it does not work, you have to play with the frequency. I dont see any point unless you have any issues with current setup, just wait for 3.0 and upgrade to that.
 
With the HAL work already in, if anyone wants to tryout multiple pca9685 setup, let me know. The HAL layer now allows adding multiple pca9585, each with different frequency etc. PCA9685 now can also be used as outlets, which means having a single pca9685 will give you 16 additional outlets :-)
 
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?
 
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
 
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.
 
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 ;)
 
Back
Top
Home
Post thread…
Market
What's new