Author Topic: RuiDeng Riden RD6006 DC power supply  (Read 448287 times)

0 Members and 1 Guest are viewing this topic.

Offline UniSoft

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: kz
Re: RuiDeng Riden RD6006 DC power supply
« Reply #250 on: July 29, 2020, 02:04:11 pm »
Here is my BETA version for RD6012...
Bug reports are welcome.

--- RD60121_V1.31.1.bin ---

* Initial BETA version
* Optimized, get rid of HAL Libraries... switched to LL
+ The menu was complete remade.
+ |SHIFT| + |Left/Right| — switches the current layout (without save in settings)
  (if need to set layout after power on, then can do it over menu settings, same as before).
+ For 'layout 1', can be enabled/disabled items.
+ Added OPP (Over Power Protection).
+ |SHIFT| + |MEM| — used to setup OPP
+ OVP, OCP, OPP — now can be disabled by setting it to 0 (0 is equal to maximum)
+ When entering OVP, OCP, OPP, SHIFT button will be highlighted as well
  (to visually distinguish input: V-SET from OVP, I-SET from OCP).
+ The RIGHT button now works as a Backspace when typing.
+ When turned on the internal fan (the one that is on the module itself), icon will be displayed.
+ Added Setting for current cutoff in battery charger mode.
+ Added Setting for batt temp. cutoff in battery charger mode.
+ Added Battery Charger Layout
+ Added Setting to skip keypad lock when connect with software.
+ |MEM| + |.| — now used to reset Wh, Ah
+ Option "Digits Style", can select style for large digits (32x64, 12x24, 7-Seg)
+ Decreased minimum battery voltage from 900mV to 300mV
+ Option "SkipExitIVSet" (prevents exit from edit mode for V-SET and I-SET when press ON/OFF button).
+ Option "Power LED" (Setup the behavior of the power button LED in power off mode (Default-pulsating, 0%-off, etc...).
  (in modes 0% and 100% power consumption will be less (cause no need software generate PWM and can switch MCU in to the sleep mode)
 
The following users thanked this post: diogoc, thm_w, Mr.B, Cliff Matthews, jdev99, elektrolitr

Offline elektrolitr

  • Contributor
  • Posts: 28
  • Country: lv
Re: RuiDeng Riden RD6006 DC power supply
« Reply #251 on: July 30, 2020, 05:18:49 am »
--- RD60062_V1.32.6.bin ---

+ Option "Power LED" (Setup the behavior of the power button LED in power off mode (Default-pulsating, 0%-off, etc...).
  (in modes 0% and 100% power consumption will be less (cause no need software generate PWM and can switch MCU in to the sleep mode)
* Bug fixes

Hi!

I can't set Power LED to anything above 20%. So, the options are only Default, 0-5-10-15-20%
 

Offline UniSoft

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: kz
Re: RuiDeng Riden RD6006 DC power supply
« Reply #252 on: July 30, 2020, 07:06:00 am »
I can't set Power LED to anything above 20%. So, the options are only Default, 0-5-10-15-20%
Ups, really... And nobody reports.
Initially, I did 0-25-50-75-100 there, I forgot to change number of options.
Thanks, I'll fix it latter.
 

Offline UniSoft

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: kz
Re: RuiDeng Riden RD6006 DC power supply
« Reply #253 on: August 04, 2020, 09:48:49 am »
--- RD60062_V1.32.7.bin ---

+ In power Off mode now using hardware PWM (except pulsating mode) for Power LED and turning off unnecessary peripherals,
  to decrease power consumption.
+ Remade function to enter values.
* Bug fixes
 
The following users thanked this post: diogoc, Cliff Matthews

Offline webhdx

  • Newbie
  • Posts: 9
  • Country: pl
Re: RuiDeng Riden RD6006 DC power supply
« Reply #254 on: August 06, 2020, 06:43:41 am »
Thanks UniSoft for sharing WiFi firmware. It doesn't look like bootable image tho. My module just spits garbage over UART. Also file header seems to be invalid according to https://github.com/espressif/esptool/wiki/Firmware-Image-Format#firmware-image-format

Anyway, I hooked up to UART on the module header and noticed it uses AT commands for communication. After further digging I learned that Espressif is releasing AT firmware for their modules. It's usually used to add WiFi functionality to Arduino. It looks like the WiFi module is nothing more than a ESP8266 with a standard AT firmware. I don't think they did anything custom.

I still haven't been able to make it work because of the crappy iPhone app which is not detecting server IP correctly but this seems to be the app issue. I will try Windows app later.

I think it can be safely assumed that you can get off the shelf ESP8266 (2$, I paid even less) to make yourself a WiFi module with 3.3V regulator and a few resistors. If you want to do that here is the schematics someone reverse engineered: https://cuttlefishblacknet.wordpress.com/2020/03/01/riden-rd6006-wifi/

No need to pay higher price for the WiFi module, especially if you have ESP8266 laying around!
 
The following users thanked this post: Cliff Matthews

Offline UniSoft

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: kz
Re: RuiDeng Riden RD6006 DC power supply
« Reply #255 on: August 06, 2020, 09:05:33 am »
It doesn't look like bootable image tho. My module just spits garbage over UART. Also file header seems to be invalid according to...
This is a full dump, as is...
Yep, it spits garbage over UART. This is normal, I have the same with original module.
What's wrong with Header?


I don't think they did anything custom.
some of the reply contains string "RD6006"
 

Offline webhdx

  • Newbie
  • Posts: 9
  • Country: pl
Re: RuiDeng Riden RD6006 DC power supply
« Reply #256 on: August 06, 2020, 12:04:49 pm »
Looks like something is wrong with the file I downloaded :o Can you double check if you attached correct file?

 
The following users thanked this post: UniSoft

Offline UniSoft

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: kz
Re: RuiDeng Riden RD6006 DC power supply
« Reply #257 on: August 06, 2020, 01:06:27 pm »
Looks like something is wrong with the file I downloaded :o Can you double check if you attached correct file?
Yes, you are right... something wrong...
that was a dump firmware from oscilloscope fnirsi 1013D...  ;D
even name of the file says that something wrong, and no one report
here is re upload
 
The following users thanked this post: thm_w

Offline webhdx

  • Newbie
  • Posts: 9
  • Country: pl
Re: RuiDeng Riden RD6006 DC power supply
« Reply #258 on: August 06, 2020, 01:20:45 pm »
Thanks! Seems to be correct file - 4MB. I will flash my ESP later today.

UPDATE: I can confirm Windows software works with standard ESP AT firmware. It's not really needed to flash dumped image. I can't say it's 100% compatible but I didn't find anything what wasn't working. I suppose mobile app will work as well but iOS version is broken so I couldn't test it.

The best part is that most ESP8266 modules come with AT firmware preinstalled so there is no need to use serial converter and wasting time on flashing. Just build the circuit and connect it to the PSU - it should work right away.
« Last Edit: August 07, 2020, 06:33:36 am by webhdx »
 

Offline diogoc

  • Contributor
  • Posts: 29
  • Country: pt
Re: RuiDeng Riden RD6006 DC power supply
« Reply #259 on: August 11, 2020, 11:33:02 am »
@UniSoft the temperature probe have any influence in the fan speed?
It is possible to have a case fan controlled by the external temperature probe?
 

Offline UniSoft

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: kz
Re: RuiDeng Riden RD6006 DC power supply
« Reply #260 on: August 11, 2020, 02:03:33 pm »
the temperature probe have any influence in the fan speed?
If you are asking about an external thermistor, then it is used only to display the temperature and that's it.
In my firmware, I added the ability to turn off charging when the specified temperature is reached.
An internal thermistor (the one on the board near the heatsink) is used to display the system temperature, and to protect against overheating (OTP:> 80C).
The fan speed is not adjustable.

It is possible to have a case fan controlled by the external temperature probe?
It is impossible without the appropriate hardware support.
In my opinion, it is much easier to implement on some separate inexpensive MCU.
 

Offline diogoc

  • Contributor
  • Posts: 29
  • Country: pt
Re: RuiDeng Riden RD6006 DC power supply
« Reply #261 on: August 11, 2020, 02:20:19 pm »
So the heatsink fan is only ON/OFF? I thought a pwm would be used as a function of temperature.

For a case fan, a pwm output was enough to drive a fan mosfet, but it might be better to do with an external MCU.
 

Offline UniSoft

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: kz
Re: RuiDeng Riden RD6006 DC power supply
« Reply #262 on: August 17, 2020, 07:49:25 am »
--- RD60062_V1.32.8.bin ---

+ Option "Save Mult." to save current multiplier (for current session only, reset after restart)
* Increased minimum battery voltage from 300mV to 500mV (Due to some instability)
* Bug fixes
 
The following users thanked this post: Cliff Matthews

Offline dsc5555

  • Contributor
  • Posts: 11
  • Country: au
Re: RuiDeng Riden RD6006 DC power supply
« Reply #263 on: August 17, 2020, 11:49:47 am »
Great work on the custom firmware!

I have a couple of suggestions :) not deal breakers but maybe some future ideas for you..

1. In 7 seg mode would be neat if the "input" "vset" etc values looks also 7 segment.

2. I have always disliked the cycling between C, Ah,and Wh on the bottom right. Would be cool to either have a cycle mode or a temp only mode. As in normal mode i'm only interested in seeing the temp at a glance.

3. This might be complex.. Mem mode is a bit tedious, you need to remember what setting each of the Mx are to save you going through them all with the shift button. So my idea was if you press any of the M[0..9] briefly, a popup will appear with all the M[0..9] volt/current settings on the screen at the same time. They would also be positioned in a way that relate to the positions of the M buttons. Then when you find your desired mem setting, you simply "press and hold"your desired M button to set the voltage/current you see on the popup that relates to that button :)

Anyway, top work!!!!!

 

Offline Tepa76

  • Newbie
  • Posts: 2
  • Country: fi
Re: RuiDeng Riden RD6006 DC power supply
« Reply #264 on: August 17, 2020, 12:30:23 pm »
Very pleasant for custom fw

I would propose to add more safety for battery charger mode.
Especially pre-charging could be improved quite easy by adding,
  • Vpre
  • Vlpt
  • additional charge complete timeout may consider as well



Nice work  :-+
 

Offline myf

  • Regular Contributor
  • *
  • Posts: 65
  • Country: fr
Re: RuiDeng Riden RD6006 DC power supply
« Reply #265 on: August 17, 2020, 03:30:26 pm »
Hello everybody,

Might someone explain ?

On the one hand RD60xx seems to have a temperature control for battery charging and on the other RD60xx doesn't have any external temperature sensor.
I don't understand how this feature is useful for charging little AA-nimh, AAA-nimh, 18650-li-ion batteries ? Temperature sensor must be right around the battery.

For very large batteries (which I don't use) must I put the RD60xx unit very close the battery I am charging ?
When battery gets tou hot, then the RD60xx heats up and stops the charge ?

Have a nice day !

F.
 

Offline UniSoft

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: kz
Re: RuiDeng Riden RD6006 DC power supply
« Reply #266 on: August 18, 2020, 01:21:28 am »
On the one hand RD60xx seems to have a temperature control for battery charging and on the other RD60xx doesn't have any external temperature sensor.
There is an external temperature sensor.
But with the stock firmware it used only for display the temperature, nothing else!
 

Offline tppc

  • Regular Contributor
  • *
  • Posts: 119
  • Country: fr
Re: RuiDeng Riden RD6006 DC power supply
« Reply #267 on: August 27, 2020, 12:30:18 am »
Abour RD6006, You can see the results of my protocol reverse engineering here:
 https://github.com/msillano/RD6006-Super-power-supply
I am a little adjust the PDF, now it contains all registers.

Hello,
thanks for sharing your work.
There seems to be an error with the attachment, it is not a PDF file but the WIFI dump instead.
Is it possible to get the PDF with the Modbus registers list?

Thank you.
 

Offline UniSoft

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: kz
Re: RuiDeng Riden RD6006 DC power supply
« Reply #268 on: August 27, 2020, 07:33:00 am »
I am a little adjust the PDF, now it contains all registers.
There seems to be an error with the attachment, it is not a PDF file but the WIFI dump instead.
Is it possible to get the PDF with the Modbus registers list?
Re uploaded...
 
The following users thanked this post: Cliff Matthews, tppc

Offline tppc

  • Regular Contributor
  • *
  • Posts: 119
  • Country: fr
Re: RuiDeng Riden RD6006 DC power supply
« Reply #269 on: August 27, 2020, 09:45:09 am »
Hi there,

Now, it is the right file  :-+

Thank you very much!
 

Offline UniSoft

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: kz
Re: RuiDeng Riden RD6006 DC power supply
« Reply #270 on: August 27, 2020, 07:14:09 pm »
I tried to make power switch...
On taobao found this remote switch


Inside view...


Remove radio receiver, and unknown IC (RFE261DK) have no idea what is this, probably some MCU.
Add optocoupler...


Add option in firmware... (will be in the next release)


Made output on PA14 (it comes to SWD vias, so can easy solder resistor).
There will be high level when need to turn on primary PSU.


Also take 5V from this switch...
cut the track and put diodes


Can fit in original case
use double side sticker


Benefits: have a normal case, terminal block.
Disadvantages: very bad transformer, give not enough power to drive digital part + wifi, need at least 300mA.
But the idea itself is working!  :-+
https://youtu.be/3djuP3JJplg

Now waiting for another relay module, and will use another 12V small power supply + 5V converter
« Last Edit: August 27, 2020, 07:27:55 pm by UniSoft »
 
The following users thanked this post: thm_w, Cliff Matthews, serisman, ZeroVolts

Offline UniSoft

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: kz
Re: RuiDeng Riden RD6006 DC power supply
« Reply #271 on: August 28, 2020, 05:02:19 pm »
--- RD60062_V1.32.9.bin ---

+ Added option "Power State" (Power On, Power Off, LastState). Sets the state after power on (without a battery, LastState will not remember the last state).
+ Added option "Power Switch" to turn On/Off the primary PSU. (5V standby power supply required). (Note: Adds a 3 second power-on delay).
  The control output is routed to the PA14 port (pin 4 of the J2 connector). High level - turn on, floating or low level - turn off.
  Note: the maximum load on the port is 20mA !!! (it is better to use an optocoupler).
+ Added option "AutoPowerOff" to automatically turn off after a specified time if the output is disabled.
+ Added option Home:"Status Info" allows you to choose which parameter to display in the status bar (if you need something else, let me know).
+ Added option Home:"Mem Hint" If enabled, then pressing any number key will display a hint with the current settings in the corresponding memory cell for 1 sec,
   a second click during this time will apply these settings.
+ added new parameter "7-Seg v2" to option "Digits Style", where "input", "vset", etc. will also be 7-segment.
+ Added display of the system temperature to the caption.
+ Minor improvements
 
The following users thanked this post: thm_w, Cliff Matthews

Offline UniSoft

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: kz
Re: RuiDeng Riden RD6006 DC power supply
« Reply #272 on: August 28, 2020, 07:31:36 pm »
 

Offline izeman

  • Contributor
  • Posts: 10
  • Country: at
Re: RuiDeng Riden RD6006 DC power supply
« Reply #273 on: August 29, 2020, 07:11:19 am »
My first post in this community so first I'd like to ask if this is the right place to ask for help with this PS. I know there is a repair category as well, but not sure if the device needs repair at all or if it's just my fault using it wrong.

I didn't use it much yet, but lately charger a super small quadcopter battery. 4.35V HV and 0.1A for a slow charge. Maybe I connected the plug to the wrong ports while having the battery on the other end, but I can't imagine of anything else that went wrong.

And this is what happens now if I want to use it: I set voltage and current, power the unit one, and the voltage falls to nearly zero, or to the voltage of the connected battery, and no current runs. If I afterwards pull one of the leads/plugs voltage shoots up into the sky and slowly settles afterwards.

Any idea what may be wrong??!?!
Thanks a lot for your help, and it this the wrong thread please let me know and I'll try to move this post.


 

Offline UniSoft

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: kz
Re: RuiDeng Riden RD6006 DC power supply
« Reply #274 on: August 29, 2020, 08:11:07 am »
Any idea what may be wrong??!?!
It is a bad idea connect battery to direct output!
There is a special green connector with a battery pictogram.
First of all, check the fuse F1
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf