Author Topic: Serial to usb on Kunkin KP184 electronic load  (Read 47529 times)

0 Members and 1 Guest are viewing this topic.

Offline cskilbeckTopic starter

  • Contributor
  • Posts: 24
  • Country: gb
Serial to usb on Kunkin KP184 electronic load
« on: November 08, 2019, 05:40:44 pm »
I love my Kunkin KP184 electronic load and would like to control it via the serial port (or RS485, don't care which), but none of the adapters I've tried (FTDI, Prolific, all the usual suspects) work. Has anyone managed it or does anyone have any tips for troubleshooting? The serial port settings are very clear and I did once manage to get it working so I know it's possible but now I can't get it back. There's no information in the manual about voltage levels, but my understanding is that most of the adapters should work regardless of whether it's 5 or 12 or whatever. I would measure it but it only sends data in response to a modbus command, and I can't get it to talk.

Any help or tips very welcome.

Thanks

Manual is available on their product page: http://www.kunkin.com/gb/products.asp?id=2&menu=ShowDetail&P_Id=67
 

Offline Noy

  • Frequent Contributor
  • **
  • Posts: 361
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #1 on: November 09, 2019, 09:09:09 am »
Where did you get the software ? I have a KP184 but no Software.
 

Offline cskilbeckTopic starter

  • Contributor
  • Posts: 24
  • Country: gb
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #2 on: November 09, 2019, 09:52:47 am »
I think there was a disk which came with it but I threw it away, the software which comes with these things is usually not great. There's some example code in the manual which explains the protocol and I did verify that it works when I had a serial port setup which worked, but I can't get the serial port to work any more.

Here's a very basic utility but I can't test it until I get the serial port working: https://github.com/cskilbeck/modbus/
« Last Edit: November 09, 2019, 10:14:19 am by cskilbeck »
 
The following users thanked this post: timber23

Offline Black Phoenix

  • Super Contributor
  • ***
  • Posts: 1129
  • Country: hk
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #3 on: November 09, 2019, 01:01:59 pm »
I love my Kunkin KP184 electronic load and would like to control it via the serial port (or RS485, don't care which), but none of the adapters I've tried (FTDI, Prolific, all the usual suspects) work.

I'm still looking to find the equipment that doesn't work with this adapter:



I use one since 2005 (this is my second one since I lost my previous one, that were only Keyspan in the brand): From using with a Renishaw QC10 Ballbar System to Rollover Cisco Cables, from NSN MGW/MSS terminal connection to old measurement equipment, it never let me down, including Allen-Bradley/Siemens Simatic PLCs. It's based on the TI 75LV4737A Multichannel RS232 Line Driver/Receiver, so it have have HW handshake.

It's a little expensive compared with other models, but is probably the only one you will need for the rest of your professional life.
« Last Edit: November 09, 2019, 01:07:38 pm by Black Phoenix »
 

Offline cskilbeckTopic starter

  • Contributor
  • Posts: 24
  • Country: gb
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #4 on: November 10, 2019, 09:11:29 pm »
Thanks @Black Phoenix. Yikes! That is expensive. I'll give it one more go with a homegrown FTDI adapter -> 9 pin D plug and bite the bullet when that doesn't work.
 

Offline cskilbeckTopic starter

  • Contributor
  • Posts: 24
  • Country: gb
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #5 on: November 10, 2019, 09:20:20 pm »
Aha!! Tried once more with a cheapo generic usb to serial adapter and added a 100ms delay between sending the message and getting the reply and voila! I have reasonable looking data. So the takeaway is add a delay after sending!

Thanks all for your help.
 

Offline cskilbeckTopic starter

  • Contributor
  • Posts: 24
  • Country: gb
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #6 on: November 10, 2019, 11:08:16 pm »
Annoyingly it has stopped working again - same adapter, settings etc but now I just get timeout. I wonder if it's actually faulty.
 

Offline cskilbeckTopic starter

  • Contributor
  • Posts: 24
  • Country: gb
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #7 on: November 11, 2019, 05:37:42 pm »
Just to close this thread out, the 9 pin socket on the back of the device wasn't making good contact with the plug. Some of the pins were pushed in, after reseating everything it's working. Out of 4 serial adapters, only one works, and it's a completely generic cheapo CH340 from eBay like this one https://www.ebay.co.uk/itm/USB-to-Serial-RS232-9-Pin-DB9-COM-Port-Converter-Adapter-Cable-for-Windows-XP-7/202700911358 (with the male plug, so I used a gender changer).
 

Offline timber23

  • Contributor
  • Posts: 47
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #8 on: March 09, 2020, 09:32:39 pm »
I think there was a disk which came with it but I threw it away, the software which comes with these things is usually not great. There's some example code in the manual which explains the protocol and I did verify that it works when I had a serial port setup which worked, but I can't get the serial port to work any more.

Here's a very basic utility but I can't test it until I get the serial port working: https://github.com/cskilbeck/modbus/
Thank you for your utility.
Are you going to further develop the software? I tried it and I can switch the load on and off, but nothing more.
Code: [Select]
E:\Modbus\modbus-master\bin\Debug>KP184 port COM11; baud 9600; address 1; on
Main                :Checksum error, got 0x0000. expected 0xC00B

E:\Modbus\modbus-master\bin\Debug>KP184 port COM11; baud 9600; address 1; off
Main                :Checksum error, got 0x0000. expected 0xC00B
I do not understand why I get 0x0000 back. Do you know why?

Edit: I played a little bit around with your code and extended it a little bit. Hope you will pull my changes to you master branch  :)

Best regards
timber23
« Last Edit: March 10, 2020, 10:40:03 pm by timber23 »
 

Offline cskilbeckTopic starter

  • Contributor
  • Posts: 24
  • Country: gb
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #9 on: March 23, 2020, 05:54:03 pm »
It seems to be working well for me, I just pushed some changes, let me know if it's not working for you? I added some delay() here and there, it seems picky about that.

Verbose  17:52:08.850 port                :COM Port: com15
Info     17:52:08.876 checksum            :Checksum checking: True
Verbose  17:52:08.877 baud                :BAUD rate: 115200
Verbose  17:52:08.878 address             :Device address: 1
Verbose  17:52:08.879 get_voltage         :Calling get_Mode from KP184
Verbose  17:52:08.879 get_voltage         :Get voltage
Verbose  17:52:08.881 open                :Opening serial port 'com15' at 115200 baud
Info     17:52:08.941 get_voltage         :Voltage is 5924mV
Verbose  17:52:08.942 switch              :Turning load switch on
Verbose  17:52:08.943 set_load_switch     :Set switch on
Verbose  17:52:08.996 get_status          :Calling get_status from KP184
Info     17:52:09.049 get_status          :Status:
Info     17:52:09.050 get_status          :   Switch is on
Info     17:52:09.051 get_status          :   Mode is CC
Info     17:52:09.052 get_status          :   Current is 0
Info     17:52:09.053 get_status          :   Voltage is 5924
Info     17:52:09.055 ramp                :Ramp: from 0 to 1000 in steps of 100 at intervals of 200
Verbose  17:52:09.056 set_current         :Set current to 0mA
Info     17:52:09.109 ramp                :        0mA, elapsed: 00:00:00.0531564
Verbose  17:52:09.256 set_current         :Set current to 100mA
Info     17:52:09.309 ramp                :      100mA, elapsed: 00:00:00.2534356
Verbose  17:52:09.456 set_current         :Set current to 200mA
Info     17:52:09.508 ramp                :      200mA, elapsed: 00:00:00.4522986
Verbose  17:52:09.656 set_current         :Set current to 300mA
Info     17:52:09.709 ramp                :      300mA, elapsed: 00:00:00.6532109
Verbose  17:52:09.856 set_current         :Set current to 400mA
Info     17:52:09.908 ramp                :      400mA, elapsed: 00:00:00.8521267
Verbose  17:52:10.056 set_current         :Set current to 500mA
Info     17:52:10.109 ramp                :      500mA, elapsed: 00:00:01.0532407
Verbose  17:52:10.256 set_current         :Set current to 600mA
Info     17:52:10.313 ramp                :      600mA, elapsed: 00:00:01.2576433
Verbose  17:52:10.456 set_current         :Set current to 700mA
Info     17:52:10.510 ramp                :      700mA, elapsed: 00:00:01.4544644
Verbose  17:52:10.657 set_current         :Set current to 800mA
Info     17:52:10.710 ramp                :      800mA, elapsed: 00:00:01.6546185
Verbose  17:52:10.857 set_current         :Set current to 900mA
Info     17:52:10.911 ramp                :      900mA, elapsed: 00:00:01.8551085
Verbose  17:52:11.057 set_current         :Set current to 1000mA
Info     17:52:11.109 ramp                :     1000mA, elapsed: 00:00:02.0531923
Verbose  17:52:11.257 get_voltage         :Calling get_Mode from KP184
Verbose  17:52:11.258 get_voltage         :Get voltage
Info     17:52:11.310 get_voltage         :Voltage is 5922mV
Verbose  17:52:11.312 get_current         :Calling get_Mode from KP184
Verbose  17:52:11.313 get_current         :Get current
Info     17:52:11.365 get_current         :Current is 787mA
Info     17:52:11.367 ramp                :Ramp: from 1000 to 0 in steps of -100 at intervals of 200
Verbose  17:52:11.367 set_current         :Set current to 1000mA
Info     17:52:11.419 ramp                :     1000mA, elapsed: 00:00:00.0515168
Verbose  17:52:11.568 set_current         :Set current to 900mA
Info     17:52:11.622 ramp                :      900mA, elapsed: 00:00:00.2543872
Verbose  17:52:11.767 set_current         :Set current to 800mA
Info     17:52:11.821 ramp                :      800mA, elapsed: 00:00:00.4541509
Verbose  17:52:11.967 set_current         :Set current to 700mA
Info     17:52:12.024 ramp                :      700mA, elapsed: 00:00:00.6573842
Verbose  17:52:12.167 set_current         :Set current to 600mA
Info     17:52:12.225 ramp                :      600mA, elapsed: 00:00:00.8577865
Verbose  17:52:12.367 set_current         :Set current to 500mA
Info     17:52:12.420 ramp                :      500mA, elapsed: 00:00:01.0534372
Verbose  17:52:12.567 set_current         :Set current to 400mA
Info     17:52:12.624 ramp                :      400mA, elapsed: 00:00:01.2567874
Verbose  17:52:12.767 set_current         :Set current to 300mA
Info     17:52:12.823 ramp                :      300mA, elapsed: 00:00:01.4561288
Verbose  17:52:12.967 set_current         :Set current to 200mA
Info     17:52:13.024 ramp                :      200mA, elapsed: 00:00:01.6569999
Verbose  17:52:13.168 set_current         :Set current to 100mA
Info     17:52:13.225 ramp                :      100mA, elapsed: 00:00:01.8573013
Verbose  17:52:13.368 set_current         :Set current to 0mA
Info     17:52:13.422 ramp                :        0mA, elapsed: 00:00:02.0547666
Verbose  17:52:13.567 switch              :Turning load switch off
Verbose  17:52:13.572 set_load_switch     :Set switch off
 

Offline cvanc

  • Frequent Contributor
  • **
  • Posts: 672
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #10 on: March 23, 2020, 06:59:05 pm »
I'm still looking to find the equipment that doesn't work with this adapter:




I have the same unit, have used it for years, and can also report that it "simply works" with everything I have ever thrown at it.  Nice piece.
 

Offline timber23

  • Contributor
  • Posts: 47
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #11 on: March 27, 2020, 08:24:08 pm »
I found an interesting alternative for connecting the KP184 to a PC. Instead of using a USB serial adapter you can use a network serial adapter.
I tried this device: https://www.aliexpress.com/item/33014747838.html
It is called USR-TCP232 and this is the manufacturer's website: https://www.usriot.com/products/rs232-to-ethernet-converter.html
My KP184 is now connected to my LAN and I can access it via "virtual COM ports" from every PC within my network.  :-+
 
The following users thanked this post: classical, tonyalbus

Offline classical

  • Regular Contributor
  • *
  • Posts: 60
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #12 on: April 20, 2020, 03:40:11 am »
My KP184 is now connected to my LAN and I can access it via "virtual COM ports" from every PC within my network.  :-+
Thanks, very interesting. Did you use the virtual com port driver of the manufacturers website?
Which application do you use controlling and reading the KP184?
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #13 on: April 21, 2020, 12:04:22 pm »
I am using a Digitus DA-70156 USB 2.0 to Serial (FTDI/FT232RL) on Win 10 with no issues from ASSMANN Electronic GmbH 8,67 EUR + Shipping on Amazon.

Scoping Kunkin KP184 serial communication with the stock National Instruments based light application I noticed there are a lot more register addresses available than the ones listed on the product manual.

The manual states on page 14:

If you need more specific information about communication protocol, please contact the technical support department of our company to get it.

I sent an email to sales@kunkin.cn but it could not be delivered.

Does anyone have this complete protocol information?

Does anyone have an open English speaking channel with Kunkin to ask for more information?

I am glad to share some details but there is a lot of missing information...
 
The following users thanked this post: classical

Offline voltlog

  • Regular Contributor
  • *
  • Posts: 101
  • Country: ro
    • VoltLog
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #14 on: April 25, 2020, 08:48:56 am »
I wasn't even able to get their labview app running, I obtained two different versions, the first one wouldn't let me change the serial port for connection and the second would complain right from the start that there are missing files. The best I could do is connect with the visual studio command line app that someone designed and released on github.
 
The following users thanked this post: classical

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #15 on: May 28, 2020, 05:16:51 am »
New software written in Python for Kunkin KP184 V1.0.1.0:
Setup KP184 Software V1.0.64.0
User_Manual


« Last Edit: February 14, 2024, 08:05:46 pm by interflexo »
 
The following users thanked this post: classical, ArsenioDev

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #16 on: June 02, 2020, 01:31:41 pm »
New version 1.0.2.0:
Capacity (Ah)/Energy (Wh) calculations error fix.
Minor bug fixes.
New software CVL mode with current limiting capability. Operates Kunkin in CC mode and a PID configurable control loop holds the configured CV setting by permanently adjusting the CC load.

User Manual updated.
« Last Edit: November 08, 2021, 11:07:51 am by interflexo »
 

Offline dc8wan

  • Newbie
  • Posts: 7
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #17 on: June 04, 2020, 10:00:17 pm »
For the reversing engineering gays:
the Command
      
  •    0x01   byte
  • [1]   0x03   byte
          [2]   0x03   byte
          [3]   0x00   byte
          [4]   0x00   byte
          [5]   0x01   byte
          [6]   0x4e      byte
          [7]   0x84   byte

    The Anwser:
    With out externel Powersupply
          
  •    0x01   byte
  • [1]   0x03   byte
          [2]   0x1e      byte
          [3]   0x02   byte
          [4]   0x00   byte
          [5]   0x00   byte
          [6]   0x00   byte
          [7]   0x00   byte
          [8]   0x00   byte
          [9]   0x00   byte
          [10]   0x00   byte
          [11]   0x00   byte
          [12]   0x04   byte
          [13]   0xb0      byte
          [14]   0x07   byte
          [15]   0xd0      byte
          [16]   0x07   byte
          [17]   0xd0      byte
          [18]   0x00   byte
          [19]   0x03   byte
          [20]   0xe8      byte
          [21]   0x31   byte
          [22]   0x91   byte
     
    with externen powersupply
    approx 13.020V
    1,200A
    15.62W
          
  •    0x01   byte
  • [1]   0x03   byte
          [2]   0x1e      byte
          [3]   0x03   byte
          [4]   0x00   byte
          [5]   0x00   byte
          [6]   0x32   byte
          [7]   0xe9      byte
          [8]   0x00   byte
          [9]   0x04   byte
          [10]   0xb0      byte
          [11]   0x00   byte
          [12]   0x04   byte
          [13]   0xb0      byte
          [14]   0x07   byte
          [15]   0xd0      byte
          [16]   0x07   byte
          [17]   0xd0      byte
          [18]   0x00   byte
          [19]   0x03   byte
          [20]   0xe8      byte
          [21]   0xfc      byte
          [22]   0x3d      byte
 

Offline Voidugu

  • Contributor
  • Posts: 13
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #18 on: June 06, 2020, 02:12:22 pm »
Softwae feedback: For some reason, when I try to log data, the logging stops after 14:04 minutes, regardless of the sample rate (ie 4 samples per second or 1 sample per second). I am using software version v1.0.1.0 with windows 10.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #19 on: June 08, 2020, 10:45:52 am »
Thanks for your feedback.
From the User Manual (page 3) or App Info Tab: "This unregistered product works in trial mode for 15 minutes, after the expired
period the data capture features are disabled. If you find out that this software product is useful, you can register..."
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #20 on: June 13, 2020, 08:14:36 am »
New version 1.0.3.0:

1. Plot graphs are now placed on the same directory as the configured .csv file.
2. A matching “.png” plot graph image file is also added to the same output directory for easier document insertion.
3. Dimmed icons bumped 78% in brightness.
4. Several minor cosmetic issues fixed.
5. Several support modules were updated in the Python ecosystem.

Setup KP184 Software V1.0.64.0
User_Manual
« Last Edit: February 14, 2024, 08:08:33 pm by interflexo »
 
The following users thanked this post: ArsenioDev, tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #21 on: June 20, 2020, 09:15:29 am »
New version 1.0.4.0:

1. Fixed an issue with the battery capacity test max duration
2. A new log tab allows the user to keep a track record of the current session activities and results. Events like over temperature, over power and over current are also logged as well as its recoveries. Right click on the text widget and select “Copy to clipboard” to export the complete log in
text format.

Setup KP184 Software V1.0.64.0
User_Manual
« Last Edit: February 14, 2024, 08:08:58 pm by interflexo »
 
The following users thanked this post: tonyalbus

Offline belzrebuth

  • Frequent Contributor
  • **
  • Posts: 483
  • Country: gr
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #22 on: July 02, 2020, 07:53:13 am »
I found an interesting alternative for connecting the KP184 to a PC. Instead of using a USB serial adapter you can use a network serial adapter.
I tried this device: https://www.aliexpress.com/item/33014747838.html
It is called USR-TCP232 and this is the manufacturer's website: https://www.usriot.com/products/rs232-to-ethernet-converter.html
My KP184 is now connected to my LAN and I can access it via "virtual COM ports" from every PC within my network.  :-+

I've got the same LAN module, based on your post here.
How did you connect the module to the Kunkin load?
I could make an adapter board with a DB9 and a DC power port I guess...
Does the module need 3V3 or 5V to operate?Or 5V gets converted to 3v3 regardless?
« Last Edit: July 02, 2020, 07:56:50 am by belzrebuth »
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 5854
  • Country: ca
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #23 on: July 02, 2020, 10:50:42 am »
For the serial to usb adapter(s) on the market , many of them a prolific based,  some with ch340 ic's and the ones you need are ftdi based,   but you need to check the hardwares id's in the windows device managers to get the vid / pid  to be sure.

Tons of compatibility issues, buffer lenght, communication drop out,    etc .... i always resort to real ftdi chipset.
 

Offline belzrebuth

  • Frequent Contributor
  • **
  • Posts: 483
  • Country: gr
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #24 on: July 02, 2020, 01:45:47 pm »
So those RS232 to USB that are flooding ebay are out of the question I guess?
I think I have an FTDI friend clone around here; I could check if it works.
« Last Edit: July 02, 2020, 01:47:30 pm by belzrebuth »
 

Offline belzrebuth

  • Frequent Contributor
  • **
  • Posts: 483
  • Country: gr
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #25 on: July 03, 2020, 08:41:13 am »
Is there a guide somewhere on how to setup the USR-232-T2 ethernet to RS232 module?
I've managed to connect to it via LAN but I think it needs a serial to TTL converter (3.3 to 5V in order to work with the KP184)
The FTDI clone I have does now work with the load.
It has a FTDI chip so there must the level conversion again that's probably incompatible.
Could it work with a diy level shifter?
I've seen some designs with a couple of transistors..
« Last Edit: July 03, 2020, 12:47:47 pm by belzrebuth »
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 5854
  • Country: ca
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #26 on: July 03, 2020, 02:24:51 pm »
The one i use the most is  a model  sp-880   usb to rs232, it as a real ft232 with an transceiver ic   betwwen the rs232 plug and the ftdi chip

maybe some other source ??

https://www.amazon.ca/Connectors-SP-880-UT-880-Compatibility-Yoton/dp/B07Q6HW46V


https://botland.com.pl/en/converters-usb-to-uart-rs232-rs485/4371-ft232rl-sp-880-usb-converter-rs232-com-10v-with-db9-connector-adafruit-18.html
 

Offline belzrebuth

  • Frequent Contributor
  • **
  • Posts: 483
  • Country: gr
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #27 on: July 03, 2020, 02:38:01 pm »
Mine has a jumper for 3.3V or 5V operation.
I've set it for 5V and still nothing.
The adapter is working because I use it very often so maybe it's their combination that's somehow problematic.

My settings on the Kunkin are :
address 001, baud rate 19200.
And on the adapter I've set the baud rate to 19200 and N 8 1 with delay 100mSec.
I've checked the RX and TX pins of my FTDI adapter and they're both 5V when I set the jumper to 5V so it's not the voltage level..
I've tried both the modbus cmd program and kp184 modbus program from interflexo.
But I get no answer from the load.. :-//
Here's the output when trying to run the modbus KP184.exe (I switched my baud rate to 9600 just in case) :
 
Verbose  17:47:19.664 port                :COM Port: com4
Verbose  17:47:19.675 baud                :BAUD rate: 9600
Verbose  17:47:19.676 delay               :Sleeping for 100ms
Verbose  17:47:19.786 address             :Device address: 1
Verbose  17:47:19.789 get_status          :Calling get_status from KP184
Verbose  17:47:19.795 open                :Opening serial port 'com4' at 9600 baud
Error    17:47:20.884 read                :Timeout reading from com4
Error    17:47:20.890 Main                :Checksum error, got 0x0000. expected 0x1B1B

I'm using a female DB9 connector with pins 2,3,5 being pins RX, TX, GND of my FTDI respectively.
« Last Edit: July 03, 2020, 03:03:51 pm by belzrebuth »
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #28 on: July 03, 2020, 04:26:22 pm »
Mine has a jumper for 3.3V or 5V operation.
I've set it for 5V and still nothing.
The adapter is working because I use it very often so maybe it's their combination that's somehow problematic.

Try measuring the voltage on the DB9 connector, if it is a RS232 output it is more than +/-9V and will not work directly with a TTL level adapter with 3.3V or 5V, both the voltage and polarity will be wrong.
 

Offline belzrebuth

  • Frequent Contributor
  • **
  • Posts: 483
  • Country: gr
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #29 on: July 03, 2020, 04:56:56 pm »
I'm getting 5V at pin 2 (with 5 being the negative) and 5V at pin 7.
That's on the Kunkin connector.
5V should be the TX pin (from the manual) and should go to the RX pin of the adapter and vice versa for the other RX and TX.
That's what I've done and it's not working.
I could try another USB to serial adapter I guess..but I suspect there might be a connection issue of some sort since this FTDI tool has worked with everything I've thrown at it and it has a FTDI chip which essentially what most of the working adapters reported here have as well.
I've ordered a couple of other adapters but they won't be here anytime soon so I will try to verify if there's a connection issue.
« Last Edit: July 03, 2020, 05:04:56 pm by belzrebuth »
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 5854
  • Country: ca
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #30 on: July 03, 2020, 06:09:00 pm »
If you are under windows, dont forget in the device manager  to set  higher baud rates for the usb rs232 adapter, it default to 9600 bauds, i always set them to 115200 bauds  ...  had a stupid problem in the past because of this  :palm:
« Last Edit: July 03, 2020, 06:11:32 pm by coromonadalix »
 

Offline belzrebuth

  • Frequent Contributor
  • **
  • Posts: 483
  • Country: gr
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #31 on: July 03, 2020, 06:47:34 pm »
Okay I'll try higher baud rate and report back!
 

Offline aristarchus

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #32 on: July 07, 2020, 01:00:53 am »
Hi,

Just recently received my KP184 and tried to use the RS232 port.
Initially tried with a USB to UART simple little board but it was not working.
https://www.aliexpress.com/premium/FT232RL-USB-to-TTL-Serial-Adapter-Module.html
Then I understood that it is indeed a RS232 port on the KP184 and not a UART, thus I added a small MAX RS232 level converter
https://www.aliexpress.com/premium/MAX3232-Level-to-TTL-Level-Board.html
between the USB to UART board and the KP184 RS232 port and now it is working just fine up to the full 115200bps.

So if someone wants to have something that works and not endlessly searching for the proper adaptor, that is a working solution.
Tried it with modules having fake and original FTDI chips, its just the same, both work ok.


PS
Added a photo of level converter and USB to UART.
« Last Edit: July 07, 2020, 10:09:12 am by aristarchus »
 
The following users thanked this post: CyberWalker, mixiom

Offline aristarchus

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #33 on: July 10, 2020, 07:28:18 pm »
Also tested the RS485 port on KP184.
Used two solutions, first adding a TTL/UART to RS485 board instead of the RS232
https://www.aliexpress.com/wholesale?catId=0&SearchText=ttl+to+RS485
which worked just fine.
Then tested a ready made USB to RS485 for less than 2 bucks
https://www.aliexpress.com/wholesale?SearchText=USB+FTDI+TTL%2FRS485
which again worked ok.
 
The following users thanked this post: CyberWalker, mixiom

Offline aristarchus

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #34 on: July 21, 2020, 11:01:53 am »
Managed to find the KP184 modbus protocol specification.
I hope it can be of use and developers could add all functionality in their programs.
 
The following users thanked this post: CyberWalker, dariuskt

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #35 on: November 24, 2020, 04:34:27 pm »
New KP184 Software Version 1.0.5.0:

Changes:

1. Fixed some data logging hiccups during application main window drag
2. Fixed graph y-label slightly clipped
3. Several support modules were updated in the Python ecosystem.
Setup KP184 Software V1.0.64.0
User_Manual

Just use the new .EXE file over your previous v1.0.4.0 installation to preserve your configuration.
« Last Edit: February 14, 2024, 08:17:49 pm by interflexo »
 
The following users thanked this post: tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #36 on: January 15, 2021, 11:49:15 pm »
New KP184 Software Version 1.0.6.0:

Changes:

1. Added some thread locks around logged data handling
2. Several support modules were updated in the Python ecosystem.
Setup KP184 Software V1.0.64.0
User_Manual

A user reported some documented problems in logged time on a iMAC I5 from 2015 running Windows 10.

In spite of my best efforts I could not replicate the described problems using a Lenovo Thinkpad T520 I5 2,5Ghz 8Gb RAM running Windows 10 Pro 64 bits.

Nevertheless I examined the code and added some thread locks around logged data handling, compiled a new build (v1.0.6.0) and put it through a 2 hour hell burn in test - battery discharge test data log with continuous cycle of simultaneous write (from within application) of more than 200 csv files without any problems.

Any feedback would be much appreciated.
« Last Edit: February 14, 2024, 08:28:47 pm by interflexo »
 
The following users thanked this post: tonyalbus

Offline tonyalbus

  • Frequent Contributor
  • **
  • Posts: 927
  • Country: nl
  • To better understand, you need to open it ;-)
    • My Channel
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #37 on: January 16, 2021, 10:02:59 am »
Thanks again for your efforts and the share  :-+
Electronics enthusiast, TEA and Radio Amateur (PE1ONS)
Marconi  - TTi - Thandar - Thurmbly - HP - Fluke - Philips - Siglent - Owon - TEK - Anritsu - Keithley - AVO - BG7TBL
https://www.youtube.com/TonyAlbus
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #38 on: January 21, 2021, 02:18:44 pm »
New KP184 Software Version 1.0.7.0:

Changes:

1. Added automatic PDF report creation from the battery discharge capacity test results.
2. Smoother data files (.csv; .png; .pdf) bulk writes during data acquisition.
3. User Manual updated for the new functionality description.
4. Several support modules were updated in the Python ecosystem.

Setup KP184 Software V1.0.64.0
User_Manual
Dummy New Test Report

Please note that this version as a new template file called "Report.html". If you are upgrading from the last versions please add this file, overwrite the new executable file and you are good to go. Your application custom configuration is stored in the "kp184.ini" file.

I thank all users for your suggestions and precious input.

There was a problem with the unregistered mode startup. Solved now.
« Last Edit: February 14, 2024, 08:29:15 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #39 on: January 24, 2021, 12:53:14 pm »
New KP184 Software Version 1.0.8.0:

Changes:

1. Added a software implemented end voltage condition test: go half current until next undervoltage during battery capacity discharge test.
2. User Manual updated for the new functionality description.

Setup KP184 Software V1.0.64.0
User_Manual

« Last Edit: February 14, 2024, 08:29:38 pm by interflexo »
 

Offline F64098

  • Regular Contributor
  • *
  • Posts: 53
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #40 on: January 24, 2021, 02:00:56 pm »
Hello interflexo,

i get a permanent error on starting, even with version 1.0.8.0
Win10Pro 64 20H2, KP184.exe located on C:\

Best regards

Frank
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #41 on: January 24, 2021, 02:55:22 pm »
Hi Frank,

Please double check the file version properties of the KP184.exe file you are using.

That error appeared on the unregistered run of version 1.0.7.0, I then corrected it on the same day and uploaded the fix under the same version number (bad practice). Browser cache plays some tricks here.

You should not install it on the root C: directory, that requires Administrator permissions, although I tried it on my Win10Pro 64 system and everything was fine.

You have an Install.txt information file on the installation directory.

Download the zip file to your system. Open the directory where the zip file is located. Double click on the zip file to open it. Double click on the KP184.exe file and select the "Extract All" button and select the installation directory (avoid root and other inconvenient OS system directories). Install Ds-Digital fonts as described on the Install.txt file. Create a shortcut if you want. You are good to go.
« Last Edit: January 24, 2021, 03:00:17 pm by interflexo »
 

Offline F64098

  • Regular Contributor
  • *
  • Posts: 53
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #42 on: January 24, 2021, 07:29:41 pm »
Hello interflexo,

tried several times, also with an older version (1.0.5.0).
Same error on any variation.
Maybe an issue of the Windows Defender...

Best regards

Frank
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #43 on: January 24, 2021, 08:12:16 pm »
Hi Frank,
Sent you a PM with a debug version to help you sort it out.
Please keep me posted.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #44 on: January 24, 2021, 11:11:36 pm »
Thanks to Frank I managed to identify, isolate and replicate the problem in a Windows Sandbox clean Windows 10 installation.

Debug info:

ImportError: DLL load failed while importing ft2font: The specified module could not be found.

The issue is explained here: StackOverflow Post

and is related to a Python matplotlib module version and msvc-runtime installation. I will probably have to downgrade matplotlib module to get rid of this. Still accessing the best course of action.

This should affect only a small undetermined number of systems but nevertheless has to be dealt with.
« Last Edit: January 24, 2021, 11:20:56 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #45 on: January 25, 2021, 12:47:43 am »
Traced the problem and the solution is: if the error "Failed to execute script Main" occurs please install:

Microsoft Visual C++ 2015 Redistributable (x86) - 14.0.24123

Select the English language. Select the "vc_redist.x86.exe" file 13.5Mb published on 6/2/2016. Install.

Please note: install the x86 version even if you have a 64bit system.

I will probably go with a "Chocolatey packages" installer to automate this process along with fonts installation, etc. Things start small then get pretty serious.
« Last Edit: January 25, 2021, 12:51:51 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #46 on: January 25, 2021, 05:46:41 am »
KP184 Software Version 1.0.8.0 Windows Installer:

Setup KP184 Software V1.0.64.0

Documentation, fonts and Microsoft Visual C++ 2015 Redistributable (x86) are automatically installed if required.
« Last Edit: February 14, 2024, 08:30:07 pm by interflexo »
 
The following users thanked this post: tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #47 on: January 25, 2021, 12:24:54 pm »
New KP184 Software Version 1.0.9.0:

Changes:

1. Added the new information to the automatic PDF report creation for the end voltage condition test: go half current until next undervoltage during battery capacity discharge test.
2. User Manual updated for the new setup description.

Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 09:53:45 pm by interflexo »
 
The following users thanked this post: tonyalbus

Offline Penguin36

  • Contributor
  • Posts: 46
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #48 on: January 25, 2021, 10:40:09 pm »
Hi there, I cannot get the serial connection working on my brand new KP184. I‘m using the recommended Digitus RS232 adapter with SW 1.0.8.0
The SW tries to connect but doesn’t receive an answer from the load.
I used a scope to track the signal inside the KP184, and found the sent message on pin 3 of U23( Dual-Channel Digital Isolator) and on its output to the MC. I‘m sure that the reply message of the KP184 will be on pin 2 of the same IC. But there is no serial signal. Even on the TX pin of the MC there is no answer message. Seems like it is disabled.

Address is 1, baud is 9600. Is there a menu entry to  enable serial communication?
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #49 on: January 25, 2021, 11:36:15 pm »
That is unfortunate. It's the fourth unit that I know of that exhibits that same behavior.

The only parameter that could cause problems would be:

On Kunkin: Multi-machine online mode: Offline/Slave/Host -> Use Offline

The tests you made were thorough enough to me.

Nevertheless, two tests can be made:

During the connection process the software asks Kunkin KP184 for the content of the memory address 0x001 which holds the equipment model number (0x0730 = 1840), Kunkin response should be immediate, the software will wait for 5 seconds. This response is not being received, your logs should show the COM port is being closed after 5 seconds.

Loopback test (tests the PC serial adapter):

Please first debug if the 2 USB serial adapters are working properly. Check your USB to Serial Adapter operation with a loopback connection. Please shunt pins 2 and 3 on your DB9 serial port side and connect your adapter only to your PC USB port. Install some terminal software (Ex: CoolTerm) on Windows 10 (Hyperterminal is no longer part of Windows), run the program, configure to 9600,N81 no flow control, turn off echo, connect, press some test keys and check if you receive the characters back to the screen. This will prove to you that your adapter and drivers are at least working.

Once this works you should try the connection with Kunkin KP184.

Don't forget the DB9 serial cable (straight through cable) should NOT cross pins 2 and 3:

2 TXD -> 2

3 RXD -> 3

5 GND -> 5 GND

Baudrate: Start with a conservative 9600 to debug de serial connection, then you can use 115200 with a short cable for lower latency.

On Kunkin: Multi-machine online mode: Offline/Slave/Host -> Use Offline
« Last Edit: May 27, 2023, 11:29:22 am by interflexo »
 
The following users thanked this post: tonyalbus, wolzlu

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #50 on: January 25, 2021, 11:43:42 pm »
If the previous test (loopback test) is successful and you are in the mood to throw some more jabs at this subject. You can collect additional debug information of why the communication is not starting:

1. Please make sure you have Kunkin KP184 configured for communication address 1 on the operating panel and record the configured baudrate to match with CoolTerm software configuration.

2. Connect Kunkin and your serial adapter with a straight through cable 2-2 3-3 5-5 no shunts required on either side.

3. Start CoolTerm and configure it for the Kunkin baudrate 8-N-1 and use your serial adapter COM port. Check Windows Control Panel \System \ Hardware Manager \ COM Ports for the COM Port names.

4. Select Connection \ Connect option to connect to the COM Port.

5. Select Connection \ Send String option to send an Hex ModBus command to Kunkin.

6. Select the Hex option. You will provide each byte in Hex format. Enter the ModBus command: 01 03 00 01 00 04 C9 15 and press the Send button. You can use a space between each pair of digit for easier byte identification. This ModBus command asks for 4 bytes from the Kunkin register memory address 0x001 that holds the device ID



7. Kunkin should answer promptly with 01 03 04 00 00 07 30 17 F8 as you can see on the underlying CoolTerm Window.

0x0730 is 1840 in decimal and identifies a Kunkin KP184


This is generic debug. In your case Kunkin should remain silent judjing by the probing you already performed.
« Last Edit: May 27, 2023, 11:30:34 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #51 on: January 25, 2021, 11:58:00 pm »
New KP184 Software Version 1.0.10.0:

Changes:

1. .ini configuration file now is placed on folder "KP184 Modbus" inside "User\AppData\Roaming" folder. During setup installation upgrades this file is not overwritten to preserve your configuration.

2. Data files (.csv, .png, .pdf, pdf reports, etc. are now created on a folder "KP184 Modbus" inside "My Documents" folder. You can select other folders, the configured folder for .csv files is used.

This should get rid of the need to run the application in Administrator mode. No files are modified inside the installation folder during runtime.

Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 08:30:36 pm by interflexo »
 

Offline Penguin36

  • Contributor
  • Posts: 46
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #52 on: January 26, 2021, 07:52:34 am »
I tried what you posted and sent the message with Coolterm, no answer from the load. I‘m sure baudrate, address and other settings are correct.

I thought maybe the isolator chip U23 is faulty, so I desoldered it and connected a USB to TTL adapter directly to the MC (soldered GND, RX and TX onto the MC-side of U23). U23 is directly connected to the MC.

Still no reply from KP184 😞
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #53 on: January 26, 2021, 11:10:18 am »
The Kunkin MCU pins original solder reflow looks ok?
 

Offline Penguin36

  • Contributor
  • Posts: 46
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #54 on: January 26, 2021, 12:28:03 pm »
Looks good to me. I can scope the RX message right on the top of the MC pin, but no TX message on TX pin. No measured shorts between the pins on MC.
The MC just doesn’t react to the sent message. I think its firmware related.
The unit itself runs fine, but no serial communication.

If I use your SW and try to connect the LED on the backside of the load flashes green for a moment. This means write-to-KP184, right?
« Last Edit: January 26, 2021, 12:38:32 pm by Penguin36 »
 
The following users thanked this post: wolzlu

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #55 on: January 26, 2021, 03:40:22 pm »
Probably yes. KP184 manual does not mention the LED function.

KP184 software writes the connect command only once and then waits until 5 seconds for the right answer while flashing the icon.

Probably RS-232 and rs-485 share the same TX MCU pin. If not true you can also take a basic look at the RS485 interface.

Put a dummy 120 Ohm resistor through the 485-A and 485-B pins at the back Kunkin connector.

Set the scope and probes on the 2 RS-485 pins as suggested on page 3 here:

Oscilloscope RS-485

Configure Kunkin as Host on:

    SYS \ Online Mode \ Set it to Host (It should be OFF in Normal operation)

Right now when you configure Kunkin on the operation panel or turn Load ON/OFF ModBus commands are automatically sent through RS-485 interface to be replicated on several Online Mode \ Slave devices. You can catch the com signals with your scope on the Math CH2-CH1 channels.
« Last Edit: January 26, 2021, 03:49:00 pm by interflexo »
 

Offline Penguin36

  • Contributor
  • Posts: 46
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #56 on: January 26, 2021, 03:58:23 pm »
I will try that, thank you for your help so far 👍
 

Offline Penguin36

  • Contributor
  • Posts: 46
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #57 on: January 26, 2021, 06:29:15 pm »
What I don’t understand, even if TX line is broken the load should react when sending ‚switch on/off‘ the load. But it does nothing via serial connection.
« Last Edit: January 26, 2021, 08:57:57 pm by Penguin36 »
 

Offline Noy

  • Frequent Contributor
  • **
  • Posts: 361
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #58 on: January 26, 2021, 09:42:58 pm »
In my unit the optocoupler was not soldered correctly. Did you checked it?
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #59 on: January 26, 2021, 10:40:02 pm »
What I don’t understand, even if TX line is broken the load should react when sending ‚switch on/off‘ the load. But it does nothing via serial connection.

If the serial connection is not established by receiving the correct answer to the first register request there are no further communications. The software is always querying the unit for updated values and status. Modbus RTU is a 2 way protocol. When you send a command most of the times you will receive an answer from the unit.
 

Offline Penguin36

  • Contributor
  • Posts: 46
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #60 on: January 27, 2021, 05:22:38 am »
In the case of your SW, yes. You are polling values so the load must answer, and it does (well, not mine)

But if I send the ‚switch on/off‘ command via terminal program the load should receive the command on RX and switch on or off. I don’t need the confirmation like ,glad to hear from you, I will switch the load now on/off‘ 😉

So, when I send the command on/off via terminal and nothing happens (load stays in its last stage), then the load didn’t get the command to switch on/off at all.

It must be a FW bug in my unit, because I can scope the modbus command to switch on/off right at the MC pin, so the MC gets the message. Why the MC doesn’t react (and switch the load on/off), I don’t know.



« Last Edit: January 27, 2021, 05:29:04 am by Penguin36 »
 

Offline F64098

  • Regular Contributor
  • *
  • Posts: 53
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #61 on: January 27, 2021, 06:11:36 am »
Same problem for me.
Software ist starting and running now (thank you Manuel!), but the KP184 plays deaf bug  >:(

Best regards

Frank
 

Offline F64098

  • Regular Contributor
  • *
  • Posts: 53
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #62 on: January 27, 2021, 07:31:59 am »
 :palm:
 :palm:
Okay guys, please press Shift then Mode then Arrow down and then Arrow right and check your baudrate...
 :palm:

I got instable operation with baudrates > 19200.

Best regards

Frank
 

Offline Penguin36

  • Contributor
  • Posts: 46
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #63 on: January 27, 2021, 07:39:31 am »
@Frank,
I tried every possible baud rate on the device. Its simply not responding to any commands.
 

Offline F64098

  • Regular Contributor
  • *
  • Posts: 53
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #64 on: January 27, 2021, 08:04:49 am »
If I use your SW and try to connect the LED on the backside of the load flashes green for a moment. This means write-to-KP184, right?

Yes, that's right. And it has to flash red for sending data to the PC.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #65 on: January 27, 2021, 10:04:48 am »
In the case of your SW, yes. You are polling values so the load must answer, and it does (well, not mine)

But if I send the ‚switch on/off‘ command via terminal program the load should receive the command on RX and switch on or off. I don’t need the confirmation like ,glad to hear from you, I will switch the load now on/off‘ 😉

So, when I send the command on/off via terminal and nothing happens (load stays in its last stage), then the load didn’t get the command to switch on/off at all.

It must be a FW bug in my unit, because I can scope the modbus command to switch on/off right at the MC pin, so the MC gets the message. Why the MC doesn’t react (and switch the load on/off), I don’t know.

You' re right. It should execute the received command, if the message CRC checks out of course.

When the unit is in good health it communicates well at the maximum configurable speed of 115200.
 

Offline Penguin36

  • Contributor
  • Posts: 46
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #66 on: January 27, 2021, 10:20:06 am »
The CRC check is documented in the manual and there is the xls file with all commands here in this thread.
Maybe they changed something in the FW for KP184 and use other commands/crc.
My unit shows 2020 at bootup for short time. Don’t know if thats the FW version.
Main PCB is Rev. 04
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #67 on: January 27, 2021, 11:38:38 am »
The CRC check they use is the industry standard CRC-16/Modbus one, I don't believe they would change that.
Also the command set is based on the standard Modbus RTU protocol, changing that would render inoperative their own Chinglish software.

That's why the RS-485 test is important. The Kunkin as host would take the initiative at communications with a simple load on/off or change settings.
 

Offline wolzlu

  • Newbie
  • Posts: 3
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #68 on: January 27, 2021, 01:00:33 pm »
Hi,
my unit has the same problem. It's a KP184 VER:04 202007. Not all Rev. 04 PCBs have the same layout, hence the date code. On boot it also shows KP184; 2020 (probably the firmware version) and the address.
First I thought it's a noise problem (see https://www.eevblog.com/forum/testgear/an-investigation-about-ripple-current-of-kunkin-kp184/).
Independent of Penguin36 I removed the isolator (U23) and connected a TTL converter directly.
Of course I tied the usual suspects first: different PC, adapter, baudrate, device settings, software, ...
U23 is causing noise too, so I added a capacitor on both sides afterwards.

To prove the connections and the MCU are OK, I put the device into bootloader mode.
Pull Pin 9 on the RS-232 connector to high or short the output of the corresponding optocoupler, then power cycle the load.
With software for STM32s I could connect to the bootlader via RS-232 (connection is working  ???)!
But I couldn't extract the firmware, because read protection is active (maybe there is help: https://www.eevblog.com/forum/microcontrollers/stm32-readout-protection-is-broken/).

Just to clarify you need a straight through cable (like the one that comes with the unit).
 
The following users thanked this post: interflexo

Offline Penguin36

  • Contributor
  • Posts: 46
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #69 on: January 27, 2021, 01:16:33 pm »
So, your KP184 doesn’t respond to serial commands like mine?

A friend of mine has an older model of KP184,  I think its Rev 02, panel shows 1801 on boot.
I tested it with my Digitus RS232 adapter and the sw from this thread with my Asus Win10 notebook. Its all fine and working with the older model. Mine still doesn’t respond to serial commands.
I will try the RS-485 test later on.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #70 on: January 27, 2021, 05:22:43 pm »
New KP184 Software Version 1.0.12.0:

Changes:

1. .csv data files; .png plot graph files; .pdf plot graph files and .pdf test report files now all have independent configurable file names and folders and reset to folder "KP184 Modbus" inside "My Documents" in case of error.

2. There is a new button specific for the battery capacity discharge test report creation.

3. PDF User Manual now is installed on the folder named "KP184 Modbus" inside "My Documents".

Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 08:31:10 pm by interflexo »
 
The following users thanked this post: CyberWalker

Offline rdsi

  • Contributor
  • Posts: 29
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #71 on: January 28, 2021, 12:09:53 pm »
I had a similar situation with my BK 8500 load however its RS-232 port was using inverted 5V TTL levels. I decided to use a “PI Zero W” and a program called “ser2net” so that I could access the load via my network.  On my Windows machine I use a product from perle called TruePort to assign a COM port to load.  This product is FREE for this purpose and is available for both Windows and Linux.

So with a couple interface components I was able to connect the PI to the load.  Using the PI GPIO3 shutdown feature it will power-up & shutdown in sync with the load power state.

Solved my problem without using any wires between the load & PC.
If I can find the time this setup will allow me to write a WEB server for the load.
« Last Edit: January 28, 2021, 12:12:05 pm by rdsi »
 
The following users thanked this post: Dwaine

Offline Penguin36

  • Contributor
  • Posts: 46
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #72 on: January 28, 2021, 04:52:36 pm »
Today I tried the RS-485 test with an 120 Ohm resistor and a scope. Put the KP184 in Host mode, pressed some buttons (on/off and so on) aaaannnnnndddddd?


Nothing!!!  😡

My unit simply doesn’t send anything to RS-232 and/or RS-485.
 

Offline wolzlu

  • Newbie
  • Posts: 3
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #73 on: January 28, 2021, 04:59:11 pm »
@Penguin36: Yes, we have most likely the same problem.
@rdsi: I will use an ESP or similar. But first we need a working firmware for the load.
RS-232 and RS-485 use the same pins for TX / RX on the MCU. RS-485 needs an additional pin for setting the direction.
A key press transmits a data pattern (fefd000000xxxxxx hex) in host mode:
fefd000000007811 Encoder (both directions)
fefd0000003ef9c1 ON
fefd0000001f39d9 Mode
fefd0000003db9c0 Up
fefd0000002f39cd Down
fefd0000003b39c2 Left
fefd0000003739c7 Right
fefd0000001ef819 Shift
fefd00000027380b SET
I didn't get anything on the RS-485 side, probably because signal for switching direction is missing.
Receiving data via RS-485 works as expected. The slave mode has yet an other quirk  :palm:. I only could get it react to something, when switching from host to slave.
With the commands from above it only changes mode (CC to CV and so on) regardless of the button. If the load is on, it only beeps. Since you have to turn off the load, before changing the mode. For other patterns it did nothing. After reboot it is still in slave mode, but doesn't react anymore to serial commands.
Obviously the back LED is controlled by RX/TX and not directly by the MCU.
Hopefully someone cloud provide a working firmware. Would be interesting to know if all loads showing 2020 on boot have the same problem?
 

Offline Penguin36

  • Contributor
  • Posts: 46
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #74 on: January 29, 2021, 02:02:07 pm »
I gave up and got another KP184 from ebay.
This one is PCB Rev.03 with FW 1801 (shown on bootup). RS-232 is working out of the box up to 115200 bps, no issues so far.
« Last Edit: January 29, 2021, 04:02:47 pm by Penguin36 »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #75 on: February 09, 2021, 12:52:21 pm »
New KP184 Software Version 1.0.13.0:

Changes:

1. Replaced several functions from external lib modules that will be deprecated in the future.

Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 08:31:31 pm by interflexo »
 
The following users thanked this post: CyberWalker

Offline Dwaine

  • Frequent Contributor
  • **
  • Posts: 299
  • Country: ca
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #76 on: February 10, 2021, 03:41:10 am »
I love my Kunkin KP184 electronic load and would like to control it via the serial port (or RS485, don't care which), but none of the adapters I've tried (FTDI, Prolific, all the usual suspects) work.

I'm still looking to find the equipment that doesn't work with this adapter:



I use one since 2005 (this is my second one since I lost my previous one, that were only Keyspan in the brand): From using with a Renishaw QC10 Ballbar System to Rollover Cisco Cables, from NSN MGW/MSS terminal connection to old measurement equipment, it never let me down, including Allen-Bradley/Siemens Simatic PLCs. It's based on the TI 75LV4737A Multichannel RS232 Line Driver/Receiver, so it have have HW handshake.

It's a little expensive compared with other models, but is probably the only one you will need for the rest of your professional life.

Those keyspan usb serials will work with any device you throw at it.   I paid $89.00 about 10 years ago.    I have a few Kenwood radios that only work with the Keyspan USB cable.

 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #77 on: February 17, 2021, 02:24:15 pm »
New KP184 Software Version 1.0.14.0:

Changes:

1. Fixed issue related to configuration dialog file browse select controls startup folder.

Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 08:31:48 pm by interflexo »
 

Offline snoozer

  • Contributor
  • Posts: 39
  • Country: ie
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #78 on: February 20, 2021, 01:03:34 pm »
Hello,

I just thought I check in here because my recent purchase KP184 does also not work with the GUI software or the CLI software which was links further up in this topic. I have done a bit more digging to check if I possibly have an issue on the circuit side of things. I have used a scope to probe the signal presented on the MC side of the RS232/485 Isolator device U23 with the number 1201ARZ. By setting the KP184 to host mode I can make it send "stuff" as if it was controlling the slaves. I can see a signal with nice sharp edges there. Characters also show up on an attached serial terminal. I have also tested the other way around, sending "J" characters from the serial terminal on the PC to the KP184 and I can also clearly make out the "J" send on the MC side of the Isolator U23. I was not able to probe on the MC itself with the scope, the pitch is a bit to small for the probes but I did check continuity and that's fine. From the observations I would have to conclude there is an issue in the MC not doing anything when commanded to by means of serial communication. It would look to me as if the firmware just does not do what it should. Has anybody found a solution to this or is there maybe a firmware that works with my hardware that can be programmed into the KP184

Board Version 4, the top line on turn on has a couple of chars and 184 after. Assume its a version number, maybe 1.84 ?

Kind Regards
Jan Paulini

PS: I have tested with the scope at 2400 baud as well as 115200 baud. There was no issues with either.

PPS: Just for completeness, I have checked with 3 different USB/RS232 interfaces. Also tested with 2 different RS485 interfaces on the A and B terminals of the terminal block in the back of the KP184. No success.
« Last Edit: February 20, 2021, 01:25:26 pm by snoozer »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #79 on: February 21, 2021, 11:36:38 pm »
This is most unfortunate. It looks like a firmware issue to me. Thanks for the comprehensive tests.

Does anyone have a KP184 PCB Rev.04 with a working RS232 serial interface?

I remember someone mentioning there is more than one PCB Rev.04 layout and a PCB Rev.05 here.

I browsed Kunkin website. At the low end they have now the KP283 / KP284 (2CH independent 15A/20A 80V). They dropped the PC RS232 interface but maintained the RS485 (host/slave) interface.
« Last Edit: February 21, 2021, 11:42:10 pm by interflexo »
 

Offline snoozer

  • Contributor
  • Posts: 39
  • Country: ie
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #80 on: February 22, 2021, 06:33:53 pm »
Hello again,

in the meanwhile I had a PM regarding this issue from another forum member. He made a very valid observation, the 184 in the 1st line at boot up with the two characters before is obviously the model number KP184, that did not click with me ;-) The 2nd line shows 2020 and the 3rd the address 1. For clarification I add a picture of it below the post. I also have a picture of the board version added for convenience. It appears to be Version 4 202007. So I am definitely not the only one with the issue, there appear to be at least 2 other forum members with the same issue according to the PM I got. I am not going to quote a PM here, I leave that to the person that send me the message if he things it is of any help to the issue.

I hope we can get to the bottom of the issue and fix it in the end. It's not the end of the world for me, I appear to be lucky enough to have an otherwise working instrument which does not seem to be the case for some people. The serial communication would still be a nice extra to have.

Thank you !
Jan P.

PS: Hi @interflexo, thanks for the hint re the Version 5 PCB. I got my unit only a week ago but may have been in stock for some time at Banggood ES warehouse where I got mine from (EU citizen). The KP283/284 looks way different of the control side of things, a lot simpler I guess. Not sure if any parallels could be drawn there apart from maybe the high power side of the instrument.
« Last Edit: February 22, 2021, 06:49:20 pm by snoozer »
 

Offline Treed

  • Newbie
  • Posts: 2
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #81 on: February 26, 2021, 04:29:34 am »
I independently got to the same conclusion. I tried sending commands to the load and probed the signal all the way to the MCU but just couldn't get a reply. When it's in host mode it sends commands when pressing buttons and in slave mode it reacts when repeating those commands back to it. It doesn't reply with anything though. I have a Ver04 20191111.
It seems Kunkin just broke the firmware on all Rev4s :(
 

Offline snoozer

  • Contributor
  • Posts: 39
  • Country: ie
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #82 on: February 27, 2021, 08:46:13 am »
Hi,

I just had another closer look to be sure. The USART1 TX and RX are on PB6 and PB7, thats pin 42 and 43 on the LQFP48 package of the MCU STM32F030C8. Both pins correctly connect to the Dual-Channel Digital Isolator U23. Do other board versions have the same MCU ? I have a couple of pictures attached below. Not the best quality, sorry.

Kind Regards
Jan P.
 

Offline aristarchus

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #83 on: February 27, 2021, 02:35:22 pm »
I independently got to the same conclusion. I tried sending commands to the load and probed the signal all the way to the MCU but just couldn't get a reply. When it's in host mode it sends commands when pressing buttons and in slave mode it reacts when repeating those commands back to it. It doesn't reply with anything though. I have a Ver04 20191111.
It seems Kunkin just broke the firmware on all Rev4s :(


The KP184 that got here since July. 2020, is working ok regarding RS232 and RS485.

Upon power on, it shows this on its display:
KP184
2001
Ad.001

And internally it has this main board version
VER:04
20191111

So, not all v4's got this problem as this one works ok.

See also some previous posts with relevant info for RS232 and RS485 hardware and connections here
https://www.eevblog.com/forum/testgear/serial-to-usb-on-kunkin-kp184-electronic-load/msg3123158/#msg3123158
https://www.eevblog.com/forum/testgear/serial-to-usb-on-kunkin-kp184-electronic-load/msg3130266/#msg3130266


/PS
Just did a read on other posts that have the comms problem, it looks to me that the issue is there with those that have 2020 shown on the initial  boot of KP184 display, so most likely a newer firmware version problem.
« Last Edit: February 27, 2021, 02:44:48 pm by aristarchus »
 

Offline snoozer

  • Contributor
  • Posts: 39
  • Country: ie
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #84 on: February 27, 2021, 05:17:46 pm »
@Treed, could you check what your boot up display looks like ? Do you have 2020 in the 2nd line as well or something different ?

Regards
Jan P.
 

Offline snoozer

  • Contributor
  • Posts: 39
  • Country: ie
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #85 on: March 01, 2021, 10:30:53 am »
Hi, I am attempting to get in touch with Kunkin now, I have little expectation but hey, cost nothing to send an email.

Rgrds
Jan P.
 

Offline aristarchus

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #86 on: March 01, 2021, 11:18:57 am »
Hi, I am attempting to get in touch with Kunkin now, I have little expectation but hey, cost nothing to send an email.

Rgrds
Jan P.


In attempts to get in touch with them last year received no reply whatsoever, tried almost every possible email and even the chat feature, none worked no reply ever given.

The only way that I managed to get something from them
(the document with the protocol and commands that I published in post  https://www.eevblog.com/forum/testgear/serial-to-usb-on-kunkin-kp184-electronic-load/msg3147906/#msg3147906 )
was via the seller from which I bought the device in ebay, I think your best bet is to use your seller in order to retrieve any response from the company, only the seller I guess knows how to deal with them..

« Last Edit: March 01, 2021, 11:21:16 am by aristarchus »
 

Offline snoozer

  • Contributor
  • Posts: 39
  • Country: ie
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #87 on: March 01, 2021, 12:09:28 pm »
Good point @aristarchus, I have contacted Banggood as well.

Thx
Jan P.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #88 on: March 02, 2021, 09:26:32 am »
New KP184 Software Version 1.0.15.0:

Changes:

1. Also accepts Modded KP182 (U23 > ADUM1201 + 2 RX/TX resistors + USB/Serial Converter)

Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 08:32:13 pm by interflexo »
 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #89 on: March 03, 2021, 07:57:17 am »
Hello,
I had the same problem with the KP184, that it does not react to commands via RS232 serial interface.
My device shows also 2020 at startup.

I think, I've found the solution to the problem:
The documentation about the serial commands in the manual is wrong!
The checksum has to be sent LSByte first (not MSByte first as written in the manual and shown in the examples).
So for example the sequence for 'Set up load switch' is 01 06 01 0E 00 01 04 00 00 00 01 5F CA
This is according to the description of the Modbus Standard which I found here https://modbus.org/docs/Modbus_over_serial_line_V1_02.pdf
Obviously the older KP184 devices have a failure in Modbus implementation and the manual description is for these older devices  :-\

BR
Reinhard
 
The following users thanked this post: Treed, wolzlu

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #90 on: March 03, 2021, 08:05:18 am »
Hello,
I had the same problem with the KP184, that it does not react to commands via RS232 serial interface.
My device shows also 2020 at startup.

I think, I've found the solution to the problem:
The documentation about the serial commands in the manual is wrong!
The checksum has to be sent LSByte first (not MSByte first as written in the manual and shown in the examples).
So for example the sequence for 'Set up load switch' is 01 06 01 0E 00 01 04 00 00 00 01 5F CA
This is according to the description of the Modbus Standard which I found here https://modbus.org/docs/Modbus_over_serial_line_V1_02.pdf
Obviously the older KP184 devices have a failure in Modbus implementation and the manual description is for these older devices  :-\

If that is the case, you can easily test with TestController: https://www.eevblog.com/forum/testgear/program-that-can-log-from-many-multimeters/
Simple change the line "#subDriver Kunkin"  to "#subDriver RTU" in the "Kunkin KP184.txt" file
 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #91 on: March 03, 2021, 08:25:09 am »
I've already checked that with a terminal program and it works with Checksum LSByte first!
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #92 on: March 03, 2021, 08:34:43 am »
I've already checked that with a terminal program and it works with Checksum LSByte first!

With TC you can also check if the ID byte is the same and the standard control are unchanged, that is a lot of work from a terminal.
 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #93 on: March 03, 2021, 08:37:14 am »
OK, I will check with your SW ...
 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #94 on: March 03, 2021, 09:54:11 am »
The TestController SW does not connect to the KP184.
I've made the change in the Kunkin.txt file and set the com Port (com1) but after 'Reconnect' button there is no connection.

With Terminal SW HTerm it's no problem.

 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #95 on: March 03, 2021, 09:55:30 am »
HTerm screenshot attached
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #96 on: March 03, 2021, 10:08:41 am »
The TestController SW does not connect to the KP184.
I've made the change in the Kunkin.txt file and set the com Port (com1) but after 'Reconnect' button there is no connection.

Try start TC with the testControllerDebug.bat file, then it will show what is going on.
 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #97 on: March 03, 2021, 10:24:56 am »
See screenshot attached.

If I send the command 01 03 00 01 00 02 95 CB via HTerm, the KP184 does not respond.
 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #98 on: March 03, 2021, 10:48:48 am »
Somewhere I've found another version request command: 01 03 00 01 00 04 15 C9
This works.
Response is: 01 03 04 00 00 07 30 F8 17
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #99 on: March 03, 2021, 10:57:09 am »
If I send the command 01 03 00 01 00 02 95 CB via HTerm, the KP184 does not respond.

This means Kunkin do not use the standard modbus protocol, I have added another Kunkin protocol that only swap checksum bytes compare to the old Kunkin protocol.
To test it:
Download: http://lygte-info.dk/pic/Projects/TestController/TestController.jar
Use it to replace the current .jar file
Modify "Kunkin KP184.txt" to "#subDriver Kunkinx", everything else must be the same.
Start testcontroller, initial message must be: 01 03 00 01 00 04 C9 15
Note: It may take some time before the download will download the modified version, it is V1.57 in the About dialog.
 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #100 on: March 03, 2021, 11:15:43 am »
Command is sent correct, but obviously the reply is not read correct.
In HTerm it still works.

I have to leave now. Will be back in the evening...
 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #101 on: March 03, 2021, 11:17:04 am »
picture from console attached

BTW: How can I attach more than one picture to a post?
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #102 on: March 03, 2021, 11:50:27 am »
New KP184 Software Version 1.0.16.0:

Changes:

1. Added a new configuration setting for CRC LSB First - New 2020 FW and above.

Setup KP184 Software V1.0.64.0

I have no FW 2020 Kunkin KP184 hardware to test this right now. If someone can have a go and report it would be explendid.

It's strange for the manufacturer to be messing with these raw settings and not updating the user manual...
« Last Edit: February 14, 2024, 08:32:40 pm by interflexo »
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #103 on: March 03, 2021, 01:25:33 pm »
Command is sent correct, but obviously the reply is not read correct.
In HTerm it still works.

You can skip the initial message by adding a semicolon ; before the "#verifyDevice 1840 model?" line or remove the line.
All the null pointer stuff is because the answer is missing and can be ignored.
 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #104 on: March 03, 2021, 05:00:51 pm »
@interflexo
Your app works with CRC LSB First checked in the settings menu!
 
The following users thanked this post: interflexo

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #105 on: March 03, 2021, 05:02:39 pm »
@HKJ
Still problems with receive timeout, if I comment out the version check
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #106 on: March 03, 2021, 07:09:51 pm »
@HKJ
Still problems with receive timeout, if I comment out the version check

I wonder what is wrong, but it is probably best to move this testing out of this thread and to email or PM. Anybody that what to continue testing on this new version of the load can email/PM me.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #107 on: March 03, 2021, 07:55:10 pm »
@interflexo
Your app works with CRC LSB First checked in the settings menu!
@RhdZ
Many thanks for getting to the bottom of this subject regarding Kunkin firmware 2020 and ModBus RS232 interface.
Pretty weird stuff.
 

Offline snoozer

  • Contributor
  • Posts: 39
  • Country: ie
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #108 on: March 03, 2021, 08:20:02 pm »
Hello,

super job on this one. Mine appears to work now with the GUI from interflexo. I remember further up in the topic was a CLI tool as well, cant find it now. Anybody got that to work as well ?

Thank You!
Jan P.
 

Offline aristarchus

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #109 on: March 04, 2021, 12:39:23 am »
I think, I've found the solution to the problem:
The documentation about the serial commands in the manual is wrong!
The checksum has to be sent LSByte first (not MSByte first as written in the manual and shown in the examples).
..

Great job done there, congrats @RhdZ for solving this!


It's strange for the manufacturer to be messing with these raw settings and not updating the user manual...

Indeed, although the device is a favorite of mine, the best value for money, it is evident that the company lacks professionalism in that regard.

 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #110 on: March 04, 2021, 10:15:16 am »
Great job done there, congrats @RhdZ for solving this!

Thank you!
Some more of my few hairs are grey now  :)

To come back to the original topic:
I can control the KP184 also via a USB to RS232 cable with Profilic chip (Windows 7).
I bought this years ago and don't know the brand.
 

Offline ferencvarga46

  • Newbie
  • Posts: 4
  • Country: hu
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #111 on: March 05, 2021, 09:46:51 pm »
Grat for the solution!
I have the same issue.
I have received the equipment 3week ago and work fine but today I need to use the application of the equipment.
I have installed the visa based software but no reply.
The version is ver04 and fw is 202007.

 

Offline ferencvarga46

  • Newbie
  • Posts: 4
  • Country: hu
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #112 on: March 05, 2021, 09:52:11 pm »
Tomorrow morning I will test Interflexos new app.
 

Offline ferencvarga46

  • Newbie
  • Posts: 4
  • Country: hu
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #113 on: March 06, 2021, 11:58:00 am »
Wowww!
It worked immediately, actually the documentation was in the box is dated to 2017.....
I also develop a similar DC load but with higher limits, I am sure it is practical to make the interface to reply to the same vectors as kunkin do.
 

Offline ferencvarga46

  • Newbie
  • Posts: 4
  • Country: hu
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #114 on: March 10, 2021, 11:07:40 pm »
After doing some test I found that on my old laptop with win7 works more stable than on our workshop PC with win10.
On win10 communicate only for approx 3-4 sec and communication is lost.
 

Offline aristarchus

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #115 on: March 11, 2021, 09:36:02 am »
After doing some test I found that on my old laptop with win7 works more stable than on our workshop PC with win10.
On win10 communicate only for approx 3-4 sec and communication is lost.

Well, here in use are only W10 and so far everything works ok.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #116 on: March 12, 2021, 10:41:54 pm »
New KP184 Software Version 1.0.17.0:

Changes:

1. Current and power manual entry values limits (20A 200W) are checked for the KP182 MOD model, they are half the KP184 model (40A 400W).

2. A new dynamic CYC test mode allows the user to program a custom variable CC load profile of unlimited steps, ramps and repetitions.

Setup KP184 Software V1.0.64.0

User_Manual

Page 19 for the new CYC test mode.

« Last Edit: February 14, 2024, 08:33:07 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #117 on: March 13, 2021, 04:00:03 pm »
New KP184 Software Version 1.0.18.0:

Changes:

1. Made some corrections to the new CYC test mode current ramp profiles.

2. Added a new "Clear Log" to the Log context menu to help better inspect the new CYC test mode results.

Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 08:33:25 pm by interflexo »
 
The following users thanked this post: F64098, ferencvarga46

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #118 on: March 15, 2021, 07:02:27 pm »
There were some questions about the new CYC mode:

First establish the serial connection.

Toggle the test mode indicator to access the special test modes GEN / CVL /
CYC. CYC unlocks the Cycle Tab

In the Cycle tab you can write lines as in a text programming language.

For example:

0 5 3
5 1
0 1
5 1
5 0 3

Will result in the following load programmed profile:

Ramp from 0A to 5A in 3 seconds

Hold 5A during 1 second

Turn Load OFF (0A) during 1 second

Turn Load ON (5A) during 1 second

Ramp from 5A to 0A in 3 seconds.

You can repeat the programmed profile any number of times or just indefinitely (use the Load Switch icon to stop at any time).

After writing the profile instructions just press the Load Switch icon, the load will stop automatically at the end.

Before pressing the Load Switch icon you switch to the "Log" tab to watch the log lines in real time an inspect how Kunkin is being commanded.
 
The following users thanked this post: CyberWalker, F64098

Offline lnxpro

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #119 on: March 31, 2021, 02:42:08 am »
Anyway to resize the window to fit the text?
The scaling is at 100%.
Also how can I attach 2 KP184's to same software? If I open the software again it would try to use the same com port as the first one. If I change the com port, it saves the latest one.
Anyway to have 2 separate instances of the software running connecting to 2 different serial ports, one with its own com port?
Thanks :)
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #120 on: March 31, 2021, 03:43:37 pm »
lnxpro thanks for your input.

Version 1.0.18.0 and below allows multiple application instances at the same time on different serial ports. You just have to assign the correct COM port after application startup. They all write the selected COM port on the same file to act as default assigned COM port on the next application startup. The application uses the COM port the config dialog shows you and not what is written on the disk configuration file, this is just a startup default value.

New KP184 Software Version 1.0.19.0:

Changes:

1. Battery capacity LCD display always shows 5 significant digits, 3 decimal places until 99,999Ah and  2 decimal places above that value.

2. You can run as many instances of the application as you want and configure each one for a different serial port. Only the first application instance will save it's default configuration on disk.

Setup KP184 Software V1.0.64.0

Please let me know if this works for you.
« Last Edit: February 14, 2024, 08:33:45 pm by interflexo »
 

Offline lnxpro

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #121 on: March 31, 2021, 04:51:39 pm »
1.0.19.0 fails to open (running as admin)
 

Offline lnxpro

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #122 on: March 31, 2021, 08:29:33 pm »
One other minor annoyance is the numbers shifting to the right whenever a number 1 digit is displayed. Anyway to move the default number 1 digit to the right and keep the blank spaces on the left to avoid this shifting left and right?
attached a video to demonstrate
https://youtu.be/xaTE3wMz8E0
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #123 on: April 01, 2021, 08:20:01 am »
Sorry about that.

The font spacing issue you refer to is related to the LCD font in use being Proportional and not Monospaced. None of this can be fixed with some code lines. I will look into LCD Monospaced fonts candidates.

New KP184 Software Version 1.0.20.0:

Changes:

1. Fixed the Version 1.0.19.0 startup problem

Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 08:34:05 pm by interflexo »
 
The following users thanked this post: lnxpro

Offline lnxpro

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #124 on: April 02, 2021, 01:23:40 am »
version 1.0.20.0 works :) fits the text on the window too.
thanks.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #125 on: April 03, 2021, 12:19:42 pm »
New KP184 Software Version 1.0.21.0:

Changes:

1. LCD Panel uses a new 7 segment display monospaced font

Pros: String does not shift around when '1' char is used
Cons: Decimal separator takes as much space as an '8''

Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 09:26:41 pm by interflexo »
 
The following users thanked this post: 1001, lnxpro

Offline Treed

  • Newbie
  • Posts: 2
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #126 on: April 10, 2021, 08:23:59 pm »
Wow, I haven't looked at this thread for a while, assuming the forum would notify me of new posts and now I come back and everything is solved! Great job RhdZ!
 

Offline adso85swe

  • Contributor
  • Posts: 11
  • Country: se
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #127 on: April 13, 2021, 08:23:31 am »
I have been looking around for a good value electronic load and being able to log data on a computer has been an important criteria. More or less a showstopper if no software exists.
Reading about your software development Interflexo is really making me consider getting the Kunkin KP184. Amazing work, such a nice contribution to the community. If I end up getting the elecronic load, I will most definitely go through the registration of your software.
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #128 on: April 13, 2021, 08:42:36 am »
I have been looking around for a good value electronic load and being able to log data on a computer has been an important criteria. More or less a showstopper if no software exists.
Reading about your software development Interflexo is really making me consider getting the Kunkin KP184. Amazing work, such a nice contribution to the community. If I end up getting the elecronic load, I will most definitely go through the registration of your software.

If you only want data from the load on your computer this software is good, but if you want more devices connected check: https://www.eevblog.com/forum/testgear/program-that-can-log-from-many-multimeters/, it supports many different loads and other devices.
 
The following users thanked this post: interflexo

Offline adso85swe

  • Contributor
  • Posts: 11
  • Country: se
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #129 on: April 13, 2021, 09:41:12 am »
Quote
If you only want data from the load on your computer this software is good, but if you want more devices connected check: https://www.eevblog.com/forum/testgear/program-that-can-log-from-many-multimeters/, it supports many different loads and other devices.

Ok, very cool  8). Since I own a Uni-T UT61D multimeter and a Riden RD6006 power supply this software would also make a lot of sense to me. So many good option out there. Amazing forum really :)
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #130 on: April 14, 2021, 09:18:22 am »
I have been looking around for a good value electronic load and being able to log data on a computer has been an important criteria. More or less a showstopper if no software exists.
Reading about your software development Interflexo is really making me consider getting the Kunkin KP184. Amazing work, such a nice contribution to the community. If I end up getting the elecronic load, I will most definitely go through the registration of your software.
Thanks. Kunkin KP184 panel operation and configuration menus are a bit cumbersome, the software allows a clear and straightforward operation with many extra features.
 

Offline jasom

  • Contributor
  • Posts: 14
  • Country: sk
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #131 on: April 17, 2021, 10:38:06 am »
 interflexo: Hello, I got a problem with connect from Your app. Connection from modbus is without problem but in windows app I has only some like this
17/04/21 12:37:22 Connected to COM port
17/04/21 12:37:27 Closed COM port
17/04/21 12:37:27 KP184 not found

But on same port I can connect from modbus. Can You help me?

Thank You

Edit: Ok, with decrease baud speed its working now.
« Last Edit: April 17, 2021, 12:04:06 pm by jasom »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #132 on: April 19, 2021, 06:14:01 pm »
I am glad you worked it out Jasom.

You must always configure (baudrate and address) the software to match the operating panel menus configuration from your Kunkin.
 

Offline F64098

  • Regular Contributor
  • *
  • Posts: 53
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #133 on: April 19, 2021, 08:59:08 pm »
I also had problems with higher baudrates.
Even when using a short cable and the com-port of the mainboard.

Best regards

Frank
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #134 on: April 23, 2021, 11:28:07 am »
New KP184 Software Version 1.0.22.0:

Changes:

1. Enhanced battery DCIR test. The first step may be configured to 0A to measure the battery internal resistance from an open circuit voltage (OCV) state. The step pulse time is configurable to meet specific user needs. Thanks adso85swe for the insight regarding DCIR test.


Setup KP184 Software V1.0.64.0
Updated User Manual
« Last Edit: February 14, 2024, 09:27:09 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #135 on: April 27, 2021, 09:34:49 am »
New KP184 Software Version 1.0.23.0:

Changes:

1. Enhanced battery DCIR test. Both pulse step times are now configurable. These tests can now meet IEC 62620 standards for Li-ion batteries and IEC 61951-2 standards for Ni-MH batteries.
2. Application load time was cut to one third.


Setup KP184 Software V1.0.64.0
Updated User Manual
« Last Edit: February 14, 2024, 09:55:27 pm by interflexo »
 

Offline lnxpro

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #136 on: April 27, 2021, 05:40:21 pm »
1.0.23.0 gives me an error on launch that it can't access the ini file.
happens with admin rights (run as admin) or normal without admin rights
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #137 on: April 27, 2021, 07:52:32 pm »
lnxpro I was not able to reproduce the same error on Win 10. You' ve got to help me here.
What is your OS version?
Is it a fresh installation or you are upgrading from a previous version? In the case of an upgrade, what was the last version?
I assume the configuration file is not found on the referenced folder. Have you confirmed it?
Anyone else found this problem?
« Last Edit: April 27, 2021, 08:51:20 pm by interflexo »
 

Offline lnxpro

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #138 on: April 28, 2021, 02:29:57 am »
it was an upgrade from 1.0.21.0
i did confirm the file is there.
this on windows 10 LTSC version 1809
I will try a clean install and see if the issue persists.
 

Offline lnxpro

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #139 on: April 28, 2021, 03:29:09 am »
tried a clean install of 1.0.23.0
same thing. the ini file is in the referenced folder (gets created during install), I can open it with notepad, etc.
I then installed version 1.0.21.0 back on top of the version .23 and version .21 works fine.
I also tried version .22 and it works fine. if I go to .23, it gives me the same error so for the time being I am back on version .22
 

Offline adso85swe

  • Contributor
  • Posts: 11
  • Country: se
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #140 on: April 28, 2021, 09:47:05 pm »
tried a clean install of 1.0.23.0
same thing. the ini file is in the referenced folder (gets created during install), I can open it with notepad, etc.
I then installed version 1.0.21.0 back on top of the version .23 and version .21 works fine.
I also tried version .22 and it works fine. if I go to .23, it gives me the same error so for the time being I am back on version .22

Strange. I am running v.23 without any startup issues at all  ???
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #141 on: April 28, 2021, 11:32:21 pm »
Dear lnxpro the issues regarding file names I think they are related to the new distribution format [multiple files (fast app load time)] vs [single exe file (slow app load time due to lots of unpacking at startup)] because there were no code changes related to these mishaps.

Please uninstall and try the version below, it is the same code on the previous working single exe file distribution format.

Setup KP184 Software V1.0.64.0

Please let me know how it works for you.
« Last Edit: February 14, 2024, 09:27:28 pm by interflexo »
 

Offline lnxpro

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #142 on: April 29, 2021, 02:26:09 am »
same issue with the onefile. says it fails to process the .ini file. this was on a clean install and the file gets created by the installer.
once again, version .22 works fine.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #143 on: April 29, 2021, 09:31:19 am »
New KP184 Software Version 1.0.24.0:

Changes:

1. Back to one exe file distribution. Unpacked folder distribution causes problems accessing the .ini file. This will be sorted out later.

2. When a new configuration key was added to an older .ini file, example "inres_pulse_time2" from version 22 to 23 the error message "Can't access the .ini" was not adequate, there is a new popup message stating that one or more configuration keys were added.


Setup KP184 Software V1.0.64.0

lnxpro this should take care of your issues.
« Last Edit: February 14, 2024, 09:27:45 pm by interflexo »
 
The following users thanked this post: lnxpro, adso85swe

Offline lnxpro

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #144 on: April 29, 2021, 04:29:05 pm »
awesome. yes. version .24 works :)
thanks
 

Offline PaWill68

  • Regular Contributor
  • *
  • Posts: 117
  • Country: ru
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #145 on: May 12, 2021, 08:19:07 am »
Hello interflexo. I know you have completely figured out the Kunkin protocol. I study it too. I cannot understand how the capacity value is converted. Can you help me understand this?

I get the following data from KunkinSW
01 03 1F 03 05 00 0D C1 00 07 D0 00 07 D0 00 FA 00 FA 00 07 D0 00 00 00 00 0A F0 00 09 C4 00 00 22 A3 C8 A6 1B
Where
00 09 C4 00 = ~ 0.178Ah
00 22 A3 C8 = ~ 0.63Wh
How are these values obtained? Normal HEX> DEC doesn't work. (I tried in windows calculator)
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #146 on: May 12, 2021, 07:12:41 pm »
The units are mAs and mWs.
 
The following users thanked this post: PaWill68

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #147 on: June 06, 2021, 10:43:02 am »
New KP184 Software Version 1.0.25.0:

Changes:

1. An optional Beep on load ON/OFF was added to the configuration page. Beeps are annoying but on remote operation it is nice to receive a notification when battery discharge is over.


Setup KP184 Software V1.0.64.0


« Last Edit: February 14, 2024, 09:28:13 pm by interflexo »
 

Offline TymerTopCat

  • Newbie
  • Posts: 9
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #148 on: June 12, 2021, 12:34:08 pm »
The version: 1.0.25.0. Does not seem to work for me. I have a Ver:05 2020/12 Board.

However, 1.0.25.0 does work with my older 1801 Kunkin.

Additionally I am able to get the 2020 Kunkin to respond using My own C# Software and using HTerm by changing the CRC byte order.
« Last Edit: June 12, 2021, 12:43:10 pm by TymerTopCat »
 

Offline aristarchus

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #149 on: June 12, 2021, 12:57:26 pm »
The version: 1.0.25.0. Does not seem to work for me. I have a Ver:05 2020/12 Board.

However, 1.0.25.0 does work with my older 1801 Kunkin.

Additionally I am able to get the 2020 Kunkin to respond using My own C# Software and using HTerm by changing the CRC byte order.


https://www.eevblog.com/forum/testgear/serial-to-usb-on-kunkin-kp184-electronic-load/msg3492100/#msg3492100

https://www.eevblog.com/forum/testgear/serial-to-usb-on-kunkin-kp184-electronic-load/msg3492512/#msg3492512
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #150 on: July 05, 2021, 09:51:00 am »
New KP184 Software Version 1.0.26.0:

Changes:

1. Several Python modules were updated.


Setup KP184 Software V1.0.64.0

« Last Edit: February 14, 2024, 09:28:47 pm by interflexo »
 
The following users thanked this post: CyberWalker, adso85swe

Offline MeterReader

  • Contributor
  • Posts: 11
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #151 on: August 25, 2021, 06:32:32 pm »
I appreciate the seemingly straight-forward interface. Unfortunately, I can't get it working with my KP184 V4. Tried the version you just linked, one from your very short youtube video, and another from somewhere else. I do have it successfully working with another load controller. I'm using a CH340-based USB to serial adapter.

Got it going after a restart!
« Last Edit: August 27, 2021, 04:04:38 am by MeterReader »
 

Offline cskilbeckTopic starter

  • Contributor
  • Posts: 24
  • Country: gb
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #152 on: September 29, 2021, 05:21:15 pm »
It's here https://github.com/cskilbeck/modbus but I haven't touched it for ages and it will surely not work with the reversed LSB firmware, someone would need to add a command line switch to enable that
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #153 on: October 28, 2021, 11:24:45 am »
New KP184 Software Version 1.0.27.0:

Changes:

1. Overcomes a KP184 internal firmware issue that periodically (each 7.53h) resets the Wh value during very long battery discharge tests. The screen shows the internal Kunkin Wh value but the saved .csv file shows the correct calculated value by the software. The Kunkin internal calculations for the Ah values are all right. I thank all the users that perform comprehensive tests and report these issues.

2. Several Python modules were updated.


Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 09:29:11 pm by interflexo »
 

Offline voltsandjolts

  • Supporter
  • ****
  • Posts: 2297
  • Country: gb
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #154 on: October 28, 2021, 12:07:05 pm »
Are you using tkinter for this app's gui?
How do you create the exe?
Is the source code available somewhere?
I'm just interested in Python gui programming and interested to see how you've done it.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #155 on: October 28, 2021, 01:23:47 pm »
Hi voltsandjolts. This application is programmed in Python 3, GUI is coded using PySimpleGUI module (wrapper for tkinter). Graphics produced with matplotlib module. The .exe file is created with pyInstaller. The source code is not available at this point.
 
The following users thanked this post: voltsandjolts

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #156 on: November 02, 2021, 12:56:59 pm »
New KP184 Software Version 1.0.28.0:

Changes:

1. On the non static cycle (CYC) load mode the user load profile definition text for line comment char was changed from '#' to '//'. The .ini read file parsing code was deleting multiple line comments.

2. Several GUI tooltips were corrected.

Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 09:29:28 pm by interflexo »
 
The following users thanked this post: tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #157 on: November 08, 2021, 12:59:52 pm »
New enhanced User Manual for KP184 ModBus Software:


User_Manual


« Last Edit: February 14, 2024, 09:56:14 pm by interflexo »
 
The following users thanked this post: tonyalbus

Offline Ziggo

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #158 on: November 10, 2021, 06:35:11 am »
Does the software support multiple units on a single RS485 bus? I have 3 now but really need at least 3 more to get enough load for some tests.

The units themselves claim to support a "master / slave" mode for multiple units but I haven't tried it yet (since I can barely use them at this point because the rotary encoders are so flaky).
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #159 on: November 10, 2021, 08:09:07 pm »
From the user Kunkin KP184 manual:
"Set up online mode. KP182 load provides a multimachine online mode. The multimachine is connected through 485 communication wire. There is one master, and the other devices are slaves. When setting up parameter on the host panel and operating ON/OFF, these operations are sent to the slave through communication port and the slave will execute the same operation."

The OnLine Host/Slave mode is just a way of blindly broadcasting the Host panel key strokes to all the Slaves in RS-485 network. The manufacturer intent here was to be able to perform the same test on several different KP184 units at the same time. When this OnLine mode in engaged I think there is no feedback from the slave units or the Master for that matter (I am guessing here). So there is no way of making remote data acquisition on this mode.

This multi device mode would have to be emulated with the normal ModBus comms. The software commands would have to be broadcasted for each previously configured slave addresses, and each slave would be pooled in succession to retrieved it's data. The sample period would take a hit. The KP184 firmware is a bit slow to respond. A minimum practical value of 250ms is standard for one unit. Using 4 units in a RS485 network the minimum sample period would be 1 second. The savings here would be an USB to serial adapter per KP184.

The KP184 ModBus software as is can't do what you want via RS-485. You can however launch unlimited instances of the software on the PC communicating simultaneously with USB to serial adapters with different KP184 units which are wired in parallel with the same load and control (no need to touch the operating panel) and record the data acquisition of each instance. This method would leave the minimum sample period unharmed.

If each single unit works well via RS-485 with the software I could change the software to accommodate this feature if there is a broad interest about it. However this seems to me to be a niche within a niche.

The GUI interface would consume most of the work and comms would be the easy part, i have the same threaded  low level code working with 30 simultaneous serial channels within the same application.
« Last Edit: November 11, 2021, 07:19:27 am by interflexo »
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #160 on: November 10, 2021, 08:52:07 pm »
With TestController ( https://www.eevblog.com/forum/testgear/program-that-can-log-from-many-multimeters/ ) you can run any number (and brands) of loads in parallel as long as each has its own connection to the computer (i.e. not 485).
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #161 on: November 10, 2021, 10:34:05 pm »
Ziggo has issues with the rotary encoders and needs KP184 full remote panel control. I mensioned 6 loads because Ziggo needs 3 + 3 electronic loads.
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #162 on: November 11, 2021, 06:34:26 am »
Ziggo has issues with the rotary encoders and needs KP184 full remote panel control. I mensioned 6 loads because Ziggo needs 3 + 3 electronic loads.

In TestController you will get a control panel like this for each load:



There are many different way to see the values from the load and it is also possible to define more limited control panels.
If the same test needs to be repeated, it is fairly easy to generate a script for it.
 
The following users thanked this post: dophuc

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #163 on: November 17, 2021, 06:13:25 pm »
New KP184 Modbus Software Version 1.0.29.0:

Changes:

1. New solar panel test mode (SOL) added. A user defined CV sweep mode records de solar panel characteristic I-V curve and MPP data for device diagnostic or manufacturer specifications comparison.

2. The data acquisition report button now handles both report types (battery capacity discharge test and solar panel test) according to the last test mode.

3. Correction on the non static programmable profile cycle (CYC) load mode startup.

4. Some settings were not available on the configuration dialog window.


Setup KP184 Software V1.0.64.0
Updated User Manual
Solar Panel Test Report Example
« Last Edit: February 14, 2024, 09:30:08 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #164 on: November 19, 2021, 03:12:41 pm »
New KP184 Modbus Software Version 1.0.30.0:

Changes:

1. Both types of reports (battery capacity discharge test and solar panel test) now share the same PDF generation engine and have a consistent layout. Got rid of the html conversion stuff.

2. Correction on the non static cycle (CYC) load mode. Now when the load profile programming code is empty the load does not turn on and an appropriate message is displayed.

3. On the solar panel test mode (SOL) plot graph curves the MPP point is now highlighted in red.

4. On the data acquisition save .csv or .png plot graph files a file explorer window is opened with the selected file.


Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 09:30:28 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #165 on: November 27, 2021, 09:08:27 am »
A couple of videos explaining operation with KP184 Modbus Software:





« Last Edit: November 29, 2021, 11:23:34 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #166 on: December 04, 2021, 11:52:05 pm »
New KP184 Modbus Software Version 1.0.31.0:

Changes:

1. Some python modules updated.

2. Resolved some issues with the tests PDF reports.


Setup KP184 Software V1.0.64.0

To install as Administrator:
1. Open File Explorer.
2. Navigate to the folder with the setup executable file.
3. Select the setup executable file.
4. Use the right mouse button to show the file context menu.
5. Click the Run as administrator option.
« Last Edit: February 14, 2024, 09:30:49 pm by interflexo »
 

Offline dophuc

  • Contributor
  • Posts: 38
  • Country: vn
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #167 on: December 09, 2021, 03:42:58 am »
Hello everyone,

Sorry if my English is not good
I'm testing new KP184 software from Kunkin for KP184 2020.
Now you can use the DB9 to DB9 serial cable that comes with the KP184 connected via a physical Com port or some inexpensive USB - RS232 cable such as a $1 USB-RS232 serial cable using the CH340 chipset ; 2$ 6 in 1 adapter using chipset CP2102... New software and cable work well on Win 10, Win 11 (driver update)





« Last Edit: December 09, 2021, 05:30:34 pm by dophuc »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #168 on: December 09, 2021, 08:41:30 am »
With KP184 Modbus software and from the user manual page 9:

Check the CRC LSB First option if you experience difficulties establishing the
serial communication with KP184 later models (Firmware 2020 and up – can
be checked through the Kunkin screen brief flash at startup)


« Last Edit: December 09, 2021, 08:58:57 am by interflexo »
 
The following users thanked this post: dophuc

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #169 on: December 10, 2021, 11:41:48 am »
New KP184 Modbus Software Version 1.0.32.0:

Changes:

1. When having trouble to connect both CRC LSB First flag states are tested for the new Kunkin 2020 Fimware and above.

2. Resolved some issues with the modded KP182 identification on the PDF reports.


Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 09:31:12 pm by interflexo »
 

Offline dophuc

  • Contributor
  • Posts: 38
  • Country: vn
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #170 on: December 15, 2021, 12:00:28 pm »
Hi,

For people to have more choices of software. I sent Kunkin's software for KP184 (2020).
I have tested with KP184 version 2020 installed on Windows 11, all working fine.
Please read the note before installing the software.
Hope everyone will be satisfied when using this software.
Link download:
https://mega.nz/file/6kdCkDyJ#UonyK7a-SpXjgB_XiowcR9-LPijSO2mTcB2TciwUW6Q
I took some pictures of my KP184


« Last Edit: December 15, 2021, 01:32:00 pm by dophuc »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #171 on: December 28, 2021, 10:35:08 am »
New KP184 Modbus Software Version 1.0.33.0:

Changes:

1. Several python modules were updated for extended compatibility.


Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 09:31:32 pm by interflexo »
 
The following users thanked this post: adso85swe

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #172 on: December 30, 2021, 03:44:31 pm »
New KP184 Modbus Software Version 1.0.34.0:

Changes:

1. Application now checks for updates at startup.


Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 09:31:58 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #173 on: January 04, 2022, 11:42:23 pm »
New KP184 Modbus Software Version 1.0.35.0:

Changes:

1. Application load time was cut in half.

2. Software updates are automatically downloaded and installed upon user confirmation.


Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 09:32:21 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #174 on: February 21, 2022, 02:18:37 pm »
I wonder if some already tested this KP184E with the Modbus software.

https://www.alibaba.com/product-detail/KP184E-150V-40A-400W-LCD-Display_1600272552716.html

Same specs and a 320 x 240 TFT color screen single page UI plus Modbus + SCPI on RS232/RS485.

The add states Reverse polarity protection. I don't know if this a typo or substantial changes were made to the PCB power circuitry.
 

Offline rhandel@wowway.biz

  • Newbie
  • Posts: 1
  • Country: us
KP184E -- Was: Serial to usb on Kunkin KP184 electronic load
« Reply #175 on: March 11, 2022, 03:43:57 pm »
@interflexo,

I saw one test on YouTube, https://www.youtube.com/watch?v=xTfxUIw3fy4, that panned it.

I have the KP184C, and I am using your software to run tests on power supplies and it works well.  I got the Keyspan FTDI adapter and it worked out of the box.  Thank you for all of you efforts.  Keep up the good work.  I am planning on registering it ASAP.

RAH
 

Offline dirtcooker

  • Contributor
  • Posts: 48
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #176 on: March 18, 2022, 02:59:17 pm »
@interflexo,

Nice work. You put a lot into the documentation. have you got a version that runs on ubuntu?
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 2904
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #177 on: March 18, 2022, 03:38:42 pm »
@interflexo,

Nice work. You put a lot into the documentation. have you got a version that runs on ubuntu?

If not, you can use TestController: https://www.eevblog.com/forum/testgear/program-that-can-log-from-many-multimeters/
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #178 on: June 20, 2022, 08:33:26 pm »
New KP184 Modbus Software Version 1.0.36.0:

Changes:

1. User configurable cyclic solar panel test option added.

2. Some support python modules were updated.


Setup KP184 Software V1.0.64.0

User_Manual
« Last Edit: February 14, 2024, 09:33:00 pm by interflexo »
 

Offline armandine2

  • Frequent Contributor
  • **
  • Posts: 596
  • Country: gb
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #179 on: June 21, 2022, 07:05:15 am »
an interface mod to my KP182 would be a good upgrade - are there any online pointers to how to do this?
Funny, the things you have the hardest time parting with are the things you need the least - Bob Dylan
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #180 on: June 22, 2022, 11:30:13 am »
I just don't remember where I read about this. But it's just a matter of installing (soldering) the missing PCB U23 IC > ADUM1201 (dual-channel digital isolator) + 2 RX/TX resistors + hardwired USB/Serial compatible converter. The KP182 firmware does not need any changes. Doesn't seem complicated.

You have a lot of KP184 PCB photos available where you can take the rx/tx resistors values from.
« Last Edit: June 22, 2022, 11:36:33 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #181 on: June 27, 2022, 03:54:41 pm »
New KP184 Modbus Software Version 1.0.37.0:

Changes:

1. Cycle mode continuous operation not restarting correction.

2. Corrected PDF plot graph export missing module.


Setup KP184 Software V1.0.64.0

User_Manual
« Last Edit: February 14, 2024, 09:33:23 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #182 on: August 02, 2022, 10:43:31 am »
New KP184 Modbus Software Version 1.0.38.0:

Changes:

1. __DUT_BRAND__ , __DUT_MODEL__ and __DUT_SN__ strings can be used on configured file names for csv data, image, PDF and report files. These substrings will be replaced during runtime with the Rep tab DUT Report Identification Details.

2. Record time is paused during paused data recording.


Setup KP184 Software V1.0.64.0

User_Manual
« Last Edit: February 14, 2024, 09:33:41 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #183 on: September 07, 2022, 11:10:25 pm »
New KP184 Modbus Software Version 1.0.39.0:

Changes:

1. Application is now a resizable grab anywhere window.

2. The application last window size and screen position are saved.

3. The screen plot graph aspect ratio is also used on the PDF reports. Info on the Report tab helps the user to get optimized and larger plot graphs on the PDF reports.


Setup KP184 Software V1.0.64.0

User_Manual
« Last Edit: February 14, 2024, 09:57:21 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #184 on: September 22, 2022, 11:15:49 am »
New KP184 Modbus Software Version 1.0.40.0:

Changes:

1. Plot graph x axis now shows hours, minutes or seconds units depending on test duration.

2. PDF Report button was not enabled after very long (> 8h) battery capacity discharge test completion.


Setup KP184 Software V1.0.64.0

User_Manual
« Last Edit: February 14, 2024, 09:33:56 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #185 on: September 23, 2022, 03:39:57 pm »
New KP184 Modbus Software Version 1.0.41.0:

Changes:

1. Plot graph grid lines added for x and left y axis.

2. Capacity curve plot graph may be suppressed with right click context menu options on "Bat" tab during setup or test, voltage curve plot graph display only.

3. Ah / Wh data now has 6 decimal places. Now small current battery capacity discharge plot graphs look better.

4. Application exit confirmation dialog added.


Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 09:34:21 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #186 on: September 26, 2022, 05:56:11 am »
New KP184 Modbus Software Version 1.0.42.0:

Changes:

1. On low amperage battery capacity tests eliminated the race condition between Kunkin and software end voltage reached.

2. On battery capacity test the cable disconnect condition is handled and logged.

3. Long .csv data file creation can now be interrupted.


Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 09:34:42 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #187 on: September 29, 2022, 08:53:16 am »
New KP184 Modbus Software Version 1.0.47.0:

Hot feature: Automatic battery internal resistance vs SOC data calculation

Changes:

1. During battery capacity test the data acquisition pause button will also stop the load current. Ex: for fixing some cable issue. Hitting the pause button again will make the test resume (plot graph + load current). The open circuit voltage spike will appear on the plot graph.

2. 10 different measurements of the battery internal resistance at regular SOC intervals can optionally be acquired during the battery capacity discharge test. Two new enable/disable options were added to the right click context menu options on the "Bat" tab. The results will appear on the PDF report and on the “Log” tab. This setting is stored on the configuration defaults .ini file.

Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 09:35:00 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #188 on: October 01, 2022, 09:18:08 pm »
New KP184 Modbus Software Version 1.0.48.0:

Changes:

1. Added user comments to the battery capacity test and solar panel test PDF reports.

2. Added a selection choice of [4, 6, 8, 10, 12] number of periodic internal resistance tests performed during the battery capacity discharge test to the “Bat” tab context menu. The selection was added to configuration .ini file.

3. Added pulse setup data to the batery capacity report when periodic internal resistance tests are performed.

4. Adjusted default and check values of solar panel test start voltage parameter. KP184 minimum load voltage is about 1V.


Setup KP184 Software V1.0.64.0

User_Manual
« Last Edit: February 14, 2024, 09:35:34 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #189 on: October 02, 2022, 10:17:56 pm »
New KP184 Modbus Software Version 1.0.49.0:

Changes:

1. Added KP184 internal bat_end_volt parameter automatic manipulation to allow periodic internal resistance test higher current pulses than the current discharge set value on the battery capacity test. Fast pulses won’t trip a premature test end voltage condition.


Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 09:35:57 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #190 on: October 04, 2022, 06:59:19 am »
New KP184 Modbus Software Version 1.0.50.0:

Changes:

1. Added interlocks to avoid changing the “test end voltage” and the “set current” parameters during the battery capacity discharge test if the periodic internal resistance tests are enabled. If the periodic internal resistance tests are not selected these parameters can be adjusted during the battery capacity discharge test.

2. Added an image to the “Bat” tab to remember the user about the mouse right click menu feature.


Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 09:36:22 pm by interflexo »
 
The following users thanked this post: tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
 

Offline fraggl

  • Newbie
  • Posts: 1
  • Country: fr
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #192 on: February 15, 2023, 06:29:28 pm »
Hello, i'm new to this and i just want to connect my KP184 to my computer, i've tried with a simple RS232 to usb adaptator but it doesn't work.
I juste bought a CP2102 6pin which i didn't received yet. I that what i need ? Which pins should i connect ?
I've tried to install the "setup_kp184_10500" software on window 7 but it doesn't work, only on my windows 11 64 bit computer.
I'm sorry but i have a lot of trouble to understand what to do, i don't care about giving you 30 € but i just want it to work !

Thank you !
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #193 on: March 06, 2023, 03:23:34 pm »
Hi. You only need 3 pins TX, RX and GND. When the USB to Serial adapter does not work it has to do with the OS driver compatibility not the application.
If the adapter works well with any text terminal application it should serve your purpose.
This thread contains several adapter suggestions Digitus DA-70156 USB 2.0 to Serial (FTDI/FT232RL) from ASSMANN Electronic GmbH is one of them, just avoid the Prolific and WCH chipset cheap stuff.
I don't have feedback on the CP2102 but Silabs has a good reputation.
The application is Python 3.8 based so it should work from Vista, 7, 8, 10 to Win 11 (32 or 64 bit).
Microsoft security updates and tech support for Win 7 ended on 14 Jan 2020. Sometimes we have to move forward.
Version 1.0.51.0 is the last version for Vista. Later releases will be Python 3.11 based and will be supported from Win 8 onward.
Please email me and I can help you with your system diagnostic.
« Last Edit: March 06, 2023, 03:55:32 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #194 on: March 06, 2023, 03:27:37 pm »
New KP184 Modbus Software Version 1.0.51.0:

Changes:

1. Solved the update download failure issue on non standard “Downloads” system folder name.

2. Improved serial error handling and logging on communication protocol.

3. Added serial response timeout to the KP184 Modbus protocol

4. Added capacity discharge test termination reason to the PDF report. Reasons: LVC, user abort, eload abort, current interruption or max_time reached.

5. Some python modules were updated.


Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 09:37:40 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #195 on: March 23, 2023, 08:44:56 pm »
New KP184 Modbus Software Version 1.0.52.0:

Changes:

1. Corrected issue with solar panel test that was blocking data acquisition.


Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 09:37:59 pm by interflexo »
 
The following users thanked this post: tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #196 on: March 31, 2023, 12:28:11 pm »
New KP184 Modbus Software Version 1.0.53.0:

Changes:

1. Several Python modules were updated.


Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 09:38:17 pm by interflexo »
 
The following users thanked this post: tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #197 on: April 13, 2023, 05:25:08 pm »
New KP184 Modbus Software Version 1.0.54.0:

Changes:

1. Downgraded python numpy module version to allow application startup on Windows 7 - 32 bit systems.


Setup KP184 Software V1.0.64.0

This will be probably the last Windows 7 compatible version coded with Python 3.8 and pyinstaller. Maintaining updated Python modules with Win 7 compatibility is a bit overwhelming now.

Many users have lab equipment stuck with Win 7 software and all efforts were made to maintain the compatibility with this OS until this date. Microsoft ended standard technical support and updates on Jan 2020 for Win 7.

From Python 3.9 and up Window 8 or newer is required. Let's advance with new software features and understanding that Win 7 or older won't be supported.

I thank in advance for your understanding.
« Last Edit: February 14, 2024, 09:38:49 pm by interflexo »
 
The following users thanked this post: tonyalbus

Offline rtlflat

  • Newbie
  • Posts: 4
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #198 on: May 26, 2023, 03:56:47 am »
That is unfortunate. It's the fourth unit that I know of that exhibits that same behavior.

The only parameter that could cause problems would be:

On Kunkin: Multi-machine online mode: Offline/Slave/Host -> Use Offline

The tests you made were thorough enough to me.

Nevertheless, two tests can be made:

During the connection process the software asks Kunkin KP184 for the content of the memory address 0x001 which holds the equipment model number (0x0730 = 1840), Kunkin response should be immediate, the software will wait for 5 seconds. This response is not being received, your logs should show the COM port is being closed after 5 seconds.

Loopback test (tests the PC serial adapter):

Please first debug if the 2 USB serial adapters are working properly. Check your USB to Serial Adapter operation with a loopback connection. Please shunt pins 2 and 3 on your DB9 serial port side and connect your adapter only to your PC USB port. Install some terminal software (Ex: CoolTerm) on Windows 10 (Hyperterminal is no longer part of Windows), run the program, configure to 9600,N81 no flow control, turn off echo, connect, press some test keys and check if you receive the characters back to the screen. This will prove to you that your adapter and drivers are at least working.

Once this works you should try the connection with Kunkin KP184.

Don't forget the DB9 serial cable (null modem cable) should cross pins 2 and 3 like this:

2 TXD -> 3 RXD

3 RXD -> 2 TXD

5 GND -> 5 GND

Baudrate: Start with a conservative 9600 to debug de serial connection, then you can use 115200 with a short cable for lower latency.

On Kunkin: Multi-machine online mode: Offline/Slave/Host -> Use Offline

In case anybody else is having trouble connecting using the recommended Digitus adapter plus null modem cable... Try plugging the adapter directly into the Kunkin without the cable.

I checked the pinout of the cable with meter and confirmed pins 2-3 were crossed and cable was not broken, and did loopback test described above, and everything seemed ok, I could see the activity on both RX and TX, but kunkin did not light up the LED or respond in software.

As soon as I connected adapter directly to kunkin without modem cable (adapter came with 12" usb M-F extension cable), I saw LED light up as i pressed keys in coolterm, and software was finally able to connect.

Since the cable didn't seem damaged should I assume its related to cable length (10ft) over likely ~30awg wire? Here is link for the cable I bought.
https://www.amazon.com/dp/B08T997CNS?ref=ppx_yo2ov_dt_b_product_details&th=1

Feel kinda silly since I had the adapter and the kunkin already and waited a week for the cable to arrive to try..... :palm:

Kunkin is v7 board and 2303 firmware

-JP

edit:
LOL Just noticed manufacturer name for the cable on Amazon is "‎guangzhouditedianzikejiyouxiangongsi"
Why do I feel like I'm being trolled?
« Last Edit: May 26, 2023, 04:02:54 am by rtlflat »
 

Offline Pfriemler

  • Regular Contributor
  • *
  • Posts: 137
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #199 on: May 26, 2023, 11:54:50 am »
Loopback works well with both straigt and crossed cables. It only checks the PC port.
Null modem cable != cable with two females on both sides.
Kunkin is stupid to use the wrong sockets.
Use a standard cable plus a gender changer instead and everything is fine.
How did you fit an serial adapter directly to the Kunkin? both are male plugs?
« Last Edit: May 26, 2023, 11:57:36 am by Pfriemler »
once you do it right, it works :-)
 

Offline rtlflat

  • Newbie
  • Posts: 4
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #200 on: May 26, 2023, 07:30:04 pm »
I happened to have a F-F adapter. Had to remove the threaded standoffs on one side to plug it in.

 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #201 on: May 27, 2023, 11:27:10 am »
Please notice that Kunkin KP184 comes with a straight through (Female - Female) serial cable.
Pin connections:
2 -> 2
3 -> 3
5 -> 5
A null modem cable with crossed connections won't work.
I must trace back this old (2021) post and correct it (Done).
User wolzlu corrected this information at the time.
« Last Edit: May 27, 2023, 11:36:46 am by interflexo »
 
The following users thanked this post: rtlflat

Offline rtlflat

  • Newbie
  • Posts: 4
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #202 on: June 06, 2023, 05:54:26 am »
Thanks for clarifying this :-+ My kunkin did not come with a cable and I only saw posts mentioning null cable.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #203 on: October 04, 2023, 08:57:52 am »
New KP184 Modbus Software Version 1.0.55.0:

Changes:

1. Solved issue with right mouse button battery test tab context menu update.

2. Added two new options to the battery test context menu: Elapsed Time and Time Stamp for the test results plot horizontal time axis and csv data export. Also on Data Acquisition Frame new context menu.

3. Several python modules were updated.


Setup KP184 Software V1.0.64.0

User_Manual
« Last Edit: February 14, 2024, 09:39:20 pm by interflexo »
 
The following users thanked this post: tonyalbus

Offline moelski

  • Newbie
  • Posts: 3
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #204 on: October 12, 2023, 06:14:19 pm »
I got my KP184 today and of course wanted to see if it works with the control from the PC. But unfortunately, nothing.
When booting is displayed with 2303. Baud and address I have checked and adjusted. And "Onli" is in offline mode.

At the moment I use a CP210x chip with a downstream level converter. But this does not help either. The first test with a terminal program does not give any data from the device either.

Has anyone here successfully controlled a 2303 device serially (rs232)? I am really desperate. I would like to test batteries and need the appropriate evaluation on the PC - one of the reasons why I bought this sink.

I have now ordered a Digitus DA70156 USB to serial converter. This was mentioned here before. Hope so what works ...

Dominik
 

Offline moelski

  • Newbie
  • Posts: 3
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #205 on: October 13, 2023, 05:02:14 am »
Ok got it working ...  :scared:

For all who are coming next with the same problem ....
I think it will work with nearly any USB/Serial converter. At the moment I am using a Silabs CP210x Chip without any problem.
And you also don´t worry about any serial port settings in Windows. When you change the baud rate within your application, all is fine.

But it´s crucial to add a TTL to RS232 Levelshifter like the MAX232 to your connection. Otherwise it won´t work.
And keep in mind that the original serial cable is 2-2, 3-3, 5-5 regarding the wiring.
So in my case I had to cross the Tx, Rx lines in addition.

I will create a picture for that and upload it here - just for reference  :)

But for now I´m really happy that it is working.

Oh and forgot about the original software. Since the checksum bytes are rotated that software won´t work with new KP184 devices ... Sadly ...

Dominik
 

Offline Pfriemler

  • Regular Contributor
  • *
  • Posts: 137
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #206 on: October 13, 2023, 07:19:08 am »
I do not see any problems that aren't there with any serial connection (I am a bit experienced with that).
I just pulled an USB-RS232-Converter, plugged in (of course you have to control the settings, in every case), done. These adapters come with level shifters to meet the electrical specifications of a RS232. TTL is used only inside devices to connect any chips.
The only thing is that a standard cable (male-female) is only useable with an additional gender changer. With the cable delivered (female-female) it works out of the box.
once you do it right, it works :-)
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #207 on: October 23, 2023, 10:34:35 am »
New KP184 Modbus Software Version 1.0.56.0:

Changes:

1. Solved issue with update setup installer download


Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 09:39:50 pm by interflexo »
 
The following users thanked this post: tonyalbus

Offline Breizh13

  • Newbie
  • Posts: 5
  • Country: fr
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #208 on: October 29, 2023, 07:17:52 pm »
@Moelski,

I've just read this thread because at the moment I have a working link with the KP184 load in modbus only. 
I haven't been able to get the RS232 serial port to work, as I think many people have. I've just figured it out by reading your post and after having made a measurement on the oscilloscope. The signals are not TTL level but pure RS232 with positive and negative signals. So we need an RS232/TTL interface before going to a TTL/USB interface.
Is this correct? Can you tell us what you've done to make it work for you?

Translated with www.DeepL.com/Translator (free version)

--
Philippe
 

Offline Pfriemler

  • Regular Contributor
  • *
  • Posts: 137
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #209 on: October 29, 2023, 07:47:03 pm »
It depends on which device you want to control the KP184. As I said in my post, the KP184 serial port is a full functional RS232 and works with any conventional PC COM port out of the box (only a female-female socket cable or a gender changer is needet) or a common USB-to-serial stick with DSUB9 socket.

So why the f..k people try to use USB/TTL adapter at all?  :palm:
Again:
- use the right adapter like DITIGUS DA-70156, Logilink ‎AU0002F or somehing in that style (pay attention to the chip - FTDI works best)
- check if you use the right COM port :-)
- adjust interflexo's software settings to the KP184 settings (I suggest 57600 instead of 115200 baud)

Or did I miss something?
once you do it right, it works :-)
 

Offline Breizh13

  • Newbie
  • Posts: 5
  • Country: fr
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #210 on: October 29, 2023, 09:09:35 pm »
Quote
So why the f..k people try to use USB/TTL adapter at all?
Everyone does as he or she pleases! When you have a stock of USB/TTL interfaces, all you need is an RS232/TTL interface. There's work to be done, of course! But that's one way of doing things. As far as I'm concerned, I've just ordered an interface like the one you're talking about.
https://www.ebay.com/sch/i.html?_from=R40&_trksid=p4432023.m570.l1313&_nkw=272054422995&_sacat=0
Thank you for your advice. And thanks to Interflexo for the software!  ;)

 

Offline Pfriemler

  • Regular Contributor
  • *
  • Posts: 137
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #211 on: November 02, 2023, 10:46:26 am »
New KP184 Modbus Software Version 1.0.56.0:
I still have a problem, due to my safe Defender settings. The installer insists on creating a folder called "KP184 Modbus" in the user's documents folder (which is undesirable for me, since I keep my documents folder clean and save my data elsewhere) and putting the manual there. Windows Defender does its job and reliably prevents this, which is why an installation is not possible. I have to create myself such a folder temporarily first.
Could the programme please be extended to allow me to specify my existing data folder at this point?  even better: The settings of the program are stored anywhere, why not the data folder? This would be more convenient for updates.
The first attempt to save the manual is then also prevented, but since the installer can make a second attempt here, I can allow an exception in Defender in the meantime and then it works. However, I would prefer to have the manual in the programme folder anyway, as with many other programmes.
Besides this, a great piece of software. Time to pay...
once you do it right, it works :-)
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #212 on: November 02, 2023, 07:02:15 pm »
Next week there will be a new release (1.0.58.0) of the KP184 Modbus software.

Hot features:

1. Added button to superimpose multiple .CSV test file data on the same plot graph.

These superimposed plot graphs can be used to:
    • Compare the battery cell constant current discharge test voltage curve at various C rates.
    • Compare the battery cell constant current discharge test voltage curve at various temperatures.
    • Compare various cells constant current discharge test voltage curve from the same battery to find “weak” cells.

2. Added “Plot graph” check box to the CYC mode (programmed current profile) test. When checked the data acquisition starts and stop automatically with Load ON/OFF.

3. KP184 reports an erroneous residual current at Load OFF when the set current is below 35 mA. CYC mode was adjusted to avoid this inconvenience.

4. Added TCP Server to export real-time device data to custom third party applications. Very simple TCP Client python code on the user manual to show the user how to use it.

5. I will provide options to select the default data folders at installation time. No problems on putting the user manual on program installation folder also.

Being prepared probably for release 1.0.59.0 high power test handling by allowing to parallel any number of KP184 units each one connected to it's own USB to Serial adapter.
« Last Edit: November 02, 2023, 07:05:31 pm by interflexo »
 
The following users thanked this post: Pfriemler

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #213 on: November 10, 2023, 11:57:38 am »
New KP184 Modbus Software Version 1.0.58.0:

Setup KP184 Software V1.0.64.0

User_Manual
« Last Edit: February 14, 2024, 09:40:22 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #214 on: November 12, 2023, 02:26:04 pm »
New KP184 Modbus Software Version 1.0.59.0:

Setup KP184 Software V1.0.64.0

User_Manual

Changes:

1. Compiled new bootloader.
« Last Edit: February 14, 2024, 09:40:44 pm by interflexo »
 
The following users thanked this post: mankan

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #215 on: November 13, 2023, 11:15:39 am »
New KP184 Modbus Software Version 1.0.60.0:

Setup KP184 Software V1.0.64.0

Changes:

1. Battery capacity test end voltage can be set as low as 0.5V for lower currents. The ability of KP184 can get as low as 0.5V depends on the
test current, the device only guarantees a minimum of 1V load voltage on the entire current range (0 to 40A).
« Last Edit: February 14, 2024, 09:40:58 pm by interflexo »
 
The following users thanked this post: tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #216 on: December 12, 2023, 10:30:34 pm »
New KP184 Modbus Software Version 1.0.62.0:

Setup KP184 Software V1.0.64.0

Changes:

1. Timer for Load ON/OFF was turning the Load ON or OFF but was not starting or stopping the data acquisition on BAT/SOL/CYC test setups. Now a standard UI toggle Load ON/OFF is emulated.

2. Corrected an issue that could display an erroneous set test current on the battery capacity discharge test report.
« Last Edit: February 14, 2024, 09:41:14 pm by interflexo »
 
The following users thanked this post: Eltax1693, tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #217 on: February 08, 2024, 05:08:58 pm »
New KP184 Modbus Software Version 1.0.63.0:

Setup KP184 Software V1.0.63.0

User_Manual

Changes:

1. New option on Battery capacity discharge test right mouse button context menu to enable the use of a programmed periodic current profile defined on the Cycle tab instead of a simple constant current or constant power load types.

2. “Cycle” and “IntRes” tabs are now accessible on Battery test mode when “Cycle current profile” or “Periodic Internal Resistance Test” options are enabled.



Programmed current profile:

// <- This indicates the line is a comment
// Current Step format: Amps Seconds
// Current Ramp format: Amps1 Amps2 Seconds
// 0 Amps for OFF period. All floats
40 10
30 10
20 10
10 10
0 10


Click to view the pdf document:

« Last Edit: February 14, 2024, 09:41:30 pm by interflexo »
 
The following users thanked this post: tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #218 on: February 14, 2024, 07:13:13 pm »
New KP184 Modbus Software Version 1.0.64.0:

Setup KP184 Software V1.0.64.0

User_Manual

Changes:

1. New multiple battery internal resistance tests PDF report included. The PDF report handles multiple pages and provides column headings at the beginning of each page.

2. New multiple battery internal resistance test list editor window for removing unwanted tests, clear the test list, change the order of the tests inside the list and edit the DUT information (Brand, Model and SN#) of each test.





Click to view the pdf document:



Click to view the pdf document:

« Last Edit: February 14, 2024, 09:51:42 pm by interflexo »
 
The following users thanked this post: Eltax1693, tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #219 on: February 16, 2024, 07:03:32 pm »
New KP184 Modbus Software Version 1.0.65.0:

Setup KP184 Software V1.0.65.0

Changes:

1. New automatic baudrate detection scan on serial connection. If a serial connection fails the following baudrates are automatically scanned: 2400, 4800, 9600, 19200, 38400, 57600, 115200. Each baudrate value is tried with both “CRC LSB First” flag states. Serial connection details information log was improved and new popup messages were added for serial connection and disconnection.
 

Offline hubertusmantel

  • Newbie
  • Posts: 1
  • Country: at
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #220 on: February 17, 2024, 07:56:06 pm »
Hello interflexo,
since today installed the new software V1.0.64.0 and continuously the new V1.0.65.0 i have many crashes via serial connections /Modbus TCB.
With the old V1.0.62.0 it was possible to test an Battery Pack 52V/60Ah with 16-20 Hours and Baud Rate 115200.
Unfortunately ist the Crash from the Software now in 2-3 hour and Baud Rate 57600. My PC is an Win10 System.
Before installing the new, the software was running through the hole night.

Thanks
hubertusmantel
 
The following users thanked this post: interflexo

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #221 on: February 18, 2024, 06:26:58 pm »
Thanks for the valuable information. I will check out this issue thoroughly.

For users who need to roll back to version 1.0.62.0 here is the download link:

Setup KP184 Software V1.0.62.0
« Last Edit: February 18, 2024, 06:39:18 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #222 on: February 20, 2024, 10:19:13 am »
Hi hubertusmantel,
Made several 10 hour battery capacity discharge tests with version 1.0.65.0 and I could not replicate the problem. The system was always rock solid.
Your post refers Modbus TCB. Do you mean you have the TCP Server active?
Can you elaborate on the crashes? Any messages? Application forced exit? Lost only serial connection? What USB to Serial Adapter are you using?
« Last Edit: February 23, 2024, 07:44:45 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #223 on: March 07, 2024, 03:40:46 pm »
New KP184 Modbus Software Version 1.0.66.0:

Setup KP184 Software V1.0.66.0

User_Manual

Changes:

1. During the battery capacity discharge test with periodic internal resistance tests enabled, the last test (near test end voltage) sometimes races against Kunkin KP184 internal test end voltage.

2. Corrected hang on application exit during automatic baudrate detection scan on serial connection.

3. Plot graph horizontal time scale is automatically adjusted to hours, minutes or seconds on the combined multiple .CSV test file data plot option.

4. New options were added to the battery capacity discharge test and data acquisition right mouse button context menus to select from four different line styles for the independent red and blue plot graph curves.



« Last Edit: March 11, 2024, 10:15:03 am by interflexo »
 
The following users thanked this post: tonyalbus

Offline adso85swe

  • Contributor
  • Posts: 11
  • Country: se
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #224 on: March 09, 2024, 07:34:35 am »
New KP184 Modbus Software Version 1.0.66.0:

Is the software compatible with Windows 11? I am unsure whether or not I should upgrade my computer from 10 🤔
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #225 on: March 11, 2024, 10:03:55 am »
Yes. The KP184 Modbus Software is compatible with Windows 11.

Please check the drivers of your USB to Serial Adapter for any issues regarding Windows 11.
« Last Edit: March 11, 2024, 10:16:11 am by interflexo »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf