Tag Archives: arduino

How to convert integer to string and string to int on Arduino ?

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.

Example:
int a = 1234;
String myStr;
myStr = String(a);  //Converts integer to string

Continue reading How to convert integer to string and string to int on Arduino ?

Installing ESP32 Board in Arduino IDE on Ubuntu Linux

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

Tutorial On Arduino Watchdog Timer Setup

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

Arduino vs Raspberry Pi

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