@theatrus any progress on the driver for the DLI power strips? I was going to tinker, but life got in the way. I'm wondering if the TP-Link drivers can be used as a starting point (DLI is simpler...plaintext authentication)....
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.
Based on page 2 and 5 in the schematic, it looks like the lights are on GP 13 and 18 instead of 0 and 1. Maybe redefining the jack would help?Using the pico board, i am trying to make use of the 0-10V for analog dimming. i've created a jack (pins 0,1) with "rpi" as the driver. However, when I go to the "Lights" tab, i keep getting a 404 error from reef-pi...any ideas?
Based on page 2 and 5 in the schematic, it looks like the lights are on GP 13 and 18 instead of 0 and 1. Maybe redefining the jack would help?
Its not true 0-10V analog. Its 3.3V pwm generated by pi then a rc filter (if i recall correctly) makes it a triangular shaped 10v signal,Yeah, i don't know if i need to specify the GPIO pins vs PWM pins for using them as 0-10V analog....
What sensor you are using? Can you share the configuration? Like check interval etcSo, I have an issue with the ATO. It is set on GPIO23. issue is the pump NEVER turns off. When i check Reverse, It Never turns on. I have verified that one wire is GPIO23. other is 3v. even when unhooking wire, it does nothing.
I re-installed latest Raspbian. Version 2.5 of Reef-pi. Everything else seems to work as appropriate.
any suggestions on where to start. im stumped.
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.