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,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I've got a link to my diagram on the original question now since uploading it didn't work.

Here's the diagram:
Pf2IgH8.png


Here's the equipment page:
upload_2019-5-11_17-34-35.png


Dosing:
upload_2019-5-11_17-36-54.png


Connectors:
upload_2019-5-11_17-37-24.png
Wiring and setup looks ok. Can you share the dosing tab's screenshot?
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
It's in the post, right under the equipment. The pump is "kalk pump".
Sorry i missed that. What happens when you run calibration at speed 50 for 10 seconds? Can you check the log and take reading with multimeter on the l293d pwm and in1/in2 pins?
 

Schreiber

Leviathan
View Badges
Joined
Jun 28, 2016
Messages
468
Reaction score
593
Location
Knoxville
Rating - 0%
0   0   0
Sorry i missed that. What happens when you run calibration at speed 50 for 10 seconds? Can you check the log and take reading with multimeter on the l293d pwm and in1/in2 pins?

Nothing happens with the motor at any settings.

I actually think I figured out what it is after looking up the pinout for the l293d. I'm only running one dosing pump, so only 2 GPIOs, rather than 4 like the guide.

I have them hooked into In 2 & 3. Out 4 & Out 3 go to the motor& En 2 is my PWM. I should've looked at the pinout before making changes. I had just assumed motor 1 & 2's wiring was separated by a short symmetry line between the driver's pin 4 & 5. It looks like its inputs are symmetrical along its length between pins 1 & 9.

I'll check the log tomorrow morning, it's 1:00 a.m. here & I really don't feel like crawling under my desk again to swap the HDMI cord from my computer right now, haha. I'll re-wire tomorrow & report back.
 

Schreiber

Leviathan
View Badges
Joined
Jun 28, 2016
Messages
468
Reaction score
593
Location
Knoxville
Rating - 0%
0   0   0
Here's my log:

-- Logs begin at Sun 2019-05-12 10:17:01 EDT. --
May 12 12:12:13 Control reef-pi[235]: 2019/05/12 12:12:13 health check: Used memory: 48.85 Load5: 0.45
May 12 12:13:13 Control reef-pi[235]: 2019/05/12 12:13:13 health check: Used memory: 51.51 Load5: 0.89
May 12 12:14:10 Control reef-pi[235]: 2019/05/12 12:14:10 doser subsystem: calibration run for: Kalk Pump
May 12 12:14:10 Control reef-pi[235]: 2019/05/12 12:14:10 Setting pwm driver: rpi pin: 0 value: 50
May 12 12:14:13 Control reef-pi[235]: 2019/05/12 12:14:13 health check: Used memory: 45.88 Load5: 1.34
May 12 12:14:33 Control reef-pi[235]: 2019/05/12 12:14:33 doser subsystem: calibration run for: Kalk Pump
May 12 12:14:33 Control reef-pi[235]: 2019/05/12 12:14:33 Setting pwm driver: rpi pin: 0 value: 50
May 12 12:15:13 Control reef-pi[235]: 2019/05/12 12:15:13 health check: Used memory: 46.71 Load5: 1.23
May 12 12:15:15 Control reef-pi[235]: 2019/05/12 12:15:15 doser subsystem: calibration run for: Kalk Pump
May 12 12:15:15 Control reef-pi[235]: 2019/05/12 12:15:15 Setting pwm driver: rpi pin: 0 value: 50
May 12 12:16:13 Control reef-pi[235]: 2019/05/12 12:16:13 health check: Used memory: 46.73 Load5: 1.17

As far as multimeter readings go, I'm on In 3 & 4, rather than 1 & 2. I'm using Enable 3,4 for the PWM.

At pin #9 (Enable 3,4) I'm getting a constant ~1.54 volts, whether I'm running the calibration or not.

At pin #10 (In 3), I'm getting a constant ~3.3 volts, whether I'm running the calibration or not.

At pin #11 & #14 (Out 3 & 4), I'm getting a constant ~1.8 volts, whether I'm running cal or not.

At pin # 15 (In 4), I'm getting a constant ~1.45 volts, whether I'm running cal or not.

Something...concerning is that when I check the 4 ground pins on the driver, with one lead on the ground bus on my circuit & one lead on a ground pin on the driver, I'm seeing a voltage of ~ 2.4 volts. I'm going to investigate that, may have a stray strand of power wire making contact. I have all 4 ground pins wired in series, so if one is seeing power, they all are.
 

Schreiber

Leviathan
View Badges
Joined
Jun 28, 2016
Messages
468
Reaction score
593
Location
Knoxville
Rating - 0%
0   0   0
Wow, it's been a long day. Every time I fix an issue, another crops up. Now it looks like my buck converters aren't working. When I power the system up, they emit a high pitched whine for a few seconds, then the LEDs start flashing. Anyone ever seen that?

I'm pretty sure most of my issues have been caused by using stranded wire I already had as jumpers. Stray strands are wreaking havoc in such close quarters. I've got a pack of solid core wire coming in Tuesday & I'm starting from scratch. Learn from my mistakes, stay away from stranded, lol.
 
Last edited:

AquaRaider44

#Reef4Life
View Badges
Joined
Apr 19, 2019
Messages
526
Reaction score
823
Location
Brevard County
Rating - 0%
0   0   0
Wow, it's been a long day. Every time I fix an issue, another crops up. Now it looks like my buck converters aren't working. When I power the system up, they emit a high pitched whine for a few seconds, then the LEDs start flashing. Anyone ever seen that?

I'm pretty sure most of my issues have been caused by using stranded wire I already had as jumpers. Stray strands are wreaking havoc in such close quarters. I've got a pack of solid core wire coming in Tuesday & I'm starting from scratch. Learn from my mistakes, stay away from stranded, lol.
Yep had same issue u need new ones which are quality.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Just merged the support ph driver for pico base board from @theatrus in reef-pi master . I know a handful of folks who are using this. It’s been running for a few hours now, without any issue. Here is a side by sa de comparison of the same tank with ph board ,
A0D98D51-D85C-48D8-B0CC-3F782D456C96.png
so far so good.
 

theatrus

Valuable Member
View Badges
Joined
Mar 26, 2016
Messages
2,223
Reaction score
3,632
Location
Sacramento, CA area
Rating - 0%
0   0   0
Just merged the support ph driver for pico base board from @theatrus in reef-pi master . I know a handful of folks who are using this. It’s been running for a few hours now, without any issue. Here is a side by sa de comparison of the same tank with ph board ,
A0D98D51-D85C-48D8-B0CC-3F782D456C96.png
so far so good.

I expect your driver to drop out as you’re still on the v1 firmware. Will get you an updated board :)
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I expect your driver to drop out as you’re still on the v1 firmware. Will get you an updated board :)
I am polling the probe every minute. There’s no way I can update the firmware ? I’d hate to see you paying for any more on this :-(.
Thank you for all you do .
 

theatrus

Valuable Member
View Badges
Joined
Mar 26, 2016
Messages
2,223
Reaction score
3,632
Location
Sacramento, CA area
Rating - 0%
0   0   0
I am polling the probe every minute. There’s no way I can update the firmware ? I’d hate to see you paying for any more on this :-(.
Thank you for all you do .


Sadly, not in the beta units from the Pi. If you want to tool up for the firmware replacement, you need:
a) A debug probe that can talk ARM SWD. There are a lot of options depending on platform, as its a pretty popular target. Note that the software needs to support the SAMD10/SAMD11 core. The $18 J-Link is a good bet: https://shop-us.segger.com/J_Link_EDU_mini_p/8.08.91.htm
b) A TagConnect "No Legs" 6 pin cable: http://www.tag-connect.com/TC2030-CTX-NL

I personally use a JLink Ultra+, but thats spendy and overkill for these tiny units :)
 

ChrisNH

Active Member
View Badges
Joined
Mar 21, 2019
Messages
305
Reaction score
254
Rating - 0%
0   0   0
I have reached the point in the adafruit power controller guide where I am putting in the Buck Converter. The pictures are a bit different then the wiring diagram. Is there any implication to doing the builds down the road for doing it one way vs the other?
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
How do I fix this issue? Somehow I checked the https when checking the box for notifications and saved it and can now not access the web server.
Repeating what I shared via pm:
Try https://<ip of your pi>:80 , for example the ip of my reef-pi is 10.0.0.2 so the address will be https://10.0.0.2:80 . Remember to type the whole thing in your browser
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I have reached the point in the adafruit power controller guide where I am putting in the Buck Converter. The pictures are a bit different then the wiring diagram. Is there any implication to doing the builds down the road for doing it one way vs the other?
Can you be more specific on the differences you are noticing ?the schematics are similar but not exact due to just physical convenience (like closer /proximity for builds) or ease of drawing /illustration (for schematics)
 

Johan Fe Scheepers

New Member
View Badges
Joined
Nov 4, 2018
Messages
16
Reaction score
27
Location
Drummond, KZN, South Africa
Rating - 0%
0   0   0
Hi,

My temp reading stop responding after a day or so, I have to stop reef-pi, rest DB and restart reef-pi.

Any ideas?

cat /etc/debian_version
9.4

Version: 2.0.0-rc3
Website: http://reef-pi.com
Github: https://github.com/reef-pi/reef-pi
Copyright © 2018 Ranjib Dey
Status
Current time: Wed May 15 07:42:22
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,848
Reaction score
17,081
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Reporting back on the status of ph drivers, after two days of continuous running the pico board driver encountered i2c error, as @theatrus had suspected.
A6697F9A-6BA7-45C3-B101-4B9955EE8117.png

Overall their output are very similar,
91B9971F-497B-423A-A368-3DF9B6CA763B.png

Notice the flat line on graph after the pico board error
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,826
Rating - 0%
0   0   0
Reporting back on the status of ph drivers, after two days of continuous running the pico board driver encountered i2c error, as @theatrus had suspected.
A6697F9A-6BA7-45C3-B101-4B9955EE8117.png

Overall their output are very similar,
91B9971F-497B-423A-A368-3DF9B6CA763B.png

Notice the flat line on graph after the pico board error

Very nice, im anxiously awaiting the ph driver for the reef pi ph board, have the board mounted and wired, see it on i2c bus, just need to buy a probe when the driver support gets added to reef pi!
 
Back
Top