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
I am thinking that a vertical line would move down the x-axis along with the time of day, and the current values would be reflected in a text box.
Mostly just to reflect where you are in your light cycle
Like this...
upload_2018-2-10_7-55-23.png

upload_2018-2-10_7-56-57.png
Got it. Let me cross check with the library I am using for charring, I’ll keep u posted
 

reelss

Active Member
View Badges
Joined
Jan 2, 2018
Messages
328
Reaction score
133
Rating - 0%
0   0   0
Well, since everyone is showing their power outlet builds I’ll share mine too.
The HDMI is the connection to the main Reef-Pi box. When I finish the other enclosure I'll show them side by side with all of the other sensors and stuff I have built.
D13CBD65-A048-4B2A-B897-519B9A14C74C.jpeg
How did you make this enclosure? What material is this?
 
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

Gareth elliott

Read, Tinker, Fail, Learn
View Badges
Joined
May 7, 2017
Messages
5,470
Reaction score
6,903
Location
NJ
Rating - 0%
0   0   0
So analog ph probe is annoying to say the least.
Most recent steps have been uploading the python spi library onto the pi. And turning spi on.
attempting to use some open source python for my purpose. Nothing fancy just a lot of math lol. gives a ph reading based on a linear equation. From what ive read this is how this probe works. Now in actuality ph is logarithmic so i may need to change this. And crack open my college calc book since i havent used logs in a decade lol. So hoping linear equation works.
This was a welcome break from the wiring since I currently have no way of knowing if what i have wired works yet.
There is virtually no support for this chip online. And none whatsoever for using on a pi.
I test anything next time will be something with lots of support online lol.
Other supplies currently added to circuit:
Level shifter
10k resistor
Added $1.25
 
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
So analog ph probe is annoying to say the least.
Most recent steps have been uploading the python spi library onto the pi. And turning spi on.
attempting to use some open source python for my purpose. Nothing fancy just a lot of math lol. gives a ph reading based on a linear equation. From what ive read this is how this probe works. Now in actuality ph is logarithmic so i may need to change this. And crack open my college calc book since i havent used logs in a decade lol. So hoping linear equation works.
This was a welcome break from the wiring since I currently have no way of knowing if what i have wired works yet.
There is virtually no support for this chip online. And none whatsoever for using on a pi.
I test anything next time will be something with lots of support online lol.
Other supplies currently added to circuit:
Level shifter
10k resistor
Added $1.25
This is exactly what I expected. I had pretty much same experience with analog temperature sensors.
Thank you for sharing your learnings from this
 

Ryan115

Well-Known Member
View Badges
Joined
Dec 28, 2010
Messages
586
Reaction score
1,085
Location
Mississippi
Rating - 0%
0   0   0
Port is 80 with new release . If you are enabling https then it will be 443
Thanks.
Any reason you know of that the folder wouldnt be created?
Code:
pi@raspberrypi://home/pi $ sudo service tor start
pi@raspberrypi://home/pi $ sudo service tor status
â tor.service - Anonymizing overlay network for TCP (multi-instance-master)
   Loaded: loaded (/lib/systemd/system/tor.service; enabled; vendor preset: enable
   Active: active (exited) since Sat 2018-02-10 11:06:36 CST; 1s ago
  Process: 5824 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
 Main PID: 5824 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/tor.service

Feb 10 11:06:36 raspberrypi systemd[1]: Starting Anonymizing overlay network for T
Feb 10 11:06:36 raspberrypi systemd[1]: Started Anonymizing overlay network for TC
 
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
Thanks.
Any reason you know of that the folder wouldnt be created?
Code:
pi@raspberrypi://home/pi $ sudo service tor start
pi@raspberrypi://home/pi $ sudo service tor status
â tor.service - Anonymizing overlay network for TCP (multi-instance-master)
   Loaded: loaded (/lib/systemd/system/tor.service; enabled; vendor preset: enable
   Active: active (exited) since Sat 2018-02-10 11:06:36 CST; 1s ago
  Process: 5824 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
 Main PID: 5824 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/tor.service

Feb 10 11:06:36 raspberrypi systemd[1]: Starting Anonymizing overlay network for T
Feb 10 11:06:36 raspberrypi systemd[1]: Started Anonymizing overlay network for TC
I have never used Tor, so I cant say for sure. I use straight https + port forwarding.

The log for tor service looks clean, no error., reef-pi service's home directory is /var/lib/reef-pi, I dont know if this is something needs to be specified in the configuration or not.
 

ReeferMadness88

Community Member
View Badges
Joined
Jan 28, 2018
Messages
33
Reaction score
37
Rating - 0%
0   0   0
Hey, I’m working on my build, I’ve got the box designed, power into it, my outlets wired to the relay, however when I go into add for equipment it’s giving me this error:
“{"error":"Failed to update. Error: gpio: could not find pin matching 29"}”

All jumpers are wired correctly as per the pin out on the Github site, this error occurs for all pins. The relay is jumpered on VCC/GND.

Any ideas?
 

Ryan115

Well-Known Member
View Badges
Joined
Dec 28, 2010
Messages
586
Reaction score
1,085
Location
Mississippi
Rating - 0%
0   0   0
Hey, I’m working on my build, I’ve got the box designed, power into it, my outlets wired to the relay, however when I go into add for equipment it’s giving me this error:
“{"error":"Failed to update. Error: gpio: could not find pin matching 29"}”

All jumpers are wired correctly as per the pin out on the Github site, this error occurs for all pins. The relay is jumpered on VCC/GND.

Any ideas?
I dont believe there is a GPIO 29.
Pin# 29 corresponds to GPIO5.
 
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
Hey, I’m working on my build, I’ve got the box designed, power into it, my outlets wired to the relay, however when I go into add for equipment it’s giving me this error:
“{"error":"Failed to update. Error: gpio: could not find pin matching 29"}”

All jumpers are wired correctly as per the pin out on the Github site, this error occurs for all pins. The relay is jumpered on VCC/GND.

Any ideas?
What Ryan has mentioned , check this guide
https://reef-pi.github.io/general-guides/electronics/
The pinout diagram indicates gpio PIN numbers (in green labels) for corresponding serial number (their position)
 
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
Thanks man, that definitely fixed it, now relay 1-5 works perfect, oddly enough 6 and 7 don’t seem to activate the relay
Cross check the wiring, check if they work if you swap the pins . You can deduce whether the relay itself is wedged or config /wiring is broken that way
 

Ryan115

Well-Known Member
View Badges
Joined
Dec 28, 2010
Messages
586
Reaction score
1,085
Location
Mississippi
Rating - 0%
0   0   0
Thanks man, that definitely fixed it, now relay 1-5 works perfect, oddly enough 6 and 7 don’t seem to activate the relay
No problem, this has been a source of confusion for others in the past (myself included)
Are you running the relays from a separate power supply or from the pi 5V?
Also, as Ranjib suggested, switch the control wire from working relays to isolate whether it is the relay or the connection/control pin.
 

ReeferMadness88

Community Member
View Badges
Joined
Jan 28, 2018
Messages
33
Reaction score
37
Rating - 0%
0   0   0
Got it sorted! Up and running :) it was a faulty jumper wire. Always something stupid lol I’ve pulled the wires for my PWM into the canopy for the lights now I just have to wait for snail mail from China for the digital to anolgue converters to show up, then I can crack the lights open and hopefully get them integrated. I appreciate the help today, like most things it’s a simple overlooked thing. Great community
 

Gareth elliott

Read, Tinker, Fail, Learn
View Badges
Joined
May 7, 2017
Messages
5,470
Reaction score
6,903
Location
NJ
Rating - 0%
0   0   0
I was also out and about today except purchasing not selling.
IMG_0921.JPG

Red Sea star

Some snails

And 2 acro frags.

Image1518306703.655341.jpg
Image1518307064.004346.jpg
 

ReeferMadness88

Community Member
View Badges
Joined
Jan 28, 2018
Messages
33
Reaction score
37
Rating - 0%
0   0   0
Not sure if this is a functional issue or a bug, but I haven’t changed the pin out or anything on the temp sensor. I have A 4.7k resistor on the signal pin. It was displaying accurate temps all morning however now it just displays temps from 14:55 this after noon. Any ideas?

00832DAC-AF89-4856-9299-D5E11AAA88F7.png
 

TOP 10 Trending Threads

Back
Top