arduino / arduino/ArduinoCore-megaavr
Arduino Wifi Rev2, mqtt, wifi + servo not compatible?
- Dominant language
- C++
- Stars
- 111
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I have no idea if this is the right place to post this issue. If wrong, just delete it, my apologies.
I have posted it on arduino.cc and haven't got one single suggestion or answer at all. I don't want to post the same info in two places so I basically will just post the link.
**But here comes a short description:**
The issue is that I cannot get Arduino Wifi Rev2 to work with mqtt, wifi and servo at the same time. mqtt and wifi works fine, servo works fine but as soon as I add those together everything gets very unstable. No matter what pin I use for the servo (which was my original problem but then I found out which one to use (8)). And it is also very unstable without the servo even connected, that is when I realized I might have a real problem somewhere.
I have tried to boil the problem down to a simple one and now I am down to one simple sketch (an example sketch) with two extra lines of code. As soon as I add the servo everything becomes unstable. And I have no idea why.
Here is the link to what I think is a clear definition of the problem. Would very much appreciate any form of tips or suggestion on how to go on because I am very close to give up totally after a long time of trying to find out what is wrong. Maybe I have totally missed something.
https://forum.arduino.cc/index.php?topic=610037.0
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the linked Arduino forum thread and the minimal example sketch described in the issue. Reproduce the instability with MQTT, WiFi, and Servo together, then compare each component separately; done requires a documented root cause or a confirmed compatibility resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- arduino, cpp
- Domain
- embedded-iot, networking
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100