Then I would wire it to any digital input with the 4.7k resistor the same way that it would be wired to a mega (like in the schematic you have on the BruControl website).@smort can answer but I think it’s 1-Wire.
My employer makes huge commercial printers. Up until recently these printers had to be on the internet and update the license every 30 days other...
Let me know if you need a hand with anything. I'm fairly busy lately with the nano were opening in webster st but sure I could spare time to answer questions if you end up with any.Glad to see another local guy on here! I'm just building out my brewery over on GI and have been looking at this software for my build!
So I bought the brucontrol system a few weeks ago and I'm getting everything set up, got it working on serial, everything went smoothly until I tried to switch over to WiFi. I loaded the WiFi specific firmware, set up the WiFi and everything took. My router is set up as DHCP so I set the controller up that way with Termite, and everything looked good. The router reserved an IP for its MAC address. However, it won't communicate with the software (also configured with the IP that it assigned, etc.). When I try to ping the controller IP I get "Reply from <my computer IP>: Destination host unreachable.
I'm not a network type of person and I know this is probably something simple, but I can't figure it out and can't even begin to find the right words to do a proper internet search to figure it out. Do you know what I'm doing wrong, or what I need to change so it will communicate?
Can you provide more info? What microcontroller interface are you using? What Wi-Fi? Specific links to what you purchased will help. Also, I suggest you use a static IP vs. DHCP. Provide more details on your setup and we will get it working.
Please PM me your email address. I will send you the latest firmware (version 42V). It is possible the generic one you currently have will not work with the Adafruit board. I will confirm that now, but either way let's get you the latest version. We will post the version for everyone in the next day or so.
here is the $6.50 version: https://www.ebay.com/itm/332055813391on th rtd this is what keeps coming up for me am i right?
MAX31865
https://www.adafruit.com/product/33...Nh3BoV2DgvFGZQWESnf-G_VkAf8W6nSYprBoCzkjw_wcB
I got it working with the new file. I had to switch to static, I didn’t change anything with my router, it’s still set up as DHCP. I’m guessing as long as I have the DHCP reservation it should be ok?
You can use DHCP or Static IP. The problem with DHCP is if your router is not configured to assign the same IP address to a device based on that device's MAC address, it could get a different IP on occasion, which would break the connection to BruControl. Therefore we recommend static IP, but of course if you prefer, you can ensure your router assigns the same IP to a device based on its MAC address - the static method requires just one configuration (interface), but DHCP requires two (interface and router).
Anyway, glad you have it working!
The only thing that you have to be careful with only setting a static on the device and not configuring DHCP manual\static\reservation entry is if you choose an IP address in the DCHP server scope, the DHCP server could issue that same IP address to another device. If that happens one of the devices will stop working. Most of the time the DHCP server will continue to issue the same IP address to the same device, but not always. So the chances of the issue I reference happening is slim, it is still a possibility that will take some troubleshooting to figure out.
Yea I was wondering if once it filled up all the reservations, it might loop back and reassign an old IP to a new device? It would be fairly easy to manually assign a reservation outside the range as cheap insurance.
Good discussion. I suggest your static IP assignments are outside the pool of DHCP reservations. For example, if your DHCP pool is 192.168.1.10 to 192.168.1.200, then your static assignments should be say, 192.168.1.201 to 192.168.1.254. You do not want two devices with the same IP... its a nightmare to troubleshoot.
This is how my network is configured... and I keep a list of those I assigned statically.
Anyway, we are saying the same thing... just adding my practice.
[mash_prep]
restart "StepTimer" // this is an overall timer to keep track of the mash step – restart it
restart “PumpTimer” // this is a timer for the pump on/off – restart it
new value MashTemp // this is a variable for the mash temp
new value MashTempAlarmHigh // this is a variable for the mash temp alarm (too high)
new value MashTempAlarmLow // this is a variable for the mash temp alarm (too low)
new time MashTime // this is a variable for your mash time
MashTemp = 152 // set the mash temp value
MashTempAlarmHigh = MashTemp + 3 // set the mash temp alarm high threshold
MashTempAlarmLow = MashTemp – 3 // set the mash temp alarm low threshold
MashTime = 01:00:00 // set the mash time
"Pump 1" State = on // turn on the pump
sleep 5000 // wait for liquid to flow
"RIMS Heat PID" Target = MashTemp // set the mash heat temp (RIMS)
"RIMS Heat PID" Enabled = true // turn on the mash heat
sleep 10000 // wait 10 secs for the temp to stabilize so alarm doesn’t trip right away
[mash_loop]
if “Mash Temp” > MashTempAlarmHigh // check if temp is too high, and activate alarm if so
"Brew Alarm" Active = true
endif
if “Mash Temp” < MashTempAlarmLow // check if temp is too low, and activate alarm if so
"Brew Alarm" Active = true
endif
if “Pump 1” State == on // check if pump is on
if “PumpTimer” Value > 0:08:00 // check if pump timer is running longer than 8 minutes
“Pump 1” State = off // if so, turn the pump off
“RIMS Heat PID” Enabled = false // and turn the heat off
restart “PumpTimer” // restart the pump timer
endif
endif
if “Pump 1” State == off // check is pump is off
if “PumpTimer” Value > 0:02:00 // check if pump timer is running longer than 2 minutes
“Pump 1” State = on // if so, turn the pump on
“RIMS Heat PID” Enabled = true // and turn the heat on
restart “PumpTimer” // restart the pump timer
endif
endif
if "StepTimer" Value >= MashTime // check if mash time have been exceded, and exit if so
goto mashout
endif
sleep 5000 // wait for a few seconds so loop doesn’t run needlessly fast
goto mash_loop // go back to the top of the loop
[mashout] // beginning of next section
…
[setup]
new bool NeedCooling //set up flag for cooling
new bool NeedHeating //set up flag for heating
new bool PumpOff //set up flag for pump been turned off
[loop]
NeedCooling = false //set flag that cooling is not needed
NeedHeating = false //set flag that heating is not needed
if "FermCool1" Value == on //check if fermenter 1 hysteresis device is on
NeedCooling = true //if so, set flag that cooling is needed
endif
if "FermCool2" Value == on //check if fermenter 2 hysteresis device is on
NeedCooling = true //if so, set flag that cooling is needed
endif
if "FermHeat1" Value == on //check if fermenter 1 hysteresis device is on
NeedHeating = true //if so, set flag that heating is needed
endif
if "FermHeat2" Value == on //check if fermenter 2 hysteresis device is on
NeedHeating = true //if so, set flag that heating is needed
endif
if NeedCooling == true //if flag for cooling needed is on
"Pump" State = on //turn on the pump
"Chiller" State = on //turn on the chiller
"Heater" = off //turn off the heater
PumpOff = false //reset the pump has been turned off flag
else
if NeedHeating == true //otherwise, if flag for heating needed is on
"Pump" State = on //turn on the pump
"Chiller" State = off //turn off the chiller
"Heater" = on //turn on the heater
PumpOff = false //reset the pump has been turned off flag
else
PumpOff = true //otherwise, set the pump has been turned off flag
Restart "Pump" //reset the Pump timer
"Chiller" State = off //turn off the chiller
"Heater" State = off //turn off the heater
endif
endif
if PumpOff == true //check if the pump has been turned off flag is set
if "Pump" Value >= 0:03:00 //if so, check to see if the Pump timer has passed 3 mins
"Pump" State = off //if so, turn the pump off
PumpOff = false //reset the pump has been turned off flag
endif
endif
sleep 15000 //pause for 15 seconds to reduce loop execution speed
goto loop //execute the loop again
Enter your email address to join: