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

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
If one wire is enabled and you have a working, properly wired sensor, that command should return all one wire devices on the bus listed by serial number,

Doublecheck all your wiring...what colors are the sensor wires...sometimes color codes have been known to be different on some of them, or wired with wrong colors.
 

Schreiber

Leviathan
View Badges
Joined
Jun 28, 2016
Messages
475
Reaction score
594
Location
Knoxville
Rating - 0%
0   0   0
If one wire is enabled and you have a working, properly wired sensor, that command should return all one wire devices on the bus listed by serial number,

Doublecheck all your wiring...what colors are the sensor wires...sometimes color codes have been known to be different on some of them, or wired with wrong colors.

Sounds like I managed to screw something up with my soldering or wiring. The pictures on the Adafruit guide are very unclear when it comes to the audio jack wiring.

For the barrel jack, assuming the long terminal is down on my table, pointed towards me (with the opening of the jack pointed away) which sides are the red & yellow wires supposed to go to? No matter how hard I tried, I couldn't determine if this picture showed the long terminal up in the air, or down on the table.

sensors_4EC398F5-2872-4147-9EB9-A5200EAEB5C1.jpeg
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
Sounds like I managed to screw something up with my soldering or wiring. The pictures on the Adafruit guide are very unclear when it comes to the audio jack wiring.

For the barrel jack, assuming the long terminal is down on my table, pointed towards me (with the opening of the jack pointed away) which sides are the red & yellow wires supposed to go to? No matter how hard I tried, I couldn't determine if this picture showed the long terminal up in the air, or down on the table.

sensors_4EC398F5-2872-4147-9EB9-A5200EAEB5C1.jpeg
How about a pic of the sensor to the male jack as well
 

Schreiber

Leviathan
View Badges
Joined
Jun 28, 2016
Messages
475
Reaction score
594
Location
Knoxville
Rating - 0%
0   0   0
Oh, the picture above isn't my jack, it's the one from the guide. Mine was still heatshrinked. I just stripped it off & it looks like a strand of wire had shorted 2 connections together. I'll fix it & report back!
 

theatrus

Valuable Member
View Badges
Joined
Mar 26, 2016
Messages
2,253
Reaction score
3,603
Location
Sacramento, CA area
Rating - 0%
0   0   0
Further updates on the pH side. BRS Double Junction probe with the new v2 I2C firmware on the blueAcro Pico board:

ph4.png


This is sitting in the pH 10 calibration solution. The daily temperature changes are obvious at this chart level, but full span from pH 7 to pH 10 represent a 0.06 pH error over about 15 degrees F (68-82 F). Since we don't oscillate reef tanks that much its not really useful to add temperature compensation, however it may be worthwhile if a freshwater habitat goes through wider swings or outdoor / pond applications.
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
Further updates on the pH side. BRS Double Junction probe with the new v2 I2C firmware on the blueAcro Pico board:

ph4.png


This is sitting in the pH 10 calibration solution. The daily temperature changes are obvious at this chart level, but full span from pH 7 to pH 10 represent a 0.06 pH error over about 15 degrees F (68-82 F). Since we don't oscillate reef tanks that much its not really useful to add temperature compensation, however it may be worthwhile if a freshwater habitat goes through wider swings or outdoor / pond applications.
Very nice, even in a freshwater tropical, i keep my temp steady so it looks like temp compensation wont be an issue. I cant imagine temps swinging more than that unless its an outdoor application.
 

Schreiber

Leviathan
View Badges
Joined
Jun 28, 2016
Messages
475
Reaction score
594
Location
Knoxville
Rating - 0%
0   0   0
So, update-still no luck. I think there's a good chance I shorted that connection when I took the heat shrink off, so that probably wasn't the problem initially.

Here are pictures of how I have everything wired. I've double checked & I definitely have continuity along the ground & line wires.

20190505_150046.jpg


20190505_150056.jpg


I'm sure I have the male audio connector wired correctly, but the guide is really vague on the female. Currently, I have it wired with the red on the left, black in center yellow on right. (With the long connector on the table, rather than in the air, & the female port facing away from me)
 

AquaRaider44

#Reef4Life
View Badges
Joined
Apr 19, 2019
Messages
526
Reaction score
820
Location
Brevard County
Rating - 0%
0   0   0
So, update-still no luck. I think there's a good chance I shorted that connection when I took the heat shrink off, so that probably wasn't the problem initially.

Here are pictures of how I have everything wired. I've double checked & I definitely have continuity along the ground & line wires.

20190505_150046.jpg


20190505_150056.jpg
So a couple of ideas. 1. You could have shorted it. 2. You could have broken it with too much current. What are you using as power source or what is buck converter set on. 3. What resistor is that?
 

Schreiber

Leviathan
View Badges
Joined
Jun 28, 2016
Messages
475
Reaction score
594
Location
Knoxville
Rating - 0%
0   0   0
So a couple of ideas. 1. You could have shorted it. 2. You could have broken it with too much current. What are you using as power source or what is buck converter set on. 3. What resistor is that?

1. Could have shorted which part? I've gone back & inspected both the male & female ends of the audio connector soldering & both are good for sure now. Are you talking about the sensor itself? I may just go ahead & wire another one to see if I get any better results.

2. I'm just using the micro USB as a power source for now. it's a 5V 2a charger, shouldn't be any issues there.

3. Resistor is a 4.7k
 

AquaRaider44

#Reef4Life
View Badges
Joined
Apr 19, 2019
Messages
526
Reaction score
820
Location
Brevard County
Rating - 0%
0   0   0
1. Could have shorted which part? I've gone back & inspected both the male & female ends of the audio connector soldering & both are good for sure now. Are you talking about the sensor itself? I may just go ahead & wire another one to see if I get any better results.

2. I'm just using the micro USB as a power source for now. it's a 5V 2a charger, shouldn't be any issues there.

3. Resistor is a 4.7k
If you shorted the sensor it could have killed it. I would try another if you have one. Make sure your wireing is right first
 

Schreiber

Leviathan
View Badges
Joined
Jun 28, 2016
Messages
475
Reaction score
594
Location
Knoxville
Rating - 0%
0   0   0
Look at it

The way I have it soldered on, I can't actually see if there's continuity. However, I just confirmed there is a good connection with my multimeter from the backside of the pi to the wire connected to the pin.

I'm still getting this error:
{"error":"Item 'usage' does not exist in bucket 'temperature'"} | HTTP 404

I assume that just means it doesn't detect the sensor.

I'm going to keep messing with it, but I'm pretty much out of ideas. I've rebuilt the entire thing at this point
 

AquaRaider44

#Reef4Life
View Badges
Joined
Apr 19, 2019
Messages
526
Reaction score
820
Location
Brevard County
Rating - 0%
0   0   0
The way I have it soldered on, I can't actually see if there's continuity. However, I just confirmed there is a good connection with my multimeter from the backside of the pi to the wire connected to the pin.

I'm still getting this error:
{"error":"Item 'usage' does not exist in bucket 'temperature'"} | HTTP 404

I assume that just means it doesn't detect the sensor.

I'm going to keep messing with it, but I'm pretty much out of ideas. I've rebuilt the entire thing at this point
Check the resistor is actually 4.7 I have had bad ones before
 

Schreiber

Leviathan
View Badges
Joined
Jun 28, 2016
Messages
475
Reaction score
594
Location
Knoxville
Rating - 0%
0   0   0
Check the resistor is actually 4.7 I have had bad ones before

I wish it were that simple :( It's measuring at 4.64k. I just double checked & I'm definitely getting 3.3V at the female jack. I'm looking into info right now on exactly what should be wired where for aux cords.
 

Schreiber

Leviathan
View Badges
Joined
Jun 28, 2016
Messages
475
Reaction score
594
Location
Knoxville
Rating - 0%
0   0   0
So, update. Still not working, here are the things I've verified:

  1. No short in the sensor.
  2. Correctly wired
  3. Getting 3.3V at the sensor.
  4. Connection to the GPIO pin.
I traced it through, the red wire is connected to the tip of the male end & the tip socket of the female end. Black is connected to the bottom, & yellow to the middle. I've also tried swapping the yellow & red, no luck.

Edit: At the jack, I'm seeing 3.3V on both the red & yellow wires. I know the resistor is there to pull the signal up to 3.3V when there's no signal... So does that indicate there's something wrong with the sensor?
 
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
Further updates on the pH side. BRS Double Junction probe with the new v2 I2C firmware on the blueAcro Pico board:

ph4.png


This is sitting in the pH 10 calibration solution. The daily temperature changes are obvious at this chart level, but full span from pH 7 to pH 10 represent a 0.06 pH error over about 15 degrees F (68-82 F). Since we don't oscillate reef tanks that much its not really useful to add temperature compensation, however it may be worthwhile if a freshwater habitat goes through wider swings or outdoor / pond applications.
Im curious why the swing is heading upwards ?
 
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, update. Still not working, here are the things I've verified:

  1. No short in the sensor.
  2. Correctly wired
  3. Getting 3.3V at the sensor.
  4. Connection to the GPIO pin.
I traced it through, the red wire is connected to the tip of the male end & the tip socket of the female end. Black is connected to the bottom, & yellow to the middle. I've also tried swapping the yellow & red, no luck.

Edit: At the jack, I'm seeing 3.3V on both the red & yellow wires. I know the resistor is there to pull the signal up to 3.3V when there's no signal... So does that indicate there's something wrong with the sensor?
Can you power down the unit and run a set of connectivity tests with multi meter across 3.3v, GND and data pins. Cross check if any of those are shorted,
 

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