aeviaanah
Well-Known Member
- Joined
- Jul 1, 2012
- Messages
- 1,686
- Reaction score
- 217
I bring 110v to the panel then to 24v power supply. I use a 24v to 12v stepdown to the Mega.How is it powered?
I bring 110v to the panel then to 24v power supply. I use a 24v to 12v stepdown to the Mega.How is it powered?
I bring 110v to the panel then to 24v power supply. I use a 24v to 12v stepdown to the Mega.
Had a bug happen today, which happened before. Script changes setpoint on PID. The setpoint does change, but the PID keeps going to the previous setpoint. Example, PID at 150, script drops to 145, PID shows 145, but still driving like maintaining 150, have to disable/reenable to fix. Mega, serial connection.
Also,
ESP32 stuck in disconnect loop again. This time was not caused by cpu restarting. This was during mash with active PWM output going to pump. It was still driving the pump, but was disconnecting/reconnecting in a loop. Serial connection, does have resistor per user manual.
I’m not sure how to quantify power quality. This power supply is dedicated to the mega, no other device uses 12v. It is however a cheap step down transformer.I guess I meant the quality of the power supply. 12V can sometimes overload the MEGA's regulator. What else is powering it?
# Get Data from BrewFather json export file
$FileData = Get-ItemProperty -Path "C:\Users\Garrett\Downloads\*.json"
$BFData = Get-Content -raw -path "C:\Users\Garrett\Downloads\*.json" | ConvertFrom-JSon
# Extract Brewfather Data into variables
#Recipe Version
$Version = $BFData._version
#Batch Number
$Batch = $BFData.batchNo
#Recipe Type
$BatchType = $BFData.recipe.type
#Yeast Name
$YeastName = $BFData.recipe.yeasts.name
#Yeast ID
$YeastID = $BFData.recipe.yeasts.productID
#SRM
$SRM = $BFData.color
# Build BruControl JSON file from data pulled from BrewFather extract file
$Data = @(
[ordered]@{
Name = "Version"
Value = $Version
}
[ordered]@{
Name = "BatchNum"
Value = $Batch
}
[ordered]@{
Name = "RecType"
Value = $BatchType
}
[ordered]@{
Name = "YeastName"
Value = $YeastName
}
[ordered]@{
Name = "YeastID"
Value = $YeastID
}
[ordered]@{
Name = "SRM"
Value = $SRM
}
)
$json = $Data | ConvertTo-Json
$url = "http://localhost:8001/Globals"
$response = Invoke-RestMethod -Uri $url -Method PUT -Body $json -ContentType 'application/json'
I’m not sure how to quantify power quality. This power supply is dedicated to the mega, no other device uses 12v. It is however a cheap step down transformer.
I’m not sure how to quantify power quality. This power supply is dedicated to the mega, no other device uses 12v. It is however a cheap step down transformer.
Usually weird behavior in micro-controllers stems from power problems. So a quality switching supply should always be used... not a wall-wart or phone charger. With proper power, it should run forever with no hiccups. We have a handful of micros running >4 years without a glitch (good power + battery backup).
Also, in terms of debugging, I would recommend removing all the devices that are wired in to see if the problem resolves - it then is likely one of the attached devices. In our case, these can impart noise or draw too much current - which will cause issues. The goal is that you should have 100% reliability - not occasional missteps.
Where the heck is the post number on mobile version of website?I had similar issues a while ago, very frustrating diagnosing the problem but eventually found a solution that worked for me. It turned out my dedicated 12VDC power supply (good quality) was overwhelming the voltage regulator on my MEGA (RobotDyn). See posts #2753 and #2759 in this thread for the solution I used. (Parts list #2764) Rock solid ever since.
Good question. I didn’t see it either. I turned my phone to the side and boom there it was. I’m sure tablet users were fine though.Where the heck is the post number on mobile version of website?
Where the heck is the post number on mobile version of website?
That did the trick!Good question. I didn’t see it either. I turned my phone to the side and boom there it was. I’m sure tablet users were fine though.
I visited the posts you mentioned. What exactly is the “power boost”?Sorry can't help you there, I'm not familiar with the mobile version. Guess I'm old school and use the PC version only.
I visited the posts you mentioned. What exactly is the “power boost”?
This guy? https://learn.adafruit.com/adafruit-powerboost-500-shield-rechargeable-battery-packThat part is essentially a rapid charger for lithium batteries that provide backup power to the MEGA in case of a power blip or outage.
This guy? https://learn.adafruit.com/adafruit-powerboost-500-shield-rechargeable-battery-pack i seethe benefit of having power during the blip but what’s the benefit during an outage? Won’t everything else be de energized and the Mega running by itself?
I have the immediate option to bring 5v to supply Mega. Would this be better than the current 12v?
New version with Alias?
It’s a Unitronics V350A lot is going to depend on what PLC you are using? I work with AB/Rockwell gear... I wish I could get a transmitter for $100. Typically you add a 0 and start there![]()