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

Freccialata

Community Member
View Badges
Joined
Jan 31, 2020
Messages
54
Reaction score
97
Location
Rome (Italy)
Rating - 0%
0   0   0
Did you enable 1 wire?

Try entering this in the command:
lsmod | grep -i w1_

Hard to tell in the picture but you should be hooked up to 3v3, ground and GPIO 4 with a 4.7k between power and pin 4.
1 wire is enabled... and there is a 4.7K 1/4w resistor that connects pin1 (3.3v) and pin4 (gpio2).
 

Ryan Turner

Community Member
View Badges
Joined
May 17, 2019
Messages
46
Reaction score
24
Location
Klamath Falls
Rating - 100%
1   0   0
I have bought a proto board on Amazon and it will arrive in the next days.
In the meanwhile I can’t see the temperature sensor in the temperature board.
What’s wrong???

47A60D43-B41C-4541-8347-99E9647E7A93.jpeg


where did you get your sensors? I bought some from amazon that said they were ds18b 1wire. They were not.... I bought the ones @Michael Lane suggested that looked identical to the ones I ordered and those worked. It took me a a week to figure that out.
 
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
Seeing this post, I decided tp try and delete my test ATO. You are correct. It will not let me delete my test ATO. I can disable it but not delete it.
I'll check this tonight and get it fixed. I am aware of this, but was not able to pay attention due to other things...
 
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
1 wire communicates through gpio 4 not gpio 2. Sorry previous post was confusing. I never use physical pin references lol
Something to remember is that you can configure it to use other GPIO via dtoverlay (/boot/config.txt)
 
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
Hmm, interesting. Seems to be a bug introduced with the 3.2 release. @AbjectMaelstroM also reported the same issue on the 7th, but i couldn't find any responses addressing it.

@Ranjib , any ideas?
Its a bug for sure. Give me a day and i'll get this sorted.
 

robbyg

Valuable Member
View Badges
Joined
Sep 8, 2019
Messages
2,310
Reaction score
2,755
Rating - 0%
0   0   0
Guys I have only gone through about 10 pages of the 700+ pages and I have to say I am amazed at the work and dedication put in. My only question is do you guys have a companion website for this thread? If not you need one. There is just to much data on this thread. People need a place where they can see just the info on what is the current state of the project in terms of hardware and software and what they need to buy and who sells what.

Great work people..
 
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
Guys I have only gone through about 10 pages of the 700+ pages and I have to say I am amazed at the work and dedication put in. My only question is do you guys have a companion website for this thread? If not you need one. There is just to much data on this thread. People need a place where they can see just the info on what is the current state of the project in terms of hardware and software and what they need to buy and who sells what.

Great work people..

Thank you for the kind words, its means a lot to us.

The first post in this thread has links to the official website (http://reef-pi.com) and the guides at adafruit. They'll always be little out of date compared to this thread, as its constantly being updated with community discussion, various bug reports , ongoing development and often time random things :0-)

Let us know if we could improve the docs,
 

Freccialata

Community Member
View Badges
Joined
Jan 31, 2020
Messages
54
Reaction score
97
Location
Rome (Italy)
Rating - 0%
0   0   0
where did you get your sensors? I bought some from amazon that said they were ds18b 1wire. They were not.... I bought the ones @Michael Lane suggested that looked identical to the ones I ordered and those worked. It took me a a week to figure that out.
I got them from Amazon (italy), but the pack arrived from germany.
3 metres (118.11 in).
 

NeonRabbit221B

2500 Club Member
View Badges
Joined
Jun 21, 2019
Messages
3,037
Reaction score
5,408
Location
Richmond, Va
Rating - 0%
0   0   0
General wiring question and I googled for 10 minutes and could find a reasoning. I have a couple 5V relay boards and a handful of 1 ft extension cords that I was going to strip and wire in to the 5V relay for a small reef-pi build.
Knowing that Black is hot, is this the wire I use for the terminals similar to a two prong? I don't like dying and I just happened to have these materials on hand. I had the black wire stripped from a previous project so I assumed I did some amount of research on it but can't find my source on why you use the hot wire.
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
General wiring question and I googled for 10 minutes and could find a reasoning. I have a couple 5V relay boards and a handful of 1 ft extension cords that I was going to strip and wire in to the 5V relay for a small reef-pi build.
Knowing that Black is hot, is this the wire I use for the terminals similar to a two prong? I don't like dying and I just happened to have these materials on hand. I had the black wire stripped from a previous project so I assumed I did some amount of research on it but can't find my source on why you use the hot wire.
When you wire a 120v outlet thru the 5v relay, you always run the hot thru the relay. You never switch either the neutral(white) or ground(green).
There are safety reasons for this because both these wires are ground paths for the 120v.
 

robsworld78

Valuable Member
View Badges
Joined
Feb 14, 2020
Messages
1,029
Reaction score
1,293
Location
Edmonton, Canada
Rating - 0%
0   0   0
Maybe a Cat6e/a patch cord (8 wires and a shield). Or, Cat7 Patch cord. 6ft cords start at around $5 US With that said, The panel mount Cat6/7 RJ45's can get expensive unless you use Keystone types which require a standard Keystone panel mount.

Amazon product


Thanks I thought about that too but parts were getting expensive. I have another idea that I'll probably drop on you guys a little later.
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,025
Location
Durban - South Africa
Rating - 0%
0   0   0
When you wire a 120v outlet thru the 5v relay, you always run the hot thru the relay. You never switch either the neutral(white) or ground(green).
There are safety reasons for this because both these wires are ground paths for the 120v.

Something to remember when wiring Alternating Current (AC) - 120V in the USA, 220V where I live. The positive and negative (Hot and Negative) switch polarity according to the Frequency (Hertz value). 60Hz here and (I think??) 50Hz in the USA. So actually, the positive and negative connections don't really matter as these are switching polarity between themselves 50 / 60 times a second.

HOWEVER, it is good practice to adhere to a convention so that anyone else that comes and works on your stuff can easily figure out how the circuits are made up.

The one NON-NEGOTIABLE is the Earth / Ground wire. The must only be joined to other Earths and to Earth points / connections
 
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
Hive minds,
I just published reef-pi 3.3. Its a small release with an important bugfix related to ATO deletion. Other than this bugfix, this release also brings in @Michael Lane 's work on improved driver configuration UI and associated validation. Thank you @Michael Lane for your continued help. This was Michael's first significant go code (if i recall correctly), so I am super pumped about that as well :-). Please give it a try and let us know.

Release builds can be found in usual location: https://github.com/reef-pi/reef-pi/releases/tag/3.3

cheers
 

TOP 10 Trending Threads

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

  • 100% live rock + bagged sand

    Votes: 37 27.2%
  • 100% dry rock + 100% live sand

    Votes: 46 33.8%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 30 22.1%
  • 75% live rock, 25% live sand

    Votes: 13 9.6%
  • 25% live rock, 75% live sand

    Votes: 10 7.4%
Back
Top