Design Tips: Use Peripherals where ever possible (Rotary encoder with STM32)

When it comes to embedded systems, the most important thing is the execution time required for your main loop. It determines your system's responsiveness and power consumption. To drive that point home, today, we will see how to interface a rotary encoder to an STM32. And shorten the time spent in the control loop by using peripherals. Tip: Use microcontroller's…

Continue ReadingDesign Tips: Use Peripherals where ever possible (Rotary encoder with STM32)
Read more about the article Switch Position to Binary Converter
12 Way Switch

Switch Position to Binary Converter

This circuit is used to convert single pole 12 throw switch to into binary output. 12 Way Switch As the maximum bit is 12 (position) which is represented as 1100 in binary hence we need 4 data lines as output Diode Base 12 Way Switch to Binary Converter Circuit Here in the image above we can see each input position…

Continue ReadingSwitch Position to Binary Converter