Reprint: http://shumeipai.nxez.com/2014/05/04/under-windows-serial-connection-control-raspberry-pi.html
In the absence of a keyboard mouse monitor, no network devices, even the power and micro USB data cable are not in the case. How to operate the Raspberry Pi, or even install the configuration Raspberry Pi?
If you have a USB to TTL serial data cable, and a computer, then none of this is a problem.
About USB to TTL serial data cable
Commonly known as the brush machine version, brush line, the nine upgrade line (a satellite antenna upgrade line), and the single-chip microcomputer brush machine with the same line. Its price is also very cheap, a single board cheap four or five dollars can be bought, with the line is about six pieces, is packaged a little more expensive point.
and USB to serial data lines, mainly because the use of the main chip is not the same, there are generally so many categories.
Single board with CP1012 chip
Single board with PL2303 chip
And all sorts of packages.
Other chips I am not very clear, buy PL2303 chip comrades attention. If you are a WIN8 system, be sure to keep your eyes wide open for chip models. Because this series of chips have different versions, and the pl-2303h, Pl-2303hx (Rev A) and pl-2303x chips, the latest version of the driver is not supported WIN8.
The Win7 and Win8, which automatically installs the drive function, automatically download and install the latest version of the driver after checking the device, so that the brush board with the above three chips is displayed in the Device Manager as a yellow exclamation mark and cannot be used.
But there are solutions. You can resolve this by installing the legacy driver, then disabling Automatic Updates for the driver, or by driving the rollback.
Preparatory work
Hardware Required:
- Raspberry Pi
- An SD card that has been burned into the system
- Brush Machine Board
- A computer
Required Software:
The above required software and SD card burning photographed image method will not be described in detail
Software Settings
First of all, you have to deal with the driver. Especially Win8 PL2303 users, after installing the driver, please plug in the brush board, using the accompanying checkchipversion. WIN7/8 PL2303 users can directly plug in the brush board, the system will automatically download the driver (of course, to network). However, after plugging in the machine board, you will see the normal running COM device in Device Manager before you can proceed to the next step.
Then make some settings:
Set the baud rate of the brush board to 115200 (because the Raspberry Pi is the baud rate)
Open putty, set the connection mode to serial, the port is the COM number displayed in Device Manager, the baud rate is 115200. I prefer to save the configuration, the next time directly double-click the configuration is connected
Unplug the brush board and start the hardware connection.
Hardware connection
A P1 is written next to the 1th pin of the Raspberry Pi's Gpio pin (which is the two rows of 26 needles next to the SD card slot), and the number of the other needles is numbered from left to right.
The General Brush Board has a four-to-five pin, written next to the definition. Take my PL2303 for example, the back from top to bottom write 3.3V, 5.0V, TXD, RXD, GND. At the time of connection, 5.0V (or marked with VCC) is connected to the P2,gnd p6,rxd P8,txd to the P10, and the other pins are empty. As follows
After the connection is completed, insert the SD card into the Raspberry Pi, and the USB port of the machine line will be plugged into the computer, and the Raspberry Pi can be started. When you click on the Putty Connection (Open), you will see a lot of things in the window. Maybe you wonder why I didn't plug in the power and the Raspberry Pi would start? Because the Raspberry Pi can take power from the Gpio 5v interface (P2).
If your system is not configured yet, the configuration menu is displayed
Once configured, you can use the Linux command to control the Raspberry Pi.
Raspberry Pi Route (023)-Windows under Serial connection Control Raspberry Pi (GO)