Difference between revisions of "Atten PPS3203T-3S"

From sigrok
Jump to navigation Jump to search
m
 
(8 intermediate revisions by 3 users not shown)
Line 2: Line 2:
| image              = [[File:Atten PPS3203T-3S.png|180px]]
| image              = [[File:Atten PPS3203T-3S.png|180px]]
| name                = Atten PPS3203T-3S
| name                = Atten PPS3203T-3S
| status              = in progress
| status              = supported
| source_code_dir    =  
| source_code_dir    = atten-pps3xxx
| channels            = 3
| channels            = 3
| channel1            = 0-32V / 0-3A
| channel1            = 0-32V / 0-3A
Line 20: Line 20:
This device is also sold as the [http://www.newark.com/tenma/72-8795/programmable-dc-power-supply-32v/dp/32T0685 Tenma 72-8795] by Farnell/Newark.
This device is also sold as the [http://www.newark.com/tenma/72-8795/programmable-dc-power-supply-32v/dp/32T0685 Tenma 72-8795] by Farnell/Newark.


== Hardware ==
See [[Atten PPS3000 series]] for information common to all devices in this series.


See the [http://www.youtube.com/watch?v=Ju9Q05y_3V0 EEVblog teardown] for details about this device's internals.
== Quick start ==


== Protocol ==
The following command will set the voltage on channel #2 to 5.0V, current limit to 0.5A, and then will query the device in continuous mode:


Communication to/from the device is via the RS232 port or serial-USB port. The serial parameters on the device are by default set to 9600 baud, and "data" (data bits) set to 9. This is not a standard number of data bits. The vendor software works around this by using Mark parity. Since this is not a supported parity setting in POSIX, setting parity to None and stop bits to 2 also works.
<small>
$ '''sigrok-cli --driver=atten-pps3203:conn=/dev/ttyUSB0 --channel-group=CH2 \'''
  '''--config "voltage_target=5:current_limit=0.5:enabled=on" --continuous'''
</small>


Every communication to and from the device occurs in 24-byte packets. The device sends a packet only when it receives one from the host. Values such as voltage and current, when set by the host, contain the current values as shown on the display when received from the device. There is thus no way to receive the set values back from the device.
== Photos ==


The 24-byte packet is structured as follows:
<gallery>
 
File:Atten PPS3203T-3S back.jpg
{| border="0" width="95%" style="font-size: smaller" class="alternategrey sigroktable"
</gallery>
|-
! style="width: 3em;" | Byte
! Description
 
|-
| 0
| Always 0xaa
 
|-
| 1
| Always 0x20
 
|-
| 2-3
| Channel 1 voltage multiplied by 100, big-endian
 
|-
| 4-5
| Channel 1 current multiplied by 1000, big-endian
 
|-
| 6-7
| Channel 2 voltage multiplied by 100, big-endian
 
|-
| 8-9
| Channel 2 current multiplied by 1000, big-endian
 
|-
| 10-11
| Channel 3 voltage multiplied by 100, big-endian
 
|-
| 12-13
| Channel 3 current multiplied by 1000, big-endian
 
|-
| 14
| Always 0x01
 
|-
| 15
| Output enable: bit 0 = channel 1, bit 1 = channel 2, bit 2 = channel 3
 
|-
| 16
| Always 0x01
 
|-
| 17
| Inexplicably used to store the vendor software's language choice. 0 = English, 1 = Chinese
 
|-
| 18
| Over current protection (OCP): 0 = OCP off, 1 = OCP on
 
|-
| 19
| Channel output mode: 1=independent (default), 2=series, 3=parallel
 
|-
| 20-22
| Always 0x00
 
|-
| 23
| Checksum of all 23 preceding bytes ANDed by 0xff. The checksum is calculated by both the vendor software and device firmware. However, both ignore it entirely when receiving it.
 
|}
 
== Resources ==
 
* [http://www.atten.eu/media/catalog/product/pdf/PPS3203T-3S%20user%20manual.pdf User manual]
* [http://www.atten.eu/atten-pps3203t-3s-programmable-power-supply.html European distributor page for the PPS3203T-3S]
* [http://www.youtube.com/watch?v=sR92IOU7XJM EEVblog #439: Review of the PPS3205T-3S]
* [http://www.youtube.com/watch?v=Ju9Q05y_3V0 EEVblog #440: Teardown of the PPS3205T-3S]
* [http://www.mcmelectronics.com/content/ProductData/Manuals/72-8795.pdf Tenma 72-8795 datasheet]
* [http://www.eevblog.com/forum/blog/eevblog-439-atten-pps3205t-3s-triple-output-power-supply-review/msg207994/#msg207994 Semi-official protocol docs] (partly wrong)
* [https://github.com/mturquette/pps-tools pps-tools], a set of Python tools to interface with the device


[[Category:Device]]
[[Category:Device]]
[[Category:Power supply]]
[[Category:Power supply]]
[[Category:In progress]]
[[Category:Supported]]

Latest revision as of 15:47, 4 December 2016

Atten PPS3203T-3S
Atten PPS3203T-3S.png
Status supported
Source code atten-pps3xxx
Channels 3
Voltage/current (CH1) 0-32V / 0-3A
Voltage/current (CH2) 0-32V / 0-3A
Voltage/current (CH3) 0-6V / 0-3A
Connectivity USB-serial, RS232
Website atten.eu

The Atten PPS3203T-3S is a 3-channel programmable power supply with USB-serial and RS232 connectivity.

See Atten PPS3203T-3S/Info for more details (such as lsusb -v output) about the device.

This device is also sold as the Tenma 72-8795 by Farnell/Newark.

See Atten PPS3000 series for information common to all devices in this series.

Quick start

The following command will set the voltage on channel #2 to 5.0V, current limit to 0.5A, and then will query the device in continuous mode:

$ sigrok-cli --driver=atten-pps3203:conn=/dev/ttyUSB0 --channel-group=CH2 \
  --config "voltage_target=5:current_limit=0.5:enabled=on" --continuous

Photos