TiltBridge - Tilt-to-WiFi Device for Tilt Hydrometer

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.
While the Fermentrack flashing seems to be WAY better now than it was back when I first found this and played with it, in my opinion, your Windows based flashing utility is quite painless... So no OTA wouldn't hurt my feelings any. But in my research on these units while I was having issues, it seems there are 4, 8 & 16MB variants of the WROOM ESP32, and then there's the WROVER with similar 4, 8 & 16MB variants - What is the feasibility of 'migrating' to one of those with more than 4MB? Moving to one with double or quadruple the flash might open the door for a unified BrewPi/TiltBridge as well somewhere down the road.
 
I'm very strongly contemplating giving up on the over-the-air update functionality for TiltBridge, as the size of the core libraries have grown past the ability of the current partition scheme to support both them and the full feature set that TiltBridge provides.

The good thing about doing this is that it will potentially open the door for adding additional features down the line but it will mean that each TiltBridge will need to be connected to a PC/Raspberry Pi/Mac/etc. for each firmware update.

That's OK by me!

I'm fairly convinced I bricked my last TiltBridge (original hardware recommendation) when I became to impatient with an over the air update.
 
That's OK by me!

I'm fairly convinced I bricked my last TiltBridge (original hardware recommendation) when I became to impatient with an over the air update.

I don't think you can truly and irreversibly brick these things - If you get Espressif's 'Flash Download Tools' and the bootloader for the 'WROOM-32' devices, pretty sure you could erase it, flash the bootloader and recover it to a working state.
 
Cougar281 said:
I don't think you can truly and irreversibly brick these things - If you get Espressif's 'Flash Download Tools' and the bootloader for the 'WROOM-32' devices, pretty sure you could erase it, flash the bootloader and recover it to a working state.

Code:
instance.hold_my_beer=instance.watchme

I hear you and I agree with you...and yet I still created something unresponsive
 
While the Fermentrack flashing seems to be WAY better now than it was back when I first found this and played with it, in my opinion, your Windows based flashing utility is quite painless... So no OTA wouldn't hurt my feelings any. But in my research on these units while I was having issues, it seems there are 4, 8 & 16MB variants of the WROOM ESP32, and then there's the WROVER with similar 4, 8 & 16MB variants - What is the feasibility of 'migrating' to one of those with more than 4MB? Moving to one with double or quadruple the flash might open the door for a unified BrewPi/TiltBridge as well somewhere down the road.

I had half written a post where I typed some nonsense about how there were supposedly problems with the Arduino framework that prevented using more than 4MB of the flash. Then I flipped the partition scheme to one that used the full 16MB and flashed it to the TiltBridge on my desk. Turns out it works perfectly: PROGRAM: [==== ] 41.4% (used 1951931 bytes from 4718592 bytes)

...and that's with an OTA partition enabled. So yeah - there we go. Problem solved, but it will require 16MB of flash space going forward.

Thankfully, the D32 Pros basically all have 16MB flash, so this shouldn't impact too many people that are looking to build the TFT variant. For people with the OLED variant, I'll have to figure out if I can support a non-OTA legacy version. Not ideal, but it works.
 
I had half written a post where I typed some nonsense about how there were supposedly problems with the Arduino framework that prevented using more than 4MB of the flash. Then I flipped the partition scheme to one that used the full 16MB and flashed it to the TiltBridge on my desk. Turns out it works perfectly: PROGRAM: [==== ] 41.4% (used 1951931 bytes from 4718592 bytes)

...and that's with an OTA partition enabled. So yeah - there we go. Problem solved, but it will require 16MB of flash space going forward.

Thankfully, the D32 Pros basically all have 16MB flash, so this shouldn't impact too many people that are looking to build the TFT variant. For people with the OLED variant, I'll have to figure out if I can support a non-OTA legacy version. Not ideal, but it works.
And I can confirm that the Beta I just tested works as expected.
 
Thorrak said:
I had half written a post where I typed some nonsense about how there were supposedly problems with the Arduino framework that prevented using more than 4MB of the flash. Then I flipped the partition scheme to one that used the full 16MB and flashed it to the TiltBridge on my desk. Turns out it works perfectly: PROGRAM: [==== ] 41.4% (used 1951931 bytes from 4718592 bytes)

...and that's with an OTA partition enabled. So yeah - there we go. Problem solved, but it will require 16MB of flash space going forward.

Gotta love “eureka” moments!
 
LBussy said:
In the meantime, some porn:
View attachment 674248

How tight are you squeezing the components together? (internal depth)

I designed and ordered a Surface Mount Enclosure for my TiltBridge, but I ended up going with an enclosure depth of 31mm. I wanted something around 25mm, but my TiltBridge started acting funny when I squeezed the TFT and D32 together to approximate a 25mm enclosure. (The TiltBridge stopped picking up my tilt)...moved the TFT and D32 to be further apart, TiltBridge picks up Tilt with no problems. (don't ask me....but if it's weird and not too wonderful...usually I'm subjected to it)
 
Approximately 13mm from the base of the TFT screen to the base of the D32. The enclosure itself is ~30mm in height total.
 
up. I’ve managed to flash it and I can get the SG displayed on the screen but no temp. Also in fermentrack it sees the esp32 but doesn’t display the temp or SG.
Is there something I need to do to get this to display ? Am I missing a step? this might have already been explained and I missed it in this thread.
 
up. I’ve managed to flash it and I can get the SG displayed on the screen but no temp. Also in fermentrack it sees the esp32 but doesn’t display the temp or SG.

On the TiltBridge, Temperature is not displayed on the TFT (or OLED), Just the color Tilt and the Gravity. For the Temp and Gravity to be displayed in Fermentrack through the TiltBridge, I think Thorrak may have some bugs to squish. If you set your Tilt and Fermentrack to communicate via Bluetooth, you should see those values populate. (As long as your Fermentrack and Tilts are close enough)
 
While temperature is obviously available from the Tilt, given that I have incorporated the gravity in a program whose sole purpose is temperature control (as is the case in Fermentrack too obviously) I chose not to worry about it. It displays in an info-panel but there are zero reasons to trend it. I suspect John made the same decision. Now displaying on Tiltbridge, that should be done. I'm just glad it WORKS now. :)
 
While temperature is obviously available from the Tilt, given that I have incorporated the gravity in a program whose sole purpose is temperature control (as is the case in Fermentrack too obviously) I chose not to worry about it. It displays in an info-panel but there are zero reasons to trend it. I suspect John made the same decision. Now displaying on Tiltbridge, that should be done. I'm just glad it WORKS now. :)

The TFT version was an extension of the OLED version, and the OLED version didn't have enough space on the screen for it. Now that the TFT version is the one that will be supported going forward, who knows what new features the future may bring! :)
 
On the TiltBridge, Temperature is not displayed on the TFT (or OLED), Just the color Tilt and the Gravity. For the Temp and Gravity to be displayed in Fermentrack through the TiltBridge, I think Thorrak may have some bugs to squish. If you set your Tilt and Fermentrack to communicate via Bluetooth, you should see those values populate. (As long as your Fermentrack and Tilts are close enough)

The Tilt's temp and gravity are both populated in my Fermentrack, with the Tilt going through a TiltBridge.
 
Logo is ... blue! Looking good so far (and the wine is coming along):

IMG_8543.jpg


IMG_8544.jpg
 
Last edited:
Quick update - Things are progressing much faster than I originally anticipated with the redesign of the Tiltbridge. While I'm hoping to have an official announcement by the end of the year, if anyone is interested in ordering the hardware now, you'll want 3 parts:

Board - https://www.aliexpress.com/item/32883116057.html
TFT Screen - https://www.aliexpress.com/item/32919729730.html
Cable - https://www.aliexpress.com/item/32848833474.html

Here’s a teaser:
View attachment 655164

Just been reading over this project with interest, anyhow thought I would source some bits as per recommended post and guess what... TFT is no longer available! Just wondering what's my best option? Thanks.
 
Just been reading over this project with interest, anyhow thought I would source some bits as per recommended post and guess what... TFT is no longer available! Just wondering what's my best option? Thanks.

I saw that the other day. Typically this just means out of stock, not no longer being stocked so I'd give it a week or two. You could alternatively go down the OLED path, but I don't recommend it as the hardware tends to be flakier.
 
I may regret saying this, but I think that the version of the beta firmware that's available through both Fermentrack and BrewFlasher are release candidates. I've tested the Brewfather, Fermentrack, and Google Scripts support and all work perfectly. I no longer have a premium Brewer's Friend account to test with, but I expect it works as well.

I was able to figure out a way to (finally!) make the Google Scripts support work with HTTPS natively, so this firmware no longer requires the use of the TiltBridge.com proxy. This shouldn't be noticeable to most people, but it will hopefully prevent any potential rate limiting that could theoretically occur.
 
Love it! As always....awesome job and thank you.

I know my Tilts....TiltBridge....and Fermentrack are talking to each other and happy. I'll be happy to get my RPi out of the garage and into the house.
 
I saw that the other day. Typically this just means out of stock, not no longer being stocked so I'd give it a week or two. You could alternatively go down the OLED path, but I don't recommend it as the hardware tends to be flakier.

Thanks! Quite happy to wait and see when stock is back in.
 
Flashed the Beta/RC this morning. All seems fine and the logo is much more visible!

I also decided the black and white is much better looking. The last time I printed the base separately due to the color change, but this time I printed them both at the same time and the "racing stripe" effect is very nice:

IMG_8557.jpg


IMG_8556.jpg


IMG_8558.jpg
 
So I've contacted LOLIN about TFT stock and they say a new version will be available in a few days.
 
I'm using this on my current brew side-by-side with the Tilt App on my iPad and just noticed that the values reported by TiltBridge match the uncalibrated output. No doubt the App is making the adjustment for calibration. Is this something that could be incorporated into the TiltBridge configuration settings?
 
I'm using this on my current brew side-by-side with the Tilt App on my iPad and just noticed that the values reported by TiltBridge match the uncalibrated output. No doubt the App is making the adjustment for calibration. Is this something that could be incorporated into the TiltBridge configuration settings?

Maybe. Are you just taring it in water when you calibrate it, or are you actually generating calibration points?
 
I've done both. This time, even though I tared it in water, it wasn't reading the same as what I measured with a hydrometer and thermometer so I input those values.
 
So the tiltbridge quit picking up my tilt. I tried turn off and back on but it didn’t help. Fermentrack is connecting to it.

Regrettably, i clicked the OTA update for the tiltbridge. It’s been updating for a couple hours now. Should i keep waiting or can i unplug (without bricking it) and update via brewflasher?
 
So the tiltbridge quit picking up my tilt. I tried turn off and back on but it didn’t help. Fermentrack is connecting to it.

Regrettably, i clicked the OTA update for the tiltbridge. It’s been updating for a couple hours now. Should i keep waiting or can i unplug (without bricking it) and update via brewflasher?

You can unplug it and update via Brewflasher. Use the "beta" firmware.
 
Is there something I'm missing with the beta firmware? I ordered a pair of Lolin D32 Pro units off Amazon to play with (I don't have a LCD yet though), and unless they are VERY good counterfeits, they are legit units that look identical to these (I'd expect a higher chance of counterfeits on AliExpress honestly). After flashing the beta firmware, I joined it to my SSID and it got an IP Address and responded to pings, but I never was able to get to the web page. If I erase it with the ESP32 download tool, flash their v2.0 bootloader to it (Same one I flashed to my other one that's running the 0.1 firmware and working with my tilt now), and I then flash the 0.1 firmware, that works fine and I can get the web interface. IT also seems like the 0.2 beta firmware is flashing its own bootloader as after flashing their v2 bootloader and then flashing the 0.2 beta firmware, it seems like the boot behavior changes when viewed via the serial port (no errors, just different output).

Edit: As a test, without touching or doing anything else, I flashed the 0.1 OLED version to the second one I got. It booted up, was able to join it to my SSID and it came right up so the TiltBridge page was up and accessible. I then flashed the 0.2 TFT beta version (And I did notice it flashing to '0x00001000', so I see it is flashing a bootloader) and same thing - was able to get the TiltBridgeAP SSID and join it, set it to my SSID which it joined and responded to pings, but no TiltBridge web page. Is it checking for the presence of the LCD and halting if it doesn't find it?
 
Last edited:
Is there something I'm missing with the beta firmware? I ordered a pair of Lolin D32 Pro units off Amazon to play with (I don't have a LCD yet though), and unless they are VERY good counterfeits, they are legit units that look identical to these (I'd expect a higher chance of counterfeits on AliExpress honestly).

I haven't seen any knock-off of the D32 pro, thankfully, so hopefully you're correct in that assessment. That said, the seller you linked on AliExpress is the manufacturer, so it's actually the only place you can be guaranteed not to get a counterfeit. I doubt that's the issue here, though.

IT also seems like the 0.2 beta firmware is flashing its own bootloader as after flashing their v2 bootloader and then flashing the 0.2 beta firmware, it seems like the boot behavior changes when viewed via the serial port (no errors, just different output).

Correct - BootFlasher and Fermentrack are now flashing everything - including the bootloader.

I then flashed the 0.2 TFT beta version (And I did notice it flashing to '0x00001000', so I see it is flashing a bootloader) and same thing - was able to get the TiltBridgeAP SSID and join it, set it to my SSID which it joined and responded to pings, but no TiltBridge web page. Is it checking for the presence of the LCD and halting if it doesn't find it?

Yep, that's exactly what seems to be happening from my tests here. It appears it has to do with the code to detect someone tapping on the screen to reset the wifi, as commenting that out causes the webpages to serve properly.

That's not intended behavior, but its also not behavior I have a good way to correct without compiling a third version of the firmware. I'm not ruling out doing that eventually, but for now, you should be able to use the
 
Back
Top