I need to produce a 20kHz-30kHz frequency window and I'm wondering what would be suitable way of doing this. The frequency should be digitally controlled (eg. 8-bit) and it would be good if the whole 8-bit resolution is in the 10kHz range (30kHz-20kHz).
One way of doung this would be to employ 555 IC in astabile configuration and use digital resistor to vary the frequency. You can connect another resistor in series with the digital to adjust 30kHz when the digital resistor is set to 0Ω and select the digital resistor's value so it gives you exactly 20kHz when it is set to the Max resistance. ..
Info on 555: **broken link removed**
Examples of digital potentiometers: https://www.alldatasheet.co.kr/datasheet-pdf/view/DALLAS/DS1666S-050.html