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.
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 »Graduation assignment 4ETR-B12 – Roll the dice
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 »Making a simple advertisement using 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 external libraries
The topic of the assignment is the realization of New Year's LED lighting that will have certain light effects (in this case LED flicker) 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 »Graduation assignment 4ETR - B6 - LED lighting
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 »"Hello, world!" Project with LCD 1602 module
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 and shift register 74HG595
The seven-segment display (single-digit) is one of the electronic components intended for displaying numerical values (integers from 0 to 9). The designation of the component that will be used in the exercise is 5161AS.
What are segments? The seven-segment display consists of 8 LED elements, 7 are used to represent numerical values and 1 LED element is used to represent a decimal point. The segments are arranged in the shape of the number "8". By including precisely defined segments, it is possible to display any number from 0 to 9.Read More »Seven-segment LED display
The aim of this project is to get acquainted with the way of using the potentiometer, the operation of analog inputs and reading the values from the sensors (in this case the role of the sensor is played by the potentiometer). A theoretical explanation is given at the beginning of the video. In the following, we will see what it looks like when we read the voltage that we control with a potentiometer from the analog input of the Arduino, and how we use that voltage value to control the light intensity of the LED.Read More »Principle of operation of analog pins of Arudino Uno
When using a microcontroller, when the pin we use as an input is not set to "HIGH" or "LOW" state, but its state "floats" between these two values, we say that it is in a state of high impedance. This is a condition that we definitely want to avoid because it leads to irregularities (unpredictability) in work and that is why we introduce a concept like"pull-up"and"pull-down"resistors. These are not special types of resistors, but resistors that allow us to maintain the desired state of the logic circuit regardless of the conditions. Arduino pin is connected via this resistor to a constant value, either to the + 5V power supply or to the GND (ground). In the first case it is a "pull-up", while in the second we are talking about a "pull-down" resistor.Read More »The concept and application of "pull up" and "pull down" resistors