Hello, I am taking the liberty of writing this post because I cannot download the firmware on a TTGO T-Display 1.1 that I have in my possession.
I downloaded all the requested libraries but when I flash the firmware I get this error:
That is because that display is NOT supported in mySQM+. In file config.h it specifies either a TEXT 128x64 or a Graphics display 128x64.
What is the target CPU set to?
The only supported ESP32 chips are in the PDF. Not all esp32 chips are the same. For example the Cx series only has 1 core and minimal timers. You can only use either the 30pin ESP32 Dev Module or the R3 WEMOS ESP32 CH340G solderless board. C2/C3/S2/S3 etc chips are not supported at this time. I think (I could be wrong) but the reason for the errors related to task timer issues.
What ESP32 Core are you using?
I see from the log that you are not using the correct esp32 core for this project. The log says
You cannot use 3.0.5 core because I am waiting for bug fixes on the latest core to work through BEFORE mySQM+ project can move to the latest core. This is explained in the PDF as wll as posts here on the Discussion board. https://sourceforge.net/p/mysqmproesp32/discussion/general/thread/eb00bc100c/?page=5
for update concerning release 139-03
To find the Core number, use Arduino IDE, Tools, Board, Board Manager.
This displays the board manager. (pic1)
Top left says Type and a text field All
In the All, use drop arrow to select ESP32
which shows (pic2)
If you are using the wrong core version, then click on the remove
When removed, exit arduino IDE.
Next start Arduino IDE again. tools, board manager, in the, and go through the process of "adding" the correct version as shown in the pic2. You use theSelect Version drop down to select the correct core version, then click Install.
This is also (using wrong core) giving the errors related to the watch dog timer, because the new core 3.x.x you are using all the esp_xxxxxx calls now have different parameters in the method arguments, and another reason why I stated "do not use core 3.x.x"
I do know that a lot of this may not be clear and sounds like an unknown language. My apologies for that. The user guide could be improved, but is meant to line up with what works. If it says use :ESP32 30p dev chip module that is what it means. If you want to make a breadboard solderless version that is ok, you dont do not need to buy a PCB, Many have done this. But you do need to use the chips etc that are recommended, Same for Core etc etc.
Please keep at it. The project is worth it. And you can be proud building it through to completion. It is by far the "best" of the myxxxx projects but that also means the most compilcated. Tthe complexity of the code and size/scope of the project is very large and very taxing on the ESP32 chip. That is why the project demands chips with twin core CPUS, multiple timers (at least 3), larger memory, high clock speeds etc. The fact that the project runs at all surprises me everytime I update the project firmare.
My best guess is that you also use Arduino IDE 2.x.x as well. The problem with Arduino 2.x.x is when you run it a message box bottom left asks you to update to latest versions etc. If doing this project always say NO because if you don;t it will update the ESP32 core to v3.x.x again and then you get back to where you are right now,
You have managed to get going, having installed the Arduino IDE 18.19. So off to a good start.
I also attach preferences for Arduino IDE which need to be set. You may have already done this, not sure from the log file,
Hi
I attach the Discussion board picture
On the menu Summary Files Reviews Support Discussion Admin
You can click Discussion
Then you can Search all messages for things you might want to check,
But, you did do the right thing by posting a message to the Discussion board asking for help as well as providing a log file, most appreciated
Uf you are thinking about using an expansion board some sellers do combine both expansion board and esp32 chip together which can be a little cheaper than buying seperate.
regards
robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I'm coming back to you because I still can't get my SQM+ to work, I managed to upload the firmware after configuring it. It is clearly visible on my wifi network but I cannot connect to it with the IP address.
Here are the messages from mydebuglogger:
The continual reboot is related to the programming of the esp32
The procedure is
1. Start Arduino IDE 1.8.19
2. Program the esp32 chip (upload) 3. NEXT, immediately after, upload filesystem - IDE Menu bar - Tools ESP32 Sketch Upload Data
All this is covered in the PDF. If you do not upload the filesystem spiffs files then what happens is this
Firmware starts boot sequence.
Firmware attempts to access SPIFFS files to load the configuration
Opps, not found, reboot
regards
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
looking at your log file again, I think that its not even loading properly. I dont think it is even getting to the point of loading the firmware. I think this points to an Arduino IDE confiuration issue or ESP32 chip issue. I need a screenshot of your Arduino Tools menu to find out more.
To get a screenshot start Arduino IDE, use mouse to click on the Tools menu option
With the tool menu showing, press keys Ctrl and PrintSc to capture the screen
Next, start Microsoft Paint then paste the screenshot into Paint.
Then save the file, and add that file to another post/reply
I think you also need to check the arduino ide target settings for this project. This is on the tools menu.
I attach my screebshot with the correct settings. If your settings are different, then you need to change them or provde your screenshot.
Where is this text output from? It does not look familiar to me,
Are you running the Arduino IDE version 1.8.19?
Can you post the entire build and upload messages from Arduino IDE.
This is in a bottom window of the IDE, after its finished you click in that window and use Ctrl+A to select all messages, and then Ctrl+C to copy the messages, then open notepad and use Ctrl+V to paste them into a text file and then save the text file.
Hello, I ended up solving the problem myself. The fault was my poor MQTT configuration and my dead NEO-6M out of the box. Now it works alone, some problems persist, at the NTP level it gives me the time in UTC and not locally, I live in France and it therefore tells me one hour less.
Now I just need to understand how to publish on my Home Assistant in MQTT it should work
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I am taking the liberty of writing this post because I cannot download the firmware on a TTGO T-Display 1.1 that I have in my possession.
I downloaded all the requested libraries but when I flash the firmware I get this error:
I'm not a computer genius and I don't know much about coding so if someone could guide me that would be nice.
Thank you and have a nice day!
Hi
TTGO T-Display 1.1 that I have in my possession.
That is because that display is NOT supported in mySQM+. In file config.h it specifies either a TEXT 128x64 or a Graphics display 128x64.
What is the target CPU set to?
The only supported ESP32 chips are in the PDF. Not all esp32 chips are the same. For example the Cx series only has 1 core and minimal timers. You can only use either the 30pin ESP32 Dev Module or the R3 WEMOS ESP32 CH340G solderless board. C2/C3/S2/S3 etc chips are not supported at this time. I think (I could be wrong) but the reason for the errors related to task timer issues.
What ESP32 Core are you using?
I see from the log that you are not using the correct esp32 core for this project. The log says
Important: \esp32\3.0.5 shows core as 3.0.5
You cannot use 3.0.5 core because I am waiting for bug fixes on the latest core to work through BEFORE mySQM+ project can move to the latest core. This is explained in the PDF as wll as posts here on the Discussion board.
https://sourceforge.net/p/mysqmproesp32/discussion/general/thread/eb00bc100c/?page=5
for update concerning release 139-03
To find the Core number, use Arduino IDE, Tools, Board, Board Manager.
This displays the board manager. (pic1)
Top left says Type and a text field All
In the All, use drop arrow to select ESP32
which shows (pic2)
If you are using the wrong core version, then click on the remove
When removed, exit arduino IDE.
Next start Arduino IDE again. tools, board manager, in the, and go through the process of "adding" the correct version as shown in the pic2. You use theSelect Version drop down to select the correct core version, then click Install.
This is also (using wrong core) giving the errors related to the watch dog timer, because the new core 3.x.x you are using all the esp_xxxxxx calls now have different parameters in the method arguments, and another reason why I stated "do not use core 3.x.x"
I do know that a lot of this may not be clear and sounds like an unknown language. My apologies for that. The user guide could be improved, but is meant to line up with what works. If it says use :ESP32 30p dev chip module that is what it means. If you want to make a breadboard solderless version that is ok, you dont do not need to buy a PCB, Many have done this. But you do need to use the chips etc that are recommended, Same for Core etc etc.
Please keep at it. The project is worth it. And you can be proud building it through to completion. It is by far the "best" of the myxxxx projects but that also means the most compilcated. Tthe complexity of the code and size/scope of the project is very large and very taxing on the ESP32 chip. That is why the project demands chips with twin core CPUS, multiple timers (at least 3), larger memory, high clock speeds etc. The fact that the project runs at all surprises me everytime I update the project firmare.
My best guess is that you also use Arduino IDE 2.x.x as well. The problem with Arduino 2.x.x is when you run it a message box bottom left asks you to update to latest versions etc. If doing this project always say NO because if you don;t it will update the ESP32 core to v3.x.x again and then you get back to where you are right now,
You have managed to get going, having installed the Arduino IDE 18.19. So off to a good start.
I also attach preferences for Arduino IDE which need to be set. You may have already done this, not sure from the log file,
I am here to help. Anytime. Zero $. Keep at it.
Regards
Robert
Hi
I attach the Discussion board picture
On the menu Summary Files Reviews Support Discussion Admin
You can click Discussion
Then you can Search all messages for things you might want to check,
But, you did do the right thing by posting a message to the Discussion board asking for help as well as providing a log file, most appreciated
Regards
Robert
Ok thank you for your time, I totally understand that it is not compatible, I am not used to using esp32. And I'm not very comfortable in English. I tested it on the TTGO because I had it in stock and it directly had a screen. I found this module on aliexpress which seems to me to be the right one, what do you think?
https://www.aliexpress.com/item/1005006456519790.html?spm=a2g0o.productlist.main.5.149b21e791F0sV&algo_pvid=34cd687d-123a-45ff-94ab-69b5abda4599&algo_exp_id=34cd687d-123a-45ff-94ab-69b5abda4599-2&pdp_npi=4%40dis%21EUR%212.73%213.10%21%21%2120.51%2123.29%21%40211b6c1917297852088378301ee6cd%2112000037265317360%21sea%21FR%21792056022%21X&curPageLogUid=d24J33DnKMSU&utparam-url=scene%3Asearch%7Cquery_from%3A
Hu
Yes, that will do,
30 pins yes
esp32 wroom-32
There are also these. which show to me cheaper
https://www.aliexpress.com/w/wholesale-esp32-dev-module-30p.html
NZ1.68 free shipping
Type ESP32-WROOM-32U or ESP32 30PIN
https://www.aliexpress.com/item/1005007464751915.html
Type 30P CH340C TYPE-C
If you are not using a PCB from the site, then these may be of use to connect wires
https://www.aliexpress.com/item/1005007464906653.html
https://www.aliexpress.com/item/1005007058361733.html
https://www.aliexpress.com/item/1005007055315492.html
with screw connections
https://www.aliexpress.com/item/1005006500597875.html
https://www.aliexpress.com/item/1005006422498371
Uf you are thinking about using an expansion board some sellers do combine both expansion board and esp32 chip together which can be a little cheaper than buying seperate.
regards
robert
Ok Tks a lot !
Hello, I'm coming back to you because I still can't get my SQM+ to work, I managed to upload the firmware after configuring it. It is clearly visible on my wifi network but I cannot connect to it with the IP address.
Here are the messages from mydebuglogger:
I also attach the configuration file
Thanks for your help !
Have a nice Day.
Last edit: Guillaume Malet 2024-11-20
The continual reboot is related to the programming of the esp32
The procedure is
1. Start Arduino IDE 1.8.19
2. Program the esp32 chip (upload)
3. NEXT, immediately after, upload filesystem - IDE Menu bar - Tools ESP32 Sketch Upload Data
All this is covered in the PDF. If you do not upload the filesystem spiffs files then what happens is this
Firmware starts boot sequence.
Firmware attempts to access SPIFFS files to load the configuration
Opps, not found, reboot
regards
Robert
looking at your log file again, I think that its not even loading properly. I dont think it is even getting to the point of loading the firmware. I think this points to an Arduino IDE confiuration issue or ESP32 chip issue. I need a screenshot of your Arduino Tools menu to find out more.
To get a screenshot start Arduino IDE, use mouse to click on the Tools menu option
With the tool menu showing, press keys Ctrl and PrintSc to capture the screen
Next, start Microsoft Paint then paste the screenshot into Paint.
Then save the file, and add that file to another post/reply
I think you also need to check the arduino ide target settings for this project. This is on the tools menu.
I attach my screebshot with the correct settings. If your settings are different, then you need to change them or provde your screenshot.
Last edit: brownrb 2024-11-20
I am not quite following this,
Where is this text output from? It does not look familiar to me,
Are you running the Arduino IDE version 1.8.19?
Can you post the entire build and upload messages from Arduino IDE.
This is in a bottom window of the IDE, after its finished you click in that window and use Ctrl+A to select all messages, and then Ctrl+C to copy the messages, then open notepad and use Ctrl+V to paste them into a text file and then save the text file.
Regards
Robert
and make sure that Arduino IDE Tools menu has this Disabled. very Important
Tools->Erase All Flash Before Sketch Upload: Disabled.
Hello, I am attaching the console output
Hello, I ended up solving the problem myself. The fault was my poor MQTT configuration and my dead NEO-6M out of the box. Now it works alone, some problems persist, at the NTP level it gives me the time in UTC and not locally, I live in France and it therefore tells me one hour less.
Now I just need to understand how to publish on my Home Assistant in MQTT it should work
In order to evolve the device, would it be possible for you to consider integrating MQTT Discovery?