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

Hey!
So, I changed the sensor and redid the circuit just to be sure and IT STILL HAS THE SAME PROBLEM. It will randomly give me a bad CRC code and the temps go to -1ºc and 44.56ºc. I also changed the power supply and still nothing. any thoughts???
I'm not sure, have you tried running only it and nothing else, that would help eliminate any noise that might be coming from something. Does it have a solid connection to the Pi? Maybe you can exchanged it, a faulty sensor is possible.
 
I'm not sure, have you tried running only it and nothing else, that would help eliminate any noise that might be coming from something. Does it have a solid connection to the Pi? Maybe you can exchanged it, a faulty sensor is possible.
It's not a bad idea! when the problem happens again I'll stop the reef-pi service and try to read it from w1_slave.
I already changed the sensor to a new one 2 days ago and the connection looks pretty solid to me, It's a 3-pin aviation connector and the cable from the sensor is the red silicone one.

Is it possible that the problem is from the raspberry itself??
 
It's not a bad idea! when the problem happens again I'll stop the reef-pi service and try to read it from w1_slave.
I already changed the sensor to a new one 2 days ago and the connection looks pretty solid to me, It's a 3-pin aviation connector and the cable from the sensor is the red silicone one.

Is it possible that the problem is from the raspberry itself??
I guess anything is possible but I would think it's more likely something else.

Are you powering the sensor with 3.3v or 5v? If 3.3v try using 5v, I think more issues can happen at lower voltage, just be sure to keep the pullup resistor pulling up to 3.3v.
 
I guess anything is possible but I would think it's more likely something else.

Are you powering the sensor with 3.3v or 5v? If 3.3v try using 5v, I think more issues can happen at lower voltage, just be sure to keep the pullup resistor pulling up to 3.3v.
Yup, I am powering it with 3.3v.
Do you mean that I should power the yellow (line) cable with 3.3v and the red (+) with 5v?
If so, that's a pretty good idea, I didn't knew the DS18B20 could manage that haha
 
Yup, I am powering it with 3.3v.
Do you mean that I should power the yellow (line) cable with 3.3v and the red (+) with 5v?
If so, that's a pretty good idea, I didn't knew the DS18B20 could manage that haha
You don't want to power the yellow (data) wire, only want the pullup resistor at 3.3v which you likely have already. If so, just move the red + wire to +5v.

Yeah the sensors work better at 5v, as long as the pullup is going to 3.3v the Pi 3.3v tolerant pin will be ok.
 
Hello,

I am trying to build reef-pi board based on https://github.com/vandegraaf/Reef-PI_PCBs PCB.
Temperature sensor works great but the relay doesn't work.
It seems that both of my ULN2803AN are not working: when I switch on a channel I can see that 3.3V appear on an input pin. But output shows just 0.5V :(
What could be the problem? Is it a defective chip or I broken both of them somehow? Or may be the problem is somewhere else?
 
Hello,

I am trying to build reef-pi board based on https://github.com/vandegraaf/Reef-PI_PCBs PCB.
Temperature sensor works great but the relay doesn't work.
It seems that both of my ULN2803AN are not working: when I switch on a channel I can see that 3.3V appear on an input pin. But output shows just 0.5V :(
What could be the problem? Is it a defective chip or I broken both of them somehow? Or may be the problem is somewhere else?
Tried to investigate the issue:
Connected the hat to prototype board (without) RPI, and powered it with 5V.
Connected LED + resister to the 1st channel.
If I put 5V directly to the channel, the led lights, but if I put 5V to the chip input, the LED is not lighting. I still get 0.5V on output pin.
Could somebody suggest what could be a problem? Is the chips just broken, or I am doing something wrong?
This is strange that I get exactly same result from both of my ULN2803AN.
 
Tried to investigate the issue:
Connected the hat to prototype board (without) RPI, and powered it with 5V.
Connected LED + resister to the 1st channel.
If I put 5V directly to the channel, the led lights, but if I put 5V to the chip input, the LED is not lighting. I still get 0.5V on output pin.
Could somebody suggest what could be a problem? Is the chips just broken, or I am doing something wrong?
This is strange that I get exactly same result from both of my ULN2803AN.
Nevermind, I found my issue. I didn't understand that ULN2803AN is a sink type driver, so expected to get high output.
But in fact it is low - ~5V between output and VCC.
 
You don't want to power the yellow (data) wire, only want the pullup resistor at 3.3v which you likely have already. If so, just move the red + wire to +5v.

Yeah the sensors work better at 5v, as long as the pullup is going to 3.3v the Pi 3.3v tolerant pin will be ok.
Perfect!
3 days ago I changed for the second time my power supply and it hasn't failed so far (this time it's s 3 amp power supply). If it does fail again I'll try to change the voltage, thanks!!!!
I'll keep you posted haha :)
 
I've been having some problems with the DS18B20's myself lately. Can you see the sensor on the W1 bus folder?
It does seem like a sensor issue. As my old one works fine from a hardware perspective. From a ReefPi perspective though I am still getting this error on the temp tab.
 

Attachments

  • B0EF7AA0-7653-4212-8022-A635F744767B.png
    B0EF7AA0-7653-4212-8022-A635F744767B.png
    208.6 KB · Views: 57
It does seem like a sensor issue. As my old one works fine from a hardware perspective. From a ReefPi perspective though I am still getting this error on the temp tab.
Bought a new sensor today and working fine. So def was a sensor issue. But not sorted out reef pi. Can anyone help?
 
Hey fellow Reefers & DIYers!

I ran into an issue with my robotank running reefpi 4.0.
I usually access it through my IP address and as of yesterday I can’t access it, it won’t open and when I unplug the pi and plug it back in after a min or two it would let me access it but soon after it stops letting me in.

I wonder if this is a pi issue, reefpi bug or my internet? When I can’t access it I do see it connected to the internet when I check the devices online so I’m a little confused.

btw I been running it for like 5-6 months without issues.
 
Hey fellow Reefers & DIYers!

I ran into an issue with my robotank running reefpi 4.0.
I usually access it through my IP address and as of yesterday I can’t access it, it won’t open and when I unplug the pi and plug it back in after a min or two it would let me access it but soon after it stops letting me in.

I wonder if this is a pi issue, reefpi bug or my internet? When I can’t access it I do see it connected to the internet when I check the devices online so I’m a little confused.

btw I been running it for like 5-6 months without issues.
Is it pulling the same IP address every time?
Maybe your router is giving it a different address once in a while.

Some routers let you give devices a fixed IP, dig around in your dhcp settings perhaps and see
 
Is it pulling the same IP address every time?
Maybe your router is giving it a different address once in a while.

Some routers let you give devices a fixed IP, dig around in your dhcp settings perhaps and see
Hi there! I fixed it, I rebooted the router and it’s been working fine the rest of the day so my guess is the router was bugging out a bit
 
Great. After pulling everything out of the cabinet, resoldering new temp sensors to plugs, undoing all the silicon sealant to look for rust, i just found out that i must have just plugged in the jumper wires back in offset by 1 pin into the pi at some point

I hate myself

Cheapo ds18b20 potted in silicon and cocktail straws still doing fine and no rust after a year and a half btw
 
Last edited:

TOP 10 Trending Threads

ARE YOU READY TO CONFESS TO CRAZIEST, DUMBEST, FUNNIEST THING YOU’VE EVER DONE IN REEFING?

  • Yeah, I'll confess! (Share your story in the comments!)

    Votes: 26 54.2%
  • Nah, I'll keep mine a secret...(Don't be like that, share with the class!)

    Votes: 22 45.8%
Back
Top
Home
Post thread…
Market
What's new