Category Archives: Raspberry Pi

Raspberry Pi

Switch Debouncing Tutorial

Switch Debouncing Tutorial Pt/2

  In this switch debouncing tutorial part 2 C code debounce algorithms will be looked at further, and their effectiveness.  All the software solutions shown will be demonstrated on the MSP430G Launchpad.  However the basic principle of operation shown in the examples, can be applied to all microcontrollers, particularly the last example which is based on some View more…

Switch Debouncing Tutorial

Switch Debouncing Tutorial Pt/1

  In this switch debouncing tutorial part 1 the cause and effect of switch bounce will be explained and demonstrated, then a cost effective hardware debouncing solution will be discussed, with oscilloscope captures to demonstrate the results.  The last section of part 1 will show a simple program based on the MSP430 , this can be used to see the View more…

Microcontroller GPIO Protection Tutorial

Microcontroller GPIO protection is an essential element of any circuit design. GPIO ports generally have maximum voltage and current ratings, if these are exceeded it can result in the microcontroller being damaged or completely destroyed. Therefore it is important to use external circuitry to protect the ports from excessive voltage, or excessive current being sourced View more…