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

OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Reef-pi crashing need some help, everytime i add temp it crashes/
Can you turn it off (from Configuration -> Poweroff), then hook up the temp probe and then power it on? In other words, dont plug the probe when its running.
Also, can you share a picture of your wiring, both temperature circuit as well as the connector.
I definitely recall experiencing this in past. One of the pain with the audio connectors is the way they are designed GND and PWR touches each other when you insert the connector. But once plugged in, it should be all good. There might be circuit related issue.
 

Erica-Renee

Valuable Member
View Badges
Joined
Oct 4, 2017
Messages
1,596
Reaction score
3,288
Location
lost
Rating - 0%
0   0   0
Sensor-Float module (1).jpg
Controller box.jpg



Top pic is the Sensor box.. It contains 3 Temp sensor jacks. 4 ato jacks. With room to expand..

The bottom image is the Low Voltage electronics housing... I still have not decided on a 40 pin connector to the pi yet .

thinks to finish .. Lighting, Dosing pumps, rodi solenoid , I have also ran most of the perm controllable outlets in the basement over sump...
I want to order another pi computer to test with before i put this into use and stop tinkering with it..

Thanks Ron
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Sensor-Float module (1).jpg
Controller box.jpg



Top pic is the Sensor box.. It contains 3 Temp sensor jacks. 4 ato jacks. With room to expand..

The bottom image is the Low Voltage electronics housing... I still have not decided on a 40 pin connector to the pi yet .

thinks to finish .. Lighting, Dosing pumps, rodi solenoid , I have also ran most of the perm controllable outlets in the basement over sump...
I want to order another pi computer to test with before i put this into use and stop tinkering with it..

Thanks Ron
Whats the length of that vga/db9 cable ? I bet its will be useful information for lot of folks who have tank further from the controller
 

Erica-Renee

Valuable Member
View Badges
Joined
Oct 4, 2017
Messages
1,596
Reaction score
3,288
Location
lost
Rating - 0%
0   0   0
Whats the length of that vga/db9 cable ? I bet its will be useful information for lot of folks who have tank further from the controller
Relay serial cable is 6 feet (tested it with 12 feet and works)
the sensors are on a 12 feet serial cable.. I tried it on a super heavy duty one and it did not work...

In the box with clear top. under the terminal pin board is the adafruit relay board.
 
Last edited:

Hookster15

Active Member
View Badges
Joined
Sep 28, 2017
Messages
111
Reaction score
73
Location
Hobart , Indiana
Rating - 0%
0   0   0
Can you turn it off (from Configuration -> Poweroff), then hook up the temp probe and then power it on? In other words, dont plug the probe when its running.
Also, can you share a picture of your wiring, both temperature circuit as well as the connector.
I definitely recall experiencing this in past. One of the pain with the audio connectors is the way they are designed GND and PWR touches each other when you insert the connector. But once plugged in, it should be all good. There might be circuit related issue.
Its only happens when i add the PCA 9685, for some reason the software crashes. I have uninstalled the software and reinstalled it and same thing.
 

Erica-Renee

Valuable Member
View Badges
Joined
Oct 4, 2017
Messages
1,596
Reaction score
3,288
Location
lost
Rating - 0%
0   0   0
Its only happens when i add the PCA 9685, for some reason the software crashes. I have uninstalled the software and reinstalled it and same thing.

Before you enable the pca9685 in Configuration settings you must connect it .
To add the pca9685 it must be connected to the pi and powered up... (Green light on..) There should be 3,4 wires .. Ground ,and the two ic2 wires as well as power, Even if you power it externally it must be grounded to the pi..

if this device is not powered on you will get that crash. You can connect it and reboot and reef-pi will load
 

Hookster15

Active Member
View Badges
Joined
Sep 28, 2017
Messages
111
Reaction score
73
Location
Hobart , Indiana
Rating - 0%
0   0   0
Before you enable the pca9685 in Configuration settings you must connect it .
To add the pca9685 it must be connected to the pi and powered up... (Green light on..) There should be 3,4 wires .. Ground ,and the two ic2 wires as well as power, Even if you power it externally it must be grounded to the pi..

if this device is not powered on you will get that crash. You can connect it and reboot and reef-pi will load
ok, well im way off track. then how do i enable the temp probe? do i need a pca9685 for the temp probe?
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
ok, well im way off track. then how do i enable the temp probe? do i need a pca9685 for the temp probe?
You dont need pca9685 for temp probe. You have to enable one wire protocol using raspi-config. https://www.raspberrypi-spy.co.uk/2018/02/enable-1-wire-interface-raspberry-pi/

pca9685 is required for pwm (LED or doser) only. It will be easier for us to help you, if you can share the version of reef-pi you are using and logs.
Code:
 journalctl -u reef-pi.service
 

Hookster15

Active Member
View Badges
Joined
Sep 28, 2017
Messages
111
Reaction score
73
Location
Hobart , Indiana
Rating - 0%
0   0   0

Erica-Renee

Valuable Member
View Badges
Joined
Oct 4, 2017
Messages
1,596
Reaction score
3,288
Location
lost
Rating - 0%
0   0   0
@ranjab resetting up the pca 9685 to drive my led dosing pumps and Fans..

When it was all setup on the bench I was driving the pca board with 3.3v .. pushing ir520 mosfit the lights are high power led and run at 16v max.. the output after the ir520 with a 16v power i could only get .5 to 4,5v range with the LED Slider bar.. Not enough to power anything.. So i switched it to 5v on the pca9685 and everything is working normally.

Any ideas why its now requiring 5v and rather this will be a issue or not .... ??
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
@ranjab resetting up the pca 9685 to drive my led dosing pumps and Fans..

When it was all setup on the bench I was driving the pca board with 3.3v .. pushing ir520 mosfit the lights are high power led and run at 16v max.. the output after the ir520 with a 16v power i could only get .5 to 4,5v range with the LED Slider bar.. Not enough to power anything.. So i switched it to 5v on the pca9685 and everything is working normally.

Any ideas why its now requiring 5v and rather this will be a issue or not .... ??
I have never used the pca9685 with 3.3 v. I really have no idea whats going on with it, I have to check with oscilloscope and read the datasheet to say anything regarding this.
When you use it with 5 v, does it work as expected. I have always run it with 5 v, and always got stable 0.1-> 5 v when checked with multimeter (controlled from reef-pi UI).

The only issue I have seen consistently so far is that the Kessil lights will flickr when I use the circuit (10v pwm) along side other 5v/3v component (ato/temperature sensors etc). It works perfectly if is just build a kessil controller, but everytime i build an all in one version it will flicker. The output is same when I check with multimeter, but it does not have the same result when i hook it up with a kessil,. I belive I am missing some capacitors. I;ll be working on to fix this (by checking each circuit hops with oscilloscope) and probably employing some 100uf capacitors if I see voltage fluctuations.
 

Erica-Renee

Valuable Member
View Badges
Joined
Oct 4, 2017
Messages
1,596
Reaction score
3,288
Location
lost
Rating - 0%
0   0   0
I have never used the pca9685 with 3.3 v. I really have no idea whats going on with it, I have to check with oscilloscope and read the datasheet to say anything regarding this.
When you use it with 5 v, does it work as expected. I have always run it with 5 v, and always got stable 0.1-> 5 v when checked with multimeter (controlled from reef-pi UI).

The only issue I have seen consistently so far is that the Kessil lights will flickr when I use the circuit (10v pwm) along side other 5v/3v component (ato/temperature sensors etc). It works perfectly if is just build a kessil controller, but everytime i build an all in one version it will flicker. The output is same when I check with multimeter, but it does not have the same result when i hook it up with a kessil,. I belive I am missing some capacitors. I;ll be working on to fix this (by checking each circuit hops with oscilloscope) and probably employing some 100uf capacitors if I see voltage fluctuations.


Yes it seems to work fine on 5v .. I just am not sure what i have done differently that it does not work on 3v any longer. There is a place on the pca0685 for a capacitor and ada fruit specs say if you push it you may need to add one.

Anyway its all working correctly.. First lite will be a 3 channel RGB Light for the Turf scrubber ..
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Yes it seems to work fine on 5v .. I just am not sure what i have done differently that it does not work on 3v any longer. There is a place on the pca0685 for a capacitor and ada fruit specs say if you push it you may need to add one.

Anyway its all working correctly.. First lite will be a 3 channel RGB Light for the Turf scrubber ..
The capacitor is for cases where you use the pca9685 to also power servo/light directly (5v). Other than that, i dont think its required
 

TOP 10 Trending Threads

WHAT AMOUNT OF LIVE ROCK AND SAND SHOULD BE PRIORITIZED FOR OPTIMAL BIODIVERSITY/FILTRATION?

  • 100% live rock + bagged sand

    Votes: 38 26.6%
  • 100% dry rock + 100% live sand

    Votes: 48 33.6%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 32 22.4%
  • 75% live rock, 25% live sand

    Votes: 15 10.5%
  • 25% live rock, 75% live sand

    Votes: 10 7.0%
Back
Top