For a long time, I was thinking about transferring Andrej Sládkovič's work (the famous Slovak poet) to a computer. In Banská Bystrica, he has a strange statue in the garden of the Evangelical Church, and he is also buried at the nearby cemetery. Now, during the holidays, I found some free time and I converted his poem Marína into a C++ array.
In this article we'll link the Arduino and HTML page that includes AngularJS application. We will use Node.js to connect and the communication between the server and the site will be handled by Socket.
Our baby was born two years ago and his most favourite words are the car and blink. Let's make this blink with the ATtiny85 microcontroller. The Blink program is the most basic program for Arduino, where you will learn the basics of microcontroller pins.
The ATtiny85 microcontroller has two 8-bit timers. Using them can be controlled dimming of LEDs. 8 bit is not enough if you want to have a brightness change adapted to the human eye.
In today's article we will connect several Arduinos to the computer using the Node.js serialport package. We will edit the previous example in which we have only one Arduino.
From one project I chose an example of monitoring button presses using Arduino. The program monitors the push of a button with a interrupt and sends information about the pressed button via the serial port to the computer. In the example, you can find the interrupt setting using the function attachInterrupt and the macro digitalPinToInterrupt.
I bought my Orange Pi Zero without a box. When it arrived, I started experimenting with it and I found a problem. Orange Pi Zero has a size of 5x5 cm and is incredibly light.
I can share the experience with Cloud failure with you. My site is located in Google App Engine. A few days ago, an important service called Memcache failed for several hours.
In the previous article on Orange Pi Zero, we showed GPIO pin control using the WiringOP library. For a simple task, this library will serve you well, but for more complicated projects, you would be bothered to get rid of everything. If you have Arduino available, you can connect it to the USB port and take advantage of it.
In the datasheet of the DS1307, you will read that the recommended power supply of the integrated circuit is in the range of 4.5 - 5 V. On the Internet, however, you will find many examples of connecting this integrated circuit to the ESP8266, where no power problem is reported.
The I2C tester is a useful tool for anyone who connects the new I2C device to Arduino. It makes it easy to check if I2C communication works. Most of us use the I2C tester from the Arduino site.
It is not at all easy to photograph electronic components. You must have good light, a good background without reflections, and you never know whether or not you will get a better result with flash or without it. I've been writing this blog for years, and I've been struggling with this.
WiringOP is a modification to the WiringPi library for Orange Pi. Allows GPIO control on the board. The outputs on the board are located on a 26-pin connector.
The integrated circuit DS1307 has one pin labeled as SQW. It is possible to enable signal generation with square wave on it. The generated signal may be set at a different frequency.
In this article we will explain the basics of using the integrated circuit DS1307. We will learn to set the time and learn how to read the time on the circuit. We'll explain how to use the entire RAM that the IC provides.
The ATmega2560 microcontroller is part of the Arduino Mega 2560 board. It has more pins and its authors have added more timers. It includes two 8-bit and four 16-bit timers.
The popular project for Arduino is the simulation of the traffic lights. In today's article, we will program this traffic lights. We will not do this classically, but we will use a sequencer to make this task a very simple task.
The birth of the second child was an inspiration for this project. We needed a highly portable source of light to which it is possible to smoothly adjust the brightness. I took advantage of the Bambíno and ATtiny13A project and created a LED light project that is powered by a 4.
On Monday, we with the wife gave birth to a second baby. It will be interesting to see how I manage to combine hobby and intensive care during the first month of her life. And I'm also very interested, if she will have a passion for the components like our boy.
I tested a small 1.5 F capacitor together with ATtiny85 microcontroller. It is manufactured by Panasonic and operates at a maximum voltage of 5.
For today's topic I chose an interesting area. We will use the Arduino to generate the SOS signal. The signal will be displayed using the LED.
I found an interesting article on how to set the gamma correction for LED diodes. The article publishes a known table of 256 values that allow to adjust the brightness of the LED for human eyes. I myself have used the table several times (LED strip dimmer, 1W LED dimmer), but I did not even know the author who created the table.
Arduino has implicitly all PWM channels set to 8-bit resolution. This is not the maximum resolution. Timer1 can use up to 16-bit resolution.
Today we will be devoted to an interesting library that allows us to store a WiFi password. This allows you to use one program for all of your ESP8266. You do not have a password in it.
I did a few experiments with the NTP server and ESP8266. Downloading time and converting to UTC is well described directly in demo examples. Conversion of time to the time zone and use of daylight saving time is hardly documented.
In this article we will scan WiFi networks using ESP8266. Based on a sample example, we will adjust the results to show on the 0.96 OLED display.
In the apartment I bought, the hall was modified to create a small wardrobe. A wooden structure was mounted around the wardrobe at the ceiling, in which there were halogen lights. It did not work and after the inspection I found that the original solution was dangerous.
In this article I will explain the principle of LED strip dimmer. This is the fourth of a series of articles to show you how the program progresses and how the resulting program may be diametrically different. This text describes the current version of code 1.
To write this article I was inspired by the question on the Google+ forum. How to get a name and password (such as WiFi) into Arduino so you do not have to write it directly to the program. There is a danger that you can send your password, for example, to GitHub.
I've been looking forward to this moment. Finally, there is a new version of the Google Cloud Translation API, that translates through neural networks. That's why I started automatically translating my site into Czech and English.
In this blog you will find a slight improvement of the dimmer design. In the first version I made some minor bugs that I've fixed here. If you want to build your own dimmer, go out of this construction.
Based on an my earlier article on the use of Arduino as an ISP programmer. We will program the microcontroller ATtiny84 with it. It is a 14-pin microcontroller that is very similar to ATtiny85.
Lucky coincidence helped me to complete the project of the fireflies illusion. I bought a vase that was made of glass and had an original red stain motif. It was easy to place the whole electronics inside vase that created the resulting illusion.
These are commented examples for Node.js. You can find the source codes at https://github.
Today, we continue to follow the previous article. We will work with radio modules using the RadioHead library. We will again use a pair of transmitter and receiver, which communicates at 433 MHz.
Each of us met with incredibly inexpensive Ebay modules that allow wireless communication between Arduinos. The offer is incredibly varied and we look at the cheapest in this article. A dual transmitter and receiver that communicates at 433 MHz.
In this article I will explain the principle of LED strip dimming. This is the third of a series of articles that show you how the program progresses and how the resulting program may be diametrically different. We will gradually pass the source code of the program from version 1.
In a few articles, we introduced the introduction to Node.js and today we look at the first interesting topic. We will be using the serial port to communicate with Arduino.
In the previous article, we looked at data from an external EEPROM. It was just curiosity. The real reason for acquiring EEPROM was a memory test.
This article describes how to install a Bitnami virtual machine. Their ready-made virtual machines have the advantage that everything is ready and you do not have to install everything. You only need to modify pre-installed machine to your needs.
In this article I will explain the principle of LED strip dimming. This is the second of a series of articles to show you how the program progresses and how the resulting program may be diametrically different. Gradually, we will go through the source codes of the program from version 1.
From some broken board I desoldered a 32 Kb EEPROM in the SOIC8 package. I plan to use it for a retain test, but before I finally destroy it, I was interested in what the EEPROM is hiding. Can they still read the data from this EEPROM? And to do it unnecessarily, the board was destroyed, but the EEPROM was fine, and here is the code to read the data from this particular EEPROM.
V tomto článku budeme rozvíjať kód, ktorý sme vytvorili v predchádzajúcom článku. Navrhneme si triedu, ktorá bude optimalizovaná na zapisovanie pola objektov do EEPROM. Objektom môže byť napríklad nameraná hodnota, ale fantázii sa medze nekladú.
In this article we will continue with previous article, in which we explained the basic use of an external EEPROM. We will design a class that allows us to conveniently store any object in EEPROM. We will use C++ templates and we will add two features to the class that will perform this task.
ATtiny85 contains two 8-bit timers. They do not have the same range as those in ATmega328P, but it is enough for most tasks. In this article, we look at timers from CTC mode.
Pred pár mesiacmi sme nahliadli do Arduino Web Editora. Je to online prostredie, ktoré umožňuje písať programy pre Arduino priamo v prehliadači. V dnešnom článku nahliadneme pod jeho kapotu a povieme si niečo o tom, ako toto nové prostredie kompiluje program.
This article explains how we can work with an external EEPROM. External EEPROMs are usually controlled by the I2C protocol and this article will deal with just such an EEPROM. The example will be for 24LC16B, but this tutorial will be universal for any EEPROM.
Na stránkach môžete hľadať podľa zadaného výrazu. Fulltextové vyhľadávanie nájde všetky stránky, ktoré daný výraz obsahujú. Hľadanie je urobené pomocou Search API pre Google App Engine.
Using the timer, you can simplify the multiple tasks. You can also use it to check the status of the button. In this article we show how we can control two buttons that change the value of the variable.
Today it will be a lightweight topic. I used the ATtiny13A microcontroller in the project for our little bambino. He plays with a switch on the wall and watches the light on or off.
Vytvoril som ďalšiu aplikáciu. V tejto je možné zobraziť si tabuľku všetkých registrov konkrétneho mikrokontroléra. V tabuľke možno hľadať podľa názvu registra a podľa názvu bitu.
This article describes how to connect an OLED display to Arduino Uno. OLED display is 0.96 and SPI.
Arduino Uno has 6 PWM channels on pins 3, 5, 6, 9, 10 and 11. In this article we will show that this may not be the final count. But we need to replace the hardwired PWM with our own code.
V tomto článku vysvetlím princíp činnosti stmievača LED pásikov. Bude to prvý zo série článkov, na ktorých vám ukážem, ako postupne prebieha vývoj programov a ako diametrálne sa môže líšiť výsledný program. Postupne prejdeme zdrojové kódy programu od verzie 1.
V tomto článku nadviažeme na predchádzajúci článok, ktorý popisoval timer2. Pokúsime sa o rovnakú vizualizáciu činnosti registra TCNT0, ktorý sa nachádza v časovači 0. Timer0 v Arduine obsluhuje výpočet času a preto zásahy do neho ovplyvňujú aj funkcie millis a delay.
Pri testovaní mojej aplikácie na výpočet timerov v CTC režime som natrafil na zaujímavý článok, ktorý ma inšpiroval k tomuto pokusu. Jednoduchý spôsob, ako možno vizualizovať to, čo sa deje počas činnosti timera. Preto som len mierne preusporiadal zapojenie z predchádzajúceho experimentu a pustil sa do vlastnej vizualizácie.
In today's article we will again look at the timer in CTC mode. We will demonstrate a simple animation with eight LEDs. Because the timer does all the work with timing animation, in the code we only have to write the appropriate code for the animation itself.
In this article you will find a description of an algorithm that creates psychedelic color transitions using RGB LEDs. It looks harder to see how it looks, so watch the video at the end of the article, where these colors change fluently. This was the first experiment in the field and the result is a little different than I expected.
To calculate the timer setting in CTC mode, see the previous article. It is not complicated, the problem is to set up all registers correctly. For each timer in Arduine, the setting differs.
Each Arduino contains several timers. They have different uses. In this article, we will focus on a timer that interrupts intermittently at intervals to allow us to perform the desired action in an interruption.
I've added a new section titled Applications. As the first application, I programmed the calculations of Ohm's laws. It's a simple calculation, but that's why it helped me to get better in using the AngularJS web framework.