The serial monitor is usually used to display data from theArduinoon a computer monitor. But it can also be used as an input device that takes input from a user and sends it to the Arduino. This is useful for creating serial monitor based menus, calculators, and password logins, where th...
Arduino Strings use heap memory to store their text. Fragmentation occurs when a long lived String is allocated memory above a short lived String. When the short lived String is finished with and is discarded, it leaves a hole. The micro-processor memory manager keeps track of these holes in...
Secrets of Arduino millis: How it works and how to use it. Second, the EEPROM can hold user-entered data so it doesn't get lost on restart. For example, if your program prompts the user to input various configuration settings, you could store those entries in the EEPROM. Then when the...
Arduino For Loop: Easily repeat blocks of code saving processor memory and simplifying access to array data. How to Easily Avoid off by one errors.
In this Arduino tutorial we will learn how to use the HC-12 wireless serial communication module which is capable of making a long range wireless communication between multiple Arduino boards, with distances up to 1.8km. For this tutorial I made two basi
1– USB Input USB Port connects the board to your PC for programming and powering up the Arduino board. This USB connection is important as it will be through this port that you will upload your code onto your Arduino board. To learn more about how to Upload Code on your Arduino, you ...
We can move from one place to another using our senses, thinking, and muscles. But yes! we are very complex and making a robot like us will take a lot of knowledge and efforts. What we will be learning here will give you a very good feel for robotics. In this project, we will ...
I'm going to show you how to emulate an Xbox controller with an Arduino, using a USB capable microcontroller and the ArduinoXInput library.
The digital inputs and outputs (digital I/O) on the Arduino are what allow you to connect sensors, actuators, and other ICs to the Arduino . Learning how to use the inputs and outputs will allow you to use the Arduino to do some really useful things, suc
When programming the ESP8266 using the Arduino IDE (e.g. seeESP8266-01 Wifi Shield) you sometimes (often) get an error messages in the Arduino IDE like:- esp_com open failed error: Failed to open COM33 error: espcomm_open failed ...