Tuesday, 21 October 2014

analog - BCD Switch Resistor Network for Proportional Voltage Output


My goal is to wire a BCD switch in a 5 volt system and get a voltage proportional to the 0-9 on the switch. My first thought was BCD -> R/2R network. That does not work because the R/2R network expects its inputs to be Vdd or Ground. The BCD switches produce short-to-common or open-circuit. Some solutions have occurred to me:




  1. Use a digital buffer with pull-ups between the BCD switch and the R/2R network. The 74ALC746 can do this but it seems unlikely that I will find one in stock.





  2. Use a BCD switch with both complement and non-complemented outputs. Those are expensive switches!




  3. Use an R/2R/4R/8R network and a constant current source. Are there R/2R/4R/8R resistor networks? This seems to be less energy efficient than #1.




  4. Use a microcontroller. That will work but a simple, purely hardware approach is preferred.





Do you have any suggestions?


Thank you




No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...