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

Brad Cox

Active Member
View Badges
Joined
Mar 18, 2017
Messages
327
Reaction score
391
Rating - 0%
0   0   0
Bummer. I'll bring back the high state config. Meanwhile, you can still use the equipments tab right?Its just the buttons means opposite , when you click off, it should turn on equipment and when you click on, it should turn off. Am I right on this?
Idk what pins the equipment is tied to. When i add a outlet under system it doesnt show up under equipment.
My relay wont do anything. Ive tried putting it to the ground pin as well as the 5 volt pin and it dont change states.
 
OP
OP
Ranjib

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
Idk what pins the equipment is tied to. When i add a outlet under system it doesnt show up under equipment.
My relay wont do anything. Ive tried putting it to the ground pin as well as the 5 volt pin and it dont change states.
You have to add equipment after you add outlets. While creating a new equipment (under equipments tab), you should be able to choose the outlet. Its this outlet that will decide which pin is associated with the equipment
 

Brad Cox

Active Member
View Badges
Joined
Mar 18, 2017
Messages
327
Reaction score
391
Rating - 0%
0   0   0
You have to add equipment after you add outlets. While creating a new equipment (under equipments tab), you should be able to choose the outlet. Its this outlet that will decide which pin is associated with the equipment
Gotcha!

Well with a multimeter i cant read a closure across the pins of the relay. But when i plug in the power cord for the relays they do work.

This must be a scr thing?

Ehen i take the sensor out of the water it comes on and when i put it in the water it goes off. I have it set to 1 sec. for testing.

What should i set it at for the real world?
 
OP
OP
Ranjib

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
To me 5 minutes interval is good enough. We have limitations from ds18b20 probe (can not be read multiple time within a single second) as well as adafruit.io (only 10 or so metric per minute) . And I dont think we need temperature per second or even per minute. At least my observation was tank temperature does vary, but lot slowly... I have shared my tank's trend in this thread, for reference. My recommendation will be 5 minute interval, but you can dial it down to 1 as well, if you want
 

Brad Cox

Active Member
View Badges
Joined
Mar 18, 2017
Messages
327
Reaction score
391
Rating - 0%
0   0   0
To me 5 minutes interval is good enough. We have limitations from ds18b20 probe (can not be read multiple time within a single second) as well as adafruit.io (only 10 or so metric per minute) . And I dont think we need temperature per second or even per minute. At least my observation was tank temperature does vary, but lot slowly... I have shared my tank's trend in this thread, for reference. My recommendation will be 5 minute interval, but you can dial it down to 1 as well, if you want

Do you know if and when the dac for the lights will come?
 

njtiger aquariums

Well-Known Member
View Badges
Joined
Oct 9, 2015
Messages
513
Reaction score
519
Location
NV
Rating - 0%
0   0   0
man a lot has changed to this since I last checked up on this. Good work guys its looking great.
 
OP
OP
Ranjib

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
Do you know if and when the dac for the lights will come?
I have got the initial driver code in place : https://github.com/reef-pi/reef-pi/blob/master/controller/utils/dac.go
I still have to work on some API and finally the UI bits on this. Because each breakout board only support 1 channel, there will be more UI work for dac based lighting (users have to specify the DAC i2c address for each channel). Its not difficult, just bit tedious, and I have to spend some time on it. For what its worth, I want to get it done as part of 1.0 release,
 

Brad Cox

Active Member
View Badges
Joined
Mar 18, 2017
Messages
327
Reaction score
391
Rating - 0%
0   0   0
I have got the initial driver code in place : https://github.com/reef-pi/reef-pi/blob/master/controller/utils/dac.go
I still have to work on some API and finally the UI bits on this. Because each breakout board only support 1 channel, there will be more UI work for dac based lighting (users have to specify the DAC i2c address for each channel). Its not difficult, just bit tedious, and I have to spend some time on it. For what its worth, I want to get it done as part of 1.0 release,
Gotcha.

Thats what im waiting on since the ato is working now.

Is there a converter they make that will work in its place?
 
OP
OP
Ranjib

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
Gotcha.

Thats what im waiting on since the ato is working now.

Is there a converter they make that will work in its place?
Thats a very good question, i do not have answer to that, but I think there is. We need some electronics guru's help here :-/ . Meanwhile, let me google :)
 
OP
OP
Ranjib

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

Brad Cox

Active Member
View Badges
Joined
Mar 18, 2017
Messages
327
Reaction score
391
Rating - 0%
0   0   0
OP
OP
Ranjib

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
I wonder if something like this will work?

KNACRO PWM-to-voltage module / 0% -100% PWM converted to 0-10V voltage https://www.amazon.com/dp/B06XB6J4FV/ref=cm_sw_r_cp_api_u9DRzb3F2R5D7

Ill need two. One for the white channel and one for the blue.
From the earlier blog post, it seems all we need is an appropriate resistor and capacitor per channel. That seems lot simpler than this. I'll have access to a benchtop oscilloscope soon, so i'll know for sure. Is there a reason you dont want to try the simple capacitor+resistor low pass filter approach ?
 

Brad Cox

Active Member
View Badges
Joined
Mar 18, 2017
Messages
327
Reaction score
391
Rating - 0%
0   0   0
3d printed my optical sensor mount.

This mounts to a 1/2" pvc pipe and hang on the side of my sump.

IMG_1996.JPG


IMG_1997.JPG
 

njtiger aquariums

Well-Known Member
View Badges
Joined
Oct 9, 2015
Messages
513
Reaction score
519
Location
NV
Rating - 0%
0   0   0
Yes its on thingiverse.
Its by mtwiley
1/2" pvc optical switch holder
Its fully adjustable as well. Slides up and down the pvc to set the water level.

IMG_1998.JPG

Dude this is sweet. I wish I had a 3d printer and was that handy to print stuff out.
 

Brad Cox

Active Member
View Badges
Joined
Mar 18, 2017
Messages
327
Reaction score
391
Rating - 0%
0   0   0
I wish i could creat a case to put all the pi stuff in.

There are actually stuff there i can print that takes the touchscreen and puts it in a nice case with the pi3.
 

When to mix up fish meal: When was the last time you tried a different brand of food for your reef?

  • I regularly change the food that I feed to the tank.

    Votes: 44 21.2%
  • I occasionally change the food that I feed to the tank.

    Votes: 72 34.6%
  • I rarely change the food that I feed to the tank.

    Votes: 69 33.2%
  • I never change the food that I feed to the tank.

    Votes: 19 9.1%
  • Other.

    Votes: 4 1.9%

New Posts

Back
Top