Yes... I promise you an update is coming!
I was doing some work to update my Brucontrol setup including upgrading to FW46. While I was doing it, I came across a profile element and was curious what it is. I looked in the manual and it says as above "Not completed yet" and searched this thread and this is the last update I see. Any more info?Hi all. I wish everyone a Merry Christmas, Happy Holidays, and hope everyone sees our lives get back to normal in 2021! I really appreciate this community and I'm thankful to work with you on your brewing projects in any way I can.
FYI just posted 1.2 Beta v1.1.0.15. Please note this uses a new license server, so let us know if you have any issues activating. It includes some fixes and the start of the Profile Element (not complete yet).
I am just about to wire my TF-4. I have a metal box that will be about 4 feet from my Mega. I plan to run twisted pair cat 5 cable to the box which has M12 panel mount female connectors. The TF-4 will reside in that metal box. Should I just run one 4 pair (one cable) or 8 pair (2 cables) and ground one wire of each twisted pair?
A few weeks later… thanks for this info @oakbarn!! I am away from anything relating to my brewery for the next couple months, but I’ll sure give this a try and will report back to you.This really has nothing to do with BruControl but is a Windows thing. BruControl just uses some of the Windows standard items to place their files.
Because it is controlled largely by Windows, these may change and have nothing to do with BruControl. The first screen shoot is form a Win 11 machine, all others are Win 10. They would be very similar from Win 10 to Win 11.
For example my real configuration is named:
OakbarnBrewery2. brucfg
Open Windows Explorer.
View attachment 807891
1. Navigate to Documents
2. Once you click , you should be in the Documents folder.
3. There is a subfolder named BruControl. This is where your Brucontrol documents reside.
View attachment 807892
4, Click to navigate to the BruControl Subfolder.
In may case, I have 3 configuration files.
5. Default.brucfg is the default configuration file that was created when you installed BruControl.
LARGE HINT: if Default.brucfg is your configuration file, Copy, Paste in the Documents/Brucontrol folder and RENAME it. Select the renamed configuration file in BruControl under Settings-> Configuration!
6. I have a configuration named OakbarnBrewery. brucfg that was last used on 11/30/2022.
7. I have a configuration named OakbarnBrewery2. brucfg that was last used on 12/15/2022. This is the one I am currently using.
8, settings.brusettings is a file created by BruControl. If you delete this file, an new one is automatically created.
9. The date modified is the last day the file was used.
There are also some sub folders created autonatically.
10. Config Backup
This is where automatic backups are put.
11. Data
This is where your SQL Data file is put. It is named Data.mdf.
12. Log
This is where any Log files are placed.
I have some other subfolders I created myself:
Images: Where I store some generic image files
Manual Backup: where I manually create a backup file before doing any changes to scripts or workspaces so I can quickly recover if I make a big error.
View attachment 807894
13. Navigate to the Config Backup folder.
14. Your Configuations are being backed up.
a. default.brucfg was last backed up on 11/30/2022
b. OakBarnBrewery.brucfg was last backed up on 11/30/2022.
c. OakBarnBrewery2.brucfg was backed up on 12/11/2022. You can see that that has been the file that I have been using as it has many backups. It has
additional backups on the 12/13/2022, 12/14/2022 and 12/15/2022. I am going to restore the backup made on 12/11/2022 because that was the day I remember when everything was working, If you made any changes after that backup, they will be lost if you restore that backup.
15. The .bak is the file extension for a backup.
16. You can see that that has been the file that I have been using as it has many backups. It has
additional backups on the 12/13/2022, 12/14/2022 and 12/15/2022.
17. This is the date of the backup.
18. I am going to restore the backup made on 12/11/2022 because that was the day I remember when everything was working, If you made any changes after that backup, they will be lost if you restore that backup.
Note that the file name has some meaning.
The file name is OakbarnBrewery2.brucfg.20221211.bak
This means that it is a backup of the OakbarnBrewery2.brucfg made on 12/11/2022.
We need to replace our OakBarnBrewery2.brucfg with the backup.
View attachment 807897
18. Right Click the file.
19. Copy the file.
20. Navigate back yo the BruControl folder.
View attachment 807898
21. Click or Right Click the bad configuration file. In Win 11 you have to Right Click and choose More Options, If you do not know Windows,, call a friend.
22. Click Delete. The file will be deleted. There is no waring. It is gone.
View attachment 807899
23. Paste your copied backup.
24. Right Click to Rename the File.
View attachment 807900
25. Rename the file.
View attachment 807901
a. Click into the end of the File Name. Use backspace to get rid of everything up to the brucfg part of the file
26. Click Enter
27. Yes
.
I was talking about the leads from the Analog ports to the TF-4. The Leads to the Probes will be M12 QDs. My Thermowells are all the open ended kind where I can slip a probe into (I have found that it is not necessary to have heat transfer paste if you leave the probes in the thermowell as they quickly heat up a stabilize with out it; I can replace a probe quickly if needed). Since this is a separate enclosure with the TF-4 and the Power and Analog Leads back to the Mega (4 ' 6" total wire length of Cat 5 Shielded Cable x 2, I believe they should be shielded. I know that the closer the TF-4 is to the Mega the better, but I did not buy a big enough enclosure when I started.Not sure I'm understanding this. Themistor sensors get wired to the TF-4 (2 wires) and the TF-4 gets wired to the MEGA (Vcc, GND, and 1 line per sensor). Two different runs of wires.
I put in 6 different pairs.I found using "Lookup" tables for NTC Probe calibration iffy at best. Too wide of a calibration range the probe will be exposed to the less accurate readings you will get. Example: Boil kettle starting point after mash out 165F and taking it to a boil 210-212 depending on elevation you would not want to include temps in your Lookup tables of much less than 155-160, otherwise you will be trying to straighten out the curve at the lower temps which pulls away from the accuracy of a specific range you might be trying to monitor. These probes are none linear and can, depending on type of thermistor used, give less accurate readings at the top end of the scale as well so including to many skewed values from the high temp level can impact accuracy.
In other words calibrate in a specific range for that particular probe would be my advice. The more entry values within a specified range the more accurate the temp value will be within that specific range.
A general Question for the AA-2 Analog Amplifier.
The Input voltage may be from 5 to 24 vdc.
1. Is it Best Practice to have an Independent Separate Power Supply or can you use the same Power Supply as the Interface?
a. if using Independent Separate Power Supply should you connect the Grounds to the interface ground?
2. If using a 0-10 vdc Proportional Controller, should the Input Voltage be at least 10 vdc?
3. If using a 0-5 vdc Proportional Controller, can you use the 5 vdc Output of the Interface to power the AA-2?
a. If using a 0-10 vdc Proportional Controller, what about the 5 vdc Output of the Interface (may be mute question depending on 2 above.)
Also with the AA-2, we are planning to control your Quadzilla via a Crydom Proportional Controller 0-10 vdc via a PID Element. This will be Port 7 on our Mega Unishield.
The instructions say:
a. Each PWM/Analog Out pin connected via I1 … I4 is associated with a PWM/Analog Output Device Element port in BruControl. That output must be enabled and set to maximum voltage/value (e.g. BruControl PWM/Analog Output Device Element enabled with uncalibrated output value = 255).
To set up the AA-2:
Do I need to create a PWM Element on Port 7 and set its value to 255 or can you set the 255 on a PID Element.
When the new version of BruControl comes out that allows you to choose what and how often to get data, that will be the answer to such a huge database. I cannot use the database function because it gets to GBs in a day. When it is large, it takes up to 10 minutes for the exe to Load. I have removed the SQL and have no database. If you do not use the data, you might want to get rid of the SQL stuff if you do not use them for other things and have no database. You can also delete the database daily using Windows.What is the best way to archive or delete the data in the database to reduce the file size?
I am having some issues with alarm timers and am wondering if this is a bug, or as intended.
If you have a timer with an alarm set at 0, the timer will count down and when it crosses 0, it will set the alarm. My issue is how to reset the timer and alarm without it retriggering the alarm. If you set the time to 5 secs, turn off the alarm and start the timer, it will retrigger the alarm before it crosses 0. Presumably because it has crossed from -1 to 5 when you set the time. This is also the case if you reset the timer (with a reset value of 5 secs). I have separate scripts for each brew step. At the end of each script, the timer has expired and the alarm is set (this is how I determine the end of the step). I then turn off the alarm. At the beginning of a script, I reset the timer. When I start the timer, the alarm is retriggered after about a second, not when it crosses 0. Example:
at end of script:
Timer value is at -00:00:00:01
Alarm is active
"StepComplete" active = false //reset alarm
at start of script:
restart "StepTimer" //reset value in timer is 00:00:00:05
sleep 2000
"StepComplete" active = false
without the sleep step and turning off the alarm again, the alarm is retriggered after ~1sec causing my step to end immediately.
Is this the behavior you expect?
Just need to make sure you have enough entries in the table, especially the book-ends. I'd go every 5 or 10 degrees.I found using "Lookup" tables for NTC Probe calibration iffy at best. Too wide of a calibration range the probe will be exposed to the less accurate readings you will get. Example: Boil kettle starting point after mash out 165F and taking it to a boil 210-212 depending on elevation you would not want to include temps in your Lookup tables of much less than 155-160, otherwise you will be trying to straighten out the curve at the lower temps which pulls away from the accuracy of a specific range you might be trying to monitor. These probes are none linear and can, depending on type of thermistor used, give less accurate readings at the top end of the scale as well so including to many skewed values from the high temp level can impact accuracy.
In other words calibrate in a specific range for that particular probe would be my advice. The more entry values within a specified range the more accurate the temp value will be within that specific range.
You can use a PWM Output Device Element, which will create a "manual" fixed output that will only change by the operator or a script. You set this one. Or you can create a PID Output Device Element with the Use PWM switch enabled, which will create an analog PWM output which automatically changes in accordance with the PID's calculation. You don't set this output, it is automatically calculated.Also with the AA-2, we are planning to control your Quadzilla via a Crydom Proportional Controller 0-10 vdc via a PID Element. This will be Port 7 on our Mega Unishield.
The instructions say:
a. Each PWM/Analog Out pin connected via I1 … I4 is associated with a PWM/Analog Output Device Element port in BruControl. That output must be enabled and set to maximum voltage/value (e.g. BruControl PWM/Analog Output Device Element enabled with uncalibrated output value = 255).
To set up the AA-2:
Do I need to create a PWM Element on Port 7 and set its value to 255 or can you set the 255 on a PID Element.
Yes. I'm not fully understanding your question though. Resetting a timer will not cancel an alarm it triggered.I am having some issues with alarm timers and am wondering if this is a bug, or as intended.
If you have a timer with an alarm set at 0, the timer will count down and when it crosses 0, it will set the alarm. My issue is how to reset the timer and alarm without it retriggering the alarm. If you set the time to 5 secs, turn off the alarm and start the timer, it will retrigger the alarm before it crosses 0. Presumably because it has crossed from -1 to 5 when you set the time. This is also the case if you reset the timer (with a reset value of 5 secs). I have separate scripts for each brew step. At the end of each script, the timer has expired and the alarm is set (this is how I determine the end of the step). I then turn off the alarm. At the beginning of a script, I reset the timer. When I start the timer, the alarm is retriggered after about a second, not when it crosses 0. Example:
at end of script:
Timer value is at -00:00:00:01
Alarm is active
"StepComplete" active = false //reset alarm
at start of script:
restart "StepTimer" //reset value in timer is 00:00:00:05
sleep 2000
"StepComplete" active = false
without the sleep step and turning off the alarm again, the alarm is retriggered after ~1sec causing my step to end immediately.
Is this the behavior you expect?
No, I only suggested you use the 5V Out temporarily to test the AA-2. Feeding a fixed 5V input is simulating a 100% PWM output from a MEGA. We do this only to test the output of the AA-2 and set its output range. The AA-2's input power (V+) voltage should be 5-24 DC (but not less than the output voltage you expect, meaning 5V power will not allow a 0-10V output range). the AA-2 channel input signals must not exceed 5V (they would be 5V for a MEGA and 3.3V for ESP32, Grand Central, etc).Having an email exchange @BrunDog with a different issue, these answers became apparent.
Do I need to create a PWM Element on Port 7 and set its value to 255 or can you set the 255 on a PID Element?
That is one way to do it.
@BrunDog suggested I use the 5v Out of the Mega Unishield. In my mind, that is a great way to set up the AA-2 because the maximum voltage for the input is that 5v out voltage. If you set a PWM Element to 255, it should supply that same voltage. You cannot set the Output of a PID Element.
My script resets the alarm. When it is restarted, it retriggers before it hits the trigger point. I have to put in a delay in between restarting the timer and resetting the alarm. My question is, how do you restart the timer without it retriggering the alarm? I can write a script to show this if it helps, but it is pretty easy to see if you play with it a bit. You actually don't need a script, just a timer and an alarm to see the behavior.Yes. I'm not fully understanding your question though. Resetting a timer will not cancel an alarm it triggered.
My script resets the alarm. When it is restarted, it retriggers before it hits the trigger point. I have to put in a delay in between estarting the timer and resetting the alarm. My question is, how do you restart the timer without it retriggering the alarm? I can write a script to show this if it helps, but it is pretty easy to see if you play with it a bit. You actually don't need a script, just a timer and an alarm to see the behavior.Yes. I'm not fully understanding your question though. Resetting a timer will not cancel an alarm it triggered.
Enter your email address to join: