Author Topic: EEVBlog #439 - Atten PPS3205T-3S Triple Output Power Supply Review  (Read 37321 times)

0 Members and 1 Guest are viewing this topic.

Offline deisenberg

  • Contributor
  • Posts: 39
  • Country: ca
  • Seriously I have no clue.
Re: EEVBlog #439 - Atten PPS3205T-3S Triple Output Power Supply Review
« Reply #75 on: March 24, 2013, 11:56:52 pm »
Anyone that sent a email to atten trying to get details about the unit hear anything back yet? The software sucks and I would like to create something a lot nicer...
 

Offline biot

  • Regular Contributor
  • *
  • Posts: 70
Re: EEVBlog #439 - Atten PPS3205T-3S Triple Output Power Supply Review
« Reply #76 on: March 25, 2013, 12:07:51 pm »
Anyone that sent a email to atten trying to get details about the unit hear anything back yet? The software sucks and I would like to create something a lot nicer...
No, they didn't reply. However they replied to TME, where I bought it, asking which browser I was using.

Since then they've changed their website somewhat, and there is a working download for the PPS3203T-3S software. Still didn't work, but this time I dug a little deeper. I'd remembered it wrong -- there's no way to set the serial port to use for communicating with the device (was some other software). So how does it determine which port the device is on?

It doesn't. The serial port is hardcoded to COM1.

Welcome to Atten. Leave your brain at the door; we'd like you to write some software for us.

In any case you can fix the assigned COM port number to a specific FTDI chip (by serial number), see here. That got the software working, and I'm duly seeing lots of protocol data. I'll have to see about getting that documented.
 

Offline CHexclaim

  • Regular Contributor
  • *
  • Posts: 93
  • Country: uy
Re: EEVBlog #439 - Atten PPS3205T-3S Triple Output Power Supply Review
« Reply #77 on: March 25, 2013, 11:58:12 pm »
I wonder what do the people involved in the good design of the hardware for this product think of the atrocious usability of their product just because of an extremely poor firmware... It is a pity when these things happen.
 

Offline deisenberg

  • Contributor
  • Posts: 39
  • Country: ca
  • Seriously I have no clue.
Re: EEVBlog #439 - Atten PPS3205T-3S Triple Output Power Supply Review
« Reply #78 on: March 26, 2013, 12:25:08 pm »
Sweet! got a replay with sample code (matlab maybe) and specs on the communication protocol. Guess Dave's video kicked them in the ass. The reply also said they were going to show the factory Dave's review in April when they visit them... We'll see I guess.

Funny, the guy suggest I buy the  ATM8811 single out put unit. Would have bought a rigol unit if I was going to spend that much on a single. Beside I already own this unit.

Anyone looking to purchase this unit in the US or Canada Newark has it re-branded as a tenma 72-8795.




Code: [Select]
function interface_parts = Atten_controller_interface()

 

    %% connect to the device

    Atten_conn = serial('COM1','DataBits',8);

    interface_parts.Atten_conn = Atten_conn;

    fopen(Atten_conn);   

    interface_parts.is_connected = true;

    interface_parts.do_shutdown = false;

   

    %% create GUI

   

    %GUI window

    interface_parts.figure = figure('Position',[100,100,800,600], 'CloseRequestFcn', @Atten_disconnect);

   

    %Create plot for values

    interface_parts.data_plot = axes('Units','pixels', 'Position', [100  150  600  400]);

   

    %buttons to toggle the device on/off and to exit

    interface_parts.output_btn = uicontrol('Style','togglebutton', 'String','output','Position',[350,10,100,50]);

    interface_parts.exit_btn = uicontrol('Style','togglebutton', 'String','exit','Position',[475,10,100,50], 'Callback', @Atten_disconnect);

 

    %labels and text boxes for the user to input desired V and i values

    interface_parts.V_label = uicontrol('Style','text', 'String','V','Position',[150,10,50,20]);

    interface_parts.V_field = uicontrol('Style','edit', 'String','0','Position',[200,10,50,20]);

    interface_parts.i_label = uicontrol('Style','text', 'String','i','Position',[150,40,50,20]);

    interface_parts.i_field = uicontrol('Style','edit', 'String','0','Position',[200,40,50,20]);

   

    %% Initialise the hex vector

    interface_parts.control_vector = ['AA'; '20'; '00'; '00'; '00'; '00'; '00'; '00'; '00'; '00'; '00'; '00'; '00'; '00'; '01'; '00'; '01'; '00'; '00'; '00'; '00'; '00'; '00'; '68'];

    interface_parts.default_vec = interface_parts.control_vector;

    vals = []; % Initialise the array for measured values

    tic; % Start timer

   

    %% keeping going until the user exits

    while(true && interface_parts.is_connected)

       

        Atten_apply_vector(1,2); % set device

        [input_dec,count,msg] = fread(Atten_conn,24,'uint8'); %read status

       

        %convert and store results

        V_val = hex2dec([dec2hex(input_dec(3)) dec2hex(input_dec(4))]) / 100;

        i_val = hex2dec([dec2hex(input_dec(5)) dec2hex(input_dec(6))]) / 1000;

        vals = [vals; toc V_val i_val];

       

        %show the results

        [AX,H1,H2] = plotyy(vals(:,1), vals(:,2), vals(:,1), vals(:,3));

        xlabel('time [s]');

        set(get(AX(1),'Ylabel'),'String','Potential [V]');

        set(get(AX(2),'Ylabel'),'String','Current [A]');

        pause(0.05);

    end

 

    function Atten_apply_vector(hObject, eventdata)

       

        %note that matlab uses an indexing system starting from 1, whereas

        %the protocol pdf assumes an indexing system starting from 0

       

        %process the voltage value chosen by user

        V_val = str2num(get(interface_parts.V_field, 'String'));

        V_dec = round(V_val * 100);

        V_hex = dec2hex(V_dec, 4);

 

        interface_parts.control_vector(3,:) = V_hex(1:2); interface_parts.control_vector(4,:) = V_hex(3:4);

 

        %process the current value chosen by user

        i_val = str2num(get(interface_parts.i_field, 'String'));

        i_dec = round(i_val * 1000);

        i_hex = dec2hex(i_dec, 4);

 

        interface_parts.control_vector(5,:) = i_hex(1:2); interface_parts.control_vector(6,:) = i_hex(3:4);

       

        %update output state

        interface_parts.control_vector(16,:) = dec2hex(get(interface_parts.output_btn, 'Value'));

 

        %send suitable vector to the device

        if(interface_parts.do_shutdown) %set the device back to the default state before disconnecting

            interface_parts.store_control_vector = interface_parts.control_vector;

            interface_parts.control_vector = interface_parts.default_vec;

        end

       

        output_dec = hex2dec(interface_parts.control_vector);

        fwrite(Atten_conn,output_dec,'uint8');

    end

 

    function Atten_disconnect(a,b)       

        if(interface_parts.is_connected)           

            %shutdown system

            interface_parts.do_shutdown = true;

            Atten_apply_vector(a,b);

           

            %close connection

               fclose(Atten_conn);

            delete(Atten_conn);

            clear Atten_conn;

            display('disconnecting from device');

            interface_parts.is_connected = false;

        else

            display('disconnecting... not connected to device');

        end       

        delete(interface_parts.figure);

    end 

end


« Last Edit: March 26, 2013, 12:28:22 pm by deisenberg »
 

Offline deisenberg

  • Contributor
  • Posts: 39
  • Country: ca
  • Seriously I have no clue.
Re: EEVBlog #439 - Atten PPS3205T-3S Triple Output Power Supply Review
« Reply #79 on: March 26, 2013, 12:27:34 pm »

It doesn't. The serial port is hardcoded to COM1.

Welcome to Atten. Leave your brain at the door; we'd like you to write some software for us.

In any case you can fix the assigned COM port number to a specific FTDI chip (by serial number), see here. That got the software working, and I'm duly seeing lots of protocol data. I'll have to see about getting that documented.

yes, annoyances just changed it in device manager. Works, not really anything special, makes it easy to set pre programmed setting though.
 

Offline biot

  • Regular Contributor
  • *
  • Posts: 70
Re: EEVBlog #439 - Atten PPS3205T-3S Triple Output Power Supply Review
« Reply #80 on: March 26, 2013, 01:42:41 pm »
Sweet! got a replay with sample code (matlab maybe) and specs on the communication protocol.
Excellent! I notice the document is marked atten.eu -- that's the European reseller. I've bought an Atten ATZ97 from them, and that came with a great manual, including complete protocol documentation. I'm pretty sure they wrote these themselves. Shouldn't have cheaped out and bought from TME, clearly.

The protocol doc matches what I saw:

   3: aa aa 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 54
   6: aa aa 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 54
   7: aa 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ca
  10: aa 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ca
  11: aa 20 00 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 00 00 00 00 00 cc


Not sure what the second byte ("address") is supposed to be. The last byte is not "calibration byte" as it says in the doc, it's actually just a checksum.
 

Offline cotang

  • Newbie
  • Posts: 1
Re: EEVBlog #439 - Atten PPS3205T-3S Triple Output Power Supply Review
« Reply #81 on: September 11, 2013, 03:58:56 pm »
Sorry for bringing this old post back up, but I was wondering if anyone changed out the fan because the stock fan is noisy as hell.
 

Offline danS

  • Newbie
  • Posts: 1
Re: EEVBlog #439 - Atten PPS3205T-3S Triple Output Power Supply Review
« Reply #82 on: October 09, 2013, 11:27:48 am »
Where I can find the PC software for this PS? There is only Easy Scope and USB driver on http://www.attenelectronics.com/Support/Software/ Have they removed that crap?
 

Online EEVblog

  • Administrator
  • *****
  • Posts: 37740
  • Country: au
    • EEVblog
Re: EEVBlog #439 - Atten PPS3205T-3S Triple Output Power Supply Review
« Reply #83 on: October 09, 2013, 11:44:50 am »
Sorry for bringing this old post back up, but I was wondering if anyone changed out the fan because the stock fan is noisy as hell.

I changed mine, with a quiet one from Jaycar. 12V instead of 24V, but I just used a crude dropper resistor. Worked really well, now almost silent.
 

Offline HiRam

  • Supporter
  • ****
  • Posts: 3
  • Country: de
control program for power supply ATTEN PPS3205T-3S
« Reply #84 on: January 30, 2014, 11:10:19 am »
That applies to me too, sorry for using that old thread!
I think I have perhaps found something interesting:

Source code for HIASM and .exe  to control power supply ATTEN PPS3205T-3S (China). Written on Hiasm 4.4 (Hiasm.com) Tested on Windows XP SP3 and Windows 7

http://code.google.com/p/pps3205t-3s/

I tried  the "Atten_pps3205beta1.exe" in a virtual xp machine with usb serial adapter. Seems that it works somehow.
It uses HiAsm Studio 4. Does anybody knows hiasm.com?
I do not want to let you walk right into a trap. Be careful, my AVIRA virus scanner for URL does not like the download link for Hiasm 4.4: http://hiasm.com/xf/load.php?a=17837
and my virus scanner does not like the "Atten_pps3205beta1.exe" from code.google.com
Thanks   
« Last Edit: January 30, 2014, 01:43:36 pm by HiRam »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf