- Replies 1
- Views 1
- Created
- Last Reply
Top Posters In This Topic
-
Dave Williams 1 post
-
Jessica Williams 1 post
A better way to browse. Learn more.
A full-screen app on your home screen with push notifications, badges and more.
so i've been messing around with an arduino mega for a few months now and i finally got to the point where i want to do something actually useful with it for the shack. the idea is pretty simple in my head — read the SWR from my antenna analyzer output, feed that into the arduino, and have it drive a couple of stepper motors to rotate the capacitor and inductor on my homebrew L-network tuner. sounds simple right
the problem im running into is the analog reads are noisy as heck. im using a directional coupler i wound myself on a FT-37-43 core and the voltage divider output feeding into the A0 pin, but even with a 100uf cap across the input and a small RC filter i built i still get like 30-40 points of jitter on the analogRead. tried averaging 50 samples and it helped some but when youre trying to detect a minimum in the SWR curve even small variations mess up the algorithm
anyone dealt with ADC noise on arduino specifically in an RF environment? im wondering if i need to shield the whole thing in a metal box or if theres something in the code side i can do. also considered switching to a Pi Zero with an external ADC over SPI but that feels like overkill for what is basically a PID loop
Link to comment
https://www.hamradiobase.com/forums/topic/4752-using-arduino-to-automate-my-antenna-tuner-anyone-done-this-before/Share on other sites