Difference between revisions of "UsbPot Page"

From EclectricWiki
Jump to: navigation, search
(Python)
(Command line operation)
Line 115: Line 115:
  
 
==== Linux ====
 
==== Linux ====
 +
 +
=== UsbPot device command summary ===
 +
 +
UsbPot> echo off
 +
ECHO=OFF
 +
 +
UsbPot> prompt off
 +
PROMPT=OFF
 +
 +
# Renaming a UsbPot device...
 +
 +
# Display the current device name:
 +
UsbPot> name
 +
NAME=UsbPot
 +
 +
# Change the current device name:
 +
UsbPot> name Bob
 +
NAME=Bob (please RESET device to apply name change)
  
 
== AD5292 digital potentiometer ==
 
== AD5292 digital potentiometer ==

Revision as of 19:30, 8 June 2018

UsbPot: USB Digital Potentiometer

This is a section about the UsbPot device.

640px

Feature 1

This is a subsection - cool! I think this will spill over into the same paragraph. I am trying to type something really intersting in this line to test how paragraphs work! I am going to try a new paragraph now.

Lets see what this looks like

Please consult the Eclectric website for more information about the UsbPot device and software. More info here - coming soon!

Feature 2

Here is a subsection.

Software

UsbPot GUI application (Windows)

A Graphical User Interface (GUI) software application is available for the UsbPot device, currently only supported for use on the following platforms:

  • Windows 7, 64-bit or 32-bit
  • Windows 10, 64-bit or 32-bit

Software installation (Windows)

The UsbPot GUI application installer package is a single Windows Installer (MSI) file, compatible with both Windows 7 and Windows 10, but please take care to download the correct installer package for your machine architecture (i.e. 64-bit / 32-bit).

Installation on Windows 7

System requirements: We recommend that your system is fully up to date, with at least Service Pack 1 installed.
Important: The UsbPot GUI application installer package includes a USB serial port device driver for Windows 7 that is required for use with the GUI application and also for command line interaction using a serial port connection.

Installation on Windows 10

The UsbPot device is able to connect to Windows 10 without requiring a device driver from the GUI installation package. Therefore, if you only intend to connect to the UsbPot device using a Command Line Interface (CLI), Python script or Terminal Emulator (e.g PuTTY) then you do not need to install the GUI application.

Download latest Windows Installer MSI [UsbPot 0.0.13]

UsbPot GUI software application installer (includes device driver for Windows 7):

UsbPot GUI application operation

The UsbPot GUI application software, provided by Eclectric, is a Windows application providing a graphical user interface for easier interaction with the UsbPot device. The GUI application provides a stable 'hot-pluggable' USB serial port connection to the UsbPot device on both Windows 10 and Windows 7. The application automatically scans and displays a list of attached Eclectric USB devices. Once a COM port connection is established with the UsbPot device, the UsbPot GUI application is connection failure resilient and able to automatically re-connect without restarting the application if the UsbPot device is temporarily detached.

Graphical control of digital potentiometer

Device settings

Command line operation

This is a section describing command line operation.

Command Line Interface (CLI)

Windows

Direct interaction with the UsbPot device using the cmd.exe terminal application.

C:\Users\username>echo "help\r\n" > \\.\COM24

C:\Users\username>echo "0x1803\r\n" > \\.\COM24

C:\Users\username>echo "0x07FF\r\n" > \\.\COM24

Linux

Direct interaction with the UsbPot device using the gnome-terminal terminal application.

C:\Users\username>echo "help\r\n" > \\.\COM24

C:\Users\username>echo "0x1803\r\n" > \\.\COM24

C:\Users\username>echo "0x07FF\r\n" > \\.\COM24


Terminal Emulator

Connecting to the UsbPot device is possible using any Terminal Emulator software application capable of connecting to a serial port e.g. PuTTY on Windows, Minicom/Screen on Linux.

Default serial port device connection parameters:

Speed (baud) N/A
Data bits    8
Stop bits    1  
Parity       None
Flow control None 

Default serial port device 'server' character stream behaviour:

ECHO=ON     # Will echo each character sent to the device
PROMPT=ON   # Default prompt string: "UsbPot> "  

These parameters can be disabled if required by issuing the following commands:

UsbPot> echo off
ECHO=OFF
UsbPot> prompt off
PROMPT=OFF

Windows

Connecting to the UsbPot device using the PuTTY Terminal Emulator. Simply setup a Serial Port connection to the current COM port number that Windows has assigned to the UsbPot (COM5 in the example shown). Press return on the terminal to receive a 'command prompt' and you can start to interact with the UsbPot device. See the *command list summary page* for a more comprehensive discussion of the available commands.

UsbPot PUTTY Win10.jpg

Linux

Python script

Here is some code.
Here is some code.
Here is some code.

Windows

Linux

UsbPot device command summary

UsbPot> echo off
ECHO=OFF
UsbPot> prompt off
PROMPT=OFF
# Renaming a UsbPot device...
# Display the current device name:
UsbPot> name 
NAME=UsbPot
# Change the current device name:
UsbPot> name Bob
NAME=Bob (please RESET device to apply name change)

AD5292 digital potentiometer

This is a section describing the AD5292 chip. Analog Devices AD5292 datasheet is available here.

Specifications

Specifications1

1) Based on AD5292
2) 20k potentiometer (100k option)
3) USB controlled
4) USB powered (no other power source required)
5) 1,000V isolation
6) 1024 taps
7) 12V compliance wrt 0V pin
8) Rugged box / Bare PCB
9) Uses Windows Serial Drivers
10) Rugged Hot Pluggable – recoverable.
11) Command line or GUI supplied application
12) Windows or Linux (Command line only)
13) User programmable wiper position

Specifications 2

Specifications 3