-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Newbie Help #516
Comments
I don't know what "nvr.h" is. It is better to use the version 2 of the Radio, see https://github.com/Edzelf/ESP32Radio-V2 |
Oh wow! I was using the old version! OK, I'll dive into version 2 and see how it goes. |
Making progress, and nvs.h is what I intended, fat fingers. |
It should be internal, no library needed, like math.h or studio.h or stdlib.h. |
During verify, I get an error, nvs.h: No such file |
I will check it tomorrow, but you can avoid these problems by using Platformio. You won't regret it! |
Thank you! I did find esp-idf-master that contains nvs.h but the Arduino IDE throws an error stating no .h files exist. |
Are you sure you have selected "esp32-devkit" for your board? |
I'm headed off to work today but will try this evening. Thank you for your efforts so far. Your support is appreciated. |
Making slow progress. Started Arduino IDE and tried a compile again. This time the verify went past nvs.h but is now stopped on ESPAsyncWebserver.h with an error claiming no such file. However checking the Library Manager, the name is ESPAsyncWebSrv and version 1.2.6 is installed. You specify version 1.2.0 but apparently that's not available any more. |
Check the right spelling. It should be: |
I was also trying to get Radio V2 working in Arduino IDE, but gave up very quickly. My strong recommendation is to install Platformio. Guides are very easy to follow and you get everything set up way faster than hunting for typos like this above. |
So I installed Platformio and imported ESP32Radio. Setup for the correct board and did a Build. Now to sort through the 16 errors found in the .ino and 49 errors in helixfunc.h and other various errors and problems in different files. |
Delete the project you were working on and download fresh copy of Radio V2 from github repo. Delete the .ino file if you have any. Platformio does not support .ino files, these are for Arduino only. |
aly-fly.....thanks! I remember seeing that detail but forgot about it. Deleted everything and started over fresh. It appears most of those errors are identifier xxxxx is undefined at various line numbers. If the errors need to be corrected, I'm not sure how to correct most of them? |
Are you using Radio V2 now? |
Yes running V2 now //*************************************************************************************************** //#define SDCARD // Experimental: For SD card support (reading MP3-files) //#define ETHERNET // For wired Ethernet (WT32-ETH-01 or similar) #define FIXEDWIFI "PoorFarm24/12345678" // Add a fixed SSID to the list (WiFi only) // Define (just one) type of MP3/AAC decoder // Define (just one) type of display. See documentation. // Define ZIPPYB5 if a ZIPPY B5 Side Switch is used instead of a rotary switch // End of configuration parameters. // DEC_HELIX_INT does not seem to work with higher versions of framework. Do a test. |
Your config is okay. I do not understand why helixfunc.h gives errors. Show the errormessages. |
Probably something silly I did or didn't do. [{ |
Looks like the line: But "helixfuncs.h" should not be included at all in the main program:
So if DEC_HELIX is not defined: 4 header files are excluded and only VS1053.h is included. |
Arduino.h is present: // Define the version number, the format used is the HTTP standard. |
I'm making good progress but can't seem to connect to my internet wifi AP. From the serial monitor, I show 1 available network. My wifi AP is then listed with a -27dbm signal level. A few lines later, connect to network, a pause, then wifi failed. Ideas / suggestions?? |
Hi,
I have been having similar problems to you. What I have done is start afresh with a new install of the software from github. Open it in PlatformIO as described. Do not edit anything! I did run ES32_radio_init.ino from the Arduino environment, then main.cpp from Pio. When the radio cannot connect to a wifi, it will make the AP ESP32-Radio (with the hyphen) and you can then add your SSID and pw as described. The AP password also needs the hyphen.
Good luck.
Nick
From: prairietech ***@***.***
Sent: 18 March 2023 16:32
To: Edzelf/ESP32-Radio ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [Edzelf/ESP32-Radio] Newbie Help (Issue #516)
I'm making good progress but can't seem to connect to my internet wifi AP.
My AP is defined in config.h under FIXEDWIFI along with it's password (which is all numeric, I have other esp32s running successfully with this all numeric password if that matters)
From the serial monitor, I show 1 available network. My wifi AP is then listed with a -27dbm signal level. A few lines later, connect to network, a pause, then wifi failed.
The internal AP fires up and I can connect to ESP32-Radio just fine. From the web page Config, my wifi AP is listed as available. I have tried entering my wifi AP info at wifi_01 on the Config web page without success.
Ideas / suggestions??
—
Reply to this email directly, view it on GitHub <#516 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADV2JBZZOYR65NL4ZB4R2SLW4XPQRANCNFSM6AAAAAAVYECAYU> .
You are receiving this because you are subscribed to this thread. <https://github.com/notifications/beacon/ADV2JB6VVUGGYQQ53IJU3QLW4XPQRA5CNFSM6AAAAAAVYECAYWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSX5EZW6.gif> Message ID: ***@***.*** ***@***.***> >
|
…I also had to change the gpio default pin to gpio 16 for the VS1053 XDCS.
Nick
From: prairietech ***@***.***
Sent: 18 March 2023 16:32
To: Edzelf/ESP32-Radio ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [Edzelf/ESP32-Radio] Newbie Help (Issue #516)
I'm making good progress but can't seem to connect to my internet wifi AP.
My AP is defined in config.h under FIXEDWIFI along with it's password (which is all numeric, I have other esp32s running successfully with this all numeric password if that matters)
From the serial monitor, I show 1 available network. My wifi AP is then listed with a -27dbm signal level. A few lines later, connect to network, a pause, then wifi failed.
The internal AP fires up and I can connect to ESP32-Radio just fine. From the web page Config, my wifi AP is listed as available. I have tried entering my wifi AP info at wifi_01 on the Config web page without success.
Ideas / suggestions??
—
Reply to this email directly, view it on GitHub <#516 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADV2JBZZOYR65NL4ZB4R2SLW4XPQRANCNFSM6AAAAAAVYECAYU> .
You are receiving this because you are subscribed to this thread. <https://github.com/notifications/beacon/ADV2JB6VVUGGYQQ53IJU3QLW4XPQRA5CNFSM6AAAAAAVYECAYWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSX5EZW6.gif> Message ID: ***@***.*** ***@***.***> >
|
Sometimes, a complete powerdown helps. |
A good ower supply is also very important. |
My first error was using a / between the ssid and the password instead of a hyphen - since the example was showing a / I've changed from / to a - between ssid and password without success so far. |
A slash is expected. |
Hi Ed,
I am just blown away by your software skills and knowledge and now relieved to get it working!
Are there any pcb’s available for the radio? I can lay out a new version but buying one is a bit easier!!
Nick
From: Ed Smallenburg ***@***.***
Sent: 18 March 2023 17:02
To: Edzelf/ESP32-Radio ***@***.***>
Cc: NickBramley ***@***.***>; Comment ***@***.***>
Subject: Re: [Edzelf/ESP32-Radio] Newbie Help (Issue #516)
A slash is expected.
—
Reply to this email directly, view it on GitHub <#516 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADV2JB6IFWLHF2CTQGUWIV3W4XTAJANCNFSM6AAAAAAVYECAYU> .
You are receiving this because you commented. <https://github.com/notifications/beacon/ADV2JB5CLKBUGQWAI7QHVN3W4XTAJA5CNFSM6AAAAAAVYECAYWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSX5FUKA.gif> Message ID: ***@***.*** ***@***.***> >
|
OK, back to a slash. |
No !
From: prairietech ***@***.***
Sent: 18 March 2023 17:06
To: Edzelf/ESP32-Radio ***@***.***>
Cc: NickBramley ***@***.***>; Comment ***@***.***>
Subject: Re: [Edzelf/ESP32-Radio] Newbie Help (Issue #516)
OK, back to a slash.
But does ssid and pw need to be in both FIXEDWIFI and wifi_0 of the webpage Config page?
—
Reply to this email directly, view it on GitHub <#516 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADV2JB7GOCYOKGHRSQLM3D3W4XTQJANCNFSM6AAAAAAVYECAYU> .
You are receiving this because you commented. <https://github.com/notifications/beacon/ADV2JBYPFEWOV7DIJRZOR4LW4XTQJA5CNFSM6AAAAAAVYECAYWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSX5FWV2.gif> Message ID: ***@***.*** ***@***.***> >
|
Defining FIXEDWIFI is sufficient. Use wifi_nn for extra networks. |
Still no luck.....not sure what to try next? If I set up another AP for testing, does it have to use a password? If not, what is used for the password in the SSID/password parameter? |
Password is equal to SSID. |
I set up a different internet wifi AP using a different SSID and alphanumeric password and still can't connect. |
Your example in the PDF shows an IP address where mine shows 1.0.0.0. Connect to network |
Sorry ED….just realised that I was emailing you rather than Prairietech!
Still would like to know if the pcbs are available form you or Harm Verbeek,
NIck
From: Ed Smallenburg ***@***.***
Sent: 18 March 2023 19:05
To: Edzelf/ESP32-Radio ***@***.***>
Cc: NickBramley ***@***.***>; Comment ***@***.***>
Subject: Re: [Edzelf/ESP32-Radio] Newbie Help (Issue #516)
Password is equal to SSID.
—
Reply to this email directly, view it on GitHub <#516 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADV2JBZGLBXIPHF4SNPI7DTW4YBPJANCNFSM6AAAAAAVYECAYU> .
You are receiving this because you commented. <https://github.com/notifications/beacon/ADV2JBZPCY7CBVIOCTNHZJTW4YBPJA5CNFSM6AAAAAAVYECAYWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSX5IIGW.gif> Message ID: ***@***.*** ***@***.***> >
|
I do not have PCBs. |
@prairietech: I cannot reproduce the 1.0.0.0 IP address. In AP mode it should always be 192.168.4.1. |
So is it safe to overlook this IP address when it shows up in the Serial monitor or does it represent a error that needs to be corrected? D: WiFi Failed! Trying to setup AP with name ESP32-Radio and password ESP32-Radio. |
If you can connect to it, it would be strange. |
I tried your suggestion of another fresh esp32, just by itself sitting on the bench and no board connections...........same story, wifi failed. Maybe I could ship one or two of my esp32s to a successful user to be compiled and verified as working? |
Nick, You might check here for PCBs: https://hackaday.io/project/186284-new-life-for-an-old-radio-esp32-for-ekco-radio |
Progress, sort of. |
I found an excellent review by Andreas Spiess and need some help trying to compile this on Arduino IDE. Adding Libraries hasn't been an issue for me in the past but adding nvr.h is my first brickwall. Maybe some one on one email support from a user?
Thank you! [email protected]
The text was updated successfully, but these errors were encountered: