programming

Arduino microcontroller

Graduation assignment 4ETR - B6 - LED lighting

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
Arduino microcontroller

"Hello, world!" Project with LCD 1602 module

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
Arduino microcontroller

Binary counter and shift register 74HG595

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
Arduino microcontroller

Seven-segment LED display

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
Arduino microcontroller

The concept and application of "pull up" and "pull down" resistors

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
Arduino microcontroller

Night light - Arduino project

Time flows, and as it flows, I managed to force myself to make this video tutorial for ArduinoThis time the theme is a circuit that turns the night light on or off based on the brightness of the room. This is a nice thing, especially when there are small children in the house, so it is necessary for the light to be turned on at all times. Of course, there is also a modification of this circuit, so that it can be used for, say, street lighting. The positive aspects of such a project can be easily seen and enumerated.

Read More »Night light - Arduino project
Arduino microcontroller

Hello (Arduino) world - flashing LED

Some time ago, I started to discover a new area in programming and electronics, it's about the Internet of Things, a little more precisely about microprocessors and microcontrollers. As I announced in the first text on the blogone of my target areas is Arduino and it's time for the first post! This text is different from the others, this time in addition to the text, video material for the first project is included, something like "Hello world!" - flashing LED. I follow trends a bit, or at least try, but I definitely enjoy doing this!

Read More »Hello (Arduino) world - flashing LED
JavaScript, PHP

Forgotten password reset functionality

For all existing web services that require user profiles, one of the unavoidable functionalities is the reset of the forgotten password. Thus, Chat App - Web Application must also provide this option for users who have forgoten their password. Another reason why this option is needed is definitely security. Somewhere it is recommendation, and somewhere is an obligation to periodically change passwords precisely in order to maintain the level of security of both the account and the application itself, ie in the general sense of the system we use.

Read More »Forgotten password reset functionality
JavaScript, PHP

JavaSrcipt - Smooth scrolling tutorial

The previous post for most of you belongs to the "news from the margin" domain, for me it is one of the possibilities that works very well. But now I will deal with another tangible topic, and it is related to JavaScript. As I mentioned, JavaScript is a new area for me, but it occupied almost all of my attention in a short time. Wanting to become a better programmer, and as I walk the path of a Web developer, I realized that knowing Frontendand Backend Backendwas essential

Read More »JavaSrcipt - Smooth scrolling tutorial
manifesto

Retrospective and new manifesto

Welcome to all of you who have taken some time to read this text and who will be coming back to read my posts! After a little over 10 years, I decided to start writing again and get my blog back. In short, my journey as a blogger started on Blogger, only to soon move to a standalone domain. It lasted about 3 years, after which i lost my creative edge and interest.

Read More »Retrospective and new manifesto