Is there any other reason I might not be able to read my new sensors? I am using a basic sketch that was posted earlier. I can read my other probes in parasitic mode. I connected the first of the new sensors I received in normal config. Pin 1 grd, pin 2 data, and pin 3 5v. I fried it. So the next one I did as suggested by elkoe and connected only two leads at a time to try and find the 5v lead in case they were not the standard config. Nothing. So I contacted the supplier and asked then to send a datasheet, they sent me the maxim datasheet which of course is the one I was assuming it was. So that was no help. Is there any other reason why I would not be able to read these sensors? They say Dallas 18b20 right on the sensor. they will not read in parasitic mode at all. They fry when connected in a normal pin config manner. When I connect them with the probes I can already read, depending on which two leads I have connected, it will sometimes cause the sketch to not be able to read any of the sensors. As soon as I remove the sensor it will start reading the other. Is there any other troubleshooting I am able to do on this sensor?
Do you restart your Arduino everytime you connect/disconnect a pin? I had to do a reboot for the sketch to register the new configuration of my wires.
What happens if you just hook up power and ground no resistor, no data line. see if the arduino restarts or if the probe pops or heats up. maybe there is a problem with the pin you've been using since you keep frying these things.
Everything is all put together! Once I get the probes figured out all I need to do is wire the probes to the end on the wires. The big box mounts to the top of my freezer. It contains the rpi, relay, and Uno. I use the phone screen to display the lcd via the Web and if needed I can control the modes via it as well. Then the outlet plugs into my wall outlet and provides constant power to one of the duplex outlets while the other is run by the brewpi system. The small box hangs in the freezer. The fan flips inward and faces to blow air down to circulate the air. The box also serves as the Junction box for the temp probes in the freezer. I will run the other probe to my kegerator to simply monitor the temp or monitor a lager temp, no control over the temp but can simply see what the temp looks like during the lager.
Once you have set it up you don't need an internet connection.Sorry if this is a dumb question (I know very little about computers) if I go the PC route does it have to have Internet connection to do this. The place I'm going to brew in will not have Internet access.
Many thanks to the hundreds of users contributing to this thread, and of course, Fuzee for what I can only imagine is hundreds of hours tied to the original post and constant response through more than 5,500 posts in this thread!!
Some thoughts on the process for me, and some quick context:
My terminal skills are VERY rusty... almost 15 years old since I really did much of anything, and that wasn't much then. I don't program but have a solid enough tech baseline that I felt good with this project and the instructions provided.
I got a friend (diatonic) to print the 3d enclosure based on the file in this thread. The USB hole was slightly too small, and there was no hole to fit the power. plug on the arduino. I know it's not necessary, but the board wouldn't sit right if the power plug didn't have a hole to poke through. I also used a standard outlet, which proved to be slightly too big (both directions) for the hole. I would suggest altering the printer file to make the box slightly taller and an additional .5mm around the USB portal, plus the power portal. Plenty of room for a breadboard in the box.
Ordered the canakit raspian which came with Jessie (wasn't worth the time to rebuild a cpu or scrounge a wifi dongle, microSD and case needed for purchasing just the rpi) plus an Arduino Uno from a local recycled electronics store.
Set up both SSH and VPN connections (x11vpn is the way to go) and away I went.
Ran into some problems: despite being a genuine Uno, the default ports ACM0, 1 were incorrect. It connects on ttyUSB0. took a while to figure that out, and to properly correct the config.cfg file (which kept disappearing from the settings folder).
In the process, I also incorrectly set the python to master instead of legacy (because I glossed through the directions on the brewpi docs site) and missed the important change of /var/www to /var/www/html in the right places, including the settings/config.cfg file. The brewpi wiki should have been my first stop:
http://diybrewpi.wikia.com/wiki/Setting_Up_Your_RPI
Once I got the connection working, I couldn't flash the Uno board with the BrewPi hex file - and I couldn't find the right hex file in the link provided in the instructions. This is where my general lack of knowledge tripped me up for half a day: I kept trying to use the bin files or pieces of the other firmware without realizing that the Uno is now behind the times and the last update was 0.2.10. Having that direct link on the wiki instructions page (for those of use going with the Uno) would be very helpful! I had a ton of trouble finding it and am a total rookie when it comes to navigating the github - and that confused the hell out of me for a bit.
Even then, the BrewPi web interface wouldn't upload the file to the Arduino; I jest kept getting outdated software errors and the python script process would kick out.
Finally, I tethered the Uno directly to my computer and used XLoader to upload the hex file directly, swapped it back to the Rpi and rebooted. Success!
Kind of.
My devices wouldn't load properly: I could change and apply all I wanted but nothing moved from detected to installed.
A page or two into a google search (after coming up empty in this thread) I found this page:
http://inboundsbrewing.com/my-experience-building-a-brewpi/
Explaining the exact same situation, and laying out the next step: flash the EEPROM.
From there, all is well and I'm set to calibrate and get fermenting. I'm somewhat proud of myself that I did everything using the resources available and not bothering my more experienced friends or posting questions here. That's not a good or bad thing overall... it is just to say that everything was available via the first couple pages of googling.
I'll probably try again with the 3D printed enclosure, and eventually I'll probably bypass the thermostat in the freezer and tie it directly to the BrewPi... but for now, everything is working and it only took me about 6 hours total from opening the box to having everything appearing to work correctly. pics coming.
Many thanks to the hundreds of users contributing to this thread, and of course, Fuzee for what I can only imagine is hundreds of hours tied to the original post and constant response through more than 5,500 posts in this thread!!
Some thoughts on the process for me, and some quick context:
My terminal skills are VERY rusty... almost 15 years old since I really did much of anything, and that wasn't much then. I don't program but have a solid enough tech baseline that I felt good with this project and the instructions provided.
I got a friend (diatonic) to print the 3d enclosure based on the file in this thread. The USB hole was slightly too small, and there was no hole to fit the power plug on the arduino. I know it's not necessary, but the board wouldn't sit right if the power plug didn't have a hole to poke through. I also used a standard outlet, which proved to be slightly too big (both directions) for the hole. I would suggest altering the printer file to make the box slightly taller and an additional .5mm around the USB portal, plus the power portal. Plenty of room for a breadboard in the box.
Ordered the canakit raspian which came with Jessie (wasn't worth the time to rebuild a cpu or scrounge a wifi dongle, microSD and case needed for purchasing just the rpi) plus an Arduino Uno from a local recycled electronics store.
Set up both SSH and VPN connections (x11vpn is the way to go) and away I went.
Ran into some problems: despite being a genuine Uno, the default ports ACM0, 1 were incorrect. It connects on ttyUSB0. took a while to figure that out, and to properly correct the config.cfg file (which kept disappearing from the settings folder).
In the process, I also incorrectly set the python to master instead of legacy (because I glossed through the directions on the brewpi docs site) and missed the important change of /var/www to /var/www/html in the right places, including the settings/config.cfg file. The brewpi wiki should have been my first stop:
http://diybrewpi.wikia.com/wiki/Setting_Up_Your_RPI
Once I got the connection working, I couldn't flash the Uno board with the BrewPi hex file - and I couldn't find the right hex file in the link provided in the instructions. This is where my general lack of knowledge tripped me up for half a day: I kept trying to use the bin files or pieces of the other firmware without realizing that the Uno is now behind the times and the last update was 0.2.10. Having that direct link on the wiki instructions page (for those of use going with the Uno) would be very helpful! I had a ton of trouble finding it and am a total rookie when it comes to navigating the github - and that confused the hell out of me for a bit.
Even then, the BrewPi web interface wouldn't upload the file to the Arduino; I jest kept getting outdated software errors and the python script process would kick out.
Finally, I tethered the Uno directly to my computer and used XLoader to upload the hex file directly, swapped it back to the Rpi and rebooted. Success!
Kind of.
My devices wouldn't load properly: I could change and apply all I wanted but nothing moved from detected to installed.
A page or two into a google search (after coming up empty in this thread) I found this page:
http://inboundsbrewing.com/my-experience-building-a-brewpi/
Explaining the exact same situation, and laying out the next step: flash the EEPROM.
From there, all is well and I'm set to calibrate and get fermenting. I'm somewhat proud of myself that I did everything using the resources available and not bothering my more experienced friends or posting questions here. That's not a good or bad thing overall... it is just to say that everything was available via the first couple pages of googling.
I'll probably try again with the 3D printed enclosure, and eventually I'll probably bypass the thermostat in the freezer and tie it directly to the BrewPi... but for now, everything is working and it only took me about 6 hours total from opening the box to having everything appearing to work correctly. pics coming.
My BrewPi stops working each day in the afternoon(2pm give or take an hour). I restart it, and it works fine. I checked, and it stops logging at that time. So its not the Raspi alone. Any ideas? I checked /home/brewpi/logs, don't see anything. It just stops. The card isn't full. Where else could I look? Its been running fine for 6+ months. I didn't install anything new or change anything. I thought it might be log filling space or something. I checked, and it shows 39% free space.
The Arduino doesnt need power if its plugged in via USB. You should only need the external power if your using a very long/very ****ty usb cable that cant supply the power properly. Thats why the case doesnt have a hole for it
True - but the power port (like the USB port) extends beyond the edge of the board, and without a hole to poke through, the board will not sit correctly in the printed box. It is too far recessed...
True - but the power port (like the USB port) extends beyond the edge of the board, and without a hole to poke through, the board will not sit correctly in the printed box. It is too far recessed.
wBarber69, thanks for the thoughts on some of the Arduino problems. The board does have an Arduino logo - which I thought meant it to be genuine? Doesn't matter now. When you say that the legacy branch likely caused the problems; I had originally set the branch to master because I flew through the prompts without looking at the RPI page of the brewpi wiki instructions. When I was struggling, I discovered the more specific wiki instructions, wiped and started over. That's when I made sure to set legacy instead of master. Should I go back and set to master now? Everything appears to be working (save that I don't have a thermowell for now).
If the brewpi loses power, when power is restored, will it resume the same profile and pick up where it left off?
True - but the power port (like the USB port) extends beyond the edge of the board, and without a hole to poke through, the board will not sit correctly in the printed box. It is too far recessed.
wBarber69, thanks for the thoughts on some of the Arduino problems. The board does have an Arduino logo - which I thought meant it to be genuine? Doesn't matter now. When you say that the legacy branch likely caused the problems; I had originally set the branch to master because I flew through the prompts without looking at the RPI page of the brewpi wiki instructions. When I was struggling, I discovered the more specific wiki instructions, wiped and started over. That's when I made sure to set legacy instead of master. Should I go back and set to master now? Everything appears to be working (save that I don't have a thermowell for now).
BrewPi frozen on "Beer Profile = 66.7". Had this BPi running numerous Beer Profiles,and Beer Constant, and was able to edit and update, for the past year-and-a-half.
Now it shows only 66.7 in Beer Profile and will not respond to opening a new beer profile, or will not respond if I change the profile to Beer Constant. Rebooted the RPi, to no good. Unplugged to reboot also to no good - just keeps coming back to Beer Profile 66.7 and keeps cycling the Heat, even though I changed the profile to a much lower temp.
Hope I do not have to wipe the RPi and start over, but what else can I do???
I never said legacy was the problem, the problem is that you were trying to use master beach at first. And yeah there are billions of fake arduinos with genuine enough looking logos. if it didn't come directly from a reputable arduino seller then you prolly got got.
You probably got one with a CH340 usb chip in it.Thats what happen to me. You have to add a line of code for the software to recognize it. The instructions are a few pages back in this thread and over at brewpi.com This is the board I'm using.ha. fair enough. for $10 I can tolerate getting got.
Having trouble with my brewpi setup. I have everything up and running on the web interface side. But, it is not detecting the temperature sensors only the controller sensors. I have changed the sensors, used a different Arduino, and have read everything I could find on google. Attached is my current wiring setup. I could only find 10k resistors and not 4.7k, is that ok? Any suggestions?
Having trouble with my brewpi setup. I have everything up and running on the web interface side. But, it is not detecting the temperature sensors only the controller sensors. I have changed the sensors, used a different Arduino, and have read everything I could find on google. Attached is my current wiring setup. I could only find 10k resistors and not 4.7k, is that ok? Any suggestions?
This coupled with the influx of counterfeit ch340 chips out there will make this project nearly impossible
Enter your email address to join: