command interface for remote control
[digitaldcpower] / README.htm
index 40a985b..9019f19 100644 (file)
@@ -58,7 +58,6 @@ Here you can change also the settings between the 30V and the 22V version.
 In general you should only need to change 
 U_DIVIDER and I_RESISTOR by very small amounts. 
 
----------------------------------------------------------------
 
 Overview
 ========
@@ -81,47 +80,39 @@ The software is prepared for 2 versions:
 - 0-22V 0-2.5A
 - 0-30V 0-2A
 
-It is possible to build a different version without major
-re-design. 
-
----------------------------------------------------------------
-How the software works
-======================
-
-I have added a lot more comments to the software than usual. 
-It should be possible even for somebody with little experience in
-C programming to understand how this software works.
-
-The circuit uses as internal units ADC steps. All external values
-(Volt, Ampere) are converted to steps of the analog to digital 
-converter (ADC). When you change the voltage then this is first
-converted to ADC steps and then it will be further processed.
-
-
-main.c -- this is the main program. All initialization starts here.
- It contains a infinite while loop which will execute the slow tasks
- one by one: 
-   + Convert ADC results to display values
-   + Update the LCD
-   + Check push buttons
-analog.c -- the analog to digital converter and the main control loop
-         for the power supply. Everything is interrupt based here as
-         it needs to be fast.
-         Voltage control, current limitation and short circuit protection
-         are all implemented here.
-
-dac.c -- the digital to analog converter. Initalized from main.c but
-         used exclusivly from analog.c
-
-kbd.c -- the keyboard driver
-
-lcd.c -- the LCD driver. This is a special version which will not need
-         the rw pin of the display. It uses instead an internal timer
-         which should be long enough for the display to finish its task.
-         The RW pin which is normally used to poll the display to see
-         if it is ready is not needed.
+If you want to build a version that has a smaller output
+range than any of the two version then you can just
+modify the file hardware_settings.h.
+
+The unit can be controlled remotely from a computer using
+a USB serial interface. An add-on card is available from
+http://shop.tuxgraphics.org which offers galvanic separation
+such that you can use this power supply relative to
+any reference point (e.g build two power supply and use
+one as negative and one as positive power supply).
+
+Terminal settings for remote control via your computer
+======================================================
+You can e.g use putty under windows
+http://www.chiark.greenend.org.uk/~sgtatham/putty/ 
+it supports as well serial connections
+For Linux I can recommend picocom
+http://code.google.com/p/picocom/
+(use command picocom -l -b 9600 /dev/ttyUSB0)
+
+port       : Virtual com port (e.g /dev/ttyUSB1 or /dev/ttyUSB0
+             or COM5 under windows or ... to whatever port the
+            virtual com port maps)
+flowcontrol: none
+baudrate   : 9600
+parity     : none
+databits   : 8
 
+</pre>
+<br>
+<img src=screenshot-cmd-interface.gif>
+<br>
+<pre>
 -------------------------------------------------------------------
 Copyright: GPL V2
 Author: Guido Socher
@@ -136,6 +127,7 @@ digitaldcpower-0.6.1 -- 2010-06-06 Number conversion to display string
                         improved.
                      -- Basic uart interface prompt, no remote control yet
 
+digitaldcpower-0.6.2 -- 2010-06-26 Full UART command interface
                         
 -------------------------------------------------------------------
 </pre>