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

I am having the same problem adding the pca9685, had it running fine on 2.3 but updated to 3.0 alpha 2 and keeps giving error messages. Not sure if these images are what you need to help diagnose this problem but here are some
Screenshot (2).png
Screenshot (3).png
Screenshot (4).png

guess I should add I have tried restarting several times and have even wiped the sd card and started new
 
I am having the same problem adding the pca9685, had it running fine on 2.3 but updated to 3.0 alpha 2 and keeps giving error messages. Not sure if these images are what you need to help diagnose this problem but here are some
Screenshot (2).png
Screenshot (3).png
Screenshot (4).png

guess I should add I have tried restarting several times and have even wiped the sd card and started new
You have to delete your reef-pi database if you are planning to upgrade to 3.0, and do the configuration again. In 3.0 you have to create a driver first, and then associate jacks with it. One the plus side you can use pca9685 as outlet , other than typical jacks
 
@Ranjib if you are talking about this then it has already been done
Sudo apt-get remove reef-pi -y --purge
Sudo rm -rf /var/lib/reef-pi
Is there something or somewhere I'm forgetting?
I did both of those, restarted, downloaded and installed 3.0, restarted again. Had to put in EVERYTHING fresh
 
@Ranjib if you are talking about this then it has already been done
Sudo apt-get remove reef-pi -y --purge
Sudo rm -rf /var/lib/reef-pi
Is there something or somewhere I'm forgetting?
I did both of those, restarted, downloaded and installed 3.0, restarted again. Had to put in EVERYTHING fresh
Yes, that’s it.

By the way, a very warm welcome to reef2reef :-)
 
Thank you for the welcome
Any idea why it won't load the pca9685? I was going to try to format the sd card again tomorrow and reinstall from scratch to see if that will take care of the problem, maybe I made a mistake the first time
 
Thank you for the welcome
Any idea why it won't load the pca9685? I was going to try to format the sd card again tomorrow and reinstall from scratch to see if that will take care of the problem, maybe I made a mistake the first time
What error you are getting? I2c is enabled ? Do you see the address via i2cdetect ? Does the chip shows red led light on ?
 
HI
still in the testing phase
i was getting (ERROR {"error":"Failed to create. Error: write /sys/class/pwm/pwmchip0/pwm0/period: invalid argument"} | HTTP 500) when i tried to add jack at channel 0
running reef-pi 2.4 pi3 on raspberry pi 3b+
after i searched for answers and couldn't get a clear one i upgraded to pi 3.0.0 pre-alpha 2
i was able to add the jack and run the test OK
then noticed that in the config page under setting i don't have pca9685 anymore
when i tried to add it from driver tab using the default poar 68 and frequency 1500 i got
error":"Failed to create. Error: remote I/O error"} | HTTP 500

any help would be appreciated
 
Hi
Still during the testing phase
was running reef-pi 2.4 on raspberry pi 3B+ and got error http 500 while trying to create jack at channel 0 after finding no clear solution i upgraded to pi 3.0.0 pre-alpha 2 and was able to add the jack easily and tested the PWM successfully. however i noticed there is no pca9685 support in the setting by default so i tried to add from the driver tab using the suggested address 68 and frequency of 1500 then i got this error
error":"Failed to create. Error: remote I/O error"} | HTTP 500
any help would be appreciated
thanks
 
Still having the same error, Alaa?

Yes
The first error occur with pi 2.3 and 2.4 and not corrected with updates and reboot
The second one with pi 3.0.0 alpha 2 and not only with pca9685 but with other drivers as well
 
You have the Pca9685 board connected to the pi?
I think Max frequency for pca9685 is 1000, see backside of the board
 
You have the Pca9685 board connected to the pi?
I think Max frequency for pca9685 is 1000, see backside of the board
Will check ASAP
Having the default at 1500 and the same in previous versions didn't make me think about it
Thanks
 
You have the Pca9685 board connected to the pi?
I think Max frequency for pca9685 is 1000, see backside of the board
1500 if i recall correctly
 
Hi
thanks for the feed back
still no progress
i reinstalled raspberry pi from scratch, followed all the steps in the guides to update and installed reef-pi 2.4 pi3
i got the three GPIO working as equipment to test connections and were all (Pic attached)
i removed outlets 18 and 19 and tried to add Jack at channel 0 or 1 but both give me error
i added lights but are not working
i attached the log running (sudo journalctl -fu reef-pi.service)

1- GPIO 18-19-24 working as outlets.jpg


2- GPIO 18-19-24 LED on.jpg


3- adding Jack failed at 0 channel.jpg


4- adding Jack failed at 1 channel.jpg


5- blue light added but not working.jpg


6- journal output.jpg
 
Hi, you are not the only one with this issue, see page 529, maybe go true the tread and you find the solution.
upload_2019-7-9_10-38-58.png
 

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