Yikes, what is that - a homemade smart watch?It's a thankless job man, thank you for updating us on where it's at.
Sounds like I should ditch this: https://m5stack.com/products/stick-c
That hardware SHOULD work though.
Yikes, what is that - a homemade smart watch?It's a thankless job man, thank you for updating us on where it's at.
Sounds like I should ditch this: https://m5stack.com/products/stick-c
Yikes, what is that - a homemade smart watch?
That hardware SHOULD work though.
This board uses the the official ESP32-WROOM-32 and is readily available from US Sources. Not some China stealing counterfeit junk.
THORRAK,
Since boards purchased from AliExpress are not reliable and and there is a quite a bit frustration getting these boards to work, why not develop the software to be used on a Espressif Development Board such as the ESP32-DevKit3. This board uses the the official ESP32-WROOM-32 and is readily available from US Sources. Not some China stealing counterfeit junk.
https://www.espressif.com/en/products/hardware/esp32-devkitc/overview.
Regards,
DB
I’m trying to determine where to start...China, stealing, counterfeit, or junk.
AliExpress is just a means to an end....a really slow boat from China means, but one none the less. The fact is, I can buy all the same “junk” from Amazon and pay 4 times the money. I’ll be honest, all my experiences with AliExpress were really positive.
I got working results with Thorrak’s original Tilt Bridge build recommendation. Now with the LoLin parts, I think everybody that goes that route are going to have repeatable, successful results...and I’ll be sad as I see everyone with their shiny new Tilt Bridge 2.0 builds while I’m stuck with Tilt Bridge 1.0 (which will probably be disowned by the creator and swept under a rug)
View attachment 655252
I’m trying to determine where to start...China, stealing, counterfeit, or junk.
AliExpress is just a means to an end....a really slow boat from China means, but one none the less. The fact is, I can buy all the same “junk” from Amazon and pay 4 times the money. I’ll be honest, all my experiences with AliExpress were really positive.
I got working results with Thorrak’s original Tilt Bridge build recommendation. Now with the LoLin parts, I think everybody that goes that route are going to have repeatable, successful results...and I’ll be sad as I see everyone with their shiny new Tilt Bridge 2.0 builds while I’m stuck with Tilt Bridge 1.0 (which will probably be disowned by the creator and swept under a rug)
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
Does it matter what flavor board we get? 16MB Flash? 16MB Flash (LED)? The 4MB Flash is not currently available.
Hello Thorrak,
Do you have any info for developers. I would like to compile your project for another board I have. But I don't know what compiler/libraries/setup is needed.
Thank you,
DB.
What board are you trying to compile it for?
The short answer to your question is no, unfortunately. I've written some rudimentary instructions for developers for my ESP8266 port of BrewPi, but they aren't anywhere near complete, and are primarily designed to point developers in the right general direction rather than guide from 0 to a working compile. TiltBridge is written with Platformio for compilation targeting the ESP32 - if you read through the document I linked above and documentation associated with platformio that should get you moving towards the answers to the questions around compiler/libraries/setup. In the platformio universe, all libraries are either in platformio.ini or the lib folder. Platformio takes care of determining the right compiler/toolchain for the board, but I believe the toolchain in use is the xtensa toolchain.
Thanks for the info. I'm developing on the ESP32-DevKitC which houses the ESP32-WROOM-32D. Then I will build my own board, to integrate temperature control and tilt on one board using the ESP32-WROOM-32D. Your compiled .bins should load just fine on this board, but I want to add to the code to include temperature control. I have embedded systems development experience (hardware and software) but I have not yet worked with Arduino or Espressif based systems yet.
Ahh - cool thought! Are you thinking two ESPs or one
View attachment 652246
Everything is through LoLin (which makes the genuine D1 Minis) so I’m hoping this will take care of the “manufacturer” issues I was experiencing.
Thanks for the info. I'm developing on the ESP32-DevKitC which houses the ESP32-WROOM-32D. Then I will build my own board, to integrate temperature control and tilt on one board using the ESP32-WROOM-32D. Your compiled .bins should load just fine on this board, but I want to add to the code to include temperature control. I have embedded systems development experience (hardware and software) but I have not yet worked with Arduino or Espressif based systems yet.
Hey Thorrak,
I was able to complile for ESP32-DevKitC with platformio IDE and I uploaded to the ESP32 from platformio IDE. It seems to work up to the point of accessing the ESP32 using http://tiltbridge.local.
I was able to set up initially with tiltbridgeAP. It appears that it cannot connect to my network. I am not seeing it on my routers list of connected devices. Is there a router setting that could be blocking this?
Any other thoughts/ideas to try?
That's weird. There are a handful of routers that don't work with mDNS for some reason, but the device should still register on the network - you would just need to access it via its IP address rather than its mDNS name.
The only thing I can think is that potentially your router is blocking devices using the "older" wireless standards? The ESP32 supports 802.11b/g/n so I can see where some networks would block it as a result.
So, my device is connecting to my network. I can see the device in the routers list of connected devices. But I cannot access it by pointing my browser to http://tiltbridge.local or "10.0.0.146".
I disabled my firewall. Enabled the router DMZ for 10.0.0.146. But the browser still reports "ERR_CONNECTION_REFUSED". Is there a port I should forward? I am running out of ideas. Ughhh.
I was having trouble with bluetooth working using Fermentrack on my Raspberry pi so I decided to go with a ESP32-based TiltBridge.
I got it flashed and connected to my network but Fermentrack said "Unable to automatically update Fermentrack URL on TiltBridge Tilt Bridge 1" so I manually set the URL Fermentrack said to update in the bridge, but it just won't seem to push the data to Fermentrack.
The TiltBridge correctly displays the info on the onboard screen and I even have it successfully pushing data to a google sheet, but still no luck getting it to push data to Fermentrack.
Any Suggestions? It's getting frustrating with this already being a kinda workaround to the original bluetooth problem.
Thanks in advance.
It should just be port 80. Are you using firmware you compiled, or the firmware that was posted?
Was the URL you set an "xxxx.local" url, or an IP address?
For the issues with Fermentrack + Bluetooth - What raspberry pi are you using, and what version of Raspbian?
I was actually going to recommend the opposite!The one I compiled. I'll try the .bins. next.
The URL was essentially " http://##.##.###.##/tiltbridge/ " but the IP address in place of the #'s was not the local IP address for my home network
I'm runny Buster on a Raspberry Pi 3B+. I've tried following the instructions Fermentrack lists for getting bluetooth support back, but it doesn't seem to help. Possibly part of the problem is I can't seem to use sudo when in the fermentrack user since the password doesn't seem to be my pi user password or my Fermentrack password.
I was actually going to recommend the opposite!
Ahhh - Apologies for any confusion. Run those commands as sudo from the pi user.
I was actually going to recommend the opposite!
Ahhh - Apologies for any confusion. Run those commands as sudo from the pi user.
I always hate how much better traveled my electronics are in comparison to me.Well, my devices are on their way and left the country of origin...I’m trying not to imagine them on a rickshaw taking the scenic route through Asia....but it’s difficult.
Also it actually looks like it is failing when doing it under fermentrack (Still can't do it as sudo but can run it without adding sudo) and getting this error:
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./port3 -I/home/fermentrack/venv/include -I/usr/include/python3.7m -c bluez/btmodule.c -o build/temp.linux-armv7l-3.7/bluez/btmodule.o
In file included from bluez/btmodule.c:20:
bluez/btmodule.h:5:10: fatal error: bluetooth/bluetooth.h: No such file or directory
#include <bluetooth/bluetooth.h>
That sounds right - The missing library is because the Bluetooth libraries are not included by default in the latest version of raspbian. The instructions to fix this to an already installed Fermentrack build are as you noted:
I've added the notes in red to hopefully clarify things.
- Log into your Raspberry Pi via ssh as the pi user (or another user that can run things as `sudo`)
- Run “sudo apt-get install libbluetooth-dev” as the pi user
- Run “sudo su fermentrack” as the pi user (this will change you to be the fermentrack user)
- Run “source ~/venv/bin/activate” as the fermentrack user
- Run “cd ~/fermentrack” as the fermentrack user after running the source command
- Run “pip install -r requirements.txt” as the fermentrack user after changing directories as noted above
While I'm only two drinks in at the moment, I'll bite on all of the above.
You are 100% correct that I was planning to disown this project the exact moment that TiltBridge 2.0 is released. Just for you, however, I'll try to backport as many features as possible. I can't promise they'll be tested and working, but the code will be there!
What board are you trying to compile it for?
The short answer to your question is no, unfortunately. I've written some rudimentary instructions for developers for my ESP8266 port of BrewPi, but they aren't anywhere near complete, and are primarily designed to point developers in the right general direction rather than guide from 0 to a working compile. TiltBridge is written with Platformio for compilation targeting the ESP32 - if you read through the document I linked above and documentation associated with platformio that should get you moving towards the answers to the questions around compiler/libraries/setup. In the platformio universe, all libraries are either in platformio.ini or the lib folder. Platformio takes care of determining the right compiler/toolchain for the board, but I believe the toolchain in use is the xtensa toolchain.
I'm not near a PC with anything compiled in PIO to be able to check, but I believe that it's in a directory under .pioenvs (at least on my mac). There are three files you're referring to - Only two will be created by default (the firmware & partitions files). I'd recommend digging through the platformio documentation for your platform/IDE - in CLion I can hit a button that reads something like "Upload FS" to generate the third (spiffs).Hello Thorrak,
You have the binaries firmware.bin, spiffs.bin, and partitions.bin. When I compile with PlatformIO it loads into my device, but it doesn't seem to create the .bins. Is there another process to create the bins separately?
Thanks for your help.
DB.
So in that case would the newest hardware you recc. be "future proof" for 2.0?
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:
While I'm hoping to have an official announcement by the end of the year, if anyone is interested in ordering the hardware now...
Enter your email address to join: