My Reef-Pi build thread

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,826
Rating - 0%
0   0   0
The TRS wiring was validated by theatrus (image above)....I can take a pic of the protoboard wiring in a few...
The pullup resistor is on the pico board? Correct?
Try plugging in one sensor, unplugging this connector from the pico board and do the same diode test to eliminate the wiring all the way to the board:
Do the diode test here:
20190223_110744.jpg
 
OP
OP
dmolavi

dmolavi

Well-Known Member
View Badges
Joined
Jan 3, 2015
Messages
509
Reaction score
644
Location
United States
Rating - 0%
0   0   0
Based on my diode test earlier:

Probe red is VCC
Probe white is ground
Data is yellow

Correct?

Tip to probe red has continuity
Ring to probe yellow has continuity
Sleeve to probe white has continuity

Diode test on TRS:
MM+ on sleeve to MM- on tip is 0.519V
MM+ on sleeve to MM- on ring is 0.520V
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,826
Rating - 0%
0   0   0
Based on my diode test earlier:

Probe red is VCC
Probe white is ground
Data is yellow

Correct?

Tip to probe red has continuity
Ring to probe yellow has continuity
Sleeve to probe white has continuity

Diode test on TRS:
MM+ on sleeve to MM- on tip is 0.519V
MM+ on sleeve to MM- on ring is 0.520V
Ok...yes red is vcc, white is gnd and yellow data

Something is going on between where you plug in the sensors, and the pico connector
I would have expected the same results as just the sensor test:
MM+ sleeve MM- tip=.60v
MM+ sleeve MM- ring=.51v

But since they are both .519v maybe the tip is touching the ring somewhere...with the pico connector unconnected, and the temp sensor unplugged test for continuity between tip, ring and sleeve..
There should be no reading between these
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,826
Rating - 0%
0   0   0
I think I found it. My VCC and data contacts were touching in the TRS shrinkwrap. Stupid me for not wrapping individually. Lemme take care of that and fire it all up again.

Fingers crossed

I was posting at same time and was going to have you test that next...I believe you may be good to go!
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,826
Rating - 0%
0   0   0
JACKPOT

Both sensors are up and running (one in warm water). Thanks for your help. Next time you're in Philly I'll buy you a cheesesteak.

Screenshot_20190223-120052_Chrome.jpg
Awesome...glad I could help..im actually in Pennsylvania, near Warren in the NW corner of the state.

Now for my Real Time Clock project...adding one to my reef pi.
 

theatrus

Valuable Member
View Badges
Joined
Mar 26, 2016
Messages
2,062
Reaction score
3,451
Location
Sacramento, CA area
Rating - 0%
0   0   0
I think I found it. My VCC and data contacts were touching in the TRS shrinkwrap. Stupid me for not wrapping individually. Lemme take care of that and fire it all up again.

Fingers crossed

This also reminds me of a good debugging step:

Continuity/resistance between Vcc and Data. You should see something approximating the 4.7k pull-up (though if the test voltage is too high you will see the ESD diode instead, unlikely)
 
OP
OP
dmolavi

dmolavi

Well-Known Member
View Badges
Joined
Jan 3, 2015
Messages
509
Reaction score
644
Location
United States
Rating - 0%
0   0   0
Next stop...ATO usage monitor. I have the voltage divider circuit in place. I don't want to test on the actual ATO for a variety of reasons (being tethered to it and away from the bench, too much water being added, etc).

I'd like to just use a 9v battery to test it out. Should I put a 10k resistor on it just to keep it safe?
 
OP
OP
dmolavi

dmolavi

Well-Known Member
View Badges
Joined
Jan 3, 2015
Messages
509
Reaction score
644
Location
United States
Rating - 0%
0   0   0
On to the ATO sensor.

I'm not using it to control the ATO, just monitor the usage. I have a voltage divider circuit and step down the 11V from the Tunze to about 3V.

I'm testing with a 9V battery and see 1.3V at the GPIO pin input (GP26 on the pico base board..taking into account the reversed designators).

I add an input, and checked "reverse" then add the ATO. But when I'm testing with the 9V battery, the display isn't updating...

Any thoughts?
Screenshot_20190228-200217_Chrome.jpeg
Screenshot_20190228-200208_Chrome.jpeg
Screenshot_20190228-200158_Chrome.jpeg
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,826
Rating - 0%
0   0   0
Have u tried connecting the grounds together...the minus on the battery to the ground in the pi??

Otherwise the battery voltage is "floating" with no reference to anything as far as the pi is concerned.
 

theatrus

Valuable Member
View Badges
Joined
Mar 26, 2016
Messages
2,062
Reaction score
3,451
Location
Sacramento, CA area
Rating - 0%
0   0   0
On to the ATO sensor.

I'm not using it to control the ATO, just monitor the usage. I have a voltage divider circuit and step down the 11V from the Tunze to about 3V.

I'm testing with a 9V battery and see 1.3V at the GPIO pin input (GP26 on the pico base board..taking into account the reversed designators).

I add an input, and checked "reverse" then add the ATO. But when I'm testing with the 9V battery, the display isn't updating...

Any thoughts?
Screenshot_20190228-200217_Chrome.jpeg
Screenshot_20190228-200208_Chrome.jpeg
Screenshot_20190228-200158_Chrome.jpeg

The logic family used on the input is CMOS and 5V, so you’ll want to get to 2.2V at least to trigger a state change.
 
OP
OP
dmolavi

dmolavi

Well-Known Member
View Badges
Joined
Jan 3, 2015
Messages
509
Reaction score
644
Location
United States
Rating - 0%
0   0   0
The logic family used on the input is CMOS and 5V, so you’ll want to get to 2.2V at least to trigger a state change.
Got it working. Sort of. Seeing 2.5v with the 9v battery. A command line read of GP26 shows it as a logical 1, but the UI isn't showing any updates....
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,826
Rating - 0%
0   0   0
Got it working. Sort of. Seeing 2.5v with the 9v battery. A command line read of GP26 shows it as a logical 1, but the UI isn't showing any updates....
Maybe try deleting the connector, reloading reef pi, then add it back again and reload reef pi
 

Managing real reef risks: Do you pay attention to the dangers in your tank?

  • I pay a lot of attention to reef risks.

    Votes: 143 43.2%
  • I pay a bit of attention to reef risks.

    Votes: 117 35.3%
  • I pay minimal attention to reef risks.

    Votes: 50 15.1%
  • I pay no attention to reef risks.

    Votes: 16 4.8%
  • Other.

    Votes: 5 1.5%
Back
Top