Author Topic: Nankadf 10A power supply  (Read 6491 times)

0 Members and 3 Guests are viewing this topic.

Offline GadjetTopic starter

  • Contributor
  • Posts: 28
  • Country: gb
    • My Blog
Nankadf 10A power supply
« on: March 17, 2022, 01:10:26 pm »
Hi,
I just bought a Nankadf 0-30V, 10A power supply from Amazon UK as I needed something with 10A and it was on offer at a good price.
Looking at the instruction manual to turn off the annoying beep I noticed that there is a version with a USB connector to connect to the PC although I didn't see that one for sale, anyway there is a cutout on the rear, covered by a label, for a USB socket and I looked inside and on the control PCB there is a unpopulated connector that looks like it's connected to the TX/RX of the STM8S processor.
I can't find anything about it using Google but wondered if anyone here has come across this make and had any info on it, I'll get the scope out and have a sniff at the data on the tx/rx pins and may connect the serial to USB adapter to it.

Cheers

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 7133
  • Country: ca
  • Non-expert
Re: Nankadf 10A power supply
« Reply #1 on: March 17, 2022, 09:27:30 pm »
The name means nothing, can you add a photo here so people can see what it looks like?

If its connected to the STM8S then it should be possible to determine which is Tx and Rx without even needing the scope.
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline GadjetTopic starter

  • Contributor
  • Posts: 28
  • Country: gb
    • My Blog
Re: Nankadf 10A power supply
« Reply #2 on: March 17, 2022, 10:28:31 pm »
I know which pins are which by looking at the datasheet  ;D

Offline bob91343

  • Super Contributor
  • ***
  • Posts: 2675
  • Country: us
Re: Nankadf 10A power supply
« Reply #3 on: March 18, 2022, 03:00:21 am »
It's possible that the connector is just for charging, and not data.
 

Offline GadjetTopic starter

  • Contributor
  • Posts: 28
  • Country: gb
    • My Blog
Re: Nankadf 10A power supply
« Reply #4 on: March 18, 2022, 10:20:58 am »
Not really it's a position for a 4 pin connector on the PCB with TX, RX, VCC and GND or if you mena the hole on the rear panel then it's described in the manual as the optional USB interface.

Offline ygi

  • Regular Contributor
  • *
  • Posts: 202
  • Country: be
Re: Nankadf 10A power supply
« Reply #5 on: March 18, 2022, 11:07:07 am »
STM8 can't do USB so it's a UART interface using a USB cable. Either a TTL to USB IC is missing on the board or you need an adapter on the computer side. Anyway, there could also be an issue with the firmware if the unpopulated port is also not enabled.
 

Offline GadjetTopic starter

  • Contributor
  • Posts: 28
  • Country: gb
    • My Blog
Re: Nankadf 10A power supply
« Reply #6 on: March 18, 2022, 11:35:14 am »
Thanks, I realise that I will need a USB to serial interface but would put the scope on the tx/rx with the serial decoder first.
Maybe I will see data on power up, if nothing then it's probably not implemented in firmware as you said.
I mainly asked the question just in case someone had already tried it.

Offline aix

  • Regular Contributor
  • *
  • Posts: 169
  • Country: gb
Re: Nankadf 10A power supply
« Reply #7 on: December 21, 2022, 05:42:19 pm »
This might be of interest:



The video is in German and has terrible audio quality, but there are English subtitles.

If your control board's the same as the one in the video, perhaps you might also be able to get the UART going?

I have a more recent NANKADF WPS3010H.  It looks identical on the outside but has a different control board (WT300-PCWU-PC2-NWT 2022-06-20 v1.0).  The board is based around an MS51FB9AE MCU and also has an unpopulated header connected to the MCU's I2C/UART/ICE pins.  I tried to get it going on the assumption that it might be configured as a UART but so far haven't had any success.

The firmware on the power supply has functions to configure UART and Modbus parameters (baud rate, device address etc), which seems to suggest it's not completely unaware of serial comms.

If anyone else has tried this, I'd love to hear how it went.

P.S. The header pinout is as follows:
  • R (reset?) - MCU pin 4 (nRESET / P2.0)
  • D (?) - MCU pin 8 ([I2C0_SDA] / UART1_TXD / ICE_DAT / P1.6)
  • G (ground?) - MCU pin 7 (VSS)
  • S (?) - MCU pin 18 (P0.2 / ICE_CLK / UART1_RXD / [I2C0_SCL])
  • V (VCC?) - MCU pin 9 (VDD)

The labelling of the D and S pins is a bit of an enigma.  Would love to hear your best theories for what the two letters might stand for!
« Last Edit: December 21, 2022, 05:56:07 pm by aix »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf