Troutt's Reef-Pi Build

Hi and welcome to R2R! Lol
 
I just posted details on how to configure the ph board, i know you were planning to make some. I'd love to get a piece either from you or @Michael Lane , Im very happy with the boards performance so far. Running it with milawukee probes right now
 
I just posted details on how to configure the ph board, i know you were planning to make some. I'd love to get a piece either from you or @Michael Lane , Im very happy with the boards performance so far. Running it with milawukee probes right now
I will just send you one sir. Given all that you have done to make reef-pi accessible. Pm your address.
 
@Ranjib @Bigtrout
So i decided to upgrade to 3.0.0.

Setting everything back up but i cannot get my pca9685 working.


I go to the drivers and create one. Put a title in select pca9685. Set address and frequency hit save and it says failed to create: error remote I/O error

Advice here?
 
Nevermind on this i see that the i2cdetect has to be converted to hex. Now to figure the rest of it out..
 
Do u have a hat or an adafruit pca?

Address is in hex...so 40 in hex is 64 in decimal

Run i2cdetect see where ur pca is...convert that number to decimal
 
Alrighty @Ranjib @Bigtrout

Got an issue with the old version of reef pi i controlled my lights but having the drivers for each channel set up as an outlet each driver is connected to a darlington transistor that is then connected to gpio pins of the pi.

Doing it the same way with 3.0.0 in connectors creating an outlet assign to pin 15 (GPIO 22) for one driver. And then creating an equipment entry for that one driver. But the on off switch does not work?

Almost done with the setup redo for 3.0....lol
 
Last edited:
If you just upgraded without deleting the database it will mess up
 
If you just upgraded without deleting the database it will mess up

Yeah i deleted the DB. I had it working the pin assignments i was looking was totally wrong

But now i have a new issue. I got everything figured outs now and went to start entering it all in again when i try to add an outlet Outlet driver lookup failure driver by is not available
 
Yeah i deleted the DB. I had it working the pin assignments i was looking was totally wrong

But now i have a new issue. I got everything figured outs now and went to start entering it all in again when i try to add an outlet Outlet driver lookup failure driver by is not available
The driver dropdown has a bug :-( . You have to click and select it explicitly even if it already shows that its currently assigned by default.
 
The driver dropdown has a bug :-( . You have to click and select it explicitly even if it already shows that its currently assigned by default.

I tried that. I ended up having to reinstall raspbian. Lol but now everything is up and running again.
 
@Ranjib @Bigtrout

Hey guys so i finally managed to get this ph board hooked up on my end.
Correct me if im wrong but if my pca9685 has an i2c address of 0x64 then my ph board cannot have the same address correct?

At first i figured i could just wire connect the ph board up to the other end of my pca9685 since both sides have i2c pads. When i didnt get an address i figured i would switch it and solder directly to the pi pins 3 and 5. What am i doing wrong here? And yes ive tried changing the dip switches
 
I didn't see any problems in your picture of the assembled ph board. Can you show how you have it wired to the rpi? The only time I had an issue with rpi finding them over i2c was when I had a bridge between 2 pins.

I found the following addresses depending on the state of the switches. You should be able to see a new address using i2cdetect.

A1 A0 Address
Off Off 0x40
Off On 0x41
On Off 0x44
On On 0x45
 
Last edited:
You can daisy CHAIN THEM on the wiring, just set the address to a different one with the dip switches
 
I didn't see any problems in your picture of the assembled ph board. Can you show how you have it wired to the rpi? The only time I had an issue with rpi finding them over i2c was when I had a bridge between 2 pins.

I found the following addresses depending on the state of the switches. You should be able to see a new address using i2cdetect.

A1 A0 Address
Off Off 0x40
Off On 0x41
On Off 0x44
On On 0x45

I have it unwired at this point. I wanted to change the address on my pca9685 to see if maybe the dip switches were bad. When i went to change it back something happened and now the pca9685 is not showing up. Ive killed two of these when i was first building the reef pi. So easy to kill. I got two more kn the way.

I have another completed ph board im gonna try tomorrow. I didnt see any bridged pins, i read that on your post which is what made me double check.


But its lat here gonna tackle it tomorrow.
Thanks for the help both you and @Bigtrout
 
You may also want to check the connection to the rpi. The label on the pH board confused me at first.
Looking at the board from the top down with the 4 pin connector at the bottom and the BNC at the top, it's GND, SDA, SCL, +5V. The square pin on the right is +5v.
 

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