Beaglebone Black I2C Tutorial

beaglebone black i2c

I2C is a popular communications protocol and is used by a lot of sensors and devices. This is why most microcontrollers, including Arduino, PICs, and STM32 have I2C support. In this tutorial, we will look at how to use the I2C protocol on the BBB and create a simple Beaglebone …

Read More »

Log Data with NodeMCU and Google Sheets

nodemcu ajax dynamic sensor data

Most of the time, the data from a sensor in an IoT application needs to be recorded. This data logging is important for later statistical analysis now most popularly known as data analytics. In this tutorial, we will record the data captured from the sensor to a spreadsheet. Let’s build …

Read More »

Creating a Simple NodeMCU Web Server

nodemcu-webserver

We’re done with basics of the NodeMCU in my last post. Now it’s time to use the NodeMCU like how it’s meant to be: an IoT device. Here I will show you how to create a simple NodeMCU web server which will control a LED attached to one of the NodeMCU’s …

Read More »

Intro to NodeMCU and Arduino IDE

node mcu v1.0

The NodeMCU is a development board featuring the popular ESP8266 WiFi chip. As it turns out, you can program the ESP8266 just like any other microcontroller. Its obvious advantage over the Arduino or PIC is that it can readily connect to the Internet via WiFi. However, the ESP8266 breakout board …

Read More »

How to Manipulate Arduino Pins Simultaneously

Arduino Pins Map

If you’ve coded PICs before Arduinos one of the things you might have noticed is the lack of function on the latter to manipulate multiple pins at once. Manipulating all the Arduino pins at once is needed, for example, when using a seven-segment display or creating strobe lights. Is there …

Read More »

Arduino Library: How to Create Your Own

arduino library

One of the strengths of the Arduino platform is its extensive library. Libraries make life simpler for coders; imagine how hard it would be if there’s no LiquidCrystal or Servo library ready for use. In my experience, projects took shorter time because of the built-in and third-party Arduino library you …

Read More »

How to Use Arduino as USB to Serial Converter

arduino usb serial converter

If you want to do serial debugging for your PIC, ESP8266, Bluetooth module and a TTL-to-USB converter (pictured below) is nowhere in sight, you can simply use an Arduino USB serial converter!   The Arduino UNO has its own FTDI chip whose function is to convert TTL signal levels to USB. …

Read More »