View Single Post
Old 1st Sep 2019, 12:56 am   #14
MrBungle
Dekatron
 
MrBungle's Avatar
 
Join Date: Jun 2016
Location: London, UK.
Posts: 3,687
Default Re: Embedded Control for a newbie

Progrock already solves that problem in a very easy way. It has three bank select inputs bits which are programmable in binary. Just connect your rotary switch wiper to +5V then wire up suitable series 1n4148 diodes (like a diode ROM) to each switch position so that the thing outputs 3 bit binary . Program your frequencies into output 1 in each bank and done. A 6 position switch will need only 9 diodes.

No ADC, no separate computer, nothing painful.
MrBungle is offline