Home / Roland Pelayo (page 46)

Roland Pelayo

I started TMM back in 2015. I’m a firmware and embedded systems engineer with over ten years of experience designing and developing electronic and microcontroller-based products. Over the years, I’ve worked on a wide range of projects, including medical devices, access control and security systems, automation, robotics, wireless communication modules, IoT systems, imaging and sensor instruments, and educational training tools. I’ve built systems using platforms such as PIC, AVR, ESP32, STM32, nRF52, and Raspberry Pi, and I regularly work with protocols like RS485/OSDP, CAN, TCP/IP, Wiegand, and a variety of sensor and communication interfaces. I also develop full-stack solutions for embedded projects, combining firmware, hardware, and web-based dashboards when needed. If there’s a topic you’d like me to write about, or if you need consultation or hands-on development for electronics, embedded, or firmware projects, I’m always open to working on new ideas and collaborations. You can reach me anytime through the contact page.

Arduino GPS Tutorial

GPS Tutorial

Global Positioning System (GPS) has been around since the 80's and is still one of the most important features you can add to any electronic system. The idea of tracking something (or someone) is cool enough but doing so without a telephone or an internet connection is much cooler.  In …

Read More »

NodeMCU MQTT Tutorial

NodeMCU Webserver

So far, we've been using HTTP in our NodeMCU web servers and while it works, the protocol is not really the best way for sending and receiving small-sized data for IoT applications. In this tutorial, I will introduce you to MQTT using ESP8266.

Read More »

Controlling a Servo Motor with BoneScript

beaglebone black adc

Using the Beaglebone Black's PWM Bonescript also includes an analogWrite function which utilizes the 8 PWM pins of the Beaglebone Black. As you might already know, PWM allows us to control a servo motor. The analogWrite function accepts the pin name, duty cycle, frequency, and callback function as parameters. The …

Read More »

Analog Signals with BeagleBone BoneScript

beaglebone black adc

Using the Beaglebone Black ADC One of the advantages of the Beaglebone Black over the Raspberry Pi is the presence of an analog-to-digital converter. There are 7 analog inputs, all at P9: To process analog signals, we’ll be using the analogRead() function. Note that the analog pins can only read …

Read More »

Input to BeagleBone Black with BoneScript

beaglebone black adc

Using a Button As you’ve noticed, the functions in bonescript are similar to Arduino’s. If we are to use an input device such as a button, switch, etc, we only need to change the direction using pinMode: var b = require('bonescript'); b.pinMode("P9_12", b.INPUT);   The script below reads the state …

Read More »

PIC ADC (Analog to Digital Conversion)

PIC16F877A

There are instances when digital systems need to interface with devices that produce analog signals, such as sensors and radio equipment. In such cases, the digital system, such as a microcontroller, needs an analog-to-digital converter (ADC) to handle the analog signal.

Read More »

Blink a LED with Bonescript

beaglebone black adc

Blinking On-board LEDs The simplest bonescript we can create right now is to blink one of the four user LEDs. The user LEDs are those four blue LEDs just above the miniUSB port: On Cloud9 IDE (192.168.7.2:3000), open a new file (click the + tab) and then paste the following …

Read More »