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,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Enabling 2 step verification did the trick and now email alerts are working! Sorry for all the newbie questions. Cant wait for 2.0 oficial release!
No worries, I'm glad it worked out for you. I should update the documentation to mention this,
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0

sjeff35

Active Member
View Badges
Joined
Jun 14, 2018
Messages
172
Reaction score
356
Location
Corrales, NM
Rating - 0%
0   0   0
Upgraded my doser build today, since it’s two channel ,decided to put the pi pwm in actual use.
Build: pi zero, perma proto board, l293d, one lm2596 (for 12v to 5v conversion), two 12v peristaltic pump, 12v 2amp power adapter

Housing : uxcell enclosure , nylon standoff’s
308AFC02-40AA-4DFE-A2FF-987EFF041B9E.jpeg



Circuit closeup : I can control the speed, duration and direction of both peristaltic pumps using a single l293d chip. Pi prvoided two pwm input and 4 gpio for direction control . Green wires are pi pwm in, blue are gpio , yellow are doser pwm our
B61FAAE7-919E-40FF-85EE-22A6410EFB6C.jpeg

Pi zero is hidden below the perma proto board

Dosers
7C861BD6-39D9-4567-8AF3-A50AA6B6A615.jpeg

Looks so much better than the old wooden enclosure. I’ll put it to use back again, and let you know how it went. Initial testing are all green. There was a bug in pi pwm, @philshel pointed our earlier, fixed that as well


I think I have all the parts for this, but I'm not sure where to start with the build. Is there a Frizing for this?

Thanks
 

Brad Cox

Active Member
View Badges
Joined
Mar 18, 2017
Messages
346
Reaction score
399
Rating - 0%
0   0   0
Quick question. Ive been running version 1.4 its been up for 4 months!

Its been flawless!!

But now i want to control my heater. I had a thermostat fail.

When trying to control it it doesnt control at the tempature i set above it.

Also trying to setup email alerts i wont sent emails on the tempature i set as well.

Was there a known problem in 1.4? Can i upgrade without setting it all back up again?
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Quick question. Ive been running version 1.4 its been up for 4 months!

Its been flawless!!

But now i want to control my heater. I had a thermostat fail.

When trying to control it it doesnt control at the tempature i set above it.

Also trying to setup email alerts i wont sent emails on the tempature i set as well.

Was there a known problem in 1.4? Can i upgrade without setting it all back up again?
you can upgrade to 1.5 without any hiccups, but that will only bring couple of new features (customizable dashboard https://github.com/reef-pi/reef-pi/releases/tag/1.5).
1.4 temperature control should work, if theres a bug I'll fix it (in 1.x series), but lets cross check your setup so that its easier for us to reproduce. Can you give some details about your circuit and reef-pi configuration, screen shot/ build pics will be very useful as well.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Quick question. Ive been running version 1.4 its been up for 4 months!

Its been flawless!!

But now i want to control my heater. I had a thermostat fail.

When trying to control it it doesnt control at the tempature i set above it.

Also trying to setup email alerts i wont sent emails on the tempature i set as well.

Was there a known problem in 1.4? Can i upgrade without setting it all back up again?
regarding the email alerts, are you using gmail? You may have to set up 2 step verification. reef-pi official docs on telemetry assume that.
 

wykat

Active Member
View Badges
Joined
May 23, 2018
Messages
182
Reaction score
421
Rating - 0%
0   0   0
I've been using a mix of brands. The main one I prefer is PLA+ from 3D Fillies in Australia, but I also get a bit of PLA, PETG and ABS form hobby king because its cheap (and they have free shipping over a certain amount).

Here is the link to the thread about Donovan's Nitrate Destroyer and where I posed the link to the .stl files
https://www.reef2reef.com/threads/p...nitrate-destroyer.302685/page-38#post-4777651

I plan to get the .slt files for the Reef-Pi powerboard and brain up in the next 2 days.

I know there is a couple of threads for reef related 3D prints, I 'll find that poll and see if we can get it restarted. Then we can keep this thread a bit more on topic haha :p
I read the whole thread as it seems to work properly, but what a shock to read about what happened to Donovan on 7 Jan :( He died while doing his hobby, collecting corals in the Ocean. BTW you made a great 3D solution!
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I think i have messed up.

Now when i go to the localhost on the raspberry it downloads a file.

How can i get back to what i was
what you did earlier? Without knowing what you did it will be hard to recommend any fix
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I think I have all the parts for this, but I'm not sure where to start with the build. Is there a Frizing for this?

Thanks
theres no fritzing file or documentation yet, but this should get you going:
- L293d is the main IC here: https://learn.adafruit.com/adafruit-raspberry-pi-lesson-9-controlling-a-dc-motor/lm293d
- en1 and en2 pins are wired to pi GPIO 18 & 19 ( declare them as jacks with rpi driver in reef-pi)
- IN1, IN2, IN3, IN4 are all connected to other GPIO (declare them as outlets in reef-pi, and create 4 virtual equipment to control them)
- I power the whole build with a 12 v 2 amp dc power source, use an lm2596 to convert it 5v for feeding pi. The 12v rail is also connected to Vmotor pin of l293d. Vcc pin of l293d is wired to 5v rail
- OUT1,OUT2 of l293d is wired to one peristaltic pump (12v, from adafruit), OUT3 & OUT4 powers the other pump
- Thats all, use reef-pi doser ui to create two dosing pumps each attached to one of the jack (PWM pin 0 & 1 in the UI, GPIO pin 18 & 19 in the physical wiring). Dosing UI will let you schedule the pumps to run at specific time (same UI as timer), as well as run them on demand for specific duration at specific speed (calibration). Calibrate the pump to get an understanding of how much liquid its drawing at a certain speed and certain duration. Then decide on the dosing regimen (frequency, duration and speed)
- The virtual equipment (which is controlling en1,en2,en3,en4) is used for controlling on/off or direction of the pumps. If both en1 and en2 is either on or off then the pump will be off. If one of them in on and other is off, then the pump will run. Depending upon which one is on that will control the direction of the pump

hope this help
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Before the update i selected https.
Then i did the update and it downloads a file.

But reefpi is running and my lights and ato is working
your url should be
https://<reef-pi - IP>:80
https protocol defaults to port 443, you just enabled https and but not change the port. Also you are trying to access reef-pi ui over http (since you are not typing https in your browser), so browser expecting plain text data, while reef-pi is actually sending encrypted https data, which browser then confusing as unknow stuff, and just offering it to you as downloadable file.
so, just type https://<IP>:<port> , in your browser and things should work. Change the example with your IP and port (if you have not updated port, it will be 80, if you are using https, i recommend updating the port to 443, which is default, and then you dont have to type port in your browser)
You'll know https is kicked in if you see a warning page in your browser for a new ssl certificate
 

Brad Cox

Active Member
View Badges
Joined
Mar 18, 2017
Messages
346
Reaction score
399
Rating - 0%
0   0   0
got it! the :80 fixed it! so i removed the https.

now after i updated to 1.5 my dashboard is blank. it dont have anything there just shows the tabs above.
my ato, lights are working fine though.
 

Brad Cox

Active Member
View Badges
Joined
Mar 18, 2017
Messages
346
Reaction score
399
Rating - 0%
0   0   0
got it! the :80 fixed it! so i removed the https.

now after i updated to 1.5 my dashboard is blank. it dont have anything there just shows the tabs above.
my ato, lights are working fine though.

Fixed this as well! Under dashboard and rows!

My next problem is the error log is showing errors in the tempature and lighting.
639abc2250d6b193bdc152abe533723d.jpg
 

DO YOU THINK TECHNOLOGICAL ADVANCEMENTS ARE MORE HELPFUL OR HURTFUL TO REEFING?

  • More helpful.

    Votes: 59 42.1%
  • More hurtful.

    Votes: 5 3.6%
  • I think it depends mostly on the technology.

    Votes: 53 37.9%
  • I think it dependsmostly on the reefer behind the technology.

    Votes: 42 30.0%
Back
Top
Home
Post thread…
Market
What's new