Looks like your little helper is having a good time!Meanwhile , field testing is in full steam . Double checking dosing pump output , for me 100% speed, 10 second is 5 ml
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.
Looks like your little helper is having a good time!Meanwhile , field testing is in full steam . Double checking dosing pump output , for me 100% speed, 10 second is 5 ml
I think we need to get the code written to use pwm to control these. I believe they use 5v pwm and either a 12v or 24v power input. I'm trying to wrap my head around it with some other code and have a friend who is more knowledgeable working on it.I understand. Jebao pp8 or such ( previously rw…) use 12v as power supply and have individual controller. I got no clue how the controller works though.
I think we need to get the code written to use pwm to control these. I believe they use 5v pwm and either a 12v or 24v power input. I'm trying to wrap my head around it with some other code and have a friend who is more knowledgeable working on it.
We have the equipment and everything already in our reef-Pi.
This sounds exactly like what I am working on doing to control my Current USA main pump. Been quite busy last couple weeks so haven't got back to it but plan on hijacking the output side of the speed pot with 0-5v from the pi.That would be cool.
I have one of the old RW 10 models that died and was playing around with the controller and the power supply is 24v and from what I can tell the pwm control is 5v.
I was thinking that it wouldn't be to hard to use the pwm built into the rpi and declare the jacks to the pumps as lights. Then you might be able to have some control over the on and of functions and some ramping speed without any programing involved.
Additional programing would be needed in reef-pi to replicate the functionality of the Jebao built in wave modes and feed function.
Designing the actual circuit to add it to the rpi is beyond my knowledge but maybe there is a way to hijack their board and have reef-pi control it?
This would also be cool if we could figure out a way to use the Jebao wireless OW series pumps and have the rpi control the with wireless but that might be a bit of a stretch since their wireless capability is just to link the pumps not to control them remotely from a main controller.
A simple slow ramp up and down using the same control as a lighting schedule would be cool. That way you could run 2 pumps, one on each side of the tank and have them ramp up and down opposite of each other throughout the day and then have them both ramp down to say 20 or 30 percent after lights out.
Just some thoughts for those with more knowledge about circuit construction and programing.
This sounds exactly like what I am working on doing to control my Current USA main pump. Been quite busy last couple weeks so haven't got back to it but plan on hijacking the output side of the speed pot with 0-5v from the pi.
Probably and that’s why I was asking your to create a dedicate dthresd so it’s easy to tack. I need the led circuit , and voltage measurement, jack configuration in ui and logs ,,,
I assume you are asking either Diamond1 or me about the pump controls? On the Current USA Eflux controller I have, I measured the manual speed control knob (potentiometer) signals and it has a 0-5v output to the motor controller IC. I can't speak for the Jebao as I haven't measured that.Do they use a 5v signal or 10v, like reef octopus and tunze?
Paul, I love reading through your breeding posts. Did the clown pairs started spawning ?Ok, well I will get to that today. I will do that as soon as i can as well as wire up the next test as well. I had to take a break for awhile. I read a little about motion as you were telling me to install earlier. Doesn’t look like I’m ready for all that at the moment so I will move I’ve got a new batch of blennies born last night that I need to start straining out some baby copepods for, and start souping up my rotifers. It will be the biggest hatch I’ve done as of yet in order to hopefully get some nice trade credit at a LFS for some more expensive broodstock.
I have several tanks, most are plumbed central circulation, as is typical broodstock setup. Not only that but I have to have separate tanks or tank systems for each stage, each with differences that need to be monitored. I’m using a whole heap of electrical outlets and looking at the reef pi the be able to automate all my tasks and at same time making it safer and more organized. It’s not a business, just a hobby but it’s the same amount of work. I’m still learning a lot. It’s a lot to keep up with. I’d like to see some sort of database down the road to store test results and set reminders as well. Wanted to share with you guys how cool it is to raise a few fish, just for a break from the tech talk. Some eye candy, lol.
Here: https://www.reef2reef.com/forums/do-it-yourself-diy.378/Can anyone tell me how to start a reef pi build thread? I’m sure it’s really simple but not sure where to post. Is it in with tank builds?
Do they use a 5v signal or 10v, like reef octopus and tunze?
Is this for wavemaker control?Don't know about the reef octopus or tunze but the jebao is the same as the current. 0-5v from the pot.
pi@reefpi:~ $ cat /boot/config.txt
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720
# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1
# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2
# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4
# uncomment for composite PAL
#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800
# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
#dtparam=i2s=on
dtparam=spi=off
# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi
# Additional overlays and parameters are documented /boot/overlays/README
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
#ReefPi Settings
dtparam=i2c_arm=on
dtoverlay=w1-gpio
dtoverlay=pwm-2chan
pi@reefpi:~ $ sudo lsmod
Module Size Used by
bnep 11981 2
hci_uart 27218 1
btbcm 8248 1 hci_uart
serdev 9370 1 hci_uart
bluetooth 366986 24 hci_uart,bnep,btbcm
ecdh_generic 17649 1 bluetooth
brcmfmac 273230 0
brcmutil 9114 1 brcmfmac
snd_bcm2835 23253 0
snd_pcm 89686 1 snd_bcm2835
snd_timer 22428 1 snd_pcm
cfg80211 542402 1 brcmfmac
snd 60154 3 snd_timer,snd_bcm2835,snd_pcm
rfkill 21476 6 bluetooth,cfg80211
i2c_bcm2835 6465 1
pwm_bcm2835 3254 0
w1_gpio 4566 0
wire 31600 1 w1_gpio
cn 5687 1 wire
hwmon 10505 1 wire
uio_pdrv_genirq 3718 0
uio 9901 1 uio_pdrv_genirq
fixed 3033 0
i2c_dev 6674 2
ip_tables 12427 0
x_tables 22130 1 ip_tables
ipv6 397455 24
Is this for wavemaker control?
I haven't pulled the trigger on a wavemaker yet, so if this works, it will greatly influence what i buy.That's what I'm working on with the Jebaos.
I haven't pulled the trigger on a wavemaker yet, so if this works, it will greatly influence what i buy.
I'll be watching...... lolIf it does work it should work with any of jebaos even their gyre models. I'm a bit of a ways from testing though.
I'm still working on the temp probe and dosing pumps.
I've spent most of the day today trying to figure out how my second rpi just randomly changed resolution modes. Now that I got that fixed I can get back into the dosing pumps and getting those up and running.
Don’t reformat sd card or reinstall reef-pi if something is not working. They are rarely the culprit. Using raspy-config to turn on i2c and one wire. Which guide you are using ? I recommend using the new guides published in adafruit (particularly guide 1 and 3) .Hello Guys,
Having some issues getting the temperature sensor reading with my Pi Zero W. I had "something" working last night. I was reading three different "temperature" sensors with only one sensor plugged in, and none of them seemed accurate (off by over 12 degrees (f)). It also wasn't working out of the box, but I did something (don't remember what) and was finally able to see it.
So I reformatted the sdcard to try again and still not getting anything read. I have i2c & w1 gpio enabled through the raspi-config. Running the latest 2.0 rc3
My boot.txt looks like:
Code:pi@reefpi:~ $ cat /boot/config.txt # For more options and information see # http://rpf.io/configtxt # Some settings may impact device functionality. See link above for details # uncomment if you get no picture on HDMI for a default "safe" mode #hdmi_safe=1 # uncomment this if your display has a black border of unused pixels visible # and your display can output without overscan #disable_overscan=1 # uncomment the following to adjust overscan. Use positive numbers if console # goes off screen, and negative if there is too much border #overscan_left=16 #overscan_right=16 #overscan_top=16 #overscan_bottom=16 # uncomment to force a console size. By default it will be display's size minus # overscan. #framebuffer_width=1280 #framebuffer_height=720 # uncomment if hdmi display is not detected and composite is being output #hdmi_force_hotplug=1 # uncomment to force a specific HDMI mode (this will force VGA) #hdmi_group=1 #hdmi_mode=1 # uncomment to force a HDMI mode rather than DVI. This can make audio work in # DMT (computer monitor) modes #hdmi_drive=2 # uncomment to increase signal to HDMI, if you have interference, blanking, or # no display #config_hdmi_boost=4 # uncomment for composite PAL #sdtv_mode=2 #uncomment to overclock the arm. 700 MHz is the default. #arm_freq=800 # Uncomment some or all of these to enable the optional hardware interfaces dtparam=i2c_arm=on #dtparam=i2s=on dtparam=spi=off # Uncomment this to enable the lirc-rpi module #dtoverlay=lirc-rpi # Additional overlays and parameters are documented /boot/overlays/README # Enable audio (loads snd_bcm2835) dtparam=audio=on #ReefPi Settings dtparam=i2c_arm=on dtoverlay=w1-gpio dtoverlay=pwm-2chan
(I tried specifying the gpio pin also, but it didn't make a difference).
lsmod:
Code:pi@reefpi:~ $ sudo lsmod Module Size Used by bnep 11981 2 hci_uart 27218 1 btbcm 8248 1 hci_uart serdev 9370 1 hci_uart bluetooth 366986 24 hci_uart,bnep,btbcm ecdh_generic 17649 1 bluetooth brcmfmac 273230 0 brcmutil 9114 1 brcmfmac snd_bcm2835 23253 0 snd_pcm 89686 1 snd_bcm2835 snd_timer 22428 1 snd_pcm cfg80211 542402 1 brcmfmac snd 60154 3 snd_timer,snd_bcm2835,snd_pcm rfkill 21476 6 bluetooth,cfg80211 i2c_bcm2835 6465 1 pwm_bcm2835 3254 0 w1_gpio 4566 0 wire 31600 1 w1_gpio cn 5687 1 wire hwmon 10505 1 wire uio_pdrv_genirq 3718 0 uio 9901 1 uio_pdrv_genirq fixed 3033 0 i2c_dev 6674 2 ip_tables 12427 0 x_tables 22130 1 ip_tables ipv6 397455 24
Was expecting to see something like:
wire 31600 2 w1_gpio,w1_therm
But that won't show without doing a sudo modprobe w1-therm
Based on the /sys/bus/w1/devices it doesn't appear to be seeing the sensor.
Pic of the breadboard attached.
Any thoughts or something stupid I am overlooking?
Edit: Oh yeah, I get this error:
Nov 18 13:11:45
Failed to initialize i2c. Errorpen /dev/i2c-1: no such file or directory
When I was able to get rid of that error ( messing with the i2c settings in the config based with what I found online) that's when the "three" temp sensors appeared...