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.
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.
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.
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.
This is a series of photos with a Lego figure and Arduino Uno. I took the figure from the children. I took the opportunity when they didn't play with Lego and arranged a few scenes with Batman on the carpet.
I got a plush dog. The fate of a stuffed animal awaited him, which would end up in a trash can. In this article, we will try to breathe new life into him with the help of Arduino.
I made some videos last month. I tried to fill a gap in the blog with them. Some texts contained descriptions but did not have sufficient expressive value.
I have written that I will have to modify the source code of this site because I created a blog in Python 2.7 and it is no longer in Google App Engine supported. And the moment has just occurred because I'm no longer able to update the whole blog template.
I updated the schematic to a simple development board for Arduino. I moved the location of the connectors on the diagram and added the pin marking according to Arduino nomenclature. Now you can better find out which pin of the Arduino is actually which pin on the ATmega328P microcontroller.
This project was created by accident. I was thinking about the new NeoPixel project and looking at the old source code. I loaded a fire simulation program into Arduino and accidentally caught a NeoPixel Ring in my hand in a dark room.
The USBASP programmer is used for convenient microcontroller programming. If you are using Windows 10, you will need to use signed drivers so that the programmer works. I have prepared a video for you where the entire installation procedure is explained.
A few years ago I wrote an article ATtiny85 - Blink. At that time I wrote a few examples and the smallest of the programs was 468 bytes long after compilation. Now we will show a program that behaves the same and has only 76 bytes.
Korg Volca synthesizers have two 3.5 mm jacks to sync with other musical instruments. One jack is used to receive the sync signal and the other to send the sync signal.
In this article, we'll show you how Arduino can generate sound. It will be a simple sound, so don't expect any miracles from the example. But the sound will be loud enough to get on your nerves after a while.
My beginnings with Arduino were full of funny moments. Before I bought my first Arduino, I wanted to see if I could create some electronics. So I randomly bought the cheapest electronic kit.
In this article, we will show how to use the 10-bit mode on the timer1. We will use one potentiometer so that we can comfortably set the value of the duty cycle. Analog measurement provides 10-bit resolution, so we don't have to do any conversion.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.