Beyond Arduino: 5 - Learn A Trick to Read Multiple Switches with one Pin

Eduardo Corpeño, Electrical and Computer Engineer

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
5 Videos (16m)
    • Introduction

    • The Problem

    • The RCTIME Algorithm

    • Introduction

    • Reading Multiple Buttons


About This Class

In this class you will learn how to read multiple input switches with only one GPIO pin using your favorite microcontroller platform! 

It's a very interesting algorithm that uses both data directions of a GPIO pin (input and output) to measure time based on Resistance and Capacitance.

Wait. Don't leave, it's fun!





Eduardo Corpeño

Electrical and Computer Engineer

I'm an Electrical and Computer Engineer. I've been teaching Engineering at undergraduate and graduate levels for over 10 years. 

I love hardware, software and teaching.

Among the subjects in the classes I teach, my strongest are Electrical Circuit Theory, Electronic Devices, Digital Design, Computer Architecture, Microcontrollers, Assembly and C Programming for Embedded Applications, Hardware Description Language, Field Programmable Gate Arrays, Artificial Intelligence, Printed Circuit Board Design and Real Time Operating Systems.

Along with two of my finest colleagues, I created one of the first MOOCs in spanish, an introduction to the Raspberry Pi. We wrote a conference paper on the outcome of this very successful course. 

I'm currently taking the Online Master of Science in Computer Science at Georgia Tech and I'm loving every minute of it.