If your Arduino code involves decision making, then it’s very likely you’re using conditional statements. Using if … else… is common; switch statements can be used as well. But there is a third way, using ternary operator, that will really make your code shorter. Example Scenario Say we are reading …
Read More »Using Ternary Operator in Arduino
If your Arduino code involves decision making, then it’s very likely you’re using condit…
Creating an Arduino Class
The Arduino platform runs on C++ and with this comes all the pros (and cons) of the language. One of…
Using Arrays in Arduino Programming
An array is a data structure for storing multiple variables of the same data type. Mastering arrays …
How to Use CD4013 Dual D Type Flip Flop | Datasheet
The CD4013 is an integrated circuit consisting of two D-type flip-flops. It has a number of applicat…
WeMos D1 Mini Schematic Diagram
The schematic diagram for the ESP8266 WeMos D1 Mini board: Some notes on the schematic: …
Recent Posts
December, 2020
June, 2020
-
29 June
Creating an Arduino Class
The Arduino platform runs on C++ and with this comes all the pros (and cons) of the language. One of those pros is the use of classes and in general, object oriented coding. This article aims to guide you in creating your own Arduino classes which can make your sketches …
Read More » -
28 June
Using Arrays in Arduino Programming
An array is a data structure for storing multiple variables of the same data type. Mastering arrays will definitely make your Arduino sketches more efficient. If you’re a beginner when it comes to Arduino array, then this tutorial is for you.
Read More » -
27 June
How to Use CD4013 Dual D Type Flip Flop | Datasheet
The CD4013 is an integrated circuit consisting of two D-type flip-flops. It has a number of applications in digital circuits but is primarily for latching data.
Read More » -
13 June
WeMos D1 Mini Schematic Diagram
The schematic diagram for the ESP8266 WeMos D1 Mini board: Some notes on the schematic:
Read More » -
2 June
Feature: FastLED Arduino Library
Description FastLED is a fast, efficient, easy-to-use Arduino library for programming addressable LED strips and pixels such as WS2810, WS2811, LPD8806, Neopixel and more. FastLED is used by thousands of developers, in countless art and hobby projects, and in numerous commercial products.
Read More » -
1 June
Implementing an 8-point Moving Average Filter
If you read sensors using microcontrollers before, you have dealt with data that is always moving above or below a set point. This “noisy” data can be processed using a moving average filter.
Read More » -
1 June
Using Single-Supply Op-Amps for Microcontroller Projects
An application note on how to implement an embedded system circuit with single-supply operational amplifiers.
Read More »
May, 2020
-
31 May
Implementing Bubble Sort in AVR/Arduino
This is a short note on implementing the Bubble Sort algorithm on the AVR and Arduino microcontrollers. Bubble sort or sinking sort is one of the many sorting algorithms. In this algorithm, a list is repeatedly read where each line is compared to adjacent elements and swaps them if they …
Read More » -
31 May
Battery Charger Circuit for NiMH with Status Indicator
An application note for an intelligent trickle battery charger circuit for NiMH batteries, using an 8-bit microcontroller.
Read More »
January, 2020
-
16 January
How to Use the LM2596S Module
The LM2596S module is an easy to use voltage regulator for people who use multiple power sources in their projects.
Read More » -
5 January
How to Send HTTP Post and Get Requests Using Arduino ENC28J60 Ethernet Shield
In this IoT age, there are several ways of sending and getting data to/from a microcontroller to a remote server. This article will be the first part of a series about such ways through the Arduino ENC28J60 shield or module. Here I will be showing the classic way of communicating …
Read More »
December, 2019
-
31 December
How to Save and Retrieve a String to Arduino EEPROM
An Arduino’s EEPROM, depending on the type of board, can store up to 4 KB of data. The Arduino UNO, in particular, stores 1024 bytes or 1024 ASCII characters. With that space, how can we store a sentence? Or a paragraph? This is what this article is all about.
Read More » -
17 December
Debounce on Interrupt Handler
Using interrupts is a neat way to get your Arduino to react quickly to a signal, like a button press. However, the technique is still susceptible to debounce.
Read More » -
17 December
Mesh Analysis for AC Circuits
Similar to Nodal Analysis, Mesh Analysis for both DC and AC circuits are similar. The only difference is that in AC, we are dealing with impedances instead of just resistors. The aim of this tutorial is to make Mesh Analysis for AC circuits simpler for you.
Read More »