utile PuTTY User Interface Manual Revision 0 Date: 2016 April 6

Similar documents
CS-541 Wireless Sensor Networks

AxiCat Server. v User Manual

Intel Do-It-Yourself Challenge Lab 1: Intel Galileo s Arduino side Nicolas Vailliet

Adafruit PiUART - USB Console and Power Add-on for Raspberry Pi

SAMA5D3x-CM Instruction to program images with PEEDI

Operating Systems Linux 1-2 Measurements Background material

IoT with Intel Galileo Gerardo Carmona. makerobots.tk

USB Type-C to Serial Adapter

RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org

1. USB to Serial cable driver installation instructions 2. Instructions for use with Raspberry Pi 3. Instructions for use with WRT54g and similar

Intel Galileo Board. Getting Started Guide. 02 October Order Number: US

How to use Arduino Uno

Future Technology Devices International Ltd. Mac OS X Installation Guide


Quick Start Guide for BeagleBone. Table of Contents. by Brian Fraser Last update: Sept 24, 2017

These instructions were adapted from Arduino: Installing Standard Firmata which is licensed under Attribution- NonCommercial-ShareAlike 2.

Configuring Ubuntu to Code for the OmniFlash or OmniEP

Getting Arduino / XLR8 Setup On Linux

Intel Galileo Firmware Updater Tool

Megamark Processing 3.0 Setup Guide. Downloading and Installing Processing 3.0

Sim_PSK was tested with some versions of UBUNTU until On an old PCs, it s running with a light Linux version, such as Xubuntu or Lubuntu.

ELE409 SPRING2018 LAB0

Introduction: What is Unix?

- Software may become unresponsive during some operations, always wait before reclicking.

Quick Start Guide to Compute Canada Cloud Service

Com.X. IP PBX / Gateway. ComX Software upgrade procedure. (1.3 to 1.4)

Topics. What is a RaspberryPi? Why should I want one? What is Raspbian? What is SSH? What is FTP? What is LAMP? Making a LAMP Stack!

Required software. Mac OS X In this section, you ll find instructions for downloading and configuring the Arduino IDE in Mac OS X.

File Transfers. Contents

Siemens PLM Software. HEEDS MDO Setting up a Windows-to- Linux Compute Resource.

UPGRADING THE ARCTIC FIRMWARE

1. Conventions in this tutorial Introduction Check and change configuration settings as needed Start Digi ESP...

Simple Linux Terminal Emulator For Windows Xp Putty

Contents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version...

Dell IoT Gateway 5500 Edge MicroServer Setup Guide

Overview LEARN. History of Linux Linux Architecture Linux File System Linux Access Linux Commands File Permission Editors Conclusion and Questions

SeeMeCNC Guides. Step 5: Installing the Firmware. This guide will show you how to install the firmware on your Rostock MAX v3 3D printer.

Spring 2017 Gabriel Kuri

DFRduino M0 Mainboard (Arduino Compatible) SKU: DFR0392

How to Make a Raspberry Pi Web Server

Adafruit's Raspberry Pi Lesson 6. Using SSH

Lab 3a Using the vi editor

Unit: Making a move (using FTP)

PL-2303 USB-to-Serial Bridge Controller Mac OS X Universal Binary Driver Installation Guide (for Mac OS X 10.9, 10.10, 10.11, 10.

Start the Ubuntu Linux VM in VirtualBox. In the VM X Window session, logon as the default user osboxes.

YFKtest on Ubuntu-Gnome 13.10

Tandem-Systems, Ltd. Rhino Terminal. User s Manual

BPPM Patrol Agent Installation Steps on Linux and Automation Integration

Phantom 4 Remote Management Module User Manual

Working with Basic Linux. Daniel Balagué

Getting Started with Energia for MSP432 LaunchPad

Power Development Platform Connecting to your PDP system user guide

Lab #9: Configuring A Linux File Server

First Steps. esom/sk4 esom/3517 Embedded Linux Starter Kit

Avnet Zynq Mini Module Plus Embedded Design

Getting Started with Linux

Exploring UNIX: Session 3

Connect using Putty to a Linux Server

Kodaro s Niagara 4 Port Installation Guide

Ftp Command Line Manual Windows Passive Mode Linux

Setting up the Seagate D4 NAS with Hard Disk Sentinel Pro. By Gary Ryan. Adapted from:

LOCAL WALLET (COLD WALLET):

ZeptoBit Isolated USB-UART Adapter Datasheet

Cisco UCS Director Baremetal Agent Installation and Configuration Guide, Release 5.2

USB-C to RJ45 FTDI Console Cable USB-A to RJ45 FTDI Console Cable

Lab 0: Intro to running Jupyter Notebook on a Raspberry Pi

WELCOME TO SS-E AFNOG NAIROBI, KENYA. Scalable Services English

Designed & Developed By: Ms. Jasleen Kaur, PhD Scholar, CSE. Computer Science & Engineering Department

L2+ Managed Gigabit Switch WGSW series

TA0297 WEMOS D1 R2 WIFI ARDUINO DEVELOPMENT BOARD ESP8266

Anvil: HCC's Cloud. June Workshop Series - June 26th

SIMICART USER GUIDE SERIES. SimiCart Install SimiConnector

Windows driver install manual

Ubuntu Supplement to X350 & X550 User s Guide NComputing X350 & X550 vspace Software for Linux on Ubuntu 8.04

Introduction to Linux Workshop 1

CODESYS Control for BeagleBone SL

CS Operating Systems, Fall 2018 Project #0 Description

CSE 390a Lecture 3. Multi-user systems; remote login; editors; users/groups; permissions

Exercise Sheet 2. (Classifications of Operating Systems)

Development Environment Embedded Linux Primer Ch 1&2

BLUETOOTH BASED OFFICE AUTOMATION AND SECURITY SYSTEM USING RASPBERRY PI AND ANDROID APPLICATION

Interview Room Management System Administrator Manual

Power Development Platform Connecting to your PDP system user guide

idirect Technical Note 1. INTRODUCTION 2. DIFFERENCES BETWEEN INFINITI AND NETMODEM II+ SERIES

OVERDRIVE Quick Start Guide. v.1.0

SCI Testers and Remote Communication: Using HyperTerminal

USB - SERIAL CONVERTER

LAB #5 Intro to Linux and Python on ENGR

24-Port Gigabit + 4-Port 10G SFP+ Slot. Layer 3 Stackable Managed Switch XGS Quick Installation Guide

CSN08101 Digital Forensics. Module Leader: Dr Gordon Russell Lecturers: Robert Ludwiniak

USB 3.0 Dual Port Gigabit. Ethernet Cable

Configuring the BeagleBone Black s Ethernet Port for SSH Access

CS CS Tutorial 2 2 Winter 2018

WA2342 NoSQL Systems Comparison. Lab Server VM Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

To check for updates and new device support please see

Intel Do-It-Yourself Challenge Hello World with the Arduino IDE Nicolas Vailliet

Configuring Linux pppd for Skywire LTE NL-SW-LTE-S7xxx Modem Family

Lab 2A> ADDING USERS in Linux

Unix Introduction to UNIX

Intel Galileo gen 2 Board

Transcription:

utile PuTTY User Interface Manual Revision 0 Date: 2016 April 6 Page 1

Table of Contents 1 Introduction...3 1.1 PuTTY under Windows OS...4 1.2 PuTTY under Linux OS...6 2 Questions and Answers...8 Copyright 2016 Francis Lyn Page 2

1 Introduction This Manual describes how to install and run the PuTTY SSH and telnet client program as the human user interface (HUI) for the utile PLC system. PuTTY is open source software available for both Windows and *nix flavor operating systems. Since PuTTY runs on both of these popular operating systems, it is an ideal multi platform HUI for use with the utile PLC. For Windows OS, PuTTY is available for download at #http://www.putty.org/. Linux distrubutions usually have PuTTY in the package repository so you can install the program using the package installation tools. Assuming you have installed PuTTY on your host PC and you are now ready to power up and run the utile PLC on the Arduino controller board, plug in a USB cable between the board and any USB connector on your host PC. Then follow the section below for the OS you are using. The sketch below shows a typical connection between PuTTY (on the host PC) and utile on an Arduino Nano controller board. We are using the Nano board as an example in this manual. PuTTY running on PC provides the user interface to utile USB Cable utile PLC on Nano board Page 3

1.1 PuTTY under Windows OS We will be using the terminal emulator function of PuTTY with a serial connection to utile to provide the terminal interface. Connect the Arduino board to a PC USB port for the set up procedure. The first thing to do is to install the required USB device driver for the type of Arduino controller board you are running utile on. You need to get and install the correct driver from the Arduino web site. Check other popular Arduino web sites like Lady Ada, Sparkfun, etc. for advice on setting up the Arduino board serial port driver. You now need to determine which serial COM port the OS assigned to the plugged in controller board. To find out which COM port is assigned to the plugged in Arduino board, open the Windows Control Panel, select Hardware and Sound, and select Device Manager. You should see a screen like the following: Under Ports (COM & LPT) folder you see USB SERIAL CH340 (COM5) listed, which identifies COM5 as the assigned port for the Arduino Nano board. Start PuTTY and the configuration screen appears. Modify the settings Page 4

as shown in the screen below: This is the bare minimum required to get PuTTY to work with utile. You can customize PuTTY further to suite your taste, like changing the terminal font size, screen size, etc. Save the session settings under a suitable name, such as arduino_nano so you can re use the same settings the next time you start PuTTY. The utile main editor screen should appear when you select the Open tab and it should look like the screen below. The screen shot shown is what you see after entering the fill command: Page 5

1.2 PuTTY under Linux OS To run PuTTY as a normal user it needs to be configured first. Connect the Arduino board to any PC USB port. We are assuming utile on a Nano board and a Debian Linux distribution in the following description. Open a user terminal and type in the following command: ls l /dev/tty* grep dialout You should see a listing such as: crw rw T 1 root dialout 166, 0 Sep 27 08:53 /dev/ttyusb0 crw rw T 1 root dialout 4, 64 Sep 27 04:04 /dev/ttys0 crw rw T 1 root dialout 4, 65 Sep 27 04:04 /dev/ttys1 crw rw T 1 root dialout 4, 66 Sep 27 04:04 /dev/ttys2 crw rw T 1 root dialout 4, 67 Sep 27 04:04 /dev/ttys3 The first line in the listing shows /dev/ttyusb0 which is the serial device assigned to the Arduino board serial connection. If you are using a different model Arduino, say an UNO or a Mega2560 you may see Page 6

/dev/ttyacm0 instead of /dev/ttyusb0. Make a note of this information as you will need to enter it into the PuTTY configuration screen. Linux requires a user to belong to the dialout group before access to the USB serial device is granted. Type the command groups and see if you belong to the dialout group or not. Add yourself to the dialout group with the command issued sudo usermod a G dialout <username>. Change the permissions for /dev/ttyusb0 with the command sudo chmod a+rw /dev/ttyusb0, and do the same for /dev/ttyacm0 if you need to access this device for your controller. You only need to do this once. Start PuTTY and the Configuration screen pops up. Under the Session category, Serial line box, enter /dev/ttyusb0 (or /dev/ttyacm0 if this is what you saw in the above step). In the Speed box, enter 19200. Then select Serial the Connection type button. Enter any other configuration settings to suite your preferences. Under the Windows category you could select a window size of 80 columns and 24 rows for a reasonable size screen, and under Fonts used for ordinary text select Courier 10 pitch 14 for larger characters. You can save the session setup by entering a session name and selecting Save. Next time you start PuTTY you can select your saved session settings to avoid having to re enter the same information again. PuTTY should open a terminal screen and utile main editor screen will appear if the configuration is correct. Page 7

2 Questions and Answers Q1. PuTTY does not connect to the Nano, why? A1a. Under Windows make sure you have selected the correct serial port settings and COM port number that is mapped to the USB serial connection used by the Nano. After you establish a successful connection, you should save the setup configuration so PuTTY will continue to use the working configuration when you start it up the next time. A1b. Under Linux make sure you have selected the correct /dev/ttyxxx0 device that you identified earlier. Q2. Can I use another terminal emulator if I set the communications parameters to 19,200 baud, 8N1, same as PuTTY, say for example the terminal emulator provided with the Arduino IDE? A2. You can use any terminal emulator provided it conforms to the VT100 specifications. utile uses escape control sequences for cursor positioning control and for managing character display attributes. Since Arduino's terminal emulator is not VT100 compatible, it won't work properly with utile. Q3. Is there a downside to using PuTTY compared to other communications programs? A3. Once Putty is configured and working, it provides a fast, light and capable terminal interface with performance on par with the the other terminal emulators. utile uses only a fraction of the full functionality of the programs, so it is easy on performance requirements. In order to use the utile read and write functions for transferring a user file image between utile and a host PC disk file, the communication program must support scripting or macro facility to automate and manage the file transfer procedure. Under Windows OS, Tera Term and Kermit95 have such facilities, while under Linux C Kermit supports scripting. PuTTY does not support utile read and write functions. Currently only C Kermit has scripts written for file upload and download operations between the host PC and utile, but similar Page 8

scripts are in the works for Tera Term under Windows OS. Q4. How does the lack of disc file storage on the host PC affect utile operation? A4. Not in the least. Disk file storage of utile user file images is provided soley as a convenience for saving your PLC application program (and timer settings) to an external disk file on the host PC. You can always save an image of your application file in the EEPROM of utile's controller. Page 9