Fermentrack: Fermentation monitoring & BrewPi-www Replacement for Raspberry Pi

Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum

Help Support Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
source.gif


Popcorn is ready!

Cheers! :D
 
Ask away - we're talking past each other, and such discussion can only enhance things for everyone.

First question:

What is the ‘estimator’? Is that the PID K values? This question relates to both the heating and cooling upper limits.
 

Attachments

  • 690873D8-8276-4EEF-94F0-9C812EA33EA9.jpeg
    690873D8-8276-4EEF-94F0-9C812EA33EA9.jpeg
    311.9 KB · Views: 20
First question:

What is the ‘estimator’? Is that the PID K values? This question relates to both the heating and cooling upper limits.
Estimator is an additional algorithm on top of PID. It measures heating/cooling speed and turns heating/cooling off before temperature reaches target value based on that measurement.
 
Estimator is an additional algorithm on top of PID. It measures heating/cooling speed and turns heating/cooling off before temperature reaches target value based on that measurement.
What you describe there is the "Derivative" component of the PID loop. I don't think it's outside the normal PID process.
 
What you describe there is the "Derivative" component of the PID loop. I don't think it's outside the normal PID process.
Not exactly. "Derivative" component take in account only previous value and can't handle longer history like a control signal prorogation delay. Also "D" only add or subtract some value from control signal but can't switch it off completely since it also a "I" and "P" components.
Please check here, for example brewpi-remix/brewpi-firmware-rmx
 
Will Fermentrack work with a display like this? https://www.amazon.com/Dorhea-Display-3-3V-5V-Arduino-Raspberry/dp/B07FK8GB8T/ref=sr_1_10?
Or maybe this one? Amazon.com

Or do I need to stick with a 16x2 or 20x2 LCD display with I2C (or with an i2c adapter)?

I have an old Newhaven LCD display, but no I2C adapter board for it. I thought if I have to buy one, maybe I can just get the cool looking display instead. I'm using a D1 ESP controller.
OLED is not compatible with Fermentrack
 
Troubleshooting Fermentrack logging.

I successfully added a ds18b20 sensor to my esp8266. But when I started a new logging session nothing shows up as a trend on the Dashboard screen. I was logging one previously without a problem. Any Ideas?
 
Troubleshooting Fermentrack logging.

I successfully added a ds18b20 sensor to my esp8266. But when I started a new logging session nothing shows up as a trend on the Dashboard screen. I was logging one previously without a problem. Any Ideas?

Never mind a reboot of the Rpi fixed it.
 
I just picked up some of Thorrak's breakout boards. What are the screw terminal connections for? For supplying 5v and GND? I'm confused.
It says door on the back side, as well as the 2 small pads just south of the larger screw terminals.

I'm asking, because I couldn't see the 1-wire sensors in the Sensor section of Fermentrack GUI. Wondering if I also need to give power to the breakout board.

Plus - do I need to add the 4k7 resistor on this board also? Or is that on the Thorrak D1 Mini ESP8266 board?

Sorry for the likely dumb questions. I didn't find answers in this thread (or at least not on the search terms I tried).
 
I just picked up some of Thorrak's breakout boards. What are the screw terminal connections for? For supplying 5v and GND? I'm confused.
It says door on the back side, as well as the 2 small pads just south of the larger screw terminals.

I'm asking, because I couldn't see the 1-wire sensors in the Sensor section of Fermentrack GUI. Wondering if I also need to give power to the breakout board.

Plus - do I need to add the 4k7 resistor on this board also? Or is that on the Thorrak D1 Mini ESP8266 board?

Sorry for the likely dumb questions. I didn't find answers in this thread (or at least not on the search terms I tried).
20201031_150555.jpg
 
Thanks Bigdaddy - That helps.
But the other question about the Screw Terminals on the breakout board. I'm guessing I don't need to apply 5V and GND to those then, right?
When it says door, it actually means Door Switch?
If so, why two sets of terminals for it?

top.svg.s.png
That's a whole different animal- not sure how that connects or gets power. I think the "door " connections are for two different ways to hook up the door- one by header pins and the other option of using a terminal block - do the traces on the pcb connect to each other?
 
Got it - thanks. Not sure why I didn't find that web page.

But crud!!! I think I fried a D1 controller. I realized that I previously used a crossover cable instead of straight-through ethernet cable between the controller and breakout board. I connected a straight through and started smelling hot electrical components. The D1 got reaaalllyyy hot.
 
Not sure what's going wrong here, but I might have fried ANOTHER D1 controller after plugging in the breakout board.
I visually re-inspected and carefully measured voltages and pinouts on the controller board first, making sure nothing was shorted. I did the same to the breakout board. I have a single 1-wire sensor soldered on the breakout board.
Yet, when I power up the controller and then connect the straight-through ethernet cable, what I think is a voltage regulator on the D1 controller immediately gets hot. FYI, I'm powering the controller board through the 5V screw terminal input of the Thorrak ESP8266 SMB board.
Is this a sign of a bad 1-wire sensor? Or something else?
 
Last edited:
I just picked up some of Thorrak's breakout boards. What are the screw terminal connections for? For supplying 5v and GND? I'm confused.
It says door on the back side, as well as the 2 small pads just south of the larger screw terminals.

I'm asking, because I couldn't see the 1-wire sensors in the Sensor section of Fermentrack GUI. Wondering if I also need to give power to the breakout board.

Plus - do I need to add the 4k7 resistor on this board also? Or is that on the Thorrak D1 Mini ESP8266 board?

Sorry for the likely dumb questions. I didn't find answers in this thread (or at least not on the search terms I tried).
Which PCB did you get and can you post a picture of what it looks like now that you’ve soldered it up (front and back)?
 
Here are pictures. My next step was to remove the 1-wire sensors from the breakout board (which you can see that I did), and just have a bare board connected via ethernet to the controller board and see if I fry anything. I haven't tried that yet. I'm running low on ESP8266 controllers now.

IMG_20201101_074455670.jpg

IMG_20201101_074531033.jpg

IMG_20201101_074539501.jpg

IMG_20201101_074559746.jpg

IMG_20201101_074622027.jpg

IMG_20201101_074630113.jpg
 
Here are pictures. My next step was to remove the 1-wire sensors from the breakout board (which you can see that I did), and just have a bare board connected via ethernet to the controller board and see if I fry anything. I haven't tried that yet. I'm running low on ESP8266 controllers now.

View attachment 705004

View attachment 705006

View attachment 705007

View attachment 705008

View attachment 705009

View attachment 705010
Just to double-check- power is only coming from the screw terminals on the mother PCB? The D1 mini is not connected via the USB connector. I would connect power to the motherboard and then check the voltage with a voltmeter at the various points on the board before I plugged in another D1. What are you using to power the mother PCB?
 
I would do what @Bigdaddyale recommends and hook up the power first without a D1, then check with a multimeter that you get 5v on all the 5v terminals (i.e., the 5V input, 5V pins for the D1, LCD pin, etc.). Next, check all the 3v3 pins and make sure you don't get any power on them (the D1 mini generates the 3v3, so you won't get any 3v3 anywhere if the D1 is disconnected).

Do you have a link to the RJ45 jacks you used? Those definitely aren't the right jacks, but it's hard to tell if the wiring is different vs. the correct ones...

Also, just to be clear - you aren't shorting JP1 at all, right? That remains completely unpopulated?
 
Last edited:
B9965495-EDEF-4BA7-B929-F787AAEF20BF.jpeg


(to be fair though, the problem you should have had is that the jack wouldn't fit on the board - not that it would short anything. I would double-check the cable is actually straight-through)
 
Separate note - you populated a 10k resistor in all 5 resistor spots. This might cause your temperature sensors not to work.

It would be best to replace R1 with either a 2k2 resistor (ideal for 3v3 power) or a 4k7 resistor.
 
Separate note - you populated a 10k resistor in all 5 resistor spots. This might cause your temperature sensors not to work.

It would be best to replace R1 with either a 2k2 resistor (ideal for 3v3 power) or a 4k7 resistor.
I use the same PCB with the same resistors and all of my boards work- These resistors' values were from the BOM for this board.🙂. I got a feeling there are some problems with the wiring at the RJ-45 jacks.I know when I wired mine up I had a hard time figuring out the wiring. I would also run the test on all the probes to make sure they are the correct ones.
 
Thanks for all the suggestions. The Vikings are playing the Packers now, so that takes priority.
I will go through all the checks suggested. And yes, I wonder if the RJ jacks I had on hand from a different project are different....though I'm not sure what can be different in the "wiring" of them.
 
I use the same PCB with the same resistors and all of my boards work- These resistors' values were from the BOM for this board.🙂. I got a feeling there are some problems with the wiring at the RJ-45 jacks.I know when I wired mine up I had a hard time figuring out the wiring. I would also run the test on all the probes to make sure they are the correct ones.

The maximum size of the resistor and whether or not you have issues with your temperature sensors is dependent on the sensors themselves (and how many you have). If you have a lot of sensors (or they are a long way from your main PCB) then higher resistance values can cause the sensors to not report consistently.

I used to use 10k resistors for everything to simplify the BOM - and it worked for all of my builds, but I have had people report back with issues which is why I've since switched to suggesting lower resistance values.
 
I didn't put the resistors or any components on those boards. I bought them from from Bigdaddyale already soldered together.
I just realized the differences in the RJ jacks. The pins are on the top on one of them. On the bottom on the other. I suspect that's what my issue will end up being.
Vikes are up by a TD. Gotta wait til the end of the game now.
 
I didn't put the resistors or any components on those boards. I bought them from from Bigdaddyale already soldered together.
I just realized the differences in the RJ jacks. The pins are on the top on one of them. On the bottom on the other. I suspect that's what my issue will end up being.
Vikes are up by a TD. Gotta wait til the end of the game now.
Ahh -- I would trust Bigdaddyale's work then. Go Vikings. ;)
 
I'm pretty sure what got fried was on the ESP D1 controller board, not on the Torrak ESP board I bought from you Bigdaddy. I've had the controller boards connected to power and viewable in the Fermentrack GUI. There's no problem with these....until I connected the breakout board. I'm going with the RJ jacks I used not being correct. I definitely used a straight-through ethernet cable between the two boards.

These appear to be the correct RJ connectors, right? Too bad I only need 4 of them.
https://www.amazon.com/Antrader-30p...=p_85:2470955011&rnid=2470954011&rps=1&sr=8-7
I checked ebay and don't find smaller quantities cheaper. Don't want to wait for shipping from China, either.
 
Those look like they're backwards, don't they? Well, maybe a better word would be "upside down"
My dad was a telephone guy for decades. I remember him saying that the tab on the cable is supposed to point down, so when you grab it to remove it, your finger touches it on the bottom and you pull it out. I'm not sure if that's a standard, or if that's just the way he was taught.

Pins where the jack is inserted in to the plug are on bottom instead of top (plug inserted upside down instead of right-side-up). The cable is inserted 180 degrees off? My brain is hurting, thinking about this. Initially, I thought - yeah, that must be the answer. Pin 1 is on one side when right-side-up and on the other side when the cable is flipped upside down.
 
Last edited:
Those look like they're backwards, don't they? Well, maybe a better word would be "upside down"
I see what ya did there ... you edited after I replied. :)

I think the ones I posted have the tab down, contacts up, which are the same as the 90 degree ones @Thorrak used. If so then they would be right. That's how the ones are that I used. I think Thorrak is right, that the pins would not fit if they were the reveresed ones. Without intentionally buying the wrong ones, I can't say for sure.
 
So I just ran the update from the ui and now the web front end is all screwed up. Is there a way to force it to update again (from GitHub)?

I can get to the dashboard, but it looks like this:

1604868894841.png
 
Last edited:
Back
Top