Serial Port is a very common device communication protocol on the computer.
---------------------------------
Serial Port Pin definition:
9 Cores
Signal Direction from
Abbreviations
Description
1
Modem
CD
Carrier Detection
2
Modem
Rxd
Receive data
3
PC
Txd
Send data
4
PC
DTr
Data Terminal preparation
5
php5| Application Demo
I. Prior knowledge:
What is rs232/rs484 and its application?
QUOTE:RS232 interface is a serial port, computer chassis rear of the 9-core (or 25-core) socket, next to the general has "| o| o| "Sample identification.The general chassis has two, the new chassis may have only one. Laptops may not be available.There are many industrial instruments that use it as a standard communication
Raspberry Pi sending code: http://www.cnblogs.com/hangxin1940/archive/2013/05/01/3053467.html
# Prepare the rf24 Library
Https://github.com/maniacbug/RF24
First download the required code
Here, we need the five files 'rf24. H' 'rf24. cpp ''rf24 _ config. H' 'nrf24l01. H' 'printf. H'.Create the rf24 folder in the libraries folder of Arduino and put them in. You can view rf24 in the import of Arduino IDE.
Do
Arduino program upload unsuccessful display system cannot find the specified fileThe error message appears to beAvrdude:ser_open (): Can ' t open device ' \\.\COM1 ': The system cannot find the file specified.AVRDUDE:STK500_RECV (): Programmer is not responding what's going onIf your IDE appears AVRDUDE:STK500_RECV (): Programmer is not a hint of responding, be careful to see if your number 0 and number 1 are plugged in. If you connect the digital tub
This article for the original article, source code for the original code, such as reprint/copy, please in the page/code location clearly marked the original name, author and website, thank you!
This software is based on NI-VISA/VISA32 (Virtual instrument software Architecture) of the instrument programming, support RS232, USB, GPIB and LAN communication SCPI instrument programming.First, the software
I used 232 of the communication protocols. I forgot to use Google every time I used them. Write an articleArticle, Record key issues of the 232 serial port protocol for later viewing.
Test TTL level:
1. The default high level;
2. the start position is low;
3. 8-Bit Data bit,Low front, high behind;
4. The stop bit is high.
Test RS232 level:
1.-5v---15v is 1, negative logic;
2. Convert the TTL t
RS232 serial communication principle
The serial port is a protocol used to communicate with a very general device on a computer (do not confuse it with the Universal Serial Bus or USB ). Most computers contain two RS232-based serial ports. Serial Port is also a universal communication protocol for instrumentation equip
information is sent to the computer for Arduino,RX(r:receive receive) indicates that the Arduino receives The instruction information from the computer, which flashes when the program is downloaded or when it communicates with the computer.Let me illustrate with an example, and we'll write a simple applet that lets the computer display the string "Hello world". And let an LED match, the small lights flashi
The design of communication protocol is given in the previous article. The format of the communication protocol is as follows:
Protocol Header
Instruction length
Control instructions
Calibration and
The control directives are designed in the following format:
Device type
Equipment number
Port number
For example, the host computer sent the fol
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.