Turn your KA3005D into programmable KA3005P. The project is based on the ESP8266 (ESP-12) module for communicate over Wifi or USB with KORAD 3005 power supply.
Although KORAD3005D is not intended for remote control, nevertheless, some of the devices can work like KORAD3005P. Under the cover on the printed circuit board there is a connector for communication via UART. Let's call such devices that can be controlled via UART KORAD3005DP. To see the difference between KORAD3005D and KORAD3005DP, just listen to it. Watch this short video and you will hear the difference. https://youtu.be/TDWt2rKNsIM
If you are lucky and have a KORAD3005DP, then this project is for you. If not, check out my next project, it will be even more interesting.
You can use any ESP8266 (ESP-12) development board with USB socket. Also you need an optional USB connector and a button.
I use this one: Click to view the board
Aliexpress page: https://aliexpress.ru/item/4000550036826.html- Use finished firmware files from the folder Binary. Upload Flash Download Tools from official page: https://www.espressif.com/en/support/download/other-tools Connect USB cable to your development board, run the application, select COM port and bin-file. When download is completed push "RST" (Reset) button to restart your dev board.
- Use Arduino IDE. Open the sketch from Arduino folder. Select NodeMCU 1.0 board. Install WiFiManager by tzapu library. Compile and upload the sketch to your dev board.
- Use Visual Studio Code + Platformio. Open project from VSCode folder. Build and upload the project.
- WiFi: In the DPSmaster application select "TCP" and enter correct ESP8266's local IP address.
- USB: In the DPSmaster application select correct COM-port. Baud rate 115200, slave address 1.
DPSmaster officail page: https://profimaxblog.ru/dpsmaster/
DPSmaster full review: https://youtu.be/1nZQ2FA08Fg
First measure the voltage between pins 1 and 4 of the J9 connector. If the voltage is 5 volts, connect it to the VIN pin. If 3.3 volts, to 3V pin. In the NodeMcu dev board "FLASH" button connected to GPIO0, so you can use "FLASH" button as "WiFi Reset".
Push "WiFi Reset" button for 3 seconds. The ESP8266 module switches to access point mode. Open WiFi settings on your phone. Choose "KORAD bridge", no password needed. Then click "Configure WiFi", choose your router, enter password and click "Save". Now the ESP8266 module is in the station mode and connected to your wifi router.
Open the router's web page in a browser. View the list of clients. Look for "KORAD server" station.
NOTE: You will not receive the DPSmaster "OCP error" in this case.
// uncomment the line below if you wish hardware OCP
#define KORAD_HARDWARE_OCP
The hardware serial over UART1 is used at 115200 speed. GPIO02 is UART1 TX pin.
// uncomment the line below if you need debug via UART1
#define MB_DEBUG
//#define KORAD_DEBUG_TX
//#define KORAD_DEBUG_RX
https://sigrok.org/wiki/Atten_PPS3000_Series
https://profimaxblog.ru/modbus-communication-protocol-2/
Unfortunately when output is on and at the moment of changing Uset or Iset, the KORAD response is Iout = 0. I don't know what to do about it.
https://profimaxblog.ru/forums/topic/korad-wifi-usb-module-esp8266/