Hey guys is there any way to build RS-232 or 485 temp and ORP sensors? I see that’s it’s easy with the Ph probe. I’m thinking of building my own control system via Crestron.
Thanks!
Thanks!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Can you measure the voltage between the two outer legs on the pot? It would be constant.
You can use an analog output to feed into the connector for the center leg of the pot, referenced to the bottom/ground leg.
@Ranjib its a simple 2 wire float switch. 3 volt on one side, GPIO23 on the other side. Interval is 1 sec but tried others. I did not do the optic sensor.
Wire runs from 3v to the switch then from switch to the GPIO. setup as an inlet. when reverse is checked in config tab, its off. removing wire does nothing. when reverse is unchecked, pump runs regardless of wires.
So I took some time and figured out how to use regular float switches in a simple fashion using the built in pi resistors. This makes me happy because I don't have to have extra wiring and soldering tasks when adding a bunch of switches, and I don't have to pay for something I already bought. So to get regular float switches (or any switches for that matter) working safely you can do this...
Step A) create a python script to control the pull up resistance. From the terminal...
sudo nano switches.py
#switches.pyimport RPi.GPIO as GPIOGPIO.setmode(GPIO.BCM)GPIO.setup(21, GPIO.IN, pull_up_down=GPIO.PUD_UP)GPIO.setup(20, GPIO.IN, pull_up_down=GPIO.PUD_UP)GPIO.setup(16, GPIO.IN, pull_up_down=GPIO.PUD_UP)
ctrl+X > Y > <enter>
Step B) make the file executable...
sudo chmod 755 switches.py
Step C) make the script run at startup by adding a line just before "exit" in rc.local (note: the python start command must point to the directory from root /...
sudo nano /etc/rc.local
sudo python /home/pi/switches.py &
ctrl+X > Y > <enter>
Step D) Restart or Reboot
sudo reboot
Step E) Plug your float switch wires into the GPIO. One wire to Pi header connected Ground, and one to the GPIO you used in switches.py
Step F) Check to see if your script is running...
ps -aef | grep python
Step G) Designate those pins in Reef-Pi to inlets/ATO for your application.
Hope this helps, working for me here.
Yes. With 3.0 (next release) this is possible.Hello
First i would say sorry for my bad English. I hope all of you can understand me
I am new in this Forum and at the time i build my first reef pi.
I have a Question. It is in future possible to use the jacks as outputs ? Its easier to drive Mosfets for my ATO over the pca9685. Or is very usefull for other high current applications.
Welcome to reef2reef . and dont worry about english, we understand you loud and clear . Would love to know about your build.Yes. With 3.0 (next release) this is possible.
Thank you and thanks for the very good news that makes me very happy it would so easy to drive with mosfets :-DWelcome to reef2reef . and dont worry about english, we understand you loud and clear . Would love to know about your build.
Michael shows how to chain them using his converters in his build.
Please link it here when you do. We love to read through the build threads as it help us understand wha to improve, what’s working well etcWell done @Urtoo .. post a link to your build page I'll follow it with interest.
edit: its ok ive just spotted the big blue build thread button
Anyone running 6 or more light channels on their reef pi?
None that I’m aware of.