Author Topic: Youyue 858D+ some reverse engineering + custom firmware  (Read 402495 times)

0 Members and 2 Guests are viewing this topic.

Offline pigrew

  • Frequent Contributor
  • **
  • Posts: 680
  • Country: us
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #525 on: September 12, 2017, 04:54:14 pm »
Hello, folks. I have one of these with the main board marked "youde 858DV2++" and the microcontroller is a S3F94C4EZZ-DK94.

I've gone through the thread(s) here but I'm not clear if anyone has made an adapter for that chip yet.

Anyone in the know? Thanks.

I also unluckily ended up with this board. Has anyone reverse-engineered it? It seems even more cheap than the rest of the boards that have been discussed. It uses the a MCU marked as a S3F94C4EZZ-DK94, that does not say SAMSUNG.

Do the posted adapter boards work with this PCB? I'd really like to replace the firmware on it to prevent  overshoot.
« Last Edit: September 12, 2017, 05:23:48 pm by pigrew »
 

Offline stj

  • Super Contributor
  • ***
  • Posts: 2155
  • Country: gb
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #526 on: September 12, 2017, 05:39:43 pm »
try comparing it to these:

it's a good starting point.
 

Offline kPATm

  • Regular Contributor
  • *
  • Posts: 110
  • Country: gb
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #527 on: September 21, 2017, 07:06:38 am »
Been thinking of getting one of these. Am I correct in saying that the Youyue varient is the one to go for?

I understand that this thread was started some years ago is it possible the newer released units have no need for the custom FW or other alterations? Thanks
 

Offline stj

  • Super Contributor
  • ***
  • Posts: 2155
  • Country: gb
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #528 on: September 21, 2017, 02:45:18 pm »
get the cheapest you can, because there is no way of knowing what's in them.
 

Offline ncx94

  • Contributor
  • Posts: 12
  • Country: fr
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #529 on: October 06, 2017, 11:36:10 am »
Hi Guys,

First of all, thank you all for your great work on this little tool!

I bought one a few days ago, and it turned out to be an Hylko one... I had never heard about that one before...
Obviously, the chip is plain blank....
How can I know which one is it?
Attached is a picture of my main board..

thank you very much,

Nick
 

Offline stj

  • Super Contributor
  • ***
  • Posts: 2155
  • Country: gb
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #530 on: October 06, 2017, 12:20:50 pm »
that's the one i have,
i will be looking into it probably over the weekend.
 

Offline ncx94

  • Contributor
  • Posts: 12
  • Country: fr
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #531 on: October 06, 2017, 12:22:45 pm »
that's the one i have,
i will be looking into it probably over the weekend.

Thank you very much!
Please keep us updated :)
I'd be glad if i could mod it!

(also, if ever we find out it's a mk143XX... I might have ordered the boards before i even knew what was inside... so I'd be able to send you one without waiting for oshpark^^)

nick
 

Offline kPATm

  • Regular Contributor
  • *
  • Posts: 110
  • Country: gb
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #532 on: October 06, 2017, 11:45:34 pm »
I know its been mentione in the thread before but I cant seem to find it? Whats the easiest/cheapest way to flash the Atmega chips on compatible boards? Thanks
 

Offline seasalt

  • Newbie
  • Posts: 7
  • Country: id
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #533 on: October 07, 2017, 02:51:12 am »
Hi everyone,

in my first post let me thank you guys for share the result of all your work.

After read this forum I bought a Youyue 858D+ in Aliexpress.

I have checked the version of the motherboard; it is a 858D06.PCB 2016.09.29 with a MK1841D3 MCU.



I think that it is the same version that floobydust has.

As far as I know he was working in a new version of the adaptor board but I don't know if finally it is ready and works.

I would like to be able to continue his work but I'm to novice and I'm not able to do it. Hopefully I will be able to assemble one of your design.

Best regards.


Hi there which AliExpress seller you bought from? Link please.
 

Offline stj

  • Super Contributor
  • ***
  • Posts: 2155
  • Country: gb
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #534 on: October 07, 2017, 05:37:06 am »
I know its been mentione in the thread before but I cant seem to find it? Whats the easiest/cheapest way to flash the Atmega chips on compatible boards? Thanks

cheapest and also best way to flash any Atmel AVR series chip is with a USBasp like this:
http://www.ebay.co.uk/itm/272041588746

and AVRdude software.
http://www.nongnu.org/avrdude/
 

Offline kPATm

  • Regular Contributor
  • *
  • Posts: 110
  • Country: gb
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #535 on: October 07, 2017, 09:14:18 am »
Thanks. Would this kit work also?

http://www.ebay.co.uk/itm/400634965525
 

Offline stj

  • Super Contributor
  • ***
  • Posts: 2155
  • Country: gb
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #536 on: October 07, 2017, 10:07:09 am »
it's the same programmer, but your paying extra for a dev-board you cant use.
i have one of those and they are 40pin, the chip you need to program is 28pin.
 

Offline kPATm

  • Regular Contributor
  • *
  • Posts: 110
  • Country: gb
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #537 on: October 07, 2017, 12:08:25 pm »
Does the Atmega get programmed from the actual board its on in the 858d?
 

Offline stj

  • Super Contributor
  • ***
  • Posts: 2155
  • Country: gb
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #538 on: October 07, 2017, 12:40:56 pm »
that's up to you.
to program the chip you need 6 wires.
most people just put a header on the board so the chip does not need to be removed.
 

Offline kPATm

  • Regular Contributor
  • *
  • Posts: 110
  • Country: gb
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #539 on: October 07, 2017, 03:09:01 pm »
Is that Madworms board or is there something else?
 

Offline stj

  • Super Contributor
  • ***
  • Posts: 2155
  • Country: gb
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #540 on: October 07, 2017, 03:14:06 pm »
??
 

Offline kPATm

  • Regular Contributor
  • *
  • Posts: 110
  • Country: gb
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #541 on: October 07, 2017, 05:42:54 pm »
Sorry Im thinking that madworms PCB board had to be installed. Is that only for Samsung boards?
 

Offline stj

  • Super Contributor
  • ***
  • Posts: 2155
  • Country: gb
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #542 on: October 07, 2017, 06:11:22 pm »
i have no idea what boards have a header or space for one,
but soldering 6 wires under the chip socket is hardly difficult.  ;D
 

Offline seasalt

  • Newbie
  • Posts: 7
  • Country: id
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #543 on: October 08, 2017, 09:04:30 pm »
Hi Nick,

Just want to know, where did you buy that?

Hi Guys,

First of all, thank you all for your great work on this little tool!

I bought one a few days ago, and it turned out to be an Hylko one... I had never heard about that one before...
Obviously, the chip is plain blank....
How can I know which one is it?
Attached is a picture of my main board..

thank you very much,

Nick
 

Offline ncx94

  • Contributor
  • Posts: 12
  • Country: fr
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #544 on: October 09, 2017, 07:41:23 am »
Hi Nick,

Just want to know, where did you buy that?

Hi Guys,

First of all, thank you all for your great work on this little tool!

I bought one a few days ago, and it turned out to be an Hylko one... I had never heard about that one before...
Obviously, the chip is plain blank....
How can I know which one is it?
Attached is a picture of my main board..

thank you very much,

Nick

Hi,

I got it on ebay, from the uk :)
Pretty damn cheap but pretty un-modable at the moment XD
 

Offline kPATm

  • Regular Contributor
  • *
  • Posts: 110
  • Country: gb
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #545 on: October 09, 2017, 08:40:19 am »
Did you get a chance to look into your board stj?
 

Offline stj

  • Super Contributor
  • ***
  • Posts: 2155
  • Country: gb
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #546 on: October 09, 2017, 12:45:57 pm »
not yet, have to do some rversing and schem' drawing for something else first.
very soon though.
 

Offline flodo

  • Contributor
  • Posts: 41
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #547 on: October 10, 2017, 03:36:18 pm »
Since i had a hard time to read and understand the whole thread:
here is how it works for the...

UVISTAR 858D sold at Amazon.de

Supply Voltage: 230V
PCB-Version: 858D06 (Version 6, both sides are green and mainly SMD components)
Microcontroller: MK1840D3

  • Build or order the adapter PCB designed by GiantGnome/wgujbas
    This is necessary because madworms firmware is designed for the YouYue-Version, which uses an ATMEL micro controller.
    The one which is installed on the UVISTAR (MK1840D3) is something like a SAMSUNG clone.
    Both uC's aren't pin-compatible, hence we need an adapter. Furthermore, the YouYue-PCB-Version is reporting the fan speed to the micro controller, the ones with an SAMSUNG or MK184... uC are not, therefore we need to place additional components on the adapter (for reading out the fan speed, giantgnome and wgujbas are using simple voltage dividers to extrapolate from the FAN-Voltage - which is set by the potentiometer - to the FAN-Speed)


    Giantgnome postet his PCB here
    You can simply order a bunch of three pcb's for 5$ here (includes shipping worldwide!)

    The original but bulkier version of the adapter was designed by wgujbas for a Samsung uC here, afterwards he redesigned it to fit the MK1841D3, which is installed e.g. in the 858D from Kaleep here is the first picture, here you find the board-files (video showing it in action)

  • Buy the components in accord with the schematic
    You can find the needed parts here
    The schematic is here

    I ordered the following parts at Bürklin.de (in Germany):
    10uF:  1x 10D3030
    0.1uF: 4x 25D410 (maybe not the best choice, since it is electrolytic)
    100k:  1x 06E392 (maybe a little bit too small diameter, but works)
    10k:    4x 06E296 (maybe a little bit too small diameter, but works)
    Atmel: 1x 64S4010
    Pinheaders: ?

  • Install the components on the board according to the schematic above.
    WARNING: R3 in the schematic is confused with R2 on the Board and vice versa!
    This means that you have to place the 100k resistor at the pads labeled as "R2" on the board!

  • Upload the firmware by madworm using the ISP-pins
    You can find the original firmware by madworm here
    A modified (outdated) version for the SAMSUNG chip (doesn't fit the MK1840D3/MK1841D3 chip) can be found here

    If you want to modify the original firmware yourself, you can find some hints how to do that here.

    ALTERNATIVE:
    Download my latest modifications on madworms firmware here, I added a temperature gain correction value. You can simply edit this value (TGN) through the menu. For UVISTAR i recommend a value around 240. There is an already compiled firmware in /binaries - don't forget to set the fuses before uploading! My modifications are only tested by me and I'm still modifying the firmware from time to time - be cautious while using it.


    (ATMEL Studio - picture by wgujbas)

  • Install the adapter
    If you wonder in which direction the adapter is installed, you can find a picture here

    The FANSPEED wire goes to solder-point which you can see here

    You do not need to cut any traces!
    You do not need to drill any holes for the fanspeed-cable!


  • Calibrate
    ... todo ...


Thank you madworm, wgujbas, giantgnome and all the others!



P.S: I still have one PCB left, I am located in Germany. Anyone interested?
« Last Edit: October 17, 2017, 08:02:01 am by flodo »
 
The following users thanked this post: Level42, hansibull, mjongh, seasalt, stan23

Offline hansibull

  • Regular Contributor
  • *
  • Posts: 108
  • Country: no
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #548 on: October 13, 2017, 11:21:55 pm »
Quote
P.S: I still have one PCB left, I am located in Germany. Anyone interested?

I just received a Youyue 858D+ branded hot air station in the mail and it has the exact same PCB as yours (858D06, double-sided PCB with SMD components).
I'd really like to improve it by replacing the microcontroller, and I'm very interested in your last PCB. PM sent!  ;D
 

Offline flodo

  • Contributor
  • Posts: 41
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #549 on: October 15, 2017, 08:08:13 pm »
My 858D is not longer shutting down when I switch it off - what the heck?!
There is definitely no continuity on the N wire when i switch it off (the on/off switch is placed at the N wire in my case).
Any ideas how that is even possible?!

edit: Okay... looks like there is a connection between N and PE somewhere in the wand!
edit2: well... i'm glad that it burnt the upper part of the isolation - which is N i guess, i've survived xD





@hansibull: I replied

« Last Edit: October 16, 2017, 08:05:19 am by flodo »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf