Raspberry Pi StrangeBrew Elsinore Basic Setup
I'm no expert but I got this working for the most part. I have not tried to brew with it yet but I know others have. Here is how I set it up for the Raspberry Pi:
Download and install latest NOOBS
http://www.raspberrypi.org/downloads
*EDIT* Install Raspbian Operating system and set it up based on your location.
Set up your DS18 probes
https://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/temperature/
Then run this code in the LXTerminal to automatically load the One-Wire modules on start up
Open /etc/modules to edit
Add these lines to the bottom of the file /etc/modules
Then reboot
Download the SB_Elsinore_Server from git
Switch directories
Run Elsinore
It will run some lines of code then show a list of your sensors and ask you to:
**EDIT** If you get an error at this point saying it can't see your sensor check out this post.
It might ask you about switching to OWFS. Say No.
**EDIT** See this post to make sure you use the correct GPIO pins for output and you don't choose one that is in the default HIGH state when the Pi boots up!!!
At this point enter the number of the sensor you want to set up and hit enter. (I only had one so I entered "1" and hit enter.
It will ask you to name it. (I named mine "HLT")
Then it ask you what GPIO output the SSR is hooked up to so it knows which pin to turn on and off based on the Temperature reading or your sensor.
I used "GPIO27" which is pin 13
If you just want a temperature reading, say for mash tun or cooled wort, leave it blank and hit enter.
I then typed
type:
It will tell you:
Highlighted part is old. It should have created a file called "elsinore.cfg.new" and another version called "elsinore.cfg". If it didn't create this last file, type this:
*EDIT* Doug has fixed the naming issue.
Then run:
and in a web browser go to the Raspberri Pi IP address
192.168.1.XX:8080/controller
Stops the application
The last photo is of a breadboard that I have leds hooked to my gpio output pins for the pump(green led) and the HLT ssr(white led) when I turn the pump on the green light comes on, when I send a command for the HLT it turns the white led on based on duty cycle.
Pretty sweet!!!
Hope this helps some people and takes some of the pressure of Doug.
Not sure if I can help any more than this, but if you have trouble, I can try.
When I get a control panel built I will post some pics...
I'm no expert but I got this working for the most part. I have not tried to brew with it yet but I know others have. Here is how I set it up for the Raspberry Pi:
Download and install latest NOOBS
http://www.raspberrypi.org/downloads
*EDIT* Install Raspbian Operating system and set it up based on your location.
Set up your DS18 probes
https://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/temperature/
Then run this code in the LXTerminal to automatically load the One-Wire modules on start up
Open /etc/modules to edit
Code:
sudo nano /etc/modules
Add these lines to the bottom of the file /etc/modules
Code:
w1-gpio
w1-therm
Then reboot
Code:
sudo reboot
Download the SB_Elsinore_Server from git
Code:
git clone https://github.com/DougEdey/SB_Elsinore_Server.git ~/BrewServer
Switch directories
Code:
cd ~/BrewServer
Run Elsinore
Code:
sudo java -jar Elsinore.jar
It will run some lines of code then show a list of your sensors and ask you to:
Code:
Select the input, enter "r" to refresh, or use "pump <name> <gpio>" to add a pump
Type "volume" to start volume calibration
Type "timer <name>" to add a timer
It might ask you about switching to OWFS. Say No.
**EDIT** See this post to make sure you use the correct GPIO pins for output and you don't choose one that is in the default HIGH state when the Pi boots up!!!
At this point enter the number of the sensor you want to set up and hit enter. (I only had one so I entered "1" and hit enter.
It will ask you to name it. (I named mine "HLT")
Then it ask you what GPIO output the SSR is hooked up to so it knows which pin to turn on and off based on the Temperature reading or your sensor.
I used "GPIO27" which is pin 13
If you just want a temperature reading, say for mash tun or cooled wort, leave it blank and hit enter.
I then typed
Code:
timer Mash
timer Boil
pump Pump1 GPIO22
type:
Code:
quit
It will tell you:
Code:
Updating config file, please check it in elsinore.cfg.new
Config file updated. Please copy it from [COLOR="Red"]rpibrew.cfg.new to rpibrew.cfg[/COLOR] to use the data
You may need to do this as root
Saving HLT with probe 28-00000XXXXXX
Creating element of general
Creating on configDoc base
Highlighted part is old. It should have created a file called "elsinore.cfg.new" and another version called "elsinore.cfg". If it didn't create this last file, type this:
Code:
cp elsinore.cfg.new elsinore.cfg
Then run:
Code:
sudo java -jar Elsinore.jar
and in a web browser go to the Raspberri Pi IP address
192.168.1.XX:8080/controller
Stops the application
Code:
Ctrl-C
The last photo is of a breadboard that I have leds hooked to my gpio output pins for the pump(green led) and the HLT ssr(white led) when I turn the pump on the green light comes on, when I send a command for the HLT it turns the white led on based on duty cycle.
Pretty sweet!!!
Hope this helps some people and takes some of the pressure of Doug.
Not sure if I can help any more than this, but if you have trouble, I can try.
When I get a control panel built I will post some pics...