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.
In today's article, I would like to start working on a simple thermometer theme, which I will gradually improve. In the first article we create a simple thermometer with the ESP8266 microcontroller and the DS18B20 integrated circuit. The result will be displayed on the OLED display.
In this article we will describe the project of a miniature thermometer. We will use the ATtiny85 microcontroller and the DS18B20 integrated circuit. The result will be displayed on the TM1637 display.
In 2019, we continue the course. The form of the articles on the blog has settled in the way it suits me. I have set a reasonable compromise between the needs of our children and the pursuit of free time in electronics.
The integrated circuit DS18B20 (1-Wire digital thermometer) can be connected in two ways. In normal wiring, pin 3 connects the VCC and the circuit is powered from there. The other option is to connect the pins 1 and 3 to each other and connect both to the GND.
In this article we will discuss A/D converter in microcontroller ATtiny85. We will build on previous articles in which we described the A/D converter in Arduino Uno. In this article, we will show the basic use of the converter and we will identify differences.
In a simple way, General MIDI defines a list of sounds. It does not define how those sounds should sound. It only defines a list of sound names.
Our little Esterka likes music. That's why I am playing to her improvised simple melodies on the synthesizer occasionally. I'm using a small Korg Volca FM synthesizer.
In the articles on the A/D converter we have already addressed the internal voltage reference. The AREF pin enables us to connect external voltage reference that we can adapt to our measurement requirements. The TL431 is a component that provides us with such a reference voltage.
The A/D converter in Arduino Uno has a resolution of 10 bits. If you do not need such a large resolution, we can also use a resolution of 8 bits. This will allow us to convert the analog value to a digital value that has exactly 8 bits.
For several months I am writing series for beginners on ATtiny85 microcontroller. You can use this microcontroller as a miniature Arduino replacement. But miniaturization also brings problems.
Sometimes we need to display only one number from the Arduino. Then we can fit a small display that displays data using the 7-segment display. The ideal solution is the TM1637 module, which also includes a display driver on the board, which takes care of displaying the data.
The A/D converter has one interesting option to measure the analog signal as quickly as possible. Starting a new analogue measurement can be triggered by the end of the previous measurement. This mode is called Free Running.
Filming the Arduino using the aluminum frame on the desk requires a lot of light. I used the aluminum half-meter strips that I connected to a laboratory power supply. I attach these strips to the frame during the film to get a uniform light that will replace the daylight.
In the previous article, we have programmed an analog measurement that did not block Arduino during the measurement. The end of the measurement was checked using the bit ADSC. The end of analog measurement can also be controlled more conveniently with the interrupt that Arduino calls at the end of the measurement.
Filming small items on the table is more complicated than it seems. Using a tripod, you can only shoot sideways. And a tripod will always hinder somewhere.
The function analogRead is programmed to block the microcontroller during measurement. During that time you can not do anything else. If you need to make better use of the microcontroller's time to process other tasks, it is advisable to modify the analog measurement so that it does not block the running of the program.
If you use the Arduino analog-to-digital converter, implicitly it is set so that the reference voltage is AVCC. This default setting allows you to measure with a resolution of approximately 4 mV. You have more options to change this resolution.
For a long time, I was wondering if the monotonous Chinese music could be played with Arduino. That's why, using my Korg Volca FM synthesizer, I recorded a simple Chinese pentatonical melody, on which I wanted to try the basic methods to create a true copy of the melody using Arduino. Melody consists of two parts.
When you find the MIDI electrical specification on the Internet, you will find only ugly scanned images thirty years old or so. But it does not harm us when we learn from experts. In one Korg service manual, I found a nice circuit diagram of the electrical circuit that they use in their synthesizers.
We continue our experiments with MIDI. In the previous article, we've shown how MIDI out is connected and we've played a few scales. Now is the time to create some music.
In the discussion of the video about rotating circles the question was raised whether the red color could not be adjusted to other colors. This article is about finding the right color. Using three potentiometers, you can customize the basic HSV color model and you can also set the rotation speed.
ATtiny85 has 3 PWM outputs. They are located on pins 0, 1 and 4. In this article we show how PWM is used.
When using ESP8266 as a webserver, you will often encounter examples of strings that are extremely laborious. Any minor change in the HTML code of the site is terribly difficult. C++11 allows us to write text strings more conveniently.
Little Petrík is no longer Bambíno and the click of the switch is no longer fun. Cica Mica came to his place, and she likes clicks on the switch.Will we repeat the success of the first box in which was the ATtiny13A? We do not know.
In this article, we'll show how we can use musical instruments using Arduino. We will use the MIDI protocol, a serial protocol that sends messages to musical instruments. The instruments by the sent message know what note they are about to play.
I have a little bit of fun with synthesizers to test their sync and a 16-step sequencer. The Volca FM is a three-voice FM synthesizer, which is a copy of the famous Yamaha DX-7 synthesizer. Dimensions and price predetermine it for domestic experimentation, but it is not a problem to use it professionally.
This article will show you how to download online weather data using the ESP8266 microcontroller. We will use openweathermap.org to do this.
In this article, we'll show you how to download online weather data. We will use openweathermap.org to do this.
Blogger's default setting prohibits indexing of pages that are on the search path /search. If you use labels on a blog, they will be banned by default because they are on the same path. If you want to have them indexed, use this steps.