Home / Roland Pelayo

Roland Pelayo

Roland is the brains of Teach Me Microcontrollers. He is a firmware engineer who have ten years (and counting) of experience in developing electronic and microcontroller-based systems. Roland's designs include medical devices, security and automation, robots, emergency alert systems and educational training modules. Besides writing for TMM, he currently heads the Electronics Engineering Program of Holy Cross College in Davao City. He was also once a technical editor of All About Circuits and Maker.Pro. Some of his projects are found in his Maker.Pro page. Roland is open to consultation or microcontroller firmware projects: just contact him via the contact page.

Interrupt Tutorial II - Arduino Timer Interrupt

Arduino Timer Interrupt

On my previous Arduino Interrupt tutorial, I showed how to use the external and pin change interrupts for the ATMega328p-based Arduinos. There, I showed an example where pressing a button halts the normal program execution any time and serves another routine (called ISR). In this article, we’ll look at how …

Read More »

Arduino Interrupt Tutorial

Arduino Interrupt A0 Pin Change Example

An interrupt, in microcontroller context, is a signal that temporarily stops what the CPU is currently working at. Programming using interrupts is very different from the usual top-to-bottom sequence in an Arduino program and thus can be confusing for some. This article aims to introduce how an interrupt works and …

Read More »

Raspberry Pi Serial (UART) Tutorial

Arduino UNO Raspberry Pi Connection

The serial port is a common way to “talk” to devices and is a feature that most microcontrollers and computers have. This Raspberry Pi Serial tutorial teaches you how to utilize the board’s UART feature in order to connect to a PC or to other microcontrollers and peripherals.

Read More »

Raspberry Pi GPIO Tutorial

GPIO LED output example

The Raspberry Pi is a Linux computer. But unlike most desktop and laptop Linux computers, users have access to a row of pins which can be used as inputs or outputs. These 40 pins are called GPIO (General Purpose Input Output) pins. This Raspberry Pi GPIO tutorial aims to help …

Read More »

Arduino RGB LED Tutorial

arduino rgb led tutorial

A RGB LED is a special light emitting diode which can produce 16 million possible colors, all by combining the colors red, green and blue in varying intensities. This tutorial will show you how to use a RGB LED with Arduino. Introduction to RGB LEDs RGB LEDs typically have four …

Read More »

Using an Arduino Turbidity Sensor

Turbidity refers to the haziness of a fluid caused by the increased number of very tiny particles which, individually, is invisible to us. Moreover, turbidity measurement is important in testing the quality of water. This Arduino turbidity sensor tutorial provides a guide on how to implement this setup using a …

Read More »

How to Use a Microphone with Arduino

arduino microphone

How can an Arduino capture sound? Just like how your computer captures sound: through a microphone. In this Arduino microphone tutorial, we’ll look at how a sound sensor works. Also, we’ll build a simple clap switch project as an example on how to use a microphone with Arduino.

Read More »

Featured: DFRobot Bluno M3

DFRobot Bluno M3

Last time I featured DFRobot’s Bluno M0, an arduino compatible board with embedded bluetooth chip. Now, I will write about the Bluno M3, an STM32 powered board which strikingly looks similar to the M0. Is it the same board or does it offer more?

Read More »