mavesp8266
mavesp8266 copied to clipboard
support for ESP32
Hi ! What version of esp32-wroom have you use when you compiled this new support for the esp32 ? Thanks !
ESP32-WROOM-32UE
ESP32-WROOM-32UE
Thank you for the kindness .The specifications of this esp32wroom32eu please confirm me that they are these following ? :
Xtensa® dualcore 32bit LX6 microprocessor
Yes, that is correct. The chip is here: https://www.sparkfun.com/products/17746 and you can use the devboard listed in README
Thanks !
You’re welcome. I hope it works out for you.
Hi , yes thanks I was able to merge with my branch and compile , but first I had to merge with the updated version of mavesp8266 from the ardupilot branch : https://github.com/ArduPilot/mavesp8266 Your fork unfortunately was based on a somewhat old version , but it does the same . In a few days I should have a chance to test it on an ESP32-S3-MINI1
What’s in the Ardupilot branch ? I based mine off of Gus’s work, which is the original work; I guess ardupilot guys forked theirs and made mods?
Please send me a link to your branch and I will check it out; I have new boards that are showing up in a few days.
What’s in the Ardupilot branch ? I based mine off of Gus’s work, which is the original work; I guess ardupilot guys forked theirs and made mods?
Please send me a link to your branch and I will check it out; I have new boards that are showing up in a few days.
I'll do it thanks :) Yes Ardupilot's guys made some mods . By the way you can test your version on a esp32-s3-mini1 ? It would be wonderful
Thanks. I did a diff. I see they use the mavlink library directly, added a raw (non Mav) mode (presumably for FGW upgrade), added some serial performance fixes and web mods (version, macaddr). Once I get back to testing this I will merge this code into the branch and post a new PR.
Send me the link to the HW you want me to test - does the mini have a uFL? I am using ESP-WROOM so I can use uFL and mount an external antenna. Range baby, range :-)
On Fri, Nov 25, 2022 at 11:33 AM Davide_Lentini @.***> wrote:
What’s in the Ardupilot branch ? I based mine off of Gus’s work, which is the original work; I guess ardupilot guys forked theirs and made mods?
Please send me a link to your branch and I will check it out; I have new boards that are showing up in a few days.
I'll do it thanks :) . By the way you can test your version on a esp32-s3-mini1 ? It would be wonderful
— Reply to this email directly, view it on GitHub https://github.com/dogmaphobic/mavesp8266/pull/90#issuecomment-1327832748, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXSUDBPKFUHGJU4SACP2XDWKEIBHANCNFSM5OMHU6QA . You are receiving this because you authored the thread.Message ID: @.***>
Thanks ! Yes a lot of people use the mavesp version of ardupilot , and due to my long use of it I decided to make the merge with your fork for use the esp32 . The hardware is this : https://www.google.com/url?sa=t&source=web&rct=j&url=https://www.espressif.com/sites/default/files/documentation/esp32-s3-mini-1_mini-1u_datasheet_en.pdf&ved=2ahUKEwiMxea7l8v7AhVMhP0HHdwoD3wQFnoECB0QAQ&usg=AOvVaw0yREMamIU9NmRjoYoXUXGB Thanks a lot
@jafrado Hi! Did you have any chance to test your fork with the esp32-s3-mini1? I would be interested in it , because I want to use it for my drone . Thank you very much ! :)
hi David, you sent me the link to the hardware on Friday. I would still have to order the board and I need a link to some thing which has an external antenna.Besides, this PR is for the ESP32-WROOM. I would need to make a new PR for the Ardupilot changes and then any changes needed for the S3.Is there some reason you’re not using the ESP 32 module I already referenced? it works, it’s been tested (hence this PR). If you’re flying a drone, you probably want the external antenna anyhow.please post these requests to my fork instead of adding additional work to an already pending PR.separately, can you please send me a link to a board that has an external antenna? I’m well aware of the part and I don’t see the reason and using this versus the WROOM. What is the rationale?On Nov 28, 2022, at 4:45 AM, Davide_Lentini @.***> wrote: @jafrado Hi! Did you have any chance to test your fork with the esp32-s3-mini1? I would be interested in it , because I want to use it for my drone . Thank you very much ! :)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
Davide?On Nov 28, 2022, at 7:19 AM, James Dougherty @.> wrote:hi David, you sent me the link to the hardware on Friday. I would still have to order the board and I need a link to some thing which has an external antenna.Besides, this PR is for the ESP32-WROOM. I would need to make a new PR for the Ardupilot changes and then any changes needed for the S3.Is there some reason you’re not using the ESP 32 module I already referenced? it works, it’s been tested (hence this PR). If you’re flying a drone, you probably want the external antenna anyhow.please post these requests to my fork instead of adding additional work to an already pending PR.separately, can you please send me a link to a board that has an external antenna? I’m well aware of the part and I don’t see the reason and using this versus the WROOM. What is the rationale?On Nov 28, 2022, at 4:45 AM, Davide_Lentini @.> wrote: @jafrado Hi! Did you have any chance to test your fork with the esp32-s3-mini1? I would be interested in it , because I want to use it for my drone . Thank you very much ! :)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
Hello ! Sorry for the delay in replying . Actually it is a test we want to do on s3-mini 1 chip , but I think in case of incompatibility with your fork we could switch to esp32 wroom . I will start an issue for the port with S3 in your fork not to clog the discussion here :) . I am more on the software side so I couldn't point you to a good link for an external antenna for the s3-mini1 , but I will talk to the hardware guy ; However I think for a compatibility test you don't need an external antenna right ? Do you think it is possible to port your fork for the s3-mini1 in case ?
No problem. sure I will buy the sparkfun module unless you have another bored you want me to look at…On Dec 1, 2022, at 7:35 AM, Davide_Lentini @.***> wrote: Hello ! Sorry for the delay in replying . Actually it is a test we want to do on s3-mini 1 chip , but I think in case of incompatibility with your fork we could switch to esp32 wroom . I will start an issue for the port with S3 in your fork not to clog the discussion here :) . I am more on the software side so I couldn't point you to a good link for an external antenna for the s3-mini1 , but I will talk to the hardware guy ; However I think for a compatibility test you don't need an external antenna right ? Do you think it is possible to port your fork for the s3-mini1 in case ?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
No problem. sure I will buy the sparkfun module unless you have another bored you want me to look at…On Dec 1, 2022, at 7:35 AM, Davide_Lentini @.***> wrote: Hello ! Sorry for the delay in replying . Actually it is a test we want to do on s3-mini 1 chip , but I think in case of incompatibility with your fork we could switch to esp32 wroom . I will start an issue for the port with S3 in your fork not to clog the discussion here :) . I am more on the software side so I couldn't point you to a good link for an external antenna for the s3-mini1 , but I will talk to the hardware guy ; However I think for a compatibility test you don't need an external antenna right ? Do you think it is possible to port your fork for the s3-mini1 in case ?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
At the moment no , not another board :) thank you for your patience and support !
@DavideLentini , ok, I researched this. It is hard to get the hardware besides the PCB antenna modules, and they are crap, you will not even be able to fly 1km or 1/4 mile at 100' - I know because I tested it. My current system works well over a mile, closer to 1.5 miles (about 3km). But then again, most consumers are ok with short range on PCB antenna.
Anyhow, it sounds like a new hardware platform build is needed - I found out the ESP32-WROOM is not recommended for new designs. None of the available S3 boards are any good for use in drones because there is no external antenna - all PCB. I have my own design I have been using for this pull request. I documented it here - https://github.com/jafrado/mavesp8266/wiki/WLAN-Mavlink-Router-Bridge-Development Please comment on this, if you want any features not listed let me know. What would be really good is the dimensions. I use 300kv T-Motors and ESC and I am turning 18" props for my quad and hex, you may have different power and form-factor requirements then me. For the first few samples, I will only ask you to pay at cost if you help me test.
@jafrado Hi ! Thanks for your effort ! Actually we have this dev kit in our lab ( arrived few days ago ) , and we're available to test an eventually mavesp8266 ardupilot fork firmware build with this kind of board . Also we are not interested in a long range flight . If you have a discord account , we can chat there , it's easier . https://au.mouser.com/ProductDetail/356-ESP32S3DEVKTM1N8
thanks! I will order that one!hey come check out Discord with me https://discord.gg/fprSn3s5On Dec 6, 2022, at 11:59 PM, Davide_Lentini @.***> wrote: @jafrado Hi ! Thanks for your effort ! Actually we have this dev kit in our lab ( arrived few days ago ) , and we're available to test an eventually mavesp8266 ardupilot fork firmware build with this kind of board . Also we are not interested in a long range flight . If you have a discord account , we can chat there , it's easier . https://au.mouser.com/ProductDetail/356-ESP32S3DEVKTM1N8
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
anyhow, I will merge the ardupilot code this weekend and send you a link to the Pull requestOn Dec 7, 2022, at 6:29 AM, James Dougherty @.> wrote:thanks! I will order that one!hey come check out Discord with me https://discord.gg/fprSn3s5On Dec 6, 2022, at 11:59 PM, Davide_Lentini @.> wrote: @jafrado Hi ! Thanks for your effort ! Actually we have this dev kit in our lab ( arrived few days ago ) , and we're available to test an eventually mavesp8266 ardupilot fork firmware build with this kind of board . Also we are not interested in a long range flight . If you have a discord account , we can chat there , it's easier . https://au.mouser.com/ProductDetail/356-ESP32S3DEVKTM1N8
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
@dogmaphobic - are you alive? I hope so; I don't see you online anymore and you've ghosted everyone! Miss you man!
@DavideLentini I merged the Ardupilot master with this code base. It builds for ESP32WROOM but I have not tested on HW yet. Separately, I added the ESP32-S3 documentation based on PlatformIO ESP32-S3 support. It doesn't build when I run it though:
area51:~/esp8266/Arduino/mavesp8266> platformio --version
PlatformIO Core, version 6.1.4
area51:~/esp8266/Arduino/mavesp8266>
area51:~/esp8266/Arduino/mavesp8266> platformio run -e esp32-s3-devkitc-1 -t upload
Processing esp32-s3-devkitc-1 (platform: espressif32; framework: arduino; board: esp32-s3-devkitc-1)
--------------------------------------------------------------------------------
Error: Unknown board ID 'esp32-s3-devkitc-1'
area51:~/esp8266/Arduino/mavesp8266>
Probably I need a new version, I have been using this one since it is stable and flight tested. Please add the below to your platformio.ini file and let me know what you find.
I get my S3 board on Friday, I will test that and the WROOM this weekend. Ciao!
[env:esp32-s3-devkitc-1]
platform = espressif32
framework = arduino
board = esp32-s3-devkitc-1
; change microcontroller
board_build.mcu = esp32s3
; change MCU frequency
board_build.f_cpu = 240000000L
@jafrado Hello ! Fantastic . Then , also I had tried to compile a firmware with the new board in the platformio.ini , I could pass the board ID check , but it gave many errors on various libraries . Anyway I will try again today or tomorrow to make some screens and share them . So please confirm me , will you get this board on Friday ? https://au.mouser.com/ProductDetail/356-ESP32S3DEVKTM1N8 We are so interested in testing it on this board because it would seem to be the only one available on the list for compatibility with ArduRemoteId , but that is another story ! Now let's focus on creating a port of your current fork esp32 for this board(the one I have in the lab) and for your wroom. Thank you very much for your help
yes, I got the exact board that you sent me, it will arrive in probably 24 hoursSee if you can get the platformio compiler set up and what version you’re using to compile for ESP32 – S3That will help a lot!On Dec 7, 2022, at 10:49 PM, Davide_Lentini @.***> wrote: @jafrado Hello ! Fantastic . Then , also I had tried to compile a firmware with the new board in the platformio.ini , I could pass the board ID check , but it gave many errors on various libraries . Anyway I will try again today or tomorrow to make some screens and share them . So please confirm me , will you get this board on Friday ? https://au.mouser.com/ProductDetail/356-ESP32S3DEVKTM1N8 We are so interested in testing it on this board because it would seem to be the only one available on the list for compatibility with ArduRemoteId , but that is another story ! Now let's focus on creating a port of your current fork esp32 for this board(the one I have in the lab) and for your wroom. Thank you very much for your help
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
I see you want OpenDroneIDuav_electronic_ids/id_open at main · sxjack/uav_electronic_idsgithub.comOn Dec 7, 2022, at 11:37 PM, James Dougherty @.> wrote:yes, I got the exact board that you sent me, it will arrive in probably 24 hoursSee if you can get the platformio compiler set up and what version you’re using to compile for ESP32 – S3That will help a lot!On Dec 7, 2022, at 10:49 PM, Davide_Lentini @.> wrote: @jafrado Hello ! Fantastic . Then , also I had tried to compile a firmware with the new board in the platformio.ini , I could pass the board ID check , but it gave many errors on various libraries . Anyway I will try again today or tomorrow to make some screens and share them . So please confirm me , will you get this board on Friday ? https://au.mouser.com/ProductDetail/356-ESP32S3DEVKTM1N8 We are so interested in testing it on this board because it would seem to be the only one available on the list for compatibility with ArduRemoteId , but that is another story ! Now let's focus on creating a port of your current fork esp32 for this board(the one I have in the lab) and for your wroom. Thank you very much for your help
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
yes, I got the exact board that you sent me, it will arrive in probably 24 hoursSee if you can get the platformio compiler set up and what version you’re using to compile for ESP32 – S3That will help a lot!On Dec 7, 2022, at 10:49 PM, Davide_Lentini @.> wrote: @jafrado Hello ! Fantastic . Then , also I had tried to compile a firmware with the new board in the platformio.ini , I could pass the board ID check , but it gave many errors on various libraries . Anyway I will try again today or tomorrow to make some screens and share them . So please confirm me , will you get this board on Friday ? https://au.mouser.com/ProductDetail/356-ESP32S3DEVKTM1N8 We are so interested in testing it on this board because it would seem to be the only one available on the list for compatibility with ArduRemoteId , but that is another story ! Now let's focus on creating a port of your current fork esp32 for this board(the one I have in the lab) and for your wroom. Thank you very much for your help —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.>
Fantastic .
So I checked just now , I usually use a sh script to compile everything faster .
The platformio version I have is 6.1.4 , I entered the same parameters as yours in the platformio.ini . Attached here is the initial compilation result .
Next there are various errors for various different files , always referring though to the ESP8266WiFi.h library .
fatal error: ESP8266WiFi.h: No such file or directory
I tried compiling for wroom32 as well and everything works perfectly . Could it be for a library incompatibility with the arduino framework?
OK I can’t even get that far, do you have to install the ESPSDK first? when I run platform I/O with the boards, command line option the S3 is not listed!So what we need to do is figure out what the define is for esp32 S3…The reason you’re getting this compile errors is because the ESP 32 defines for WROOM are different!On Dec 7, 2022, at 11:57 PM, Davide_Lentini @.***> wrote:
yes, I got the exact board that you sent me, it will arrive in probably 24 hoursSee if you can get the platformio compiler set up and what version you’re using to compile for ESP32 – S3That will help a lot!On Dec 7, 2022, at 10:49 PM, Davide_Lentini @.> wrote: @jafrado Hello ! Fantastic . Then , also I had tried to compile a firmware with the new board in the platformio.ini , I could pass the board ID check , but it gave many errors on various libraries . Anyway I will try again today or tomorrow to make some screens and share them . So please confirm me , will you get this board on Friday ? https://au.mouser.com/ProductDetail/356-ESP32S3DEVKTM1N8 We are so interested in testing it on this board because it would seem to be the only one available on the list for compatibility with ArduRemoteId , but that is another story ! Now let's focus on creating a port of your current fork esp32 for this board(the one I have in the lab) and for your wroom. Thank you very much for your help —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.>
Fantastic . So I checked just now , I usually use a sh script to compile everything faster . The platformio version I have is 6.1.4 , I entered the same parameters as yours in the platformio.ini . Attached here is the initial compilation result . Next there are various errors for various different files , always referring though to the ESP8266WiFi.h library .
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
@jafrado
So to summarize my setup .
I have a WSL with ubuntu 20.0.4 .
I installed platformio simply like this :
pip install platformio
After I ran this command :
platformio run -e esp32-s3-devkitc-1
it started a process of installing various proprietary esp32-s3 packages
At the end of everything I checked with platformio boards :
And it seems to have installed it for me
@jafrado However in the meantime , I wanted to ask you since then for the board: ESP32-S3-DevKitM-1-N8 We should still do the same process we are doing now , that is to add the board in the platformio.ini , do we know or is there a definition for this board to be included ? Because looking in the platformio documentation: https://docs.platformio.org/en/latest/platforms/espressif32.html#espressif I saw that it goes up to C-1 , when we are interested in M-1. Am I missing something ?