Articles

Blog

6/2020

17.06.2020 Timer1 - 8, 9 and 10-bit PWM

The function analogWrite in Arduino only supports 8-bit mode. You can also turn on 9 and 10-bit mode on the timer1, which will give you a higher resolution for the PWM signal. In this article, we will show you how to do this.

5/2020

28.05.2020 Debugging the contents of the registry from the microcontroller

Even as Arduino users, you know that there are many system registries in the microcontroller. By setting individual bits in the register, you control the behavior of various peripherals. In front of Arduino users, the registers are packed into functions.

27.05.2020 Customizing the appearance of the home page

I've redesigned the home page to look better on mobile phones. I removed all the unnecessary information from it. These were hypertexts that no one clicked on anyway.

4/2020

12.04.2020 How to use the template for clear listings on the serial port

To write the text to the serial port, we use the Serial object and its print function. If we need to write more information, the programming becomes an endless copy of the same command. A large number of nearly the same commands appear in the source code, with only the parameter changed.

03.04.2020 Node.js application as a Windows service

In this article, we'll show you how to install the Node.js application on Windows as a service. This ensures that the application will start when you turn on your computer.

3/2020

21.03.2020 LED dimmer with timer

The dimming of LED can be programmed in several ways. In this article, we will focus on not having a function delay in the program that hinders the running of the program so that it can no longer do anything else. Nor will we use the function millis to eliminate program delays.

01.03.2020 Arduino and bipolar transistor as a switch

In this article, we will explain how we can strengthen the Arduino output pin using a transistor. The purpose of the article is not to explain the theory of transistor operation. We will limit ourselves to the minimum necessary.

2/2020

15.02.2020 Farewell to Python

I have created this site in Google Cloud and Python is responsible for rendering the content. I programmed the site a few years ago when it was the only sensible choice in App Engine. But times are changing.

01.02.2020 Teensy MIDI Controller for Kontakt 6

Sometimes things that the author created for his own enjoyment appear on the Internet. Let's take a look at two videos about the Teensy microcontroller. There are two Teensy 2.

11/2019

30.11.2019 ESP8266 - HTTP server and AngularJS

Many of the examples for the ESP8266 use the HTML browser only to display static pages generated by the microcontroller. But this way the Internet worked ten years ago. Today, every browser has a high-performance core that can make static pages dynamic by using javascript.

9/2019

29.09.2019 Arduino USB MIDI in - Ableton Live 10

Connecting Arduino to a computer as a USB MIDI is not difficult. All you need is the Arduino Pro Micro, which includes the ATmega32U4 microcontroller. This microcontroller can be directly connected to USB.

11.09.2019 MIDI without USB - Classic MIDI connections explained

The video explains the typical connection of each MIDI connector. Nowadays you can find only USB connectors on many synthesizers, but if you need to connect individual devices, the classic connector has been doing this for many years. The video focuses mainly on Behringer synthesizers.

07.09.2019 Node-RED: ESP8266 and DS18B20

In today's article we will link two amazing technologies. Node-RED and its flows will serve as a server and ESP8266 will be used as an HTTP client to send the measured temperature to the server. In this article we will use the knowledge of the two previous articles.

8/2019

13.08.2019 ESP8266 - HTTP server and DS18B20 temperature sensor

In previous articles we learned how to create HTTP server using microcontroller ESP8266. So far, we've displayed static pages. Gradually, we learned to show pages that were in the source code of the program or were stored in the SPIFFS file system.

03.08.2019 Moonlight Guitar

Sometimes I sit behind a small piano (Yamaha Reface CP) and compose music. I'm not a musical genius, but I'm fascinated by the mathematical view of music. I sit behind the piano and randomly play some key sequences, and when a hint of melody appears, I try to rework it into a song.

7/2019

21.07.2019 For Beginners: Delayed Switch-off

We will build on the previous article on NPN transistors. Here, we have learned that the transistor current gain causes a very small current across the transistor base to generate much larger current between the collector and emitter. By adding a capacitor to the electrical circuit, we can change this circuit to a delayed switch-off.

05.07.2019 For beginners: NPN transistor as a switch

Electronic devices are becoming increasingly complex and complex. This means for beginners it is difficult to get a minimum level of knowledge without having to study complex things. In this article, we look at the very beginning.

6/2019

29.06.2019 Teensy synthesizer

Sometimes I get interested in someone else's project. Teensy 3.2 is a powerful microcontroller that is compatible with the Arduino IDE.

13.06.2019 NeoPixel Ring HSV - Neverending story

Previous articles (0, 1, 2) and videos on using the HSV (hue, saturation, value) color model have shown that readers still have difficulty setting the right value to obtain the desired color on the rotating ring. We'll try to resolve this in this article. Using the two buttons and an OLED display we set an appropriate color and its value can be read directly on the display.

4/2019

22.04.2019 Node-RED: Debug HTTP endpoint

I'm working on continuing the article on Node-RED. In the following article, I will deal with ESP8266 and the DS18B20 temperature sensor. But before we program it all, I'll write this article about HTTP server debugging, which is basically the flow I'm preparing for ESP8266.

16.04.2019 ESP8266 - HTTP server, favicon and error handling

In the previous article, we found that our HTTP server cannot handle hypertext that points to a nonexistent page. We've found that the browser will also request favicon.ico for each page.

12.04.2019 ESP8266 - HTTP server with multiple pages in SPIFFS

In the previous example, we created an HTTP server with three pages. If you look at the source code of the server, you will find the html directory where are the source codes of HTML pages. In this directory I created the design of each page.

11.04.2019 ESP8266 - HTTP server with multiple pages

In this article, we'll build on the articles we learned to create a simple page and give it a nice responsive design. We will now try to create an HTTP server that contains multiple pages. You will be able to switch between pages using hypertext.

07.04.2019 ESP8266 - HTTP server and responsive design

In the previous article, we created an HTTP server with one page. Pages are formatted with HTML tags. Use these tags to design a basic page structure that looks amateurish.

06.04.2019 Node-RED: Arduino and DS18B20

Node-RED can work with serial port. In this article, we will connect the Arduino and the DS18B20 temperature sensor to the serial port. Arduino will send the measurement results through the serial port, and Node-RED will parse them to make it easier to process.

3/2019

28.03.2019 Node-RED: First flow

This article will show you how to create flows. It will be a simple example based on an example from the official documentation. The generated flow will have one input, one function that modifies the data and one output on the debug console.

26.03.2019 Node-RED: Installation

Node-RED is a flow-based environment that lets you create data flows. It works as a package for Node.js that installs on your computer.

10.03.2019 ESP8266 - HTTP server with one page

In this article we will program the HTTP server using the ESP8266 microcontroller. It will be a simple HTTP server that provides one page. In the example, we'll show you how to program this server.

2/2019

20.02.2019 Arduino IoT (Internet of Things)

Large companies promise a great future from IoT, and Arduino is not out of the question. In recent months, we've noticed that both Arduino Cloud and Google Cloud have gone from beta to more complete versions. I do not follow Amazon and Microsoft but they also work intensively on IoT.

08.02.2019 ESP8266 - SPIFFS file system

The ESP8266 microcontroller allows you to store data using the SPIFFS file system. The data is stored in internal Flash memory. Flash memory is divided into several blocks.

Menu