Skip to content
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

Force PWM mode for power supply on GPIO, or suggest it in documentation #247

Open
tfry-git opened this issue Apr 5, 2024 · 0 comments
Open

Comments

@tfry-git
Copy link
Collaborator

tfry-git commented Apr 5, 2024

          And, I wanted to add that with Mozzi version 2, PWM output ( custom pin) if I use the second cpu I can use the adafruit libraries and I2C bus for display and muxed input on the RP2040 (a pico). To reduce noise, don't forget:
  pinMode(23, OUTPUT); // thi is to switch to PWM for power to avoid ripple noise
  digitalWrite(23, HIGH);

which keeps the pico from dropping into PFM power saving mode and forces PWM mode. That's quiet. Running from a 3.7 volt lithium with the display active and a simple RC output, it's really nice! I have to see what, if anything is possible with the beloved nano :)

Originally posted by @poetaster in #209 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants