Difference between revisions of "UsbPot Page"
(→Command line operation) |
|||
| Line 13: | Line 13: | ||
=== Feature 2 === | === Feature 2 === | ||
Here is a subsection. | Here is a subsection. | ||
| + | |||
== Software == | == Software == | ||
| Line 35: | Line 36: | ||
* [https://eclectric.co.uk/download/Installer_UsbPot_32bit_0.0.13.msi 32bit direct download from eclectric.co.uk] | * [https://eclectric.co.uk/download/Installer_UsbPot_32bit_0.0.13.msi 32bit direct download from eclectric.co.uk] | ||
* [https://eclectric.co.uk/download/Installer_UsbPot_64bit_0.0.13.msi 64bit direct download from eclectric.co.uk] | * [https://eclectric.co.uk/download/Installer_UsbPot_64bit_0.0.13.msi 64bit direct download from eclectric.co.uk] | ||
| + | |||
== UsbPot GUI application operation == | == UsbPot GUI application operation == | ||
| Line 42: | Line 44: | ||
=== Device settings === | === Device settings === | ||
| + | |||
== Command line operation == | == Command line operation == | ||
| Line 75: | Line 78: | ||
</blockquote> | </blockquote> | ||
</div> | </div> | ||
| − | |||
=== Terminal Emulator === | === Terminal Emulator === | ||
| Line 192: | Line 194: | ||
</pre> | </pre> | ||
| + | |||
== AD5292 digital potentiometer == | == AD5292 digital potentiometer == | ||
This is a section describing the AD5292 chip. Analog Devices AD5292 datasheet is available [http://www.analog.com/media/en/technical-documentation/data-sheets/AD5291_5292.pdf here]. | This is a section describing the AD5292 chip. Analog Devices AD5292 datasheet is available [http://www.analog.com/media/en/technical-documentation/data-sheets/AD5291_5292.pdf here]. | ||
| + | |||
== Specifications== | == Specifications== | ||
Revision as of 20:28, 8 June 2018
Contents
UsbPot: USB Digital Potentiometer
USB Digital Potentiometer
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. See the UsbPot device Command summary for a more comprehensive discussion of the available commands.
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 UsbPot device Command summary for a more comprehensive discussion of the available commands.
Linux
Python script
Here is some code. Here is some code. Here is some code.
Windows
Linux
Command summary
## Get help! UsbPot> help [core] commands: HELP VERSION ERASE RESET [user] commands: NAME ECHO PROMPT ## Get help on the HELP command: UsbPot> help help Help for <help>: INFO: Command description or a list of the available commands USAGE: help <none|command|*|@> none=list, *=details, @=parameters ## Get help 'details' UsbPot> help * [core] commands: HELP Command description or a list of the available commands VERSION Firmware version ERASE Erase device to default factory settings RESET Reset the USB device [user] commands: NAME Device name: 20 alphanumeric characters max ECHO Echo on/off PROMPT Prompt on/off ## Get help 'parameters' UsbPot> help @ [core] commands: HELP <none|command|*|@> none=list, *=details, @=parameters VERSION <none> ERASE <none> RESET <none> [user] commands: NAME <none|text> ECHO <on|off> PROMPT <on|off> 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) ## Following device RESET, the device will be re-enumerated and appear in Device Manager with a differnent COM port number ## The new device name will appear as the command prompt string: Bob> ## Direct control of the AD5292 digital potentiometer ## Firstly, must enable control of the potentiometer 'wiper' UsbPot> 0x1803 0x1803 ## Get the current 10-bit wiper position value: UsbPot> 0x0800 0x0600 # 0x0000 <--> (0x0200) <--> 0x03FF ## Set the current 10-bit wiper position value: ## Note: must logically AND 0x0400 to the required value ## Therefore, set range is: 0x0200 <--> (0x0600) <--> 0x07FF UsbPot> 0x7FF # set value to 1023
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
