Skip to content

arduino programming

Learn Arduino programming with hands-on tutorials, project ideas, and coding tips to bring your electronics projects to life.

DIY Arduino Project: Room Occupancy Counter with 7-Segment Display

In this post, you’ll learn how to use a shift register (IC 74HC595) and a 7-segment display (model 5161AS) to track people entering and leaving a room. With these components and a few buttons, you’ll build a system that displays the current number of people in the room. Previously, I covered using the 7-segment display and shift register separately; now, I’ll show you how to combine them and add some cool effects to the display.

Read More »DIY Arduino Project: Room Occupancy Counter with 7-Segment Display
Arduino microcontroller and guides and video tutorials

Build an Arduino Ultrasonic Ranging Device

Measuring the distance between two objects is important when talking about the organization and planning of space. This project makes it possible to do it in a simple, easy and relatively inexpensive way using an Arduino and an ultrasonic sensor HC-SR04. The only limitation imposed by the application of this sensor is the maximum range of 4m. For the needs of a hobby project in the household, it can get the job done, and quite well.

Read More »Build an Arduino Ultrasonic Ranging Device
Arduino microcontroller and guides and video tutorials

Arduino Dice Roller: Random Number Display on LCD 1602

Although this assigment raises some ethical issues that I disagree with, I will deal with solving and explaining this problem. The assigment is to design a game of chance for elementary school students (assigment says so), where a randomly chosen number from 1 to 6 will be printed on the LCD display – in simpler terms, it is a simulation of throwing a dice.

Read More »Arduino Dice Roller: Random Number Display on LCD 1602
Arduino microcontroller and guides and video tutorials

Simple Arduino Advertisement Display Project

Summer has started and hiding from the heat, a new video tutorial arrives. The project of creating a simple advertisement using the MAX7219 integrated circuit – LED matrix driver, LED matrix module and Arduino. This task can be solved in a simple way by using external libraries for working with the MAX7219 and the LED matrix in a few lines of code. As a result, an attractive text animation is obtained. It is possible to connect several LED matrix modules, the complete impression would be better.

Read More »Simple Arduino Advertisement Display Project
Arduino microcontroller and guides and video tutorials

Parola and MAX72xx Libraries for Arduino

For the purposes of creating a simple advertisement, i.e. for a project in which an LED matrix will be used to display animated text, I used two additional libraries. I chose them because I think it was the simplest solution for working with the MAX7219 IC and animating the text. To begin with, a little about the libraries themselves, and the project will be described in the following text. The libraries in question are MAX72xx and Parola.

Read More »Parola and MAX72xx Libraries for Arduino
Arduino microcontroller and guides and video tutorials

Arduino LED Brightness Control with Buttons

The assignment is the realization of New Year’s LED lighting that will have certain light effects while the user is enabled to control the brightness intensity in the range from 0 to 100% with two push buttons. Here you will find detailed instructions and explanations of the program. I started with the 6th task from the collection, and there will be more similar texts soon. The practice so far has been to make a video clip and explain the task through text on the blog, and now a document will be available for download.

Read More »Arduino LED Brightness Control with Buttons
Arduino microcontroller and guides and video tutorials

Arduino LCD 1602 Simple Hello World Project

As time goes on, the number of components, modules and ideas for Arduino-based projects grows! This time, a widespread component that is an indispensable part of any embedded system will be covered. It is a component whose purpose is to display data – textual or numerical, LCD module 1602a. Introduction to the characteristics of the component, mode of operation and its programming will be illustrated with the help of two simple programs (sketches). The first is “Hello, world!”, Which performs a simple display of textual data on the display, while the second includes a display of data obtained from the keyboard.

Read More »Arduino LCD 1602 Simple Hello World Project
Arduino microcontroller and guides and video tutorials

Binary Counter with 74HC595 Shift Register

At first glance, with the Arduino UNO microcontroller (μcontroller) it can be concluded that the number of digital pins is insufficient for a more serious project. The Arduino Mega offers 54 digital pins, so you can consider purchasing such a microcontroller. Another solution that allows you to increase the number of pins is to use shift registers. In this case, we are talking about the shift register 74HC595. How this is achieved, how a scroll register works and how to use it with an Arduino UNO controller is the topic of this video tutorial and text.

Read More »Binary Counter with 74HC595 Shift Register