Native ESP8266 BrewPi Firmware - WiFi BrewPi, no Arduino needed!

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

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

IDMaynard

Active Member
Joined
May 17, 2022
Messages
27
Reaction score
2
I am using all the stuff from your site but not quite sure how to tell what chip I am using (I am pretty illiterate when it comes to this stuff).

Interesting thing is when I install the standard version it install without issue.
 

Attachments

  • flash status.PNG
    flash status.PNG
    33.2 KB · Views: 0
OP
OP
T

Thorrak

Supporting Member
HBT Supporter
Joined
Feb 7, 2016
Messages
3,237
Reaction score
2,136
Location
New York, NY
Interesting thing is when I install the standard version it install without issue.
I am using all the stuff from your site but not quite sure how to tell what chip I am using (I am pretty illiterate when it comes to this stuff).

Interesting thing is when I install the standard version it install without issue.
Do you have a link to the ESP8266 you purchased?
 

IDMaynard

Active Member
Joined
May 17, 2022
Messages
27
Reaction score
2
Which chip are you using?
I am not completely sure how to look that up ( I am pretty illiterate when it comes to this stuff).
I was able to flash the standard profile from the Fermentrack site, not sure if there is a work around to flash the low density version directly through the Pi.
 

IDMaynard

Active Member
Joined
May 17, 2022
Messages
27
Reaction score
2
That’s why - the 4.0.0 has issues with Spiffs/LittleFS partitions. I have a query out to the manufacturer, but alas - no response.

Try the “No Spiffs” version.
I was able to install the firmware to the controller but when I try to use the guided setup in Fermentrack it fails to find any wifi device to connect to. Any suggestions?
 

nhannath

Active Member
Joined
May 1, 2013
Messages
33
Reaction score
9
Location
Charlotte
I have a couple of ISpindels which seem to working fine but cannot get them set up in fermentrack. I've tried several times. Is there some trick I'm missing with naming convention etc.

I've included the screenshots taken from my phone when connected locally to the device.

1656630023995.png


This is the same Ispindel but I tried it 3 different ways in the fermentrack setup. The PI (192.168.0.103) is on the 5G version of the same network?
 

Attachments

  • spindel1.png
    spindel1.png
    116.1 KB · Views: 0
  • spindel2.png
    spindel2.png
    85.3 KB · Views: 0
  • spindel3.png
    spindel3.png
    148.5 KB · Views: 0
  • spindel4.png
    spindel4.png
    104.8 KB · Views: 0

IDMaynard

Active Member
Joined
May 17, 2022
Messages
27
Reaction score
2
I had a similar problem. Had to try about 5 times before the one actually stayed connected to Fermentrack
 

IDMaynard

Active Member
Joined
May 17, 2022
Messages
27
Reaction score
2
I was able to install the firmware to the controller but when I try to use the guided setup in Fermentrack it fails to find any wifi device to connect to. Any suggestions?
Thorrak,
How do I figure out the IP addresses for the controllers I set up via the firmware upload? Not sure how to resolve the problem. All the Youtube videos and documentation assume that the firmware installation are flawless. Any advise when they are not? Asking for those of us who are not programmers but want to use the setup you have created. Appreciate the feedback.
 

pers

Well-Known Member
Joined
Jun 25, 2014
Messages
60
Reaction score
26
Location
NY
I have a couple of ISpindels which seem to working fine but cannot get them set up in fermentrack. I've tried several times. Is there some trick I'm missing with naming convention etc.

I've included the screenshots taken from my phone when connected locally to the device.

View attachment 773539

This is the same Ispindel but I tried it 3 different ways in the fermentrack setup. The PI (192.168.0.103) is on the 5G version of the same network?
If your pi address is 192.168.0.103 then that is the server address. The last screenshots shows you have 192.168.0.3 configured.
 

nhannath

Active Member
Joined
May 1, 2013
Messages
33
Reaction score
9
Location
Charlotte
If your pi address is 192.168.0.103 then that is the server address. The last screenshots shows you have 192.168.0.3 configured.
Thanks Pers - Good spot it should have been 192.168.0.103 .Between trying to work out what the name should be and not giving the device enough time to update the Wi-Fi setting on the ESP-8266 i must have missed it. However I'm still not getting any kind of feedback to fermentrack still.

1656647051254.png


This is how I'm entering the name on device. I also have it set as iSpindel_1 as well on a different entry in fermentrack but no dice.


Again Thanks for the help.
 

pers

Well-Known Member
Joined
Jun 25, 2014
Messages
60
Reaction score
26
Location
NY
Thanks Pers - Good spot it should have been 192.168.0.103 .Between trying to work out what the name should be and not giving the device enough time to update the Wi-Fi setting on the ESP-8266 i must have missed it. However I'm still not getting any kind of feedback to fermentrack still.

View attachment 773575

This is how I'm entering the name on device. I also have it set as iSpindel_1 as well on a different entry in fermentrack but no dice.


Again Thanks for the help.
I'm honestly not the right person for helping past the basics. Can't remember how I did mine with the names but try putting the exact name from the iSpindel config on both entries.

Sorry but that's all I got. Someone else who knows the right answer will reply.
 

IDMaynard

Active Member
Joined
May 17, 2022
Messages
27
Reaction score
2
Thanks Pers - Good spot it should have been 192.168.0.103 .Between trying to work out what the name should be and not giving the device enough time to update the Wi-Fi setting on the ESP-8266 i must have missed it. However I'm still not getting any kind of feedback to fermentrack still.

View attachment 773575

This is how I'm entering the name on device. I also have it set as iSpindel_1 as well on a different entry in fermentrack but no dice.


Again Thanks for the help.
 

IDMaynard

Active Member
Joined
May 17, 2022
Messages
27
Reaction score
2
nhannath,

In you image the first line "Name" is whatever you want the iSpindel to show up as in Fermentrack, the last line "Name on device" must match what you named the iSpindel when you set it up (typically "iSpindel_000" or something to that effect), you can always power cycle the iSpindel and then look at the list of wifi devices on your laptop/desktop and it will show you the current name of the device.
 

pube

New Member
Joined
Jul 2, 2022
Messages
3
Reaction score
0
Location
czech
Hi! I have an calibrated ispindel, i use direct to brewfather. It sends the correct gravity value.
I want send the gravity to the brewpiless, but the values is absolute incorrect.
In gravity menu the ispindel is on, all other is off.
What can i doing, to the correct value?
Sorry for my bad english.
 

IDMaynard

Active Member
Joined
May 17, 2022
Messages
27
Reaction score
2
Hi! I have an calibrated ispindel, i use direct to brewfather. It sends the correct gravity value.
I want send the gravity to the brewpiless, but the values is absolute incorrect.
In gravity menu the ispindel is on, all other is off.
What can i doing, to the correct value?
Sorry for my bad english.

Can you create an offset in brewpiless to compensate back to the ispindel value? Or is there a correction adjustment in brewpiless that adjusts the value of the ispindel?
 
OP
OP
T

Thorrak

Supporting Member
HBT Supporter
Joined
Feb 7, 2016
Messages
3,237
Reaction score
2,136
Location
New York, NY
Looks like that was successful, appreciate the help.

Glad to hear that worked. I had some time this morning, so I tried seeing if I could find a way to force-flash a SPIFFS partition onto the Lolin v4, but unfortunately there doesn't seem to be a solution yet. For now, "no spiffs" is the only option".

Thorrak,
How do I figure out the IP addresses for the controllers I set up via the firmware upload? Not sure how to resolve the problem. All the Youtube videos and documentation assume that the firmware installation are flawless. Any advise when they are not? Asking for those of us who are not programmers but want to use the setup you have created. Appreciate the feedback.

Not sure if you got this resolved, but when you (newly) flash the firmware and it initializes, you should see a WiFi hotspot spin up to which you can connect your phone or other device. Once connected to the hotspot, you should automatically get redirected to the configuration portal - if that's not happening automatically, try to go to http://192.168.4.1/ .

Once you've gone through the configuration portal then you should get the IP address on your home network printed to the LCD screen every time your controller reboots.

Hi! I have an calibrated ispindel, i use direct to brewfather. It sends the correct gravity value.
I want send the gravity to the brewpiless, but the values is absolute incorrect.
In gravity menu the ispindel is on, all other is off.
What can i doing, to the correct value?
Sorry for my bad english.

BrewPiLess is a different project available over here. This thread is for the BrewPi-ESP8266 firmware, which doesn't integrate with ispindel.

I also manage a project called Fementrack which does integrate with iSpindels -- if that's what you're looking for help with, the thread is over here.
 

IDMaynard

Active Member
Joined
May 17, 2022
Messages
27
Reaction score
2
Glad to hear that worked. I had some time this morning, so I tried seeing if I could find a way to force-flash a SPIFFS partition onto the Lolin v4, but unfortunately there doesn't seem to be a solution yet. For now, "no spiffs" is the only option".



Not sure if you got this resolved, but when you (newly) flash the firmware and it initializes, you should see a WiFi hotspot spin up to which you can connect your phone or other device. Once connected to the hotspot, you should automatically get redirected to the configuration portal - if that's not happening automatically, try to go to http://192.168.4.1/ .

Once you've gone through the configuration portal then you should get the IP address on your home network printed to the LCD screen every time your controller reboots.



BrewPiLess is a different project available over here. This thread is for the BrewPi-ESP8266 firmware, which doesn't integrate with ispindel.

I also manage a project called Fementrack which does integrate with iSpindels -- if that's what you're looking for help with, the thread is over here.
I was able to resolve the issue of not seeing the Lolin v4 devices. Got them communicating and I can see them in Fermentrack. Still working though a few more items that I am not sure about, but I will keep plugging away and see if I can resolve them.
 

BrewCityBaller

Well-Known Member
Joined
Oct 8, 2012
Messages
352
Reaction score
76
Location
Northwest Chicago Burbs
I picked up a LOLIN D1 Mini V4.0.0 ESP8266 and am planning to replace my Arduino BrewPi controller. However, I cannot for the life of me find a pinout/hook-up diagram for the temp sensor bus, heating and cooling pins.

Does anyone have a pinout or hook-up diagram for the most recent generation of ESP8266 boards?
 
OP
OP
T

Thorrak

Supporting Member
HBT Supporter
Joined
Feb 7, 2016
Messages
3,237
Reaction score
2,136
Location
New York, NY
I picked up a LOLIN D1 Mini V4.0.0 ESP8266 and am planning to replace my Arduino BrewPi controller. However, I cannot for the life of me find a pinout/hook-up diagram for the temp sensor bus, heating and cooling pins.

Does anyone have a pinout or hook-up diagram for the most recent generation of ESP8266 boards?

The pinout for the D1 Mini v4.0.0 is the same as the pinout for the earlier D1 minis in the series (and is the footprint I designed all my PCBs around)

One thing I will note - I DO NOT recommend the v4.0.0 boards if you can avoid them -- they have a bug with the flash that prevents being able to flash a SPIFFS/LittleFS partition. If you already have one, you can use it by using the "no spiffs" firmware that I've released, but I recommend against them if they can be avoided. I've messaged the manufacturer multiple times, but there is no response.
 

IDMaynard

Active Member
Joined
May 17, 2022
Messages
27
Reaction score
2
The pinout for the D1 Mini v4.0.0 is the same as the pinout for the earlier D1 minis in the series (and is the footprint I designed all my PCBs around)

One thing I will note - I DO NOT recommend the v4.0.0 boards if you can avoid them -- they have a bug with the flash that prevents being able to flash a SPIFFS/LittleFS partition. If you already have one, you can use it by using the "no spiffs" firmware that I've released, but I recommend against them if they can be avoided. I've messaged the manufacturer multiple times, but there is no response.
 

IDMaynard

Active Member
Joined
May 17, 2022
Messages
27
Reaction score
2
The pinout for the D1 Mini v4.0.0 is the same as the pinout for the earlier D1 minis in the series (and is the footprint I designed all my PCBs around)

One thing I will note - I DO NOT recommend the v4.0.0 boards if you can avoid them -- they have a bug with the flash that prevents being able to flash a SPIFFS/LittleFS partition. If you already have one, you can use it by using the "no spiffs" firmware that I've released, but I recommend against them if they can be avoided. I've messaged the manufacturer multiple times, but there is no response.
 
OP
OP
T

Thorrak

Supporting Member
HBT Supporter
Joined
Feb 7, 2016
Messages
3,237
Reaction score
2,136
Location
New York, NY

BrewCityBaller

Well-Known Member
Joined
Oct 8, 2012
Messages
352
Reaction score
76
Location
Northwest Chicago Burbs
Ah - hm. @BrewCityBaller - Is the issue that I refer to all the pins by their NodeMCU number (e.g. D0, D1, D2) and the Lolin v4.0.0 has replaced that with the actual ESP pin numbers?

If so, here's a map of what all the pins are linked to (and what they're called on both boards).

Yes, this was the largest issue. All of this feedback was very helpful though. Thank you!
 

BrewCityBaller

Well-Known Member
Joined
Oct 8, 2012
Messages
352
Reaction score
76
Location
Northwest Chicago Burbs
One last question: I got everything working and so I got ambitious and installed a physical i2c LCD screen. The screen works and displays the correct information, but it does not update. It displays whatever information was on there at startup. Any idea why this might be the case?
 
OP
OP
T

Thorrak

Supporting Member
HBT Supporter
Joined
Feb 7, 2016
Messages
3,237
Reaction score
2,136
Location
New York, NY
One last question: I got everything working and so I got ambitious and installed a physical i2c LCD screen. The screen works and displays the correct information, but it does not update. It displays whatever information was on there at startup. Any idea why this might be the case?
Nope. Never seen that before. Am I correct to assume that you are properly level-shifting the I2C pins?
 

BrewCityBaller

Well-Known Member
Joined
Oct 8, 2012
Messages
352
Reaction score
76
Location
Northwest Chicago Burbs
Nope. Never seen that before. Am I correct to assume that you are properly level-shifting the I2C pins?

Hmmm I haven't exercised my EE degree in a while. Like a pull-up/down resistor? If so, no. I have the LCD hooked-up like this pic:

Edit: This is not correct, as I noted below, I am mixing 3.3V and 5V. I will grab a level shifter.
 

Attachments

  • 1657494874651.png
    1657494874651.png
    559.9 KB · Views: 1
Last edited:
OP
OP
T

Thorrak

Supporting Member
HBT Supporter
Joined
Feb 7, 2016
Messages
3,237
Reaction score
2,136
Location
New York, NY
Yesterday I released BrewFlasher 1.3.0 for Windows and Mac OS on GitHub. This release adds support for the ESP32-S2 chipset and the latest esptool.

With the release of BrewFlasher support for this chipset, I also posted v14 BrewPi firmware for the ESP32-S2 to GitHub and BrewFlasher. My intent is for this firmware to allow the LoLin S2 Mini to serve as a drop-in, pin-compatible replacement for existing ESP8266 BrewPi builds. The WiFi version of this firmware integrates the Kasa WiFi switch support from the ESP32 firmware, in addition to getting the other benefits of the more modern platform.

For users that prefer serial (wired) connections between their Fermentrack/BrewPi-Remix builds and their controllers, there is a copy of the serial firmware for the ESP32-S2 as well, though this adds no additional features/support beyond those available on the ESP8266 (D1 Mini).
 
OP
OP
T

Thorrak

Supporting Member
HBT Supporter
Joined
Feb 7, 2016
Messages
3,237
Reaction score
2,136
Location
New York, NY
Ahhh thought more about it. No. I have the LCD connected to 5V Vin and the I2C pins are getting 3.3V signal. Is that what you mean?

Yep, exactly. You need a level shifter to get (reliable) use of the I2C backpacks. There are bidirectional level shifters available that can easily provide this -- my PCB designs either integrate one of these "backpack" boards, or - in the case of the SMD design - integrate the hardware on the PCB itself.
 

bscuderi

Well-Known Member
Joined
Feb 27, 2009
Messages
137
Reaction score
21
Location
Phoenix
Since brewpi was the first project to get me into small electronics I thought it would be fun to come back to and revamp my builds. So I’ve been working on a custom pcb that could make making a brewpi pretty easy for some people. It’s got a 5v power supply. Extra neutral spots to clean up wiring. And is opto isolated. I’m thinking I’ll add a level shifter for the display cause I didn’t think about it cause my old one didn’t have it and works okay but I suppose it’s asking for trouble. and I think I’ll use the s2 mini instead since you added that support. Making a 3D printed case for it all. Any other things that would be helpful on a pcb or any glaring problems?
 

Attachments

  • 80E19580-69FF-41FB-B630-94B48F8C687C.jpeg
    80E19580-69FF-41FB-B630-94B48F8C687C.jpeg
    1.3 MB · Views: 0
OP
OP
T

Thorrak

Supporting Member
HBT Supporter
Joined
Feb 7, 2016
Messages
3,237
Reaction score
2,136
Location
New York, NY
Since brewpi was the first project to get me into small electronics I thought it would be fun to come back to and revamp my builds. So I’ve been working on a custom pcb that could make making a brewpi pretty easy for some people. It’s got a 5v power supply. Extra neutral spots to clean up wiring. And is opto isolated. I’m thinking I’ll add a level shifter for the display cause I didn’t think about it cause my old one didn’t have it and works okay but I suppose it’s asking for trouble. and I think I’ll use the s2 mini instead since you added that support. Making a 3D printed case for it all. Any other things that would be helpful on a pcb or any glaring problems?
You and I had a similar idea, I think. ;) I haven’t finished/posted my design for this yet, but the two things I added - both for circuit protection - were fuses on the AC lines and a varistor for the same. I also am using a 2A supply rather than 1A, but my design targets the ESP32.

I strongly recommend targeting the S2 over the ESP8266, but of course from a PCB perspective the two devices are pin-compatible, so there’s nothing to “target” that would change the design.

At some point I may make use of the extra row of pins to add TFT support to the S2, but at that point you might as well go to the full ESP32
 

bscuderi

Well-Known Member
Joined
Feb 27, 2009
Messages
137
Reaction score
21
Location
Phoenix
You and I had a similar idea, I think. ;) I haven’t finished/posted my design for this yet, but the two things I added - both for circuit protection - were fuses on the AC lines and a varistor for the same. I also am using a 2A supply rather than 1A, but my design targets the ESP32.

I strongly recommend targeting the S2 over the ESP8266, but of course from a PCB perspective the two devices are pin-compatible, so there’s nothing to “target” that would change the design.

At some point I may make use of the extra row of pins to add TFT support to the S2, but at that point you might as well go to the full ESP32
Hahaha awesome great minds think alike. Yeah I’ve been using the s2 mini in tons of projects I like them a lot. I would love to collaborate on this i have used the s2 in other pcbs I had to draw a custom component on easyeda. Once I did that they have been easy to add to pcbs. I just tweaked my design and added logic level shifter to the circuit for the display. I figured I might as well add it onto my pcb since only two channels need shifted I have the commercial ones but those take up space would be another component to buy and all have four channels lol. Plus it’s just a couple resistors and mofset. Here’s the sketch so far. Also I purchased some of these displays to play with OLED displays based on the SSD1306. Im wondering what the feezibility of adding support for these would be as they seem pretty cool.
 

Attachments

  • 4B7186D4-81D0-4C4A-AE41-8A3E8D575948.jpeg
    4B7186D4-81D0-4C4A-AE41-8A3E8D575948.jpeg
    4.5 MB · Views: 0
Last edited:
Top