Tutorial in the ‘Arduino’ Category

Interfacing of Arduino with 16×2 LCD Display

???????????????????????????????????? #include <LiquidCrystal.h> // initialize the library with the numbers of the interface pins LiquidCrystal lcd(7, 6, A0, A1, A2, A3); void setup() { lcd.begin(16, 2); } void loop() { // Print a message to the LCD. lcd.print(“Welcome…”); delay(4000); lcd.clear(); lcd.print(“Novel Technology”); delay(4000); }

Interfacing of Arduino with 4×4 Keypad

???????????????????????????????????? int row[]={11,10,9,8}; int col[]={5,4,3,2}; int i,j; int col_scan; void setup() { Serial.begin(9600); for(i=0;i

Arduino LED Blink Or Control Code With Digital Output Pins and digitalWrite, pinMode Function

Arduino LED Blink Code or Project LED blinking or toggle program is one of the basic practice to test everything working properly. In the blinking program digital pins are on and off continuously with a delay. Arduino Uno is one of very popular board these days, and it is having a build-in LED on pin […]

Arduino Turn LED On And Off with Button or Switch Control Digital Input with digitalRead Function

Arduino Turn LED On And Off With Button Controlling a LED with button is one of important learning because it cover “How to take digital input”. Second learning is if decision logic application. Arduino Turn LED On And Off With Button code uses three main functions digitalWrite, digitalRead and pinMode. Digital input pins are used […]

Arduino Button or Switch Interface Circuit without Pull Up Resistor

Arduino Button or Switch Interface Circuit To take digital input we have to interface button or switch with the Arduino board. Interfacing switch is requires a resistor and it is known as pull up resistor. Figure 1 below shows the circuit diagram of button interfacing. It is having a 10k resistance which is connected with […]

Arduino LED Fade Code with analogWrite function on Analog Output or PWM Pins of Uno Board

Arduino LED Fade with PWM Arduino LED Fade Code is used to test the PWM feature of board. Fading mainly uses analogWrite function on Analog Output Pins of Arduino Board. Arduino does not have DAC (Digital to Analog Converter) capability, but in place of DAC it is having PWM (Pulse Width Modulation) capability. The PWM […]

Arduino Serial Communication Port Test Example with write and begin Function

Arduino Serial Port Communication Arduino Serial Communication is used to communicate over serial port with terminal devices over UART like PC. Understanding the serial communication in the Arduino is very important because these days many devices uses UART interface, like GPS, ESP8266, GSM and RFID modules. The UART serial communication is a full duplex, means […]

Arduino Serial read, available Function Example and UART Loopback

Arduino Serial read Arduino serial library have in-built function to receive the data over serial port. To test the receive function in Arduino you have to send data from PC/Laptop with serial monitor program. In this article we will tell you more about serial communication in the Arduino to implement receive function. Arduino library have […]

Arduino Analog Input read from Pin with the help of analogRead function from Potentiometer

Arduino Analog Input or Read with analogRead Function Arduino board have build-in Analog To Digital Converter to take analog inputs. Arduino have a function called analogRead. Analog input features is required to interface analog sensors like, LM35 temperature sensor, LDR light sensor etc. Arduino UNO have 10 bit analog to digital converter. It means the […]

Arduino Serial Print and Println Function to Send Integer Variable And Text Program Code

Arduino Serial print Function Application Serial.write() function send the data in ASCII code. It means if you want to send the value of a integer variable with the help of write function you have to convert value into ASCII format. For example if suppose a variable x having value 87 x = 87; and we […]

Understanding How Arduino Serial Port Send Line Feed LF, Carriage Return CR and New Line Character

Arduino Serial Port Line Ending Characters Arduino Serial Port write function send all the character in the string specified. write() function to send a string Serial.write(“Hello World!”); Note: This code simply send the 12 bytes one by one to send the complete string over serial port. Many times we need to send some additional character […]

Arduino Serial find Function Syntax And Example Code of Serial.find(), timeout

What is Arduino Serial find Function Arduino Serial find Function reads the received buffer and test for specified string or word present or not. This function returns a boolean value. If specified string is present in the buffer than the function return true, otherwise return false. By default the find function wait for one second […]

Arduino Serial finduntil Function and its Application with Example

What is Arduino Serial findUntil Function Arduino Serial findUntil Function reads the received buffer and test for specified string or word present or not. If specified string is present in the buffer than the function return the true, otherwise return false. By default the findUntil function wait for terminating character before it return false. The […]

Arduino Serial readBytes and Read Bytes Until Functions, Example of Serial.readBytes() and Serial.readBytesUntil()

Arduino Serial Read Bytes Function – Serial.readBytes() Arduino Serial.readBytes() Function reads the multiple bytes from the received buffer into a character array (also called buffer). The readBytes function will read the specified number of bytes in the specified variable from serial buffer. The function return the integer value, which specify how many bytes successes-fully read […]

Arduino Serial Read String or Line from Serial Monitor with ReadString Function

Arduino Serial Read String or Line – Serial.readString() Arduino Serial.readString() Function reads the multiple bytes from the Serial Port received buffer into a String variable. The readString function will read all the data received until the timeout. The function return the String data type. The readString() function will complete by timeout time, by default it […]

Arduino Serial Read String Until with ReadStringUntil Function Example

Arduino Serial Read String Until Function – Serial.readStringUntil Arduino Serial readStringUntil Function reads the serial port into the string variable, until it receive the terminating character. By default the readStringUntil function wait for terminating character or timeout to complete. The Serial.readStringUntil() function wait for timeout, which is one second by default. If the terminating character […]
Learning & Certifications
Follow Us
Facebook Icon   Linked In Icon   Twitter Icon  
Validation and Recognition

Valid CSS! Valid HTML5!

Powered by Wordpress