<h2>Tuxgraphics Digital DC Power Supply Unit</h2>
-Software for version the version 3 hardware.
+Software for the version 3 hardware.
<pre>
Compiling the software and programming
The poweresupply must be powered up during programming
but nothing should be connected on the output. Make
sure that you do not accidently press any button
-during the programming (loading the software into the uC).
+during the programming (while loading the software into the uC).
Compile under windows
=====================
There are as well 3 batch files which you can use
to run the makefile. To use them edit them and change
the path as per your avr-gcc installation on your PC.
-After that run them by double-clickin in the file manager
-on those batch files.
+After that run them by double-clicking on them in the
+file manager.
winmake.bat -- comile, this is mandatory to use
+ winclean.bat -- delete all files generated during compilation
+
winload.bat -- load software using avrdude, may also use
some other means of loading the softare. In that
case you do not need to use this batch file.
- winsetfuse.bat -- set fuse bytes using avrdude, may also use
+ winsetfuse.bat -- set fuse bytes using avrdude. You may as well use
some other means of changing the fuse bytes. In that
case you do not need to use this batch file.
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
+any reference point (e.g build two power supplies 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. The other common
+Putty supports as serial connections. The other common
option under windows is HyperTerminal but it is more complicated
to use than putty.
For Linux I can recommend picocom
Under linux or Mac you can use the command dmesg
after you have plugged in the USB cable to see to
which com-port/device the new virtual com port maps to.
+ Under windows you look at Control Panel->Hardware->Devices
+ and click on FT232R USB UART->Hardware to see the COM
+ port.
baudrate : 9600
parity : none
Pre-compiled binaries are available for winXP.
-------------------------------------------------------------------
-Copyright: GPL V2
-Author: Guido Socher
+Software License:
+Copyright: GPL V2 (see http://www.gnu.org/licenses/old-licenses/gpl-2.0.html )
+Author: Guido Socher (guidosocher@gmail.com)
Homepage: http://www.tuxgraphics.org/electronics/
-------------------------------------------------------------------
Change history:
Script interface (ddcp-script)
digitaldcpower-0.6.4 -- 2010-07-11 added ddcp-script interface
commands for windows.
+digitaldcpower-0.6.5 -- 2011-04-14 There was a fault in the range setting
+ for the PWM (ICR1L in dac.c). Thanks to Weitao Li (james)
+ for reporting this. This fault reduced the precision
+ a bit.
+ -- 2011-04-14 some minor improvemnents in main.c and analog.c to
+ regulate the voltage drop over the current measuremtns shunts
+ faster.
+
-------------------------------------------------------------------
vim: set sw=8 ts=8 si et :
</pre>