• Please visit and share your knowledge at our sister communities:
  • If you have not, please join our official Homebrewing Facebook Group!

    Homebrewing Facebook Group

Source Code Sharing for Raspberry, Beaglebone, and Arduino?

Homebrew Talk

Help Support Homebrew Talk:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
Has anyone here written (or do you know where to find) a pid library in Python than can easily be repurposed into new projects? I'm hacking up the raspibrew code I found for my own needs because I haven't tried to figure out how pull just the pid library out.
 
I have had a PI for a couple of weeks and am in the process of figuring out how to make it work. I have a temp gauge and some servos working now to get a led display working and tie them together into one program to read temps turn on a cooler or turn on heat belt and I will be happy for now.
 
I am currently working on a beaglebone black to control my system. Eventually, I plant to add automation functionality, but that is down the line. My setup uses 12v pumps on the hlt, mlt, and rims tube, and a march 120v on the bk for whirlpool and chilling. I have four DS18B20 temp probes which let me monitor the temps (hlt, mlt, rims, and bk). All the pumps have flowmeters coupled to them so I can (eventually, still programming) see flowrates and set totalizers to track transfer volumes. I have ported the arduino pid library to javascript, as I am using bonescript/node.js to run everything. I plan to port the arduino auto tune library at some point too. I use the pid library to run my rims element for maintaining my mash temps, and will use it to let me set specific flowrates for my 12v pumps (for sparging, recirculating, etc). The system has a web front end so I can control everything from a computer or ipad.

Eventually I am going to opensource the code, but am waiting until I have it a little more complete, so it is not laughable.

Right now, this is my web interface (mocked up):
ImageUploadedByHome Brew1399092841.991280.jpg

At some point I will be starting a thread for the system and will be posting updates as I progress, probably once I have the code up on github.


Btw, if anybody from TI is reading this, I would love to talk :)


Sent from my iPad using Home Brew
 
I am currently working on a beaglebone black to control my system. Eventually, I plant to add automation functionality, but that is down the line. My setup uses 12v pumps on the hlt, mlt, and rims tube, and a march 120v on the bk for whirlpool and chilling. I have four DS18B20 temp probes which let me monitor the temps (hlt, mlt, rims, and bk). All the pumps have flowmeters coupled to them so I can (eventually, still programming) see flowrates and set totalizers to track transfer volumes. I have ported the arduino pid library to javascript, as I am using bonescript/node.js to run everything. I plan to port the arduino auto tune library at some point too. I use the pid library to run my rims element for maintaining my mash temps, and will use it to let me set specific flowrates for my 12v pumps (for sparging, recirculating, etc). The system has a web front end so I can control everything from a computer or ipad.

Eventually I am going to opensource the code, but am waiting until I have it a little more complete, so it is not laughable.

Right now, this is my web interface (mocked up):
View attachment 197133

At some point I will be starting a thread for the system and will be posting updates as I progress, probably once I have the code up on github.


Btw, if anybody from TI is reading this, I would love to talk :)


Sent from my iPad using Home Brew

Man I would love some more pics/info on your system!

-G
 
I love sharing what I make. I turned a $13 propane burner into a natural gas one a few days ago, This unit will control it soon enough.

Would you be willing to share more details on this. I've been looking into economic options for getting a NG burner going but it is not exactly straightforward on how to do it, which parts to use, etc. I'd love to know more about how you plan to automate it too.
 
I am currently working on a beaglebone black to control my system. Eventually, I plant to add automation functionality, but that is down the line. My setup uses 12v pumps on the hlt, mlt, and rims tube, and a march 120v on the bk for whirlpool and chilling. I have four DS18B20 temp probes which let me monitor the temps (hlt, mlt, rims, and bk). All the pumps have flowmeters coupled to them so I can (eventually, still programming) see flowrates and set totalizers to track transfer volumes. I have ported the arduino pid library to javascript, as I am using bonescript/node.js to run everything. I plan to port the arduino auto tune library at some point too. I use the pid library to run my rims element for maintaining my mash temps, and will use it to let me set specific flowrates for my 12v pumps (for sparging, recirculating, etc). The system has a web front end so I can control everything from a computer or ipad.

Eventually I am going to opensource the code, but am waiting until I have it a little more complete, so it is not laughable.

Right now, this is my web interface (mocked up):
View attachment 197133

At some point I will be starting a thread for the system and will be posting updates as I progress, probably once I have the code up on github.


Btw, if anybody from TI is reading this, I would love to talk :)


Sent from my iPad using Home Brew

Wondering how the project was progressing? Interested if you have posted code on github?
Cheers
 
I've just started to build an Electric RIMS brewery using a BeagleBone Black, PT100 RTDs and a web interface to control everything.

I'll start posting my code on github within the next couple of weeks. Right now I just checked in some framework code: https://github.com/BrewSession/mecha-brew (if someone can think of a less cheesy name, I'm all ears ;)

Breakdown of what I'm using:
- BeagleBone Black
- PT100 RTDs and required supporting hardware (tbd)
Software end:
- BoneScript (BeagleBoard JS library)
- Node
- Socket.io
- ReactJS
- PureCSS
- For unit conversion: https://github.com/gentooboontoo/js-quantities.git
- Probably a variation on this for a software PID: https://github.com/Philmod/node-pid-controller

There's a thread started specifically for the BeagleBone Black, so I'll post more over there: https://www.homebrewtalk.com/f235/brew-beer-beaglebone-black-408336/index3.html
 
Back
Top