Products > Test Equipment

Power supply ripe for the picking

(1/9) > >>

Pikoko:
Hey guys,

First post but i hope its a good one. I recently bought and Hanmatek HM305p programable power supply off amazon to help outfit my home lab.

Anyway. I was poking around on it and realized it would be fun to try to make it more useful on other system other than windows.
I started reversing the communication protocol which is just serial over usb with a 9600 baud. I documented some of my finding's on my website. http://nightflyerfireworks.com/home/fun-with-cheap-programable-power-supplies

I also opened it up as an man or woman worth their salt would. I found it uses a Nuvoton NUC029LAN which is a pretty decent cortex m0+ given the price.

In my post i talk about wanting to hook up a ESP8266 and making a web interface for the thing. Just wanting to field the idea and see if anyone else might find it useful.

side note: There is a command the controls the built in buzzer. Might be fun to try to get it to play some chip tunes  :P

Pikoko:
This is the first time i've heard of SCPI. I'll have to look more into it.

trcm:
How are you getting on with this switched power supply?
Any thoughts about sharing your source code on github?

robzr:
Really nice work reverse engineering their protocol, thanks for sharing. I've been looking at power supplies and the HM305/310P caught my eye.

This is a *perfect* candidate for an ESP32/8266, writing a SCPI translation layer would be a fun project.  Want any help?

Curious if you cracked yours open and looked where USB chip is, and if it could easily be bypassed for the ESP to communicate directly with the MCU via UART?

That RS232 opening on the back could make for a nice spot to 3D print a little adapter for an SMA antenna connector and a reset button for the ESP...

Rob

robzr:
If you look at page 39 of the Siglent SPD1000X manual they list the SCPI commands they support, there is not too much there. It'd be totally do-able to emulate a SPD1168X/SPD1305X I suspect :)

https://www.siglenteu.com/wp-content/uploads/dlm_uploads/2018/05/SPD1000X_UserManual_UM0501X-E02A.pdf

Assuming Siglent uses SCPI for their Labview driver and EasyPower software, then we'd have that......

Here some great details from a DIY power supply project that implemented SCPI:

https://www.envox.hr/eez/bench-power-supply/psu-scpi-reference-manual/psu-scpi-commands-summary.html

Being a simple, concise, human readable/usable protocol, SCPI should be pretty easy to work with.

Rob

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod