Arduino Slovakia

Blog for fans of Arduino and electronics.


Arduino is an open-source platform based on Atmel microcontrollers and a graphical development environment. The Arduino board is designed to be used immediately for experiments. Just plug it into a USB, install the development environment and start programming.

If you are here for the first time, start a short tour of this site.

Start with a tour


List of current articles.

NeoPixel Ring - Counterclockwise rotation 12/19/21

Today, we're going to address a question from a subscriber to my YouTube channel. The colors rotate clockwise. Could this rotation be turned counterclockwise? At first glance, this seems simple, and my first reaction was to change the two lines in the source code. But it didn't work. So I looked at the problem and adjusted the algorithm so that it rotates in the opposite direction.

Farewell to Python III 11/9/21

I have to hurry to convert my blog, because Google is pushing us to upgrade or a completely switch to a different environment. The closest to me is javascript and NodeJS. I have worked hard on the project in previous weeks and I have already finished some parts of the blog. I've finished the homepage, blog view, page view, and blog index. Everything is still slightly unfinished, but fully functional.

NeoPixel Ring - Phase shift 10/9/21

In the previous article, we programmed the class Rotator and now we will use it to create an interesting animation. We will use 3x NeoPixel Ring and with the help of a phase shift we will create an effect in which three glowing dots with a colored tail will seem to move against each other. It's just an illusion, all three points are moving in the same direction.

NeoPixel Ring rotator 10/2/21

In this article, we will explain how we can program the c++ class Rotator, which will make it easier for us to control the NeoPixel Ring. This class has several parameters that define the color and saturation on the ring. The Rotator class itself creates the gradual darkening of colors into the shape of a tail and also provides color animation around the circumference of the ring.

Yoga block and NeoPixel 8/29/21

I have written several articles about the NeoPixel Ring. I usually inserted it in a breadboard so I could take a picture of it. But there are situations where this is not the most appropriate solution. Fortunately, I was able to buy a tool to solve this problem. Yoga block, which they sell in sports shops or in shops with small household items. I have no idea how to practice yoga with a brick, but it is a solid piece of foam rubber into which the NeoPixel is easily attached.


Recent changes on the site.

Interná EEPROM 2/17/22

Každé Arduino má tri druhy pamäte. Flash, v ktorej je program, RAM, v ktorej sa uchovávajú údaje počas behu programu a EEPROM, ktorá slúži na trvalé ukladanie údajov. Rôzne verzie Arduina majú EEPROM rôznej veľkosti. Vzhľadom na to, že si tu obvykle budete uchovávať iba údaje o konfigurácii, bez problémov vám táto veľkosť bude stačiť.

WS2812 12/19/21

WS2812 is one type of programmable RGB LED. It is sold in the form of bars, rings, strips or individual LEDs. It allows you to create an infinite number of colorful effects. You can find basic information on these pages. The common name for these LEDs is NeoPixel. This is because Adafruit was the first company to write a library to control them and call it NeoPixel.

Microcontrollers 5/30/21

List of microcontrollers used in Arduino. The purpose of this page is to provide a signpost where all relevant microcontrollers appear as subpages. For each microcontroller, you'll find basic parameters, information to complement its core into IDE Arduino and links to blog articles about this microcontroller.

ATmega328P on a breadboard 5/23/21

This page is a guide on how to put together the core of the Arduino on the breadboard. ATmega328P-PU is a microcontroller around which Arduino Uno is built. This manual builds a version that runs at 16 MHz. Programming this microcontroller can be as instructed by Arduino as an ISP programmer.

ATtiny85 5/23/21

This is a page that serves as a signpost for experiments with a smaller version of Arduino. ATtiny85 has 8K of flash memory, 512 SRAM and 512 EEPROM. It may seem a little, but even in such a small memory you can get a pretty big program. ATtiny85 is my favorite microcontroller and only in exceptional situations I replace it with ATtiny84 microcontroller, which has more pins and a bit better peripherals.

What you will find here

You can find basic information about Arduino on the site. You can use the quick index of root pages at the top of this page. Or use a full index of pages where there are all pages of the site. You can also track progressive changes in the site history.

The second part of the site is a blog. There are sequentially written blogs that are sorted by time. The page is usually the starting point of the topic, and there are more articles in the blog that describe the topic.

The third part of the site is a list of downloads. It contains libraries, datasheets, and programs for Arduino. All programs for Arduino are also available on GitHub.

The fourth part consists of applications. You will find there several applications that interactively calculate the results from the entered values. For example, there is Arduino Timer Calculator.

The fifth part is a list of microcontrollers from Atmel.

The last part of the site is a list of videos that are complementary to the site or the blog information.

About this page

Here's the information I've learned about Arduino. The Arduino fans community has a good habit of sharing all the knowledge, and everyone has access to the source texts of the programs as well. This is the second version of the page. I originally used Google Sites where I wrote notes. It took about a year and I have no reason to conceal that at the time I did not know anything about electronics. But by using Arduino, I quickly penetrated the secrets of electronics. I found quite helpful my extensive experience with programming in C++, so I was able to throw myself straight into the creation of programs.

Gradually, the volume of data has increased and Google Sites were not enough. So I switched to Google App Engine and in Python I programmed these pages. Google App Engine, on the one hand, is a robust system running on the same infrastructure as Google itself. On the other hand, this is a relatively novel system, where a lot of common things are not available. But programming itself in it is very easy and, compared to PHP, you will wonder at the possibilities there are here.

Connecting to the world

The following pages are related to this one.

  • Facebook - Here I am informing you about what I am doing right now.
  • Youtube - Playlist. If you want more details about videos, you can find them directly on this page.
  • - I'm only publishing video information at this time, but after adding English translations, I would like to inform you about news in English here.
  • Sites Arduino Slovakia - The original version of this page. It contains approximately 100 more pages related to Arduino that have not been moved here.
  • GitHub Programs - All programs written for this page.
  • GitHub KiCad Library - Part library for KiCad.
  • Macko watches macko travels, macko comments - The Travel Blog, where things that are not related directly to Arduino appear.

Site development information

I try to make the content of the site so that it can be easily displayed on both the desktope and the mobile phone. This is working quite well. I also work on translating these pages into English and Czech. I'm using the Cloud Translation API. Neural network translations are improving every day, allowing allowing us to leave translation to artificial intelligence. Some mistakes may appear in the translations, but this should not prevent a comfortable reading of these pages in your native language.




Node.js 4/3/20

Toto je úvodná stránka k využitiu Node.js na spoluprácu s Arduinom. Node.js je vývojové prostredie, umožňujúce spúšťanie javascriptu priamo na vašom počítači, alebo na serveri v cloude. Postupne tu pribudnú aj informácie, ktoré úplne nesúvisia s Arduinom. Ale mnohým z vás sa môžu hodiť, pretože vývoj serverov na Internete sa presúva práve ku takýmto technológiám.

Transistor 3/21/20

The transistor is the basic building block of any electronic device. Integrated circuits consist mainly of transistors. The basis of the transistor is several layers of semiconductor transitions. Usually these are two PN transitions located very close together. This would seem to indicate that the transistor is two diodes together, but such an analogy cannot be used because the two PN layers are so close together that they interact. This is not possible with two diodes.

Časovač (timer) 3/21/20

Arduino Uno používa mikrokontrolér ATmega328P a praktický každý mikrokontrolér v sebe obsahuje časovače. Časovače sa dajú využívať na množstvo úloh. Postupne sa s týmito možnosťami oboznámime.

ATtiny85 2/16/20

This is a page that serves as a signpost for experiments with a smaller version of Arduino. ATtiny85 has 8K of flash memory, 512 SRAM and 512 EEPROM. It may seem a little, but even in such a small memory you can get a pretty big program. ATtiny85 is my favorite microcontroller and only in exceptional situations I replace it with ATtiny84 microcontroller, which has more pins and a bit better peripherals.

A/D converter 2/15/20

The analog-to-digital converter makes the connection between the analog and digital world in Arduino. The surrounding environment often provides an analog signal, but we cannot directly process it. We need to convert it to digital form using an A/D converter. The converter in Arduino is ten bit. This means that it can divide the analog signal into 1024 different values.