Unstable on/off positions #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When the servo reaches the on or off position, it continues to wiggle quite a bit. I suspect the analogReads still aren't stable even with the delay after updating the position.
mentioned in issue #2
Maybe some filtering is a good idea as well:
https://www.norwegiancreations.com/2015/10/tutorial-potentiometers-with-arduino-and-filtering/
There are definitely spikes in the 5V line when the servo moves, which makes sense. A 470 uF capacitor on the servo connection practically solves it, no need for software changes just yet.
closed via commit fa53deb9d086766c5b852e39d2ca397a34f147bf