Adafruit's Raspberry Pi Lesson 5. Using a Console Cable



Similar documents
Adafruit's Raspberry Pi Lesson 5. Using a Console Cable. Created by Simon Monk

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

Adafruit's Raspberry Pi Lesson 6. Using SSH

SSH to BeagleBone Black over USB

Adafruit's Raspberry Pi Lesson 7. Remote Control with VNC

Select Correct USB Driver

Arduino Lesson 0. Getting Started

User Manual (DA-70155)

Using a USB to Serial adapter and Terminal Emulator in Windows 7 to communicate with a DM101

USB TO SERIAL CONVERTER

Centurion PLUS CPC4 Download Guide

Raspberry Pi Setup Tutorial

Yale Software Library

PL-2305 USB-to-Printer Cable Windows 8 Installation Guide

AXE027 PICAXE USB CABLE

Adafruit's Raspberry Pi Lesson 1. Preparing an SD Card for your Raspberry Pi

USER MANUAL for USB to serial converter (PL2303)

Installing PowerLink on Windows 7 64-bit

USB HSPA Modem. User Manual

The FlexiSchools Online Order Management System Installation Guide

Installation Notes for Prolific PL-2303 USB Driver for USB - RS232 Adaptor Cable 1. Uninstall Existing USB-Serial Adaptor Drivers

Connecting your Omega/BetaPAT PLUS to a PC via a USB

Adafruit's Raspberry Pi Lesson 3. Network Setup

Addonics T E C H N O L O G I E S. NAS Adapter. Model: NASU Key Features

How to install and use the File Sharing Outlook Plugin

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM

Print Server Application Guide. This guide applies to the following models.

The FlexiSchools Online Order Management (FOOM) Installation Guide

Current Cost Data Cable User Guide. Installing and configuring the data cable

Connecting to Remote Desktop Windows Users

Connecting your Blackberry to Aliant Hosted Exchange. Instructions for connecting Blackberry hand-held devices to Aliant Hosted Exchange

Installing Remote Desktop Connection

Additional Information: SSH, PuTTY, and VmWare

Midland BT Updater BTUpdater Program Program file (x86) ), Midland

Connecting to the ODU Turing Cluster

Iridium Extreme TM Satellite Phone. Data Services Manual

CLEARONE DOCUMENT (REVISION 1.0) October, with Converge Pro Units

How To Connect A Raspberry Pi To The Internet On A Microsoft Moonstone 2 (Microsoft) Microsoft Powerbook 2 (Powerbook 2) (Powerboard 2) And Powerbook 3 (Powerstation 2)

Vmed QUICKSTART PC-DISPLAY INSTALLATION & PC-Display and Bluetooth Instructions

How to use SURA in three simple steps:

Using a Laptop Computer with a USB or Serial Port Adapter to Communicate With the Eagle System

Installing the Panini Universal Scanner Driver

Guide to Installing BBL Crystal MIND on Windows 7

7inch HDMI LCD (B) User Manual

DUKANE Intelligent Assembly Solutions

Installing TestNav Mac with Apple Remote Desktop

Data Logging Software and Cable Bundle Model DL-SC3 User Manual. Overview

Digital Photo Bank / Portable HDD Pan Ocean E350 User Manual

Connecting to the Staff Desktop Service

User guide. Business

OCS Virtual image. User guide. Version: Viking Edition

PL-2305 USB-to-Printer Cable User Installation Guide

Instrument Software Update Instructions. Keysight X-Series Signal Analyzers (PXA/MXA/EXA/CXA) Upgrading an older version to A.12.

How To Connect A Directsofl To A Powerpoint With An Acd With An Ctel With An Dm-Tel Modem On A Pc Or Ipad Or Ipa (Powerpoint) With A Powerline 2 (Powerline

ANYWHERE POLLING - POLLING WITH A QUESTION LIST

BeagleBone Black: Installing Operating Systems

Setting up VMware ESXi for 2X VirtualDesktopServer Manual

Laboration 3 - Administration

Downloading and installing SMART Notebook Software

Cloud Print Edition Quick Start Guide

Online Backup Client User Manual Mac OS

Online Backup Client User Manual Mac OS

Using the Communication Ports on the DG-700 and DG-500 Digital Pressure Gauges

XConsole GUI setup communication manual September 2010.

Shearwater Research Dive Computer Software Manual

To download and install directly to your phone

This document is intended to make you familiar with the ServersCheck Monitoring Appliance

DraganFly Guardian: API Instillation Instructions

Waspmote IDE. User Guide

Quick Note 32. Using Digi RealPort with a Digi TransPort Router. UK Support September 2012

CPSC 226 Lab Nine Fall 2015

Running the R4 Software on a USB Port

How to Install Applications (APK Files) on Your Android Phone

MiraCosta College now offers two ways to access your student virtual desktop.

owncloud Configuration and Usage Guide

USA MOBILITY CABLE CONNECTION AND SOFTWARE DRIVER INSTALLATION INSTRUCTIONS. For. Unication M90 Device USB To RS232 Adapter TABLE OF CONTENTS

MATLAB on EC2 Instructions Guide

Using the Remote Desktop Portal

Installing the drivers for the Current Cost Data Cable

ADSL Router Quick Installation Guide Revised, edited and illustrated by Neo

User Manual. Thermo Scientific Orion

PC Instructions for Miller LiveArc Software

Installing/Uninstalling Logitech desktop for Bluetooth on my computer

This document is intended to make you familiar with the ServersCheck Monitoring Appliance

PiFace Control & Display

Note that you need to install the driver once on each laptop or desktop PC you use with the LP130.

Retail epay User Manual

Network DK2 DESkey Installation Guide

Short Manual Intellect v SP2 module Unipos Contents:

Network/Floating License Installation Instructions

Student Home

CONNECTING TO DEPARTMENT OF COMPUTER SCIENCE SERVERS BOTH FROM ON AND OFF CAMPUS USING TUNNELING, PuTTY, AND VNC Client Utilities

Schneider OS-Loader usage via Ethernet or USB.

Installation Guidelines (MySQL database & Archivists Toolkit client)

Online Backup Client User Manual

Accessing your Staff (N and O drive) files from off campus

Using the Remote Desktop Portal

How to use the VMware Workstation / Player to create an ISaGRAF (Ver. 3.55) development environment?

PL-2303 (Chip Rev H, HX, X) USB to Serial Adapter Windows Driver Installer Manual

DESKTOP CLIENT CONFIGURATION GUIDE BUSINESS

Transcription:

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable Created by Simon Monk Last updated on 2016-04-12 08:03:49 PM EDT

Guide Contents Guide Contents Overview You Will Need Part Software Installation (Mac) Software Installation (Windows) Software Installation (Linux) Connect the Lead Test & Configure 2 3 4 4 5 6 7 8 9 Page 2 of 10

Overview In this lesson you will learn how to remote control your Raspberry Pi with a console cable. The great advantage of connecting this way is that it can even supply the power for your Pi and you do not need keyboard, mouse or display attached to the Pi to log into it. You will need to install terminal emulation software (Putty) if you are using Windows and also USB drivers for the Console Lead. The Mac Terminal comes with its own software. The Raspberry Pi uses its built-in serial port to allow devices to connect to its console and issue commands just as if you were logged in. In the next lesson, we will look at another way of doing much the same thing but over a local network using something called SSH. Page 3 of 10

You Will Need To follow this lesson, you will need: Part Raspberry Pi Adafruit Console Lead This cable has 3.3V logic levels so its safe to use, but not all cables are 3.3V! Only use the Adafruit console cable for this tutorial to avoid damaging your Pi's GPIO pins Page 4 of 10

Software Installation (Mac) OSX includes terminal emulation software that you can use from the command line, so we only need to install the USB drivers for the cable. Download official Prolific PL2303 Mac OS X driver http://adafru.it/mfv If using Lion or Mountain Lion or later OS X, you can also try this driver here http://changux.co/osxinstaller-to-pl2303-serial-usb-on-osx-lio (http://adafru.it/awr) Both downloads are standard Mac installers. Accept all defaults when prompted. Page 5 of 10

Software Installation (Windows) Download and install Putty from here: http://www.putty.org/ (http://adafru.it/aub) From the list of downloads select the binary called just "putty.exe" from the section "For Windows on Intel x86". This will prompt you to save the file. Save it onto the Desktop for now. Note that this actually saves the Program itself not an installer. Simply double click putty.exe to run putty! Install PL2303 Drivers from here: http://www.prolific.com.tw/us/showproduct.aspx? p_id=225&pcid=41 (http://adafru.it/atv) This will save a zip file called PL2303_Prolific_DriverInstaller_v1_7_0.zip. Unzip this onto the desktop and within the folder run the installer called PL2303_Prolific_DriverInstaller_v1.7.0.exe. The current PL2303 console cables are not compatible with Windows 8! The driver is installed in such a way that when you later plug in the USB console lead, it will still launch the Found New Hardware wizard. If you allow the Wizard to search the Internet and install it should work. When it has finished installing the driver, you should get this message: Page 6 of 10

Software Installation (Linux) Linux Kernels 2.4.31 and above already have the PL2303 USB driver for the Console Lead built-in, so you should not need to install that. Some distributions such as Ubuntu 12.10 do not include the "screen" command. Try running the command "screen" and if you get an error message, you can install it by typing the following command: sudo apt-get install screen Page 7 of 10

Connect the Lead The Console lead has four female connections that can be plugged directly onto the GPIO header of the Raspberry Pi. The Adafruit USB console cable has 3.3V logic, so its safe to use with your Pi. For this experiment, the serial lead is going to power the Raspberry Pi. So, DO NOT attach the Pi's USB power adapter. If you would rather power the Pi from your USB power adapter then leave the Red lead from the Serial lead un attached. The important thing here is to only power it from one source, the USB power adaptor or the Console Lead BUT NOT BOTH. Attach the leads as shown below: The connections are to the outside pin connections of the GPIO header. See Lesson 4, for more information about the header: http://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/thegpio-connector (http://adafru.it/atw) The red lead should be connected to 5V, The black lead to GND, The white lead to TXD. The green lead to RXD. Check the diagram below if you are not sure about the connections. But note that the connect is being viewed upside down, so rotate the diagram by 180 degrees to compare it with the photograph. Now plug in the USB lead and you will see the Pi's power LED should light. Page 8 of 10

Test & Configure If you are using a Mac, then all you need to do is open a Terminal window and issue the command: screen /dev/cu.pl2303-00001004 115200 The device will have a slightly different name to mine. So, type the line above as far as "cu.pl" then press the TAB key to auto-complete to whatever your device is called, before adding 115200 (which is the baud rate) to the end. If you are using Linux then use the command: sudo screen /dev/ttyusb0 115200 To start communication with the Pi, press ENTER and you should see the login prompt from the Pi. Here it is running on a Mac. and here is what it looks like in Ubuntu. If you are using a PC, then before you start Putty, you need to know which com port is being used for the cable. You can find this by looking in the Ports section of the Windows Device Manager. The Device Manager is accessible from the Control Panel under System. In this case it is COM7 that is in use. Now start Putty and you will see a connection window. Select a connection type of "Serial" from the radio buttons, then set the speed to 115200 and the serial line to COM7. Finally click 'Open' to connect. Remember to press ENTER to start communications. For a new installation of Occidentalis or Wheezy, the default username is pi and the default password is raspberry. Thats it! You are connected and can use the command line to navigate around your Pi. In the next session we will look at using SSH as another means of connecting to your Pi over your local network. Page 9 of 10

Last Updated: 2016-04-12 08:03:50 PM EDT Page 10 of 10