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

0 Members and 1 Guest are viewing this topic.

Offline bianchifan

  • Regular Contributor
  • *
  • Posts: 57
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #125 on: April 21, 2015, 10: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 madworm

  • Frequent Contributor
  • **
  • Posts: 373
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #126 on: April 22, 2015, 12:38:48 am »
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: 58
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #127 on: April 22, 2015, 02:28:50 am »
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 madworm

  • Frequent Contributor
  • **
  • Posts: 373
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #128 on: April 22, 2015, 02:36:04 am »
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: 58
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #129 on: April 22, 2015, 03:22:01 am »
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 22, 2015, 03:53:18 am by littlebill »
 

Offline madworm

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

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

Offline madworm

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

Offline littlebill

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

how do i embed?
 

Offline madworm

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

 

Offline littlebill

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

Offline madworm

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

Offline littlebill

  • Regular Contributor
  • *
  • Posts: 58
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #136 on: April 22, 2015, 03:52:41 am »
that fixed it ty
 

Offline madworm

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

Offline Leonelf

  • Contributor
  • Posts: 20
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #138 on: May 03, 2015, 02:57:01 am »
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 madworm

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

Offline Leonelf

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

Offline madworm

  • Frequent Contributor
  • **
  • Posts: 373
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #141 on: May 03, 2015, 08:24:47 pm »
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: 20
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #142 on: May 04, 2015, 03:54:19 am »
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 04, 2015, 04:02:59 am by Leonelf »
 

Offline madworm

  • Frequent Contributor
  • **
  • Posts: 373
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #143 on: May 04, 2015, 04:30:58 am »
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: 20
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #144 on: May 04, 2015, 04:38:35 am »
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 07, 2015, 12:19:07 am by Leonelf »
 

Offline krivx

  • Frequent Contributor
  • **
  • Posts: 760
  • Country: ie
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #145 on: July 03, 2015, 01:57:36 am »
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 10, 2015, 05:54:26 am »
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, 09:06:46 pm »
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, 11: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, 03:52:14 pm by wguibas »
 

Offline krivx

  • Frequent Contributor
  • **
  • Posts: 760
  • Country: ie
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #149 on: October 20, 2015, 05:32:30 pm »
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