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

0 Members and 4 Guests are viewing this topic.

Offline bianchifan

  • Regular Contributor
  • *
  • Posts: 94
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #125 on: April 21, 2015, 12:58:34 pm »
the current-sense mod per se is not really helpful, as you've found out. The current consumption of the BLDC fan doesn't vary significantly enough to be useful (indicate stall).
I do think so, too.

It could be that the on-board RC-oscillator is a bit wonky in your chips, meaning it runs quite a bit too slow.
Hmm.. maybe I'll solder back the crystal..
As I told above, sometimes the station starts more than once, even without current mod.
FW Display, FAN on, off, FW display, FAN on, off.., "- - -" and running.

Nevertheless I did a little change to the Fan_test function for more comfort.
So no need any more for turning the switch always on and off.

 

Offline madwormTopic starter

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #126 on: April 21, 2015, 02:38:48 pm »
If the chip resets multiple times, I suggest looking at

a) power supply: stable 5V?
b) enough decoupling capacitors?

That definitely sounds like a very unhappy AVR.
 

Offline littlebill

  • Regular Contributor
  • *
  • Posts: 70
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #127 on: April 21, 2015, 04:28:50 pm »
my unit came in today,

i wonder if they redid the programming, mine seems to show the actual temperature and seems to have zero overshoot,

mine actually seems to work very similar to your modification, i will post a video of it running when i get a minute


My hardware:
Youyue 858D+
PCB ver 6.0    20140415
 

Offline madwormTopic starter

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #128 on: April 21, 2015, 04:36:04 pm »
That should be interesting!

A bit of caution though. Only because it doesn't display overshoot doesn't mean there isn't any >:D

Or have you actually measured temperature at the nozzle?
 

Offline littlebill

  • Regular Contributor
  • *
  • Posts: 70
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #129 on: April 21, 2015, 05:22:01 pm »
i was watching the blinking . which indicates more so then the temperature number that said, i redid the video and used a temp prob best i could by myself, let me know what you think,

for me i honestly think its fine.



whats the trick to imbed the youtube video here?
« Last Edit: April 21, 2015, 05:53:18 pm by littlebill »
 

Offline madwormTopic starter

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #130 on: April 21, 2015, 05:43:47 pm »
Your video contains some sort of music... it is blocked here.

Now I have to use the proxy plugin again...
 

Offline madwormTopic starter

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #131 on: April 21, 2015, 05:47:34 pm »
It runs quite a bit hotter than "advertised", doesn't it?
 

Offline littlebill

  • Regular Contributor
  • *
  • Posts: 70
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #132 on: April 21, 2015, 05:47:56 pm »
sorry, didn't even realize it was on

how do i embed?
 

Offline madwormTopic starter

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #133 on: April 21, 2015, 05:48:45 pm »
I think you just paste the link.

 

Offline littlebill

  • Regular Contributor
  • *
  • Posts: 70
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #134 on: April 21, 2015, 05:49:23 pm »
not showing up like yours, mine just shows the url
 

Offline madwormTopic starter

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #135 on: April 21, 2015, 05:50:26 pm »
It doesn't like "https"
 

Offline littlebill

  • Regular Contributor
  • *
  • Posts: 70
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #136 on: April 21, 2015, 05:52:41 pm »
that fixed it ty
 

Offline madwormTopic starter

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #137 on: April 21, 2015, 05:53:36 pm »
Code: [Select]
https://www.youtube.com/watch?v=zZj_Dv1Q3IM
 

Offline Leonelf

  • Contributor
  • Posts: 22
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #138 on: May 02, 2015, 04:57:01 pm »
I flashed your firmware on an ATMega328, but the thing just stays in this "FANSpd" mode. turning the dial for the airspeed doesnt do anything :(
 

Offline madwormTopic starter

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #139 on: May 02, 2015, 07:03:32 pm »
Did you read the manual?
 

Offline Leonelf

  • Contributor
  • Posts: 22
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #140 on: May 03, 2015, 09:05:03 am »
the stations' manual just says that the knob exists to adjust temperature.
 

Offline madwormTopic starter

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #141 on: May 03, 2015, 10:24:47 am »
What are you talking about? There are NO knobs for temperature adjustment.

Knob --> fanspeed
buttons --> temperature + options

It appears to me you've got a completely different device.

And by 'manual' I meant the one I wrote for the custom firmware. Before you complain, please RTFM!
 

Offline Leonelf

  • Contributor
  • Posts: 22
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #142 on: May 03, 2015, 05:54:19 pm »
sry, was tired and misspelled^^
It *should* control the fanspeed, but doesnt (at least w/ your firmware). but I read the intro post (and saw the fanspeed circuit), so I assume my device is just damaged inside or so, since the fanspeed should be adjustable independently from the firmware.
I've read the readme and saw that "FANSpd" means that it's out of range, but turning the knob didn't do anything.
I'll open the thing up and look for the board rev. anyways^^

EDIT: Datecode is 20140415 which was confirmed to work by "Aric" in the comments of your ino file, so I assume my unit is semi-dead...
« Last Edit: May 03, 2015, 06:02:59 pm by Leonelf »
 

Offline madwormTopic starter

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #143 on: May 03, 2015, 06:30:58 pm »
If the fan doesn't ever spin or the fan speed doesn't change at all when turning the knob, check the potentiometer!

The type used in the device is shall we say not the most reliable design. I've had to replace the one in mine, the wiper didn't make proper contact with the resistive element anymore and it behaved quite erratic. I was lucky and found the exact type on ebay.
 

Offline Leonelf

  • Contributor
  • Posts: 22
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #144 on: May 03, 2015, 06:38:35 pm »
turning the poti changes the resistance (measured it), so I assume some rest of the circuit is improper... I saw an empty transistor footprint w/ tin filled holes

EDIT:
Got a new unit from the seller on amazon (replacement). Now your firmware works. I assume the old unit was defective. Love your firmware!
« Last Edit: May 06, 2015, 02:19:07 pm by Leonelf »
 

Offline krivx

  • Frequent Contributor
  • **
  • Posts: 765
  • Country: ie
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #145 on: July 02, 2015, 03:57:36 pm »
Has anyone looked at modifying this firmware for use on non-Atmega boards, like the S3F94C4 in the Yihua? The pinout is not exactly the same but could an Atmega with altered firmware be implanted?
 

Offline moemoe

  • Regular Contributor
  • *
  • Posts: 105
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #146 on: July 09, 2015, 07:54:26 pm »
https://github.com/maugsburger/
Breadboard Adapters featured in EEVBlog #573 on Tindie
 

Offline ljkenny

  • Newbie
  • Posts: 1
  • Country: gb
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #147 on: September 30, 2015, 11:06:46 am »
I just bought a YouYue 858d+ from HERE, but a UYue turned up instead.



Inside it looks like brainwash's, but the 2014 version, rather than the 2011 one shown in his pictures.

@brainwash: Did you ever get round to reverse engineering it?

I saw the pinouts you traced, but did you ever get round to re-purposing/re-flashing the device?
 

Offline wguibas

  • Supporter
  • ****
  • Posts: 125
  • Country: us
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #148 on: October 20, 2015, 12:52:36 am »
Made a board to adapt the samsung 20 pin chip to the atmega328P.  I had to cut 2 traces on the board because the digits and the up/down buttons share 2 pins on the samsung.  The gray and yellow wires connect the atmel to the digits and they are working.  The rest of the functions seem to work also, fan speed, cradle sense and temp sense and buttons. This original board is pretty lousy, there are about 6 or seven resistors that don't match the silkscreen value marked with a line next to them.  I wonder if I should change them.  I also have to adjust the overshoot.
 
« Last Edit: October 20, 2015, 04:52:14 am by wguibas »
 

Offline krivx

  • Frequent Contributor
  • **
  • Posts: 765
  • Country: ie
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #149 on: October 20, 2015, 06:32:30 am »
Made a board to adapt the samsung 20 pin chip to the atmega328P.  I had to cut 2 traces on the board because the digits and the up/down buttons share 2 pins on the samsung.  The gray and yellow wires connect the atmel to the digits and they are working.  The rest of the functions seem to work also, fan speed, cradle sense and temp sense and buttons. This original board is pretty lousy, there are about 6 or seven resistors that don't match the silkscreen value marked with a line next to them.  I wonder if I should change them.  I also have to adjust the overshoot.
 


Care to share the files?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf