Before I move on...

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
976
Location
Germany
Rating - 0%
0   0   0
mmmm what do you mean by "PCA9685 does sometimes not react to a change"
Well, the PI sends commands to the PCA9685 over the I2C Bus. If that Bus fails right in the moment that command is sent, the PCA9685 output stays where it was, possibly keeping the connected equipment in the wrong state.

That doesn’t happen often, but it does happen. Currently ReefPi doesn’t check for this or resends the commands. Although it is definitely fixable with software on the ReefPi side.
 
OP
OP
Hugo_Fish

Hugo_Fish

Active Member
View Badges
Joined
Oct 4, 2023
Messages
191
Reaction score
138
Location
Greensboro
Rating - 0%
0   0   0
question .,.. currently still working on my second temp probe.... it seems to not wanting to detect the other one.. when I copy this into the config file and change the pin number


dtoverlay=w1-gpio,gpiopin=4
dtoverlay=w1-gpio,gpiopin=16


Do the 4 and 16 mean the physical pin or the logic pin..

I'm going to bed.. lol have a family gathering at my girlfriend's sister's place..... wish me luck ..
 

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
976
Location
Germany
Rating - 0%
0   0   0
tbh that sounds really dangerous especially dosing..
Exactly, that’s why quite a few people opt not to do that using the PCA9685.

You can still use the PWM from the PCA9685 to dimm the individual pumps, but that requires more parts.


question .,.. currently still working on my second temp probe.... it seems to not wanting to detect the other one.. when I copy this into the config file and change the pin number


dtoverlay=w1-gpio,gpiopin=4
dtoverlay=w1-gpio,gpiopin=16


Do the 4 and 16 mean the physical pin or the logic pin..

I'm going to bed.. lol have a family gathering at my girlfriend's sister's place..... wish me luck ..
Best of luck !
I think the 4 and 16 are the logic numbers, look here: pinout.xyz
 
OP
OP
Hugo_Fish

Hugo_Fish

Active Member
View Badges
Joined
Oct 4, 2023
Messages
191
Reaction score
138
Location
Greensboro
Rating - 0%
0   0   0
Exactly, that’s why quite a few people opt not to do that using the PCA9685.

You can still use the PWM from the PCA9685 to dimm the individual pumps, but that requires more parts.



Best of luck !
I think the 4 and 16 are the logic numbers, look here: pinout.xyz
-.- out of the 5 4.7k resistors I had, only 1 was really 4.7k. at least they are cheap .. picked up 100 off amazon. I'm just mad it took forever to realize that they were bad.
 
OP
OP
Hugo_Fish

Hugo_Fish

Active Member
View Badges
Joined
Oct 4, 2023
Messages
191
Reaction score
138
Location
Greensboro
Rating - 0%
0   0   0
Hey, are the pins stated in guide hard coded into ReefPi? currently looking at making the dosing pump and trying to use the same Pi as everything else. I can see there are 6 free open Pins left and want to use them. currently having problems with the Pi not seeing the 2nd temp probe and wondering if its software problem.
 
OP
OP
Hugo_Fish

Hugo_Fish

Active Member
View Badges
Joined
Oct 4, 2023
Messages
191
Reaction score
138
Location
Greensboro
Rating - 0%
0   0   0
mmm, well time to test XD ... I bought the MCP23017 that I linked above and it should be here Monday I believe. I will update once it comes in and played with.
 

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
976
Location
Germany
Rating - 0%
0   0   0
... I just figured out I can use the PCA9685 pins for the outlets... this would open all the Gen Pins on the Pi... @Sral did you mention this before?

Add support for MCP23017 IC <--- Link to what i found..
Yes, I think I did. Same problem of course: if the I2C network fails on command to the PCA9685 or MCP, it doesn’t change the outlet state and ReefPi isn’t currently rechecking the outlet states.
 
OP
OP
Hugo_Fish

Hugo_Fish

Active Member
View Badges
Joined
Oct 4, 2023
Messages
191
Reaction score
138
Location
Greensboro
Rating - 0%
0   0   0
Mmmm, looks like that's the way I will go ... Currently waiting for another dosing pump to come in once it does... I'll be changing the design once again lol..
 

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
question .,.. currently still working on my second temp probe.... it seems to not wanting to detect the other one.. when I copy this into the config file and change the pin number


dtoverlay=w1-gpio,gpiopin=4
dtoverlay=w1-gpio,gpiopin=16


Do the 4 and 16 mean the physical pin or the logic pin..

I'm going to bed.. lol have a family gathering at my girlfriend's sister's place..... wish me luck ..
do you really want to use a second pin? one wire is a bus and you can connect multiple probes on the same pin
 
OP
OP
Hugo_Fish

Hugo_Fish

Active Member
View Badges
Joined
Oct 4, 2023
Messages
191
Reaction score
138
Location
Greensboro
Rating - 0%
0   0   0
I changed my mind on adding a second temp probe. I did find out that I can connect them in parallel but if one loses connection so does the other. I might reconsider adding a second probe when I get a bigger tank. I'm currently in the process of adding and reorganizing my power outlets. I heard if you control using the PCA 9685 there is a chance that the pi will glitch and cases the outlets to never turn off.. as of right now I'm considering adding more outlets using the PCA 9685 and label them as not for the tank sensitive equipment. But that will come later on this year.. have to redesign the whole case and want to make it more modular... Using RJ45 to connect between the mods.
 
OP
OP
Hugo_Fish

Hugo_Fish

Active Member
View Badges
Joined
Oct 4, 2023
Messages
191
Reaction score
138
Location
Greensboro
Rating - 0%
0   0   0
I lied .. i just bought PH probe stuff and should be here next week... @Ranjib just liking my posts got me in the mood to continue working lol
 
OP
OP
Hugo_Fish

Hugo_Fish

Active Member
View Badges
Joined
Oct 4, 2023
Messages
191
Reaction score
138
Location
Greensboro
Rating - 0%
0   0   0
Pros and Cons of using esp32 over Pi? and visa versa with ReefPi.... tbh i'm unsure the difference what i can see is Pi is more stronger then ESP32 but can I connect more stuff directly to the ESP32 then Pi? ... but if ESP32 is more useful then I would not mind switching ..
 
OP
OP
Hugo_Fish

Hugo_Fish

Active Member
View Badges
Joined
Oct 4, 2023
Messages
191
Reaction score
138
Location
Greensboro
Rating - 0%
0   0   0
Oh, and one other thing I'm doing ..... I bought a Used MiniPC, going to set up a Telemetry Server! bought a used HP Elite Desk 800 G1 from ebay. Lets see where this takes me...
 

Sral

Valuable Member
View Badges
Joined
May 2, 2022
Messages
1,006
Reaction score
976
Location
Germany
Rating - 0%
0   0   0
Pros and Cons of using esp32 over Pi? and visa versa with ReefPi.... tbh i'm unsure the difference what i can see is Pi is more stronger then ESP32 but can I connect more stuff directly to the ESP32 then Pi? ... but if ESP32 is more useful then I would not mind switching ..
Pi has a somewhat more stable interface for control, e.g. the GPIO pins etc. However, you need to connect everything (except ESP32 components) with cables.

The ESP32 is always at the mercy of the WiFi, although that can be a boon as well. You can simply put one into a small box next to the lamp and discard all control cables towards the lamp.
 
OP
OP
Hugo_Fish

Hugo_Fish

Active Member
View Badges
Joined
Oct 4, 2023
Messages
191
Reaction score
138
Location
Greensboro
Rating - 0%
0   0   0
Well.. had a issue with the EZO board -.- fixed it after figuring out the board was in Uart....ANYWAYS.... now to move on to the Tele server.. tomorrow, after work ...
 

Reefing threads: Do you wear gear from reef brands?

  • I wear reef gear everywhere.

    Votes: 41 16.4%
  • I wear reef gear primarily at fish events and my LFS.

    Votes: 15 6.0%
  • I wear reef gear primarily for water changes and tank maintenance.

    Votes: 1 0.4%
  • I wear reef gear primarily to relax where I live.

    Votes: 30 12.0%
  • I don’t wear gear from reef brands.

    Votes: 144 57.6%
  • Other.

    Votes: 19 7.6%
Back
Top