Posts

Showing posts with the label serial port

Controlling LEDs With PC Using Arduino

Image
Wireless communication plays a very important role within the communication system. We may be able to send data from one point to another point simply through wireless communication. There is such a large option available for the wireless communication like Bluetooth, Wi-Fi etc. In this article, we concern only in Bluetooth. Bluetooth is a standard wireless technology which transfers the information over very short distances. It is assumed that you just ought to knowledge to  How To Send Serial Data From Arduino To Laptop or PC  and  How To Receive and Send Serial Data Using Arduino Board After Reading this article you will be able to control LED via your PC/Laptop. For controlling the led we use arduino board  Introduction to Arduino Board .  Circuit diagram: Here we use three led blue, green and red that are connected to pin no. 10,9 and 8 of arduino board respectively. We also connect an LCD display module to arduino board. read this post for  Int...

How To Receive and Send Serial Data Using Arduino Board

Image
Serial communication is the easiest way to communicate with the peripheral device in embedded system. Thus, during this article, you may be able to learn the way to receive and send serial data from the arduino board. If you are beginner then first read this Introduction to Arduino Board  and How To Send Serial Data From Arduino To Laptop or PC  before moving on this article. Arduino ide has such a big amount of inbuilt function for serial communication and detail of some function are here   How To Send Serial Data From Arduino To Laptop or PC . During this article, we tend to use some additional function that facilitates us to receive the serial data from the serial port. These functions are Serial.available(), Serial.read(), Serial.write whose explanation are given below: 1: Serial.available() This function is always used before the Serial.read() function. This function returns always a positive value once reception is complete. This function is used for whether or...

How To Send Serial Data From Arduino To Laptop or PC

Image
Serial Communication plays important role within the communication system. All micro-controller should have serial communication port.Serial communication provides a text-user-interface(TUI). One will use serial port of microcontroller to send data serially to laptop/PC or receive data serially from laptop/PC.Here we use arduino board to communicate with the laptop. Arduino board have a minimum of one serial port to communicate known as UART and USART. It communicates with digital pin 0 and 1 of arduino refer to as RX and TX pin as well as with the computer via USB. Virtual Terminal Interfacing LCD With Arduino UNO Arduino has a built-in function for serial port thus there is no need to go into register detail. In Arduino IDE, one can easily call the serial function for the serial port and job is finished. A simple connection for serial communication is shown below Connection For Serial Communication For serial communication with arduino, we have to use three function known as Serial.b...