It's a one wire bus device. So it works the same as the temperature probes. You just chain them
So the temp probes, ph sensor and say 2 volume sensors could all plug into port A?
Thanks just do not want to blow anything up.. more digging... i love this stuff...
could i see a copy of your /etc/owfs.conf
Thanks
cat /etc/owfs.conf
# Sample configuration file for the OWFS suite for Debian GNU/Linux.
#
#
# This is the main OWFS configuration file. You should read the
# owfs.conf(5) manual page in order to understand the options listed
# here.
######################## SOURCES ########################
#
# With this setup, any client (but owserver) uses owserver on the
# local machine...
! server: server = localhost:4304
#
# ...and owserver uses the real hardware, by default fake devices
# This part must be changed on real installation
#server: FAKE = DS18S20,DS2405
#
# USB device: DS9490
server: w1 = all
#
# Serial port: DS9097
#server: device = /dev/ttyS1
#
# owserver tcp address
#server: server = 192.168.10.1:3131
#
# random simulated device
#server: FAKE = DS18S20,DS2405
#
######################### OWFS ##########################
#
mountpoint = /mnt/1wire
allow_other
#
####################### OWHTTPD #########################
http: port = 2121
####################### OWFTPD ##########################
ftp: port = 2120
####################### OWSERVER ########################
server: port = localhost:4304
I'm still having all the issues that I mentioned, not that big of a deal if I have to edit prob twice to make it a PID or the LOCK issue, but I really would like to get the timer working. I add a timer, go into lock, then hit start, nothing happens, nothing in the logs or on the console.
Does everyone connect their BBB/RPi directly to the SSRs or is it necessary to put a ULN2003 between them?
I was reading this site, which says I'll need one between the BBB and the SSR: http://www.bonebrews.com/solid-state-relay-with-a-beaglebone/
If the SSRs can be connected straight from the BBB, which GPIO pins are used to switch the SSRs, or is that configured in Elsinore?
Not sure what you mean by Port A?
The one wire bus uses three wires, 5V, GND, and Data, just daisy chain the wires and you can add a lot of inputs.
This is what I use on my BBB
Code:cat /etc/owfs.conf # Sample configuration file for the OWFS suite for Debian GNU/Linux. # # # This is the main OWFS configuration file. You should read the # owfs.conf(5) manual page in order to understand the options listed # here. ######################## SOURCES ######################## # # With this setup, any client (but owserver) uses owserver on the # local machine... ! server: server = localhost:4304 # # ...and owserver uses the real hardware, by default fake devices # This part must be changed on real installation #server: FAKE = DS18S20,DS2405 # # USB device: DS9490 server: w1 = all # # Serial port: DS9097 #server: device = /dev/ttyS1 # # owserver tcp address #server: server = 192.168.10.1:3131 # # random simulated device #server: FAKE = DS18S20,DS2405 # ######################### OWFS ########################## # mountpoint = /mnt/1wire allow_other # ####################### OWHTTPD ######################### http: port = 2121 ####################### OWFTPD ########################## ftp: port = 2120 ####################### OWSERVER ######################## server: port = localhost:4304
Does everyone connect their BBB/RPi directly to the SSRs or is it necessary to put a ULN2003 between them?
I was reading this site, which says I'll need one between the BBB and the SSR: http://www.bonebrews.com/solid-state-relay-with-a-beaglebone/
If the SSRs can be connected straight from the BBB, which GPIO pins are used to switch the SSRs, or is that configured in Elsinore?
That's what I get for typing when I am tired... would the 1wire temp probes, ph sensor, and 2 volume sensors be daisy changed on one data pin? These all being connected to 1 port on the ds2450? What pin does the ds2450 get connected to on the rpi? Does it have to get connected to one of the i2c pins or any run of the mill gpio pins....
Sorry for all the question's
Peter
Hi, i'm using this setup LINK and it seems to work (just testing without loads), it should draw only around 3ma on gpio port, is just a matter of 1 bc337, a resistor and a diode, paid 3-4 euro for two pieces of all
i am getting this error when trying to add the PH sensor.
Dec 28, 2014 8:43:25 PM com.sb.elsinore.BrewServer serve
WARNING: Couldn't access URL: /getphsensorform
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.sb.elsinore.BrewServer.serve(BrewServer.java:304)
at com.sb.elsinore.NanoHTTPD.serve(NanoHTTPD.java:315)
at com.sb.elsinore.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:920)
at com.sb.elsinore.NanoHTTPD$1$1.run(NanoHTTPD.java:192)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.NullPointerException
at com.sb.elsinore.LaunchControl.getOneWireDevices(LaunchControl.java:3404)
at com.sb.elsinore.html.PhSensorForm.renderOn(PhSensorForm.java:46)
at com.sb.elsinore.UrlEndpoints.getPhSensorForm(UrlEndpoints.java:2057)
... 9 more
Dec 28, 2014 8:43:25 PM com.sb.elsinore.BrewServer serve
WARNING: Failed to find URI: /getphsensorform
so the temp probles are on GPIO 4 and the DS2450 is connected to GPIO 22. the PH sensor is powered up and plugged into the DS2450 on port A
If you go to the httpd server for owfs in your browser (normally on port 2121 by default), can you see all the temperature probes
If you go to the httpd server for owfs in your browser (normally on port 2121 by default), can you see all the temperature probes
Could you share your owfs.conf file? I never got the httpd server to display my temps, I know it's a config issue, I can see the default fake devices via browser.
Timers work great! Are there plans to associate a GPIO with a timer, to drive a buzzer or LED (or send a text), that would be slick.
yes i can see them all.
thanks.
I wonder if I'm using the OWFS server incorrectly or inefficiently. I'll check tonight
I've changed so that the temperature sensors don't use OWFS since I don't think it's very stable at it, even though everything should be thread safe. So just analogue inputs are read using OWFS.
You'll need to setup your configuration again however, since the address will be wrong.
I've changed so that the temperature sensors don't use OWFS since I don't think it's very stable at it, even though everything should be thread safe. So just analogue inputs are read using OWFS.
You'll need to setup your configuration again however, since the address will be wrong.
Enter your email address to join: