bbq temperature and meat temperature

Moderators: grovkillen, Stuntteam, TD-er

Message
Author
megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: bbq temperature and meat temperature

#51 Post by megamarco83 » 23 Aug 2021, 21:10

ok so now that i'm using temperatures from 25 to 95°C i guess that i'm ok.
my value of ADC at 23°C is 120 (value see in espeasy)
value of ADC at 93°C is 2105 (value see in espeasy)
what do you think?

p.s. better to use directly ADC pins of ESP32 or better to use ADS1115 ?

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: bbq temperature and meat temperature

#52 Post by TD-er » 23 Aug 2021, 23:22

ADS1115 is better I think, mainly because it is more predictable at the ends of the range and also that it is 16 bits.
Not sure if the last 4 bits of the ADC will be mainly noise if you're using long cables, so maybe you should add some filtering. (N.B. the internal ADC does use filtering, so for low sample rates it is almost "noise free")

megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: bbq temperature and meat temperature

#53 Post by megamarco83 » 23 Aug 2021, 23:37

TD-er wrote: 23 Aug 2021, 23:22 ADS1115 is better I think, mainly because it is more predictable at the ends of the range and also that it is 16 bits.
Ok understand about ADS can be more precise at the end of edge i guess you are referring to 4010 value of ADC... But in the middle range (i mean from 250 to 2100 ADC value) usage of ADS is comparable to internal ADC of esp32 or also in this range is preferable to use ADS?

also because inside internal ADC plugin there is the option for "overstamping" inside pulgin of ADS there isn't this option for overstamping
and as far as i understand the overstamping helping so much on "filtering" and harmonize results, isn't it?

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: bbq temperature and meat temperature

#54 Post by TD-er » 23 Aug 2021, 23:52

The (internal) ADC plugin does sample the ADC at a higher rate.
So even at 1s interval you still have a lot more samples to work with.

Those samples are just averaged and if I'm not mistaken the highest and lowest values are not taken into account to rule out a single fluke.
So the values are filtered quite a bit and even on 5 minutes intervals you can see the discrete ADC steps if you put the values in a chart.

The ADS chip itself does allow for some internal oversampling, but I have to check the code to see if it is being used and if so to what filtering it is set.

I know the internal ADC isn't perfectly linear, so that's somethig the ADS chip may be better at.

Another point in favour of the external ADS chips is that the ESP modules may have some resistor present to adapt the range from 0...1V to 0...3V3.
But those resistors may have some tolerance (typically 5% for cheap resistors), which adds the need for calibration per module and maybe even per GPIO pin.

megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: bbq temperature and meat temperature

#55 Post by megamarco83 » 24 Aug 2021, 00:24

Ok thanks again for you fast and very clear explanations. If i can ask for a favor... If you can check the Ads1115 plugin code to see if it is imolemented the "overstamping" to filtered incoming data and have a sort of average :)
I'm completely lost on coding such as things...

Last thought is abouth the NTC probe...i grab them from my bbq thermometer that has 4 probes.
I discovered that this probes are 100kohm
And my thermometer can work from 20degree to 250degree (or 300degree not remember exacyly right now)
As i wrote i used a 10k resistor from ADC connector and GND.
But i see adc=230 at 25degree and adc=2100 at 93degree.
Now if max value of adc as 4060 it sems that i can not reach same max temperature of my bbq thermometer i i guess that the gulty is the 10k resistor, correct?
Second thought is about how works my thermometer... I guess it measure the voltage like i do with espeasy... But why the numbers displayed by the bbq thermometer is "very stable" and the number displayed by espeasy are variable? Using the flag of overstamping it is much better in therms of stability.
But why there is this difference? Same probe, but different harware/software of course... But what i can do to improve it on esoeasy?
1 using Ads1115 instead of internal adc (but if inside ads code there is something like the overstamping)
2 should i change the 10k resistor with something different?
3....?
Thanks for you effort and to your knowledge sharing!!!!

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: bbq temperature and meat temperature

#56 Post by TD-er » 24 Aug 2021, 00:48

The NTC + resistor in series does not give a linear response. (apart from the non-linear behavior of the NTC itself)

You have to compute yourself using a spreadsheet to see its behavior.

I attached an Excel sheet for you to play with, one which I made for a level sensor ranging from 0 - 280 Ohm.
It is the same schematics as you're using, one constant resistor (Rconst) and one variable (R sensor)
Since I also needed to keep track of the power through the sensor, I also made a chart for it. (P sensor)

The voltage chart is showing both options:
- GND --- Rconst --- GPIO --- Sensor --- 3V3
- 3V3 --- Rconst --- GPIO --- Sensor --- GND

You can change the voltage in field $I$2 and the Rconst value in field $J$2

This does show the non-linear behavior of the voltage divider you make.

Apart from that the NTC itself isn't linear, so you have to look into the datasheet of the NTC to see what relation it has between temperature and resistance.

And if you want to know the max. temperature you can measure, you have to try it.
Not sure how to calibrate it to high temperatures like 300 degree.
I don't know what has a boiling temperature around 300 degree C.

Also if you use a solder joint, that one may not withstand 300C.


About why the commercial temperature displays show a more stable output... they do take a number of samples and apply some filtering to it.

Maybe they also have a small capacitor over the ADC input and the sensor then tries to measure a number of samples until the values don't change anymore. (or during some timeout)
Attachments
Weerstand bepaling level sensor.zip
(18.54 KiB) Downloaded 308 times

megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: bbq temperature and meat temperature

#57 Post by megamarco83 » 01 Sep 2021, 18:44

hi, some improvements :-)

i'm using ESP32 with espeasy of course, and ADS1115 for the 4 meat probes (NTC 100k) and MAX6675 with thermocouple type k for BBQ temperature.

it works well, now i'll try to next in next bbq session :)

thanks to all for contribute!!!!!!!!
IMG_20210901_183945.jpg
IMG_20210901_183945.jpg (2.3 MiB) Viewed 17482 times
IMG_20210901_183913.jpg
IMG_20210901_183913.jpg (2.31 MiB) Viewed 17482 times
IMG_20210901_183902.jpg
IMG_20210901_183902.jpg (2.29 MiB) Viewed 17482 times

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: bbq temperature and meat temperature

#58 Post by TD-er » 01 Sep 2021, 20:02

Ah great :)
Now good weather for testing.

megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: bbq temperature and meat temperature

#59 Post by megamarco83 » 10 Sep 2021, 16:39

TD-er wrote: 01 Sep 2021, 20:02 Ah great :)
Now good weather for testing.
ciao!
i got some test, it seams that all is working very good!
i'm very happy and i would like to say thank you for your help!

now i just thinking on a small upgrade :)
i would like to have the possibility to power the esp with a rechargeable battery and also keeping the possibility to using usb as power supply.
i find this:
https://it.aliexpress.com/item/40000387 ... 5749%22%7D
not sure to understand if with the device liked above i can use the connector on the board to connect a battery like this:
https://it.aliexpress.com/item/10050029 ... 2544%22%7D

if i substitute my actual nodemcu esp32 with this one, can i use usd connector on this esp to charge the battery and if i remove the usb cable the esp32 will be powered by the battery?
i need to add something or i have to simply connect the battery to this board?
and espeasy can monitor the level of battery charge?

thanks!

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: bbq temperature and meat temperature

#60 Post by TD-er » 10 Sep 2021, 16:53

Why not use one of those cheap USB power banks?

megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: bbq temperature and meat temperature

#61 Post by megamarco83 » 10 Sep 2021, 17:01

witch ones? :-)
and how i can calculate the mA needed to understand how big should it be to have an autonomy of 10hours?

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: bbq temperature and meat temperature

#62 Post by TD-er » 10 Sep 2021, 18:02

Depends on a lot of factors :)
But generally speaking, with only the ESP running and ECO mode disabled, you should expect roughly 80 mA on average.
With ECO mode enabled, and not a lot of WiFi traffic, this can drop to 25 - 30 mA.

The ESP boards have a linear voltage regulator, so the current at 5V is the same as on 3v3. (thus not really efficient ;) )

This means 1 hour takes 80 mAh ;)
10 hours need 800 mAh
Take into account the inefficiency of the power bank electronics and that you don't want to discharge it completely.
So you should go for 2000 mAh minimum if you need to power it for 10h.

megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: bbq temperature and meat temperature

#63 Post by megamarco83 » 10 Sep 2021, 19:16

thanks for information!
just a curiosity....with espeasy i guess that i can't monitor the charge level of power bank...correct?

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: bbq temperature and meat temperature

#64 Post by Ath » 10 Sep 2021, 19:28

When using a 'VCC' build, the analog input of the ESP is configured to measure the voltage of the CPU. That's quite a usable option for monitoring, I guess ;)

Oh, and you can measure it using the SysInfo plugin
/Ton (PayPal.me)

megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: bbq temperature and meat temperature

#65 Post by megamarco83 » 10 Sep 2021, 19:51

Ath wrote: 10 Sep 2021, 19:28 When using a 'VCC' build, the analog input of the ESP is configured to measure the voltage of the CPU. That's quite a usable option for monitoring, I guess ;)

Oh, and you can measure it using the SysInfo plugin
But let le understand... How i can use the vcc pin to measure the voltage of cpu if i will use a power bank through usb connector of nodemcu esp32?

There is a bin file with _vcc also for esp32?
Thanks

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: bbq temperature and meat temperature

#66 Post by Ath » 10 Sep 2021, 21:00

Ah, missed the ESP32 component here, there is no VCC version for ESP32 available, indeed. But you have multiple analog inputs available on ESP32, there's a tutorial here: https://randomnerdtutorials.com/esp32-a ... duino-ide/
As we have WiFi enabled in ESPEasy, you can only use the ADC1 pins, and you will have to use the Analog input plugin with an external connection to VCC, and possibly a voltage divider when measuring 5V as the inputs are only 3.3V tolerant.
/Ton (PayPal.me)

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: bbq temperature and meat temperature

#67 Post by TD-er » 11 Sep 2021, 00:42

When using an USB power bank, measuring the charge level is quite hard to accomplish.
The only way to measure it, is measuring the cell voltage and that means opening the power bank.
Still one advantage of a power bank is that it is slightly less dangerous compared to simply building your own using bare lithium cells.

You cannot measure it using the _VCC builds for ESP8266 as that's measuring the Vcc pin of the ESP, which does not reflect the battery voltage but rather the output of the voltage regulator.
And I hope that's constant ;)
Using an analog input on the ESP32 is possible, just make sure you use some resistors to get the voltage down.
The ESP32 can handle 0 ... 800 mV and if you set the attenuation levels on the ESP32 you can get upto 3.5x that range.

megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: bbq temperature and meat temperature

#68 Post by megamarco83 » 19 Oct 2021, 23:33

hi, if i want to substitue my oled 1,3 inch with this one 240x320 2.4" SPI TFT LCD ILI9341without touch screen

https://www.aliexpress.com/item/3299280 ... lbex7&mp=1

it's supported by espeasy?
in can have better visibility with this one?

thanks

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: bbq temperature and meat temperature

#69 Post by Ath » 19 Oct 2021, 23:39

That device is supported, but probably only in the 'display' builds, so you may need a custom build to combine it with the bbq thermo couple measurements
/Ton (PayPal.me)

megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: bbq temperature and meat temperature

#70 Post by megamarco83 » 19 Oct 2021, 23:59

mm that's a pity that display build not contain the thermocouple plugin...
i'm not able to compile espeasy build from zero adding plugin...there is a simple way to do it?

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: bbq temperature and meat temperature

#71 Post by Ath » 20 Oct 2021, 12:20

Tell me what plugins you are using, and I'll try and create a special build for you in the evening (CET).
/Ton (PayPal.me)

megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: bbq temperature and meat temperature

#72 Post by megamarco83 » 20 Oct 2021, 13:45

thanks!!!
i need to go back at home....i'll let you know this night
thanks for help

megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: bbq temperature and meat temperature

#73 Post by megamarco83 » 21 Oct 2021, 12:11

Ath wrote: 20 Oct 2021, 12:20 Tell me what plugins you are using, and I'll try and create a special build for you in the evening (CET).
hi, these are the plugin that i'm currently using:
Screenshot 2021-10-21 at 12-05-57 BBQ_esp32.png
Screenshot 2021-10-21 at 12-05-57 BBQ_esp32.png (57.65 KiB) Viewed 16090 times
so:
  • Environment - Thermosensors
    Analog input - internal
    Generic - Dummy Device
    Display - OLED SSD1306
    Analog input - ADS1115
    and of course the ILI9341 for new lcd screen that i would like to use
i would like to buy this one:
https://www.aliexpress.com/item/3299280 ... LZa4s&mp=1

do you suggest to buy the version with touch screen support or not?

do you think that it will be more visible than an OLED SSD1306 1.3 inches?
thanks

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: bbq temperature and meat temperature

#74 Post by Ath » 21 Oct 2021, 13:04

megamarco83 wrote: 21 Oct 2021, 12:11
Ath wrote: 20 Oct 2021, 12:20 Tell me what plugins you are using, and I'll try and create a special build for you in the evening (CET).
hi, these are the plugin that i'm currently using:
so:
  • Environment - Thermosensors
    Analog input - internal
    Generic - Dummy Device
    Display - OLED SSD1306
    Analog input - ADS1115
    and of course the ILI9341 for new lcd screen that i would like to use
That is on an ESP32, right?
megamarco83 wrote: 21 Oct 2021, 12:11 i would like to buy this one:
https://www.aliexpress.com/item/3299280 ... LZa4s&mp=1

do you suggest to buy the version with touch screen support or not?

do you think that it will be more visible than an OLED SSD1306 1.3 inches?
The 2.4" TFT is at least better readable because of the larger size (or it is related to my eyes aging :lol:), and you have more pixels and 65k-colors available to show more data.

For that 1 $/€ difference I'd have one with touch screen, as the plugin for touch (P099) does support defining button-like touch areas (I created that part of the plugin), that could be quite useful. (I'll include that plugin ;))
/Ton (PayPal.me)

megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: bbq temperature and meat temperature

#75 Post by megamarco83 » 21 Oct 2021, 15:22

Ath wrote: 21 Oct 2021, 13:04 for new lcd screen that i would like to use[/list]
That is on an ESP32, right?
yes, correct!
actually i'm on espEasy build of mega-20210802
if i remember correctly i flashed: ESP_Easy_mega_20210802_normal_ESP32_4M316k-factory.bin
can now update my esp32 with new build directly trough web page, so without losing my configuration?
p.s. is it possible to have also same configuration but with esp8266 4Mb ?
thanks
Ath wrote: 21 Oct 2021, 13:04
The 2.4" TFT is at least better readable because of the larger size (or it is related to my eyes aging :lol:), and you have more pixels and 65k-colors available to show more data.

For that 1 $/€ difference I'd have one with touch screen, as the plugin for touch (P099) does support defining button-like touch areas (I created that part of the plugin), that could be quite useful. (I'll include that plugin ;))
wow i was not aware about the possibility to have the touch plug-in, so yes, please include it :)

if i would like to try to do it, where i can start from?
i have the Gitpod (i used to compile tasmota, but it's very simple here, just comment / uncomment the plugin that i want to include)
Can i use Gitpod to compile EspEasy adding plugin that i need?

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: bbq temperature and meat temperature

#76 Post by Ath » 21 Oct 2021, 22:18

So, I've switched to my development branch for P116 that also holds many improvements for the 2.4"ILI9341 display, so you will be a beta-tester for these improvements :D
For an updated help, the Read the Docs link isn't updated yet, but you can find a pdf preview for ST77xx that explains most of the changes for the ILI9341 display too (the old RTD docs are woefully inadequate).
Built the Custom build-type, and also added the other plugins mentioned above.
ESP32:
ESP_Easy_mega_20211021_custom_ESP32_4M316k.zip
(1.89 MiB) Downloaded 251 times
ESP8266:
ESP_Easy_mega_20211021_custom_ESP8266_4M1M.zip
(597.66 KiB) Downloaded 259 times
Documentation for ST77xx displays:
/Ton (PayPal.me)

megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: bbq temperature and meat temperature

#77 Post by megamarco83 » 25 Oct 2021, 22:04

thanks Ath!
i'm waiting to receive the lcd to test your build!
thanks again....and unlucky to you i'll come back for sure with some question when i could use it :D

megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: bbq temperature and meat temperature

#78 Post by megamarco83 » 10 Nov 2021, 01:16

Ath wrote: 21 Oct 2021, 22:18 So, I've switched to my development branch for P116 that also holds many improvements for the 2.4"ILI9341 display, so you will be a beta-tester for these improvements :D
For an updated help, the Read the Docs link isn't updated yet, but you can find a pdf preview for ST77xx that explains most of the changes for the ILI9341 display too (the old RTD docs are woefully inadequate).
Built the Custom build-type, and also added the other plugins mentioned above.
ESP32:
ESP_Easy_mega_20211021_custom_ESP32_4M316k.zip
ESP8266:
ESP_Easy_mega_20211021_custom_ESP8266_4M1M.zip
Documentation for ST77xx displays:
Display - ST7735_ST7789 TFT — ESP Easy 2.1-beta1 documentation.zip
hi Ath finally i receive my ILI9341 display: https://it.aliexpress.com/item/32992800 ... 4c4dziuIRj
i ordered the touch version as you suggested me :)
i connect the display but i can see nothing on it
i test also to send a command from command box like:

Code: Select all

tft,txtfull,0,0,HelloWorld
but i don't see nothing on display
my connections on esp8266 (nodemcu) are:
ILI9341 -> ESP
vcc - 3v3
gnd - gnd
CS - D2
RESET - d3
DC - D4
SDI(MOSI) - D7
SCK - D5
led - rx
SDO(MISO) - not connected
T_CLK - not connected
T_CS - not connected
T_DIN - not connected
T_D0 - not connected
T_IRQ - not connected
Screenshot 2021-11-10 at 01-16-05 BBQ_138.png
Screenshot 2021-11-10 at 01-16-05 BBQ_138.png (94.84 KiB) Viewed 15578 times

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: bbq temperature and meat temperature

#79 Post by Ath » 10 Nov 2021, 07:37

Is the display completely black or can you see the backlight being activated? (That's the most common problem, IFAIK)
You can connect the led connection to 3V3 (instead of D9) without worries, then it should be lit to max brightness.
/Ton (PayPal.me)

megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: bbq temperature and meat temperature

#80 Post by megamarco83 » 10 Nov 2021, 13:04

Ath wrote: 10 Nov 2021, 07:37 Is the display completely black or can you see the backlight being activated? (That's the most common problem, IFAIK)
You can connect the led connection to 3V3 (instead of D9) without worries, then it should be lit to max brightness.
i can see the display backlight on (when it is connected to D9) and if inside the plugin i change the percentage moving from 100 to 25 or 50 i can see that the backlight decrease, but still not visible nothing.

i test also to connect led connection to 3v3
but in this case the backlight intensity is not changing...and also in this case i can't see nothing on display (completely white)

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: bbq temperature and meat temperature

#81 Post by Ath » 10 Nov 2021, 13:30

Have you checked your wiring? Especially when using breadboard wires, these are known to often have quite poor connections.
It is possible that the imprint on the board is wrong, and the SDI and SDO connections are swapped. I usually call this 'china quality', but it is a fact to account for when ordering from our friends at Ali.
/Ton (PayPal.me)

megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: bbq temperature and meat temperature

#82 Post by megamarco83 » 10 Nov 2021, 15:45

Ath wrote: 10 Nov 2021, 13:30 Have you checked your wiring? Especially when using breadboard wires, these are known to often have quite poor connections.
It is possible that the imprint on the board is wrong, and the SDI and SDO connections are swapped. I usually call this 'china quality', but it is a fact to account for when ordering from our friends at Ali.
this is my conecction:
ILI9341 -> ESP
vcc - 3v3
gnd - gnd
CS - D2
RESET - d3
DC - D4
SDI(MOSI) - D7
SCK - D5
led - rx
SDO(MISO) - not connected
T_CLK - not connected
T_CS - not connected
T_DIN - not connected
T_D0 - not connected
T_IRQ - not connected

as you can see i not connect SDO (MISO)
but i try also to connect it at D6...and nothing change
i'm pretty sure about cable (i'm not using breadboard but connecting doupont cable from LCD to nodemcu)

and about plugin i'm using: Display - TFT 2.4 inches ILI9341
i see that there is also Display - ST7735/ST7789 TFT [DEVELOPMENT] what are the differences?
and do you know other test / connection that i can try?
the only working thing is connection LED pin to a GPIO (i use RX D9) and i see that the backlight change accordingly to what i set as percentage inside the plugin

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: bbq temperature and meat temperature

#83 Post by TD-er » 10 Nov 2021, 16:22

D3 is GPIO-0, which is pulled-up on the board.
I don't know what state is needed to reset it, but it might be that the board never gets reset?
D4 (GPIO-2) is often also used to control the onboard LED. So make sure it not assigned to control the status LED in ESPEasy.
No idea what the "DC" signal does here though.

D2 (GPIO-4) is often assigned to I2C in default setups, so make sure it is now not assigned to I2C in the ESPEasy configuration.

megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: bbq temperature and meat temperature

#84 Post by megamarco83 » 10 Nov 2021, 18:02

TD-er wrote: 10 Nov 2021, 16:22 D3 is GPIO-0, which is pulled-up on the board.
I don't know what state is needed to reset it, but it might be that the board never gets reset?
D4 (GPIO-2) is often also used to control the onboard LED. So make sure it not assigned to control the status LED in ESPEasy.
No idea what the "DC" signal does here though.

D2 (GPIO-4) is often assigned to I2C in default setups, so make sure it is now not assigned to I2C in the ESPEasy configuration.
hey thanks for help me on this.
i already check it and for me it seams ok...what do you think?
Screenshot 2021-11-10 at 18-01-33 BBQ_139.png
Screenshot 2021-11-10 at 18-01-33 BBQ_139.png (63.43 KiB) Viewed 15541 times

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: bbq temperature and meat temperature

#85 Post by TD-er » 10 Nov 2021, 20:27

Just checked and it seems like you're using the same pins as described here: https://simple-circuit.com/esp8266-node ... t-display/

So apart from double checking the connections, I really don't see what can be wrong here.

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: bbq temperature and meat temperature

#86 Post by Ath » 10 Nov 2021, 22:24

It is worth the troubles to actually check the wires using a multimeter, as I've had dupont wires fail on me too, besides the crappy breadboard wires :o
/Ton (PayPal.me)

megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: bbq temperature and meat temperature

#87 Post by megamarco83 » 11 Nov 2021, 12:34

today i check the wire => use a multimeter and all are not broken (just test every cable continuity)

then i try to use another esp8266 moving to a wemoss mini and i got same result

so i try to use the latest fw in github...instead of using the fw provided by Ath just to give a try
i used ESP_Easy_mega_20211105_display_ESP8266_4M1M.bin
but when i select TFT plugin i see that it's incomplete the web interface:
Screenshot 2021-11-11 at 12-15-46 ESP_Easy_IP35.png
Screenshot 2021-11-11 at 12-15-46 ESP_Easy_IP35.png (21.88 KiB) Viewed 15478 times
as you can see there aren't the full options....
anyway i test to send this command from command box:

Code: Select all

tft,txtfull,0,0,HelloWorld

Code: Select all

http://192.168.0.35/tools?cmd=http%3A%2F%2F192.168.0.35%2Ftools%3Fcmd%3Dtft%252Ctxtfull%252C0%252C0%252CHelloWorld
but display still showing nothing
i try to use also the touch display (my display is a touch version you can see the link of the product that i buy in some message above, and it's a ILI934 touch display)
but also in this case no results
Screenshot 2021-11-11 at 12-15-46 ESP_Easy_IP35.png
Screenshot 2021-11-11 at 12-15-46 ESP_Easy_IP35.png (21.88 KiB) Viewed 15478 times
Attachments
Screenshot 2021-11-11 at 12-16-04 ESP_Easy_IP35.png
Screenshot 2021-11-11 at 12-16-04 ESP_Easy_IP35.png (64.37 KiB) Viewed 15478 times

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: bbq temperature and meat temperature

#88 Post by Ath » 11 Nov 2021, 13:28

Good to know that the wiring is all fine, but still surprising that it doesn't work as expected. Hard to guess what is actually going wrong here, it is possible your display is broken in some way (I used to order stuff in pairs from Ali, just to avoid that situation, but the price of this display at that time held me back so I only have 1).

The firmware I provided earlier is based on the pull request that I've opened for implementing P116, the ST77xx TFT display controllers, where I also made extensive changes to P095 for ILI9341 (and P096 for eInk). The underlying display-driver code is still the same though, as I've tested it locally, and all is working fine on my display.

After connecting the wiring for the touchscreen (T_CLK -> SPI-CLK, T_CS -> GPIO-from-plugin, T_DO -> SPI-MISO is enough, AFAIR) and enabling the plugin (giving it a name is also kind of required), you should be able to see the touched coordinates in the log (assuming your log level is at Info). It is a resistive touchscreen (as opposed to the capacitive touchscreens we are used to on our smartphones), so it will work best using the touch-pen provided, or by tapping it with your fingernail.
It can be calibrated to the exact screen coordinates, that kind of expects the display to work correctly (but that is not required).
/Ton (PayPal.me)

megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: bbq temperature and meat temperature

#89 Post by megamarco83 » 11 Nov 2021, 16:28

Ath wrote: 11 Nov 2021, 13:28 Good to know that the wiring is all fine, but still surprising that it doesn't work as expected. Hard to guess what is actually going wrong here, it is possible your display is broken in some way (I used to order stuff in pairs from Ali, just to avoid that situation, but the price of this display at that time held me back so I only have 1).
yes, same for me...so i bought just one :(
but if it is broken...it's a very strange / unlucky :)
Ath wrote: 11 Nov 2021, 13:28 The firmware I provided earlier is based on the pull request that I've opened for implementing P116, the ST77xx TFT display controllers, where I also made extensive changes to P095 for ILI9341 (and P096 for eInk). The underlying display-driver code is still the same though, as I've tested it locally, and all is working fine on my display.
i'm actually using the Display - TFT 2.4 inches ILI9341 plugin (i don't know at what number of plugin is referring to...)
but i see also Display - ST7735/ST7789 TFT (also here (i don't know at what number of plugin is referring to...) but i guess that i should use the first one above...
Ath wrote: 11 Nov 2021, 13:28 After connecting the wiring for the touchscreen (T_CLK -> SPI-CLK, T_CS -> GPIO-from-plugin, T_DO -> SPI-MISO is enough, AFAIR) and enabling the plugin (giving it a name is also kind of required), you should be able to see the touched coordinates in the log (assuming your log level is at Info). It is a resistive touchscreen (as opposed to the capacitive touchscreens we are used to on our smartphones), so it will work best using the touch-pen provided, or by tapping it with your fingernail.
It can be calibrated to the exact screen coordinates, that kind of expects the display to work correctly (but that is not required).
right now i don't connected the touch pins: T_xxx

but there isn't a way to see if espeasy can detect the TFT display connected? i mean something similad I2C scan that detech what it's connected....i'm asking just to be sure that the display is working...
right now the only think that i can see is that the backlight is on and it dimmer according to values set on plugin

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: bbq temperature and meat temperature

#90 Post by TD-er » 11 Nov 2021, 16:34

Most tutorials don't seem to use the SPI pin for incoming data, so I doubt the ESP is actually reading data from the display controller.
Thus it is hard to effectively check if the display is working well from the software side.

Wiki
Normal user
Posts: 413
Joined: 23 Apr 2018, 17:55
Location: Germany

Re: bbq temperature and meat temperature

#91 Post by Wiki » 11 Feb 2022, 17:02

Hi,

waking up this thread:

Using the formerly posted binary I try to get a TFT ST7735 on a Wemos D1 alive, but the screen is completly white.

Dimming the background light works, but that's all.

My wiring:
WiringTFT.JPG
WiringTFT.JPG (50.25 KiB) Viewed 13373 times
Any suggestions?

Code: Select all

pi@raspberrypi:~ $ man woman
No manual entry for woman
pi@raspberrypi:~ $

megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: bbq temperature and meat temperature

#92 Post by megamarco83 » 11 Feb 2022, 17:08

Ciao.
Same for me... I get some trials to make it working but i don't succeed on it :(

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: bbq temperature and meat temperature

#93 Post by Ath » 11 Feb 2022, 20:13

Wiki wrote: 11 Feb 2022, 17:02 Using the formerly posted binary I try to get a TFT ST7735 on a Wemos D1 alive, but the screen is completly white.

Dimming the background light works, but that's all.
That previous .bin may be a non-working version, can't tell for sure, and can't change it anymore (forum policy), but here's an updated build:
ESP_Easy_mega_20220211_display_ESP8266_4M1M.zip
(632.11 KiB) Downloaded 245 times
/Ton (PayPal.me)

Wiki
Normal user
Posts: 413
Joined: 23 Apr 2018, 17:55
Location: Germany

Re: bbq temperature and meat temperature

#94 Post by Wiki » 12 Feb 2022, 12:47

Hi, once again you're my very best, Thanks for your reaction.

Unfortunately still no success, the TFT stays completely white.

But: there is a difference compared to the old binary. Hitting "Submit" on the device configuration page results in a visible reset of the display. I've checked the different GPIOs on doing anything by using the D4 on CS, DC and RES (changing cables and configuration accordingly), taking advantage from the onboard LED. The onboard LED shows me the Reset, the CS and the DC signals. This was not the case using the old binary.

So at least the Wemos now does something to the GPIOs (ofcourse don't no, what) which it didn't do with the old binary.

Hhmm, did I brick the TFT somehow?

Code: Select all

pi@raspberrypi:~ $ man woman
No manual entry for woman
pi@raspberrypi:~ $

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: bbq temperature and meat temperature

#95 Post by Ath » 12 Feb 2022, 13:17

Wiki wrote: 12 Feb 2022, 12:47 Hhmm, did I brick the TFT somehow?
That's nearly impossible, unless you fry the electronics by connecting it to 5V or 12V instead of 3V3.

The most usual mistake I've made is by connecting the wrong pin(s) from the ESP to the TFT, so be sure to connect the MOSI pin (GPIO 13), and not the MISO pin (GPIO 12) to the SDI pin of the TFT. The second most 'mistake' is just flaky connections, those dupont wires/connectors aren't all of the best quality.
/Ton (PayPal.me)

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: bbq temperature and meat temperature

#96 Post by Ath » 12 Feb 2022, 13:20

I've tried all of the new supported ILI9xxx types on my ILI9341 display, and also on some ST77xx displays, but the display survived that without problems, it just didn't display the expected info :lol:.
/Ton (PayPal.me)

Wiki
Normal user
Posts: 413
Joined: 23 Apr 2018, 17:55
Location: Germany

Re: bbq temperature and meat temperature

#97 Post by Wiki » 13 Feb 2022, 02:37

Grmpfl, I've mixed up MOSI/MISO.

YOU MADE MY DAY!

Works, Thank you. I will name you explicitly on my next bbq party as the responsible for the best meat I've ever grilled.

Code: Select all

pi@raspberrypi:~ $ man woman
No manual entry for woman
pi@raspberrypi:~ $

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: bbq temperature and meat temperature

#98 Post by Ath » 13 Feb 2022, 10:00

Wiki wrote: 13 Feb 2022, 02:37 Works, Thank you. I will name you explicitly on my next bbq party as the responsible for the best meat I've ever grilled.
:lol: :lol: :lol:
/Ton (PayPal.me)

megamarco83
Normal user
Posts: 230
Joined: 13 Apr 2017, 23:09

Re: bbq temperature and meat temperature

#99 Post by megamarco83 » 13 Feb 2022, 19:10

Wiki wrote: 13 Feb 2022, 02:37 Grmpfl, I've mixed up MOSI/MISO.

YOU MADE MY DAY!

Works, Thank you. I will name you explicitly on my next bbq party as the responsible for the best meat I've ever grilled.
may i ask you how you connected wemos and LCD ?
what commands do you send to test the display?
thanks

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: bbq temperature and meat temperature

#100 Post by Ath » 13 Feb 2022, 20:08

megamarco83 wrote: 13 Feb 2022, 19:10 may i ask you how you connected wemos and LCD ?
what commands do you send to test the display?
The commands are documented here: https://espeasy.readthedocs.io/en/lates ... #p095-page

It's a regular SPI connection, so after enabling the SPI interface on the Hardware page, you connect GPIO-14 to SCK, GPIO-13 to DIN, and the pins configured in the device to the named pins on the display (CS, DC and RST). You also have to put a 'high' voltage (3.3V) on the LED pin of the display to turn on the backlight, but you can use another free GPIO pin and the PWM command on that pin to 'dim' it a bit, like "pwm,4,500" to use GPIO-4 with ~50% backlight intensity (1024 / 2).
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: No registered users and 31 guests