Metro M4 AirLift ESP-Now?

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
poledrop
 
Posts: 3
Joined: Sat Jul 17, 2021 5:14 am

Metro M4 AirLift ESP-Now?

Post by poledrop »

Hello,

I got a few Huzzah32's, and would like to send synced messages to all of them simultaneously. ESP-Now seems like a great protocol to do that.

However, when I try to upload some ESP-Now code, I get :

Code: Select all

esptool.py v3.0-dev
Serial port COM17
Connecting.....
Traceback (most recent call last):
  File "esptool.py", line 3682, in <module>
  File "esptool.py", line 3675, in _main
  File "esptool.py", line 3330, in main
  File "esptool.py", line 512, in connect
  File "esptool.py", line 492, in _connect_attempt
  File "esptool.py", line 431, in sync
  File "esptool.py", line 369, in command
  File "esptool.py", line 332, in write
  File "site-packages\serial\serialwin32.py", line 323, in write
serial.serialutil.SerialTimeoutException: Write timeout
Failed to execute script esptool
An error occurred while uploading the sketch
I set the board to "Metro ESP32", but also tried with the usual Metro M4 airlift in Arduino IDE. Has anyone been able to talk over ESP-Now with a Metro board?

Thank you!

Michel

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: Metro M4 AirLift ESP-Now?

Post by mikeysklar »

Michel,

This error looks more like a general sync failure between esptool and your Metro M4 Airlift. I don't think you are having ESP-now related issues as of yet.

Have you been able to sync any code (eg. blink example) over to the Metro M4? Does your system recognize the COM port for the Metro M4? If not it is often a USB cable issue.

User avatar
poledrop
 
Posts: 3
Joined: Sat Jul 17, 2021 5:14 am

Re: Metro M4 AirLift ESP-Now?

Post by poledrop »

mikeysklar wrote:Michel,
Have you been able to sync any code (eg. blink example) over to the Metro M4? Does your system recognize the COM port for the Metro M4? If not it is often a USB cable issue.
Hello, thanks for your reply. I'm new here, didn't notice :)

Yes, I got the ScanNetworks to run on the M4 AirLift, no problem.

I ordered another Huzzah32 to solve the problem for now, but would love to be able to communicate via ESP-Now between M4 and the Feathers.

Thank you for your time

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: Metro M4 AirLift ESP-Now?

Post by mikeysklar »

Good idea to just go with another Huzzah32 and forgo the complexities of getting ESP-Now up and running on a Metro M4 Airlift.

I did see that there is a github repo for a more generalized version of ESPNow that you might want to consider to communicate between non-ESP devices.

https://github.com/HarringayMakerSpace/ESP-Now

I had been looking for requirements for ESP-Now around firmware if it needed a specific version for support as the Metor M4 Airlift's FW could be a bit behind.

User avatar
poledrop
 
Posts: 3
Joined: Sat Jul 17, 2021 5:14 am

Re: Metro M4 AirLift ESP-Now?

Post by poledrop »

All right, thank you. Once I'm done with this project I'll try to port it to Metro's ESP chip.

Thanks for your input.

All the best,

Michel

Locked
Please be positive and constructive with your questions and comments.

Return to “Metro, Metro Express, and Grand Central Boards”