Hacking a Youyue-858d hot-air rework station

That would be a cool firmware mod! I mean hot.

I just received my YOUYUE 858D+ and the behaviour was a bit strange. After a bit of research on the net, I found this. Upgrade the firmware is the way to go!!

When I opened it i noticed that it comes with ATmega8 on a ver 6 (20140415). DO I need to change to a ATmega168 in order to use the custom firmware, or I just re-compile ? If a new micro processor ATmega168 (or atmega328 woudl have any advantage?) is needed, which model should I get ?

Thanks.

All I did was follow the instructions exactly. It took several resets to get it to start working. I forget which chip I used, I think it was the 168. If you use a different chip(328) you must make certain all of the pin registers are in the correct place. I decided to keep the old firmware on the old chip that way if something went wrong at least I could put the old chip back in. Yes, use a new chip(168) and keep the old one just in case. Be prepared for it to not work correctly right away. The eeprom needs to be internally loaded with operating parameters from the board itself. When you get ready to start it for the first time PM me. And start with the fan setting in mid position. Your board has the exact same date code as mine.

Mine had a ’168 chip on it. I just programmed the replacement firmware HEX file into a ’328 (I had them handy). I did not recompile it. It worked just fine. The ’328s that I had had the fuses set up for a crystal oscillator. I had to kludge up my programming adapter with a crystal in order to reprogram them to use the internal oscillator.

Can you say HVSP?

Yes, but ’328s can’t. You can only program them via ISP or a parallel programming mode that requires a bunch of wires. I have an STK500 that can do it, but way more trouble than cramming a crystal into the zif socket of the adapter.

You nailed that on the head for sure.

Is there anything I need to know before I start the process ? (except that start with the fan setting at middle) I will be using a ATMEGA168PA-PU

I forget what the correct fuse settings are. Are they in the notes? Flash it, install it. For some reason it will not work right away, don't get excited! Put the fan setting in the middle, 4.5, make sure it is in the cradle and turn it on. It may flash some info across the screen. Turn it off and do it again, after 4 to 8 on off sessions it will work. This is the correct sequence of stuff you see on the screen when you turn it on:

005

1.33

- - -

When you turn it on after it flashes those, if it starts flashing FAN, start over again and try turning the fan to 4 or 5.

PM me if you need more help. The important thing to remember is that when you turn it on make sure it is in the cradle and set the fan speed in the middle. Once you get the 3 dashes - - - your golden.

The fuse settings are in the notes, but it’s a little confusing right now… I’ve done only arduino, so I am not familiar with the fuse concept. A full command line for avrdude (i just instlled that using brew) would be of great great help… Nevermind. I found it inside the source code…

[Youyue-858D-plus/binaries at master · madworm/Youyue-858D-plus · GitHub]

I don't know if you tried to use it with the old firmware or not, I didn't. When it finally fired up and was working I was sooo happy, its an awesome machine.

I hope you like it!

If you talk about the original firmware, then yes, I did. After 5 min I decided to search on the internet if other people find that the functionality sucks and end up reading about this custom firmware. Without hesitation I opened it and checked if the version I have is supported. That’s when I saw that mine came with ATmega8.

I’m still waiting for the ISP programmer to arrive… But my hands are itchy…

lol! Your in for a HUGE treat!

Success!!
After some trouble uploading the firmware (mine is a atmega168p and there was some mismatch signature) and an initial scare (keep showing error “CrAdLE”) - I realised that the chip wasn’t properly pushes into the socket (!!!) - now it’s all good!. I’m on firmware ver 1.37

I might change the length of the ±10 temperature increment as it often jumps by 10 when I just want 1, but that easy…

Thanks for all the help!!!

Working: board ver 6 (20140415) with Atmega168p on ver 1.37

We’ve just updated the firmware to V1.41. Some changes under the hood.

New features:

  • support FAN-only mode (just cold air) by lowering the temperature setting below 50
  • no need to power-cycle anymore after “CrAdLE” error.

Provided binaries:

  • ATmega168
  • ATmega328P

Enjoy!

A useful option to add for the next release would be the ability to display temperatures in degrees F (a quaint little system of measurement used in some backwoods parts of the world)

Why unnecessarily prolong the agony :evil:

If we find the time, one of us might attack this pet-peeve.

Thank you so much for the continued development of the firmware for this device. I certainly appreciate it!!!

ver 1.41 working on ver 6 board (20140415) with ATmega168P

Thank you!

ver 1.41 seams to have a small bug. “FAN” setting doesn’t get saved. If you turn off the station on “FAN”, when turning it back on, the last setting before “FAN” becomes active.

Edit: I notices in the codes line 322 “// never save fan only (will also reset temp to default…” so it’s not a bug, but a choice… May I ask why?