Keyboard Shortcuts
Likes
- HBTE
- Messages
Search
Re: tinySA firmware
Hi Guys,
Yes, I have the manual!? The problem was my failure to comprehend what the words right in front of me (yep, on page 9) were saying!? Brain fart/old age setting in? Can't wait to build up the boards, I can start but still waiting on a few parts on the slow boat from China... 73, Robert, WA2T |
Re: tinySA firmware
On Wed, Jul 15, 2020 at 01:35 PM, Robert Entwistle wrote:
Why I could not get this from the manual (it says it in there!), I have no idea! Maybe you didn't get as far as page 9!After the library is installed, you need to copy the files: M0WID_Setup_ILI9341_TinySA.h WA2FZW_Setup_ILI9341_TinySA.h from the "TFT_eSPI Setup Files" folder included with this software into the "User_Setups" directory in the main "TFT_eSPI" library folder. -- John P. WA2FZW |
Re: tinySA firmware
Thank you both David and John.
All good now! Where I went wrong was I put all three files in the C:\Users\Bob A. Booey\Documents\Arduino\libraries\TFT_eSPI\User_Setups directory when the User_Setups_Select.h file belonged in the C:\Users\Bob A. Booey\Documents\Arduino\libraries\TFT_eSPI directory!? Why I could not get this from the manual (it says it in there!), I have no idea!? ADD? Thanks again and 73, Robert, WA2T |
Re: tinySA firmware
David should have included the "User_Setup_Select.h" file in the TFT setup files he posted the other day.
Here's a copy set up correctly. Without the correct (M0WID) setup file being selected, the symbol "TOUCH_CS" is not defined and the TFT library isn't loading the library extension for the touch screen support. -- John P. WA2FZW |
Re: tinySA firmware
This is the sort of error that comes up when the TFT_eSPI user setup is not 100% correct.
First of all find your TFT_eSPI library folder.? In your case it seems to be C:\Users\Bob A. Booey\Documents\Arduino\libraries\TFT_eSPI. In this folder there will be, or should be, a subfolder for the user setups, named User_Setups. In this folder there should be a file called M0WID_Setup_ILI9341_TinySA.h.? If it is not there get the zip file posted the other day from the files section and add the?M0WID_Setup_ILI9341_TinySA.h to your User_Setups folder. Back in your C:\Users\Bob A. Booey\Documents\Arduino\libraries\TFT_eSPI folder there should be a file called?User_Setup_Select.h Open this file in your favourite text editor. Comment out the #include <User_Setup.h> file by adding // at the start of the line. Add a new line pointing to the M0WID_Setup_ILI9341_TinySA.h?setup file like this: #include <User_Setups/M0WID_Setup_ILI9341_TinySA.h>? // Setup file configured for my tinySA ILI9341
Save and then recompile. Should be OK after that! Dave M0WID |
Re: tinySA firmware
Hi Elia,
I believe I have properly followed the steps in both the posts you mentioned, thanks. I found that if I uncomment the "//? TouchCalibrate ();??? ??? ??? ??? ??? ??? // Comment out after first run", the compile gets a little bit further, but now with a 'class TFT_eSPI' has no member named 'getTouchRawZ' error: C:\Users\BOBA~1.BOO\AppData\Local\Temp\arduino_build_296316\sketch\ui.cpp: In function 'int touch_status()': ui.cpp:678:15: error: 'class TFT_eSPI' has no member named 'getTouchRawZ' ? return ( tft.getTouchRawZ() > TS_MINIMUM_Z ); // "RawZ" is a measure of touch pressure ?????????????? ^ C:\Users\BOBA~1.BOO\AppData\Local\Temp\arduino_build_296316\sketch\ui.cpp: In function 'uint8_t validTouch(uint16_t*, uint16_t*, uint16_t)': ui.cpp:711:12: error: 'class TFT_eSPI' has no member named 'getTouchRawZ' ?? z1 = tft.getTouchRawZ ();?? // Read new pressure ??????????? ^ ui.cpp:725:6: error: 'class TFT_eSPI' has no member named 'getTouchRaw' ? tft.getTouchRaw ( &x_tmp, &y_tmp );? // Get touch coordinates ????? ^ ui.cpp:736:11: error: 'class TFT_eSPI' has no member named 'getTouchRawZ' ? if ( tft.getTouchRawZ() <= threshold ) // Threshold not met? ?????????? ^ ui.cpp:741:6: error: 'class TFT_eSPI' has no member named 'getTouchRaw' ? tft.getTouchRaw ( &x_tmp2, &y_tmp2 ); // Get 2nd set of coordinates ????? ^ C:\Users\BOBA~1.BOO\AppData\Local\Temp\arduino_build_296316\sketch\ui.cpp: In function 'uint8_t getTouch(uint16_t*, uint16_t*)': ui.cpp:822:6: error: 'class TFT_eSPI' has no member named 'convertRawXY' ? tft.convertRawXY ( &x_tmp, &y_tmp ); // Calibrate the readings ????? ^ C:\Users\Bob A. Booey\Documents\Arduino\TinySA\tinySA_V2.7d\tinySA_V2.7d.ino: In function 'void setup()': tinySA_V2.7d:404:6: error: 'class TFT_eSPI' has no member named 'setTouch' ? tft.setTouch ( config.touch_cal );????? // Send calibration data to the display ????? ^ C:\Users\Bob A. Booey\Documents\Arduino\TinySA\tinySA_V2.7d\tinySA_V2.7d.ino: In function 'void setUpLEDC()': tinySA_V2.7d:1759:18: error: 'TFT_LED' was not declared in this scope ? ledcAttachPin ( TFT_LED, LEDC_CHANNEL_0 ); ????????????????? ^ C:\Users\Bob A. Booey\Documents\Arduino\TinySA\tinySA_V2.7d\tinySA_V2.7d.ino: In function 'void TouchCalibrate()': tinySA_V2.7d:1791:6: error: 'class TFT_eSPI' has no member named 'calibrateTouch' ? tft.calibrateTouch ( config.touch_cal, MAGENTA, BLACK, 15 ); ????? ^ Multiple libraries were found for "WiFi.h" ?Used: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi ?Not used: C:\Program Files (x86)\Arduino\libraries\WiFi Using library TFT_eSPI at version 2.2.6 in folder: C:\Users\Bob A. Booey\Documents\Arduino\libraries\TFT_eSPI Using library SPI at version 1.0 in folder: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\SPI Using library FS at version 1.0 in folder: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\FS Using library SPIFFS at version 1.0 in folder: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\SPIFFS Using library Wire at version 1.0.1 in folder: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\Wire Using library WiFi at version 1.0 in folder: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi Using library AsyncTCP-master at version 1.1.1 in folder: C:\Users\Bob A. Booey\Documents\Arduino\libraries\AsyncTCP-master Using library ESPAsyncWebServer-master at version 1.2.3 in folder: C:\Users\Bob A. Booey\Documents\Arduino\libraries\ESPAsyncWebServer-master Using library ArduinoJson-6.x at version 6.15.2 in folder: C:\Users\Bob A. Booey\Documents\Arduino\libraries\ArduinoJson-6.x Using library arduinoWebSockets-master at version 2.2.1 in folder: C:\Users\Bob A. Booey\Documents\Arduino\libraries\arduinoWebSockets-master Using library WiFiClientSecure at version 1.0 in folder: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFiClientSecure Using library Preferences at version 1.0 in folder: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\Preferences exit status 1 'class TFT_eSPI' has no member named 'getTouchRawZ' Still plugging away but grateful for any advice/pointers. 73, Robert, WA2T |
Re: tinySA firmware
On Thu, Jul 2, 2020 at 03:47 PM, M0ZHN wrote:
Success! The sketch compiled and managed to load it onto the board. Using the serial monitor it talks to the IDE and loads the configuration but fails on initialising the hardware as nothing is yet connected to it :DAm I experiencing the same thing?? Probably not as compiling is not completing without errors.? I am using just a ESP32 WROVER board, trying to load the code for now, I have not yet built the TSA PCB's, waiting on a few parts (so no display yet although I have one).? I think I have gotten all the right libraries and made the needed changes per the manual but getting the following: C:\Users\Bob A. Booey\Documents\Arduino\TinySA\JMP_tinySA_V2.9\JMP_TinySA_V2.9\JMP_TinySA_V2.9.ino: In function 'void setup()': JMP_TinySA_V2.9:429:6: error: 'class TFT_eSPI' has no member named 'setTouch' ? tft.setTouch ( config.touch_cal );????? // Send calibration data to the display ????? ^ C:\Users\Bob A. Booey\Documents\Arduino\TinySA\JMP_tinySA_V2.9\JMP_TinySA_V2.9\JMP_TinySA_V2.9.ino: In function 'void setUpLEDC()': JMP_TinySA_V2.9:1875:18: error: 'TFT_LED' was not declared in this scope ? ledcAttachPin ( TFT_LED, LEDC_CHANNEL_0 ); ????????????????? ^ C:\Users\Bob A. Booey\Documents\Arduino\TinySA\JMP_tinySA_V2.9\JMP_TinySA_V2.9\JMP_TinySA_V2.9.ino: In function 'void TouchCalibrate()': JMP_TinySA_V2.9:1907:6: error: 'class TFT_eSPI' has no member named 'calibrateTouch' ? tft.calibrateTouch ( config.touch_cal, MAGENTA, BLACK, 15 ); ????? ^ C:\Users\BOBA~1.BOO\AppData\Local\Temp\arduino_build_840385\sketch\ui.cpp: In function 'int touch_status()': ui.cpp:704:15: error: 'class TFT_eSPI' has no member named 'getTouchRawZ' ? return ( tft.getTouchRawZ() > TS_MINIMUM_Z ); // "RawZ" is a measure of touch pressure ?????????????? ^ C:\Users\BOBA~1.BOO\AppData\Local\Temp\arduino_build_840385\sketch\ui.cpp: In function 'uint8_t validTouch(uint16_t*, uint16_t*, uint16_t)': ui.cpp:737:12: error: 'class TFT_eSPI' has no member named 'getTouchRawZ' ?? z1 = tft.getTouchRawZ ();?? // Read new pressure ??????????? ^ ui.cpp:751:6: error: 'class TFT_eSPI' has no member named 'getTouchRaw' ? tft.getTouchRaw ( &x_tmp, &y_tmp );? // Get touch coordinates ????? ^ ui.cpp:762:11: error: 'class TFT_eSPI' has no member named 'getTouchRawZ' ? if ( tft.getTouchRawZ() <= threshold ) // Threshold not met? ?????????? ^ ui.cpp:767:6: error: 'class TFT_eSPI' has no member named 'getTouchRaw' ? tft.getTouchRaw ( &x_tmp2, &y_tmp2 ); // Get 2nd set of coordinates ????? ^ C:\Users\BOBA~1.BOO\AppData\Local\Temp\arduino_build_840385\sketch\ui.cpp: In function 'uint8_t getTouch(uint16_t*, uint16_t*)': ui.cpp:848:6: error: 'class TFT_eSPI' has no member named 'convertRawXY' ? tft.convertRawXY ( &x_tmp, &y_tmp ); // Calibrate the readings ????? ^ Multiple libraries were found for "WiFi.h" ?Used: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi ?Not used: C:\Program Files (x86)\Arduino\libraries\WiFi Using library TFT_eSPI at version 2.2.6 in folder: C:\Users\Bob A. Booey\Documents\Arduino\libraries\TFT_eSPI Using library SPI at version 1.0 in folder: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\SPI Using library FS at version 1.0 in folder: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\FS Using library SPIFFS at version 1.0 in folder: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\SPIFFS Using library Wire at version 1.0.1 in folder: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\Wire Using library WiFi at version 1.0 in folder: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFi Using library AsyncTCP-master at version 1.1.1 in folder: C:\Users\Bob A. Booey\Documents\Arduino\libraries\AsyncTCP-master Using library ESPAsyncWebServer-master at version 1.2.3 in folder: C:\Users\Bob A. Booey\Documents\Arduino\libraries\ESPAsyncWebServer-master Using library ArduinoJson-6.x at version 6.15.2 in folder: C:\Users\Bob A. Booey\Documents\Arduino\libraries\ArduinoJson-6.x Using library arduinoWebSockets-master at version 2.2.1 in folder: C:\Users\Bob A. Booey\Documents\Arduino\libraries\arduinoWebSockets-master Using library WiFiClientSecure at version 1.0 in folder: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\WiFiClientSecure Using library Preferences at version 1.0 in folder: C:\Users\Bob A. Booey\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\Preferences exit status 1 'class TFT_eSPI' has no member named 'setTouch' Thanks for any advice/pointers and 73, Robert, WA2T |
Re: tinySA firmware
Hi Dave,
I remembered setting up User_Setup_Select.h, checking it and missing the entry. I just replaced it, then I also set up WiFi and it works fine. I am very happy about it. It can be built further. Thanks for the help. ps.: Special thanks to Jim G3ZQC for making the Si4432 modules available to me along with the modification drawing. When I started installing, Ashining¡¯s package also came along. -- Gyula HA3HZ |
Re: tinySA firmware
I posted a zip file for the TFT_eSPI user setup into the files section.? Sorry these files were missed from the last release.
However you have a display working, so you already have the TFT_ESPI library sorted out.? The error message you see should be fixed by doing the Data Upload from the Arduino IDE. Later version is not released yet - still very much work in progress but suffering from lack of time on my part.? Stick with 2.8 for now and let us know how you get on and the bugs or improvements needed that you will no doubt find. 73 M0WID |
File /WA2FZW - M0WID ESP32 - ILI9341 Version of the TinySA/TFT_eSPI Setup Files.zip uploaded
#file-notice
[email protected] Notification
The following files have been uploaded to the Files area of the [email protected] group. By: m0wid Description: |
Re: tinySA firmware
Well done!? In the Arduino IDE, under tools there is a command to Upload Data to the ESp32.? Make sure you have your serial monitor closed first, then select.? The contents of the data subfolder in your arduino project wil lthen be uploaded to the ESP32.? Then you should be OK.
Most likely when there is a newer version distributed this will have to be repeated as the data in there could have also changed, eg the web pages. 73 Dave M0WID |
Re: Question to Glenn VK3PE
¿ªÔÆÌåÓýThere were at least others discussed too...? If I recall right, someone went through the Digikey and/or Mouser catalog and basically put together a list of possibilities.? Then a number of people commented on them¡ band width, freq, impedances, loss, etc.? As I recall two or three were ok.? It was sometime this year.? I¡¯m sure someone else will remember this. ? Sorry I can¡¯t see what you posted¡ I¡¯m mobile at present. ? ? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: Like us on Facebook! ? Moderator ¨C North American QRO Group at Groups.IO. ? email:? bill@... ? ? From: [email protected] [mailto:[email protected]] On Behalf Of Robert Entwistle ? On Thu, Jul 9, 2020 at 10:40 AM, K9HZ wrote:
Hi Bill, |
Re: Question to Glenn VK3PE
On Thu, Jul 9, 2020 at 10:40 AM, K9HZ wrote:
There was a whole thread on this very thing.? You can search for it.? There are substitutes¡Hi Bill, I did try searching but did not find much.? Just did another and dug in a little more, the closest thing I could find was this thread: /g/HBTE/topic/69385413#675 where the 3555 and 3550 are discussed.? Is this the thread you were speaking of? Thanks and 73, Robert, WA2T |
Re: Question to Glenn VK3PE
¿ªÔÆÌåÓýThere was a whole thread on this very thing.? You can search for it.? There are substitutes¡ ? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: Like us on Facebook! ? Moderator ¨C North American QRO Group at Groups.IO. ? email:? bill@... ? ? From: [email protected] [mailto:[email protected]] On Behalf Of Glenn ? Hi Robert, yes I enquired? with him recently and he said he is not shipping at the moment because of the very long postal delays.? I take it from this he still has plenty of them to sell at some stage. As far as I recall, those B3555 parts are what Erik used originally. |