Home / Roland Pelayo (page 20)

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 Roland is open to consultation or microcontroller firmware projects: just contact him via the contact page.

How to use 16×2 LCD with Raspberry Pi

raspberry pi lcd

The 16×2 parallel LCD (HD44780) is a popular liquid crystal display among hobbyists due to its cheap price and ease of use. The Arduino platform recognizes its popularity and created the LiquidCrystal library for it. The Arduino LCD tutorial covers that. I attempted to port the LiquidCrystal library to the …

Read More »

Arduino Sensor Interfacing Tutorial

arduino sensor example

A sensor is a device that transforms physical quantities like temperature, humidity, pressure, etc., to an electrical signal. Moreover, this signal is often fed to a microcontroller like the Arduino for further processing, displaying or recording. This data from the sensor are often analog in nature, i.e., they vary over …

Read More »

PIC16 I2C Tutorial

PIC16F877A

To continue with our tutorial on synchronous serial with PICs, we will know look at I2C, another popular protocol used by sensors, displays and memory devices.

Read More »

PIC16 SPI Tutorial

PIC16F877A

Simply put, synchronous serial protocols like SPI and I2C have a separate line for timing (the CLK line) while asynchronous protocols like UART (RS232) doesn’t. The addition of a clock line makes reception timing much more easier and thus reduces transmission errors. It is also possible to interconnect more than …

Read More »

Serial (USART) Communication with PIC16F877A

PIC16F877A

PIC microcontrollers, obviously, can do more than just light up LEDs or reading button states. Microcontrollers can also communicate with another microcontroller or with other devices like sensors, memory cards, etc. Often the communication is done serially, where data bits are sent one at a time. The microcontroller serial communication …

Read More »

Arduino Nokia 3310 LCD Interfacing

Displays are almost always a part of any microcontroller project or embedded system. Fortunately, there are cheap LCDs available with a wide support for multiple microcontroller devices. One is the PCD8544-based liquid crystal display, more popularly known as the Nokia 5110/3310 LCD. This Arduino Nokia 3310 LCD interfacing article covers …

Read More »

Input/Output with PIC Microcontrollers

PIC16F84A

For most microcontrollers, the input and output channels are handled by data direction special function registers. AVR microcontrollers call them Data Direction Registers (DDR) while ARM-based STM32 has a group of “GPIO” registers. PICs call them TRIS registers which is supposed to be short for “TRIState”. In this article, we …

Read More »

Arduino NRF24L01 Interfacing Tutorial

NRF24L01 Lower Power

If you are looking to have wireless features on your next project and don’t want to spend that much, then an Arduino NRF24L01 solution might be for you. The NRF24L01 by Nordic Semiconductors contains a 2.4 GHz RF transceiver, synthesizer and baseband logic which can be interfaced through SPI. Apparently, …

Read More »