-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto-Spunding #186
base: testdrive
Are you sure you want to change the base?
Auto-Spunding #186
Conversation
First of all, I am glad that it works. I haven't finished hardware upgrade to my fermenting controller. You might have a pressure transducer with TOO high maximum PSI and hence error. The specification of mine is 100psi max, and I got around 3psi variation, which is exact 3% error specified. If you have the same one as mine, and I bet you do, maximum 15psi error seems reasonable. You must have as small as possible "pin hole" for pressure release. It is very important, although I guess you should have already done a good job. Given no interrupt is available, pulling is the only way I can think of. ( I've thought of using another controller dedicated for pressure control, which complicated things a little bit.) To avoid exhausting the processor, the pressure is checked every second. That means the valve will be open for at least one second before the controller has a chance to check the pressure reading. Some kind of filter is necessary. Maybe a simple low pass filter might do. Or, 5 successive reads from A0, and average the middle 3 readings. What is your opinion? Adding pressure readings to chart is in the schedule, after I finish my setup for better verifying. Specifying carbonation level is a good idea. However, I have to study/survey the formula first. A chart is the only way I know. |
Today, the tongue apparatus has been slightly modified: I removed the resistor altogether. Because the maximum pressure is unlikely to exceed 44psi, so I doubt that a large voltage will come to the input of the processor. |
I am very confused by the jumps of indicators, and they can be negative (-15psi) and sharply positive (112-162psi). |
Yes, and I did not warn, I am from Russia, so my English = English from Google translator ... sorry ... By the way, we mainly use different units of pressure measurement, for home brewers, usually everything is measured in bar ... |
I added the filter in a new testing branch. You can try it. However, I don't think it would work well with variation like that. |
Maybe this resource can be useful for creating and editing an automatic carbonization module? |
Thanks you. I'll try, according to the results, I will write to you. |
Vito, the processor creates a BPL network, I try to connect, it says that the connection fails. Authentication to the BPL network does not pass from a phone or tablet. |
Vito, do not consider it arrogance, but you can’t compile me a bin file? In order to avoid my mistakes? |
Get the binary with 3.6p. |
Vito, flashed your firmware to several controllers. I can not connect to the brewpiless network. It seems that the controller does not turn on the network ... |
Well. I've changed the design. Now, there is no WiFiManager. |
Vito, I'm just a doctor ... :( |
And you can’t stick a filter in the old firmware? |
Vito, I managed to start, first I flashed version 3.5.4, then tied it to my home network, and then updated it to version 3.6.4. |
Maybe it makes sense to do a trickier sensor calibration? Not by two points, but more? By type, how fast is the iSpindel calibration? |
The graph is currently under development. |
It is a pity that the pressure schedule is not available ... I wanted to brew beer at the beginning of September and check its operation ... |
So our problem is the sensor and the analog-to-digital converter of the processor ... http://www.lowoxygenbrewing.com/brewing-methods/spunding-automation-and-logic/ Does a person on a similar sensor have no such problems? |
First of all, you don't know how good it really works. Second, I don't see the specification of the sensor. It might be a maximum 35psi one, which would have lower error rate, like 1 or 2 psi. Third, I got this idea from here: He seems to use a 36psi transducer and Arduino. Maybe ADC of ESP8266 might have something to do? I will test it with an Arduino later. BTW, I found the formula to convert carbonation level into pressure. However, it might not work as expected because It takes some time to reach equilibrium. When crashing the beer, temperature should drop faster than pressure. If the setting pressure is derived from carbonation level, we will lose some co2 before it reach equilibrium. |
A little googling led me to this issue: I will try me best, but we might not be able to get stable readings unless turning off WiFi, which is non sense to me. External ADC is an option, like: |
Vito, then I'm right in something ... |
Of course, you should not turn off WiFi, without it there is little sense ... |
Just push the updated code with graph. The tricks mentioned in the issue above are used, and it seems to work fine for me. I got around 0.5 psi maximum drift in 4 hours, which is acceptable. |
Updated by OTA ... again I can not connect to the BPL ... |
The LED constantly blinks. |
oops. My bad. |
Hooray! Everything is working! I'm chasing now. Tomorrow I will try to throw off the screenshots. |
Yes, it got better, but all the same, in an hour it loses pressure to the minimum due to false positives. |
feat: add esp32 Sonoff devices support
Hello.
Assembled the BPL and assembled an automatic tongue for pressure control. I use WemosMini and in order not to burn A0 between the pressure sensor I put a 4.7k resistor and calibrated at 4.4psi. When calibrating the sensor, the parameter "b" varies 137-155 for me, and the parameter "a" 0.32 ..- 0.48 ...
Pressure control works, but the readings are very "floating", for example, then 17psi, then 25psi, then 46psi. If the control is set to 30psi, the machine relieves the pressure and in the end I get about 15-18psi. Checked when supplying gas from a cylinder.
Maybe it makes sense to add pressure logging and its graph to the screen?
Then it will be possible to deduce approximately how much pressure should be indicated above in the control to obtain the desired carbonation of beer.
The sensor is at 500psi, just like what you have in the picture, only bought to China on Aliexpress.