Skip to content

arduino programming

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

Guide to Seven-Segment LED Display – 5161AS

Arduino microcontroller and guides and video tutorials

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 »Guide to Seven-Segment LED Display – 5161AS

Operational principle of Arduino Analog Pins

Arduino microcontroller and guides and video tutorials

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 »Operational principle of Arduino Analog Pins

Understanding Pull-Up and Pull-Down Resistors

Arduino microcontroller and guides and video tutorials

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 »Understanding Pull-Up and Pull-Down Resistors

DIY Arduino Night Light: Easy Step-by-Step Project

Arduino microcontroller and guides and video tutorials

Time flows, and as it flows, I managed to force myself to make this video tutorial for Arduino. This 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 »DIY Arduino Night Light: Easy Step-by-Step Project