New version of arduino supports String data type . In this tutorial we will see both integer to string and string to integer conversion. Conversion of integer to string can be done using single line statement.
int a = 1234;
myStr = String(a); //Converts integer to string
Basically String type variable in arduino is character array, Conversion of string to character array can be done using simple toCharArray() function. Getting string value in character array is useful when you want to break single string into parts or get part of string. Continue reading Arduino convert string to character array
In this tutorial we are installing ESP32 board in Arduino IDE. Its not same as installing ESP8266. ESP32 is dual core CPU in arduino IDE it will not support all the functions but its enough to make many projects.
ESP32 is highly-integrated with in-built antenna switches, RF balun, power amplifier, low-noise receive amplifier, filters, and power management modules. ESP32 adds priceless functionality and versatility to your applications with minimal Printed Circuit Board (PCB) requirements. ESP32 can interface with other systems to provide Wi-Fi and Bluetooth functionality through its SPI / SDIO or I2C / UART interfaces. Continue reading Installing ESP32 Board in Arduino IDE on Ubuntu Linux
Today in this tutorial we will learn importance of watchdog timer and configuring watchdog timer in Arduino.
What is Watchdog Timer ?
A watchdog timer (WDT) is a hardware timer that automatically generates a system reset if the main program neglects to periodically service(reset) it. The Watchdog Timer is clocked from a separate On-chip Oscillator which runs at 1 MHz. This is the typical value at V CC = 5V. It is often used to automatically reset an Arduino that hangs because of a software or hardware fault. Some systems may also refer to it as a computer operating properly (COP) timer. All Arduino boards have watchdog timer hardware. Continue reading Tutorial On Arduino Watchdog Timer Setup
Most beginner have questions on which one is for me? Arduino or Raspberry Pi to know which is for you ? We must know what is arduino and Raspberry pi.
What is the difference between the Arduino and Raspberry Pi?
In short Arduino is microcontroller board based on ATmega328p microcontroller without OS running at 16MHz clock having memory in kilo bytes and Raspberry Pi is like single board computer running at 1.2 Ghz speed with Linux operating system with memory in Giga bytes. Continue reading Arduino vs Raspberry Pi