A pulse-width-modulated (PWM) signal and the RC-charging characteristics of a weighted-capacitor network can be used along with a CMOS Schmitt inverter to generate a pulse whose width is linearly proportional to the 16 combinations of a hex (thumbwheel) switch. The decoding is implemented using the Arduino Uno and requires only two pins (OCRA and INT0), leaving all of the other pins free for alternate functions.
The theory, which is the basis for this design idea, is the well-known ca
Register to view the full article
By registering on Electronic Design now, you'll not only gain access to premium content, you'll also become part of a robust engineering community. Gain access to the complete 2016 Salary & Career Report when you register now.
Joining the Electronic Design community also allows you to:
Become a member of a group of exclusive Engineers
Participate in Expert and Reader driven Q&A's
Start your own conversation by commenting on any article or blog
Communicate and network with other Engineers from all over the world
Gain access to high-quality content