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

0 Members and 6 Guests are viewing this topic.

Offline happydad

  • Contributor
  • Posts: 19
  • Country: us
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #350 on: July 22, 2016, 03:02:10 pm »
Thanks for the suggestions.  I have tried Robert's hex file version 1.45, and kept getting the 'fan spd' error.  I just noticed today that he has uploaded 1.46.  I tried that too, and got the 'cradle' error even though I removed the wand from the cradle.  Fan test worked as usual.
 

Offline madwormTopic starter

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #351 on: July 22, 2016, 03:56:26 pm »
1) You got the fan speed error because Your hardware mod doesn't output the required voltages (as described in the manual in great detail).

2) You get the cradle error, when you power up the device with the wand OUT of the cradle. A safety measure.

3) As you didn't see the "rSt" error with V1.46, we can now confirm that your device runs @ 8MHz (correct "CKDIV8" fuse setting).
 

Offline happydad

  • Contributor
  • Posts: 19
  • Country: us
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #352 on: July 22, 2016, 04:53:21 pm »
Thanks Robert.  I had a brain fart about the cradle error.  How does the cradle sensor work?  I guess the cradle has to be grounded?  I momentarily touched the cradle to the case, and things are now appearing to work fine.  Cannot quite get the time to do a full test since I will be going camping in the next few minutes.  But it sure looks promising now.  Sure would like to find out what was wrong with the AS7/Arduino translation.  Will try Gixy's fix when I can fine the time.  Thanks so much for version 1.46.  I must add that I verified required voltages with the mod with 1.45, and it still gave fan speed error.  But 1.46 works.
 

Offline madwormTopic starter

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #353 on: July 22, 2016, 05:16:54 pm »
The cradle sensor is a reed switch. There is a small magnet in the base.
 

Offline doctormord

  • Regular Contributor
  • *
  • Posts: 190
  • Country: cx
  • !nop
    • #fine_arts & #electronics - 360customs.de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #354 on: July 22, 2016, 07:22:53 pm »
The cradle must always be grounded/earthed for security reasons.
#fine_arts & #electronics  - www.360customs.de
 

Offline tto4ka

  • Newbie
  • Posts: 2
  • Country: ru
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #355 on: July 24, 2016, 04:02:19 pm »
I recently got a WEP 858D, which is a second brand for Yihua (the station has even a QR code to check the 'authenticity' (*), and in the 'certificate' they state that Yihua Electronics has two brands YIHUA and WEP).

It uses the Samsung chip S3F94CEEZZ-DK94, but the PCB seems a newer version than what wguibas showed in this picture (V5 vs V2).
Do you think the adapter board would work with it, or does it need to be further changed?



(*) the check seems to work so that if the web page linked to the unique 'security code' has been accessed more than once, it warns you of a possible fake (plus it reports the timestamp of the first access).
For this type of a board changes in the adapter are necessary, it is also necessary to change a firmware, control of the heater is realized on the contrary
 

Offline xnorbi

  • Newbie
  • Posts: 5
  • Country: hu
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #356 on: August 05, 2016, 07:46:38 am »
Hello,

I would like to buy one 858D Hot air rework station.  Can anyone recomend me type(wep, yihua, etc..) and/or seller from it have the most chance to be easy modifiable with custom firmware? I prefe the cheapest station of course. Thank you! 
« Last Edit: August 05, 2016, 07:54:13 am by xnorbi »
 

Offline xnorbi

  • Newbie
  • Posts: 5
  • Country: hu
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #357 on: August 08, 2016, 06:46:18 am »
Hello,

I would like to buy one 858D Hot air rework station.  Can anyone recomend me type(wep, yihua, etc..) and/or seller from it have the most chance to be easy modifiable with custom firmware? I prefe the cheapest station of course. Thank you!

I asked seller on ebay who selling WEP858 station ( http://www.ebay.co.uk/itm/220V-WEP858D-SMD-SMT-SOLDERING-REWORK-STATION-welder-HOT-AIR-858D-Sale-/151993774809?hash=item236388f2d9:g:DbQAAOSwGotWjcCH )

I get the following answer with attached picture:
"Dear customer,
Thank you so much for your interest on our prosuct!
The picture is attached.
And the type of the processor is samsung.
Have a nice day!
"

Its seems this is the almost same (v8 vs v5 or v2) board in the prveious post from tto4ka.

What do you mean on this:

it is also necessary to change a firmware, control of the heater is realized on the contrary

Can you describe it in detail? Thank you!
 

Offline tto4ka

  • Newbie
  • Posts: 2
  • Country: ru
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #358 on: August 13, 2016, 09:08:35 pm »
Here a PinOut for this PCB.
1 - GND
2 - LED 1 PD1
3 - LED 2 PD2
4 - null
5 - LED 3 (decimal point) PD4
6 - LED 4 PD5
7 - LED 5 PD6
8 - LED digit 1 PB0
9 - LED digit 2 PB7
10 - LED digi 3 PB6
11 - heater PB1
12 - button 2 PB5
13 - button1 PB2
14 - LED 8  PD0                                                                                         
15 - LED 6 5 PD3
16 - LED 9 13 PD7
17 - ADC temp sense PC0
18 - red switch PB4
19 - fan on of PC3
20 - Vcc

LED 9 5 PD3
LED 12 13 PD7

I can lay out approximate distributing of Adaptive PCB.

It is also necessary to change control of the heater in firmware on:
// THIS IS WHERE IT GETS DANGEROUS
// YOU CAN START A FIRE AND DO A LOT OF HARM WITH
// THE HEATER / TRIAC COMMANDS
#define TRIAC_ON ( PORTB |=  _BV(PB1) )
#define HEATER_ON TRIAC_ON
#define TRIAC_OFF ( PORTB &= ~_BV(PB1) )
#define HEATER_OFF TRIAC_OFF
 
The following users thanked this post: bitwelder

Offline robimarko

  • Regular Contributor
  • *
  • Posts: 53
  • Country: hr
  • High Shool electronics hobbyst
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #359 on: August 18, 2016, 06:36:16 pm »
Hi,does anybody know component size for Waynes MK1841D3 to Atmega 328 board?
Also Is there any good firmware for 230V version since I have Baku 858D for EU.

Thanks
 

Offline anman

  • Contributor
  • Posts: 31
  • Country: ca
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #360 on: August 21, 2016, 08:21:46 pm »
I was looking for Hot Air Station with MCU atmega. I found an interesting instance on

atmega8L - SR858D.

The first impression - the management fee is made in the form of complete SMD mounting, there is a connector for in-circuit programming J6.
http://g01.a.alicdn.com/kf/UT8zANMXUpaXXagOFbXs.jpg

Pinout terminals: 1-VCC, 2-MOSI, 3-SCK, 4-Rst, 5-MISO, 6-GND.
Features on the board "TGK SR858D 20150507A": TR1 - BTB12 600SW, Q1 - MJD122, U2 - MOC3041, U3 - 78M05, IC1 - LM358, Q2 Q6 - J3Y, Z2 - 431, LEDS - 4301BS (In datasheet analogue SM310401K).

Was atmega168 soldered and programmed binary file version 1.46.
Other hardware configurations changes I did not make.

1. When the station (hair in the cradle) - the indicator FAN - t5t.
Powered fan adjustment potentiometer leads to changes in speed, the display from 168 to 399. The heater does not work. Removing the hair dryer from the cradle, press the buttons one by one and long double do not make changes.

The same results are obtained if you turn the station with the pressure on the top button.

2. The fan is in the cradle. When the station and pressing the two buttons - the display 1.46> P - at the release buttons on the display 650 and further gradual increase to 990. The fan does not work and is not heated.
 When removing the fan from the cradle and pressing the lower button on the display value of 990 can be reduced to 010. The fan is not working.

3. When the station and the pressure on the lower button - the indicator 1.46, then     ( CrA-dLE-empty indicator ) repeated in a loop. The fan and heater did not work.
   When removing the fan from the cradle - the fan and the heater did not work.

   If you make a long press on the two buttons, regardless of whether the fan is in the
cradle or the fan removed from the cradle - is turned on the fan and heater !!!


   In this state, the temperature can be adjusted.

   When the pressure on the button at the bottom there is a temperature decrease of up to 40 degrees, fan and heater will not turn off.
   When the pressure on the top button, the temperature drop to 40 degrees and turn off the fan and heater. If you release the top button, then turn on again and the heater fan. The temperature rises to its former value.

   When placing the fan in the cradle and the reed switch is triggered.
In this state, there is an increase in temperature to 500 degrees.
   Stop if the temperature rise can release the fan from the cradle.

  Help respected community in debugging hardware and firmware modifications.
« Last Edit: September 06, 2017, 11:59:25 am by anman »
 

Offline anman

  • Contributor
  • Posts: 31
  • Country: ca
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #361 on: August 21, 2016, 09:30:45 pm »
Additionally, I attach the fan image disassembled from the housing station SR858D.
Added video station SR858D mode on firmware 1.46.

https://youtu.be/2k1CYtB1jqo

P.S  I want to thank the author of the firmware, the station SR858D brilliantly keeps the set temperature.
« Last Edit: August 22, 2016, 12:44:12 pm by anman »
 

Offline madwormTopic starter

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #362 on: August 23, 2016, 03:59:18 pm »
Try this. I've swapped the pins for up-button and reed-switch. PB4 <--> PB5.

 
The following users thanked this post: darkfox

Offline anman

  • Contributor
  • Posts: 31
  • Country: ca
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #363 on: August 24, 2016, 09:54:11 am »
Thank you Robert!
Now everything fell into place. modes SR858D station management is determined to a single standard.

Now, the station claims to be the "hit of the season", thanks to the new firmware   :-DD.

P.S. Special nuances of station modes are shown in the video, It will be added later.
 

Offline madwormTopic starter

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #364 on: August 24, 2016, 10:19:17 am »
Great! Looking forward to the video.
 

Offline anman

  • Contributor
  • Posts: 31
  • Country: ca
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #365 on: August 29, 2016, 02:25:58 pm »
Work stations SR858D with modified firmware 2016-08-23__commit-e3c28c9__ATmega168-8MHz-RC-osc__FUSES-0xE2-0xDD-0xFD__V1.46-WDT_TGK-SR858D.hex
Hardware

Change hardware - only the replacement of atmega168.

https://youtu.be/-4sgWdcNG1M
 

Offline gbomacfly

  • Newbie
  • Posts: 1
  • Country: de
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #366 on: September 04, 2016, 06:21:03 pm »
Hello there,

is there any chance to get one of these pcb?
And if, what will it cost to ship it to Germany?
I could pay in advance with paypal if this is ok for you?
 

Offline anman

  • Contributor
  • Posts: 31
  • Country: ca
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #367 on: September 05, 2016, 12:44:20 pm »
Hello there,

is there any chance to get one of these pcb?
And if, what will it cost to ship it to Germany?
I could pay in advance with paypal if this is ok for you?

https://oshpark.com/profiles/madworm
 
The following users thanked this post: gbomacfly

Offline anman

  • Contributor
  • Posts: 31
  • Country: ca
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #368 on: September 06, 2016, 03:02:18 pm »
Try this. I've swapped the pins for up-button and reed-switch. PB4 <--> PB5.

Robert, please add Version atmega328 MCU.

Thank you, I've compiled.

« Last Edit: September 22, 2016, 04:14:18 pm by anman »
 

Offline felixe

  • Newbie
  • Posts: 1
  • Country: se
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #369 on: September 06, 2016, 11:04:16 pm »
Anyone have an adapter PCB (w/ components preferred) for the MK1841D3 version to sell me? Also is there any functioning firmware for this with 220V?
 

Offline anman

  • Contributor
  • Posts: 31
  • Country: ca
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #370 on: September 09, 2016, 06:18:23 am »
I compiled firmware and get the error

youyue858d.ino: In function ‘void eep_save(CPARAM*)’:
youyue858d.ino:581:9: error: ‘class EEPROMClass’ has no member named ‘update’
youyue858d.ino:582:9: error: ‘class EEPROMClass’ has no member named ‘update’

I answer myself, and it may be useful to others, it corrected version 1.6.2 arduino and higher
« Last Edit: September 11, 2016, 07:27:05 pm by anman »
 

Offline LeWidget

  • Regular Contributor
  • *
  • Posts: 122
  • Country: au
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #371 on: September 15, 2016, 04:45:11 am »
Hey guys, sorry to jump in, but it looks like you guys know your stuff about the hot air stations.

I have a WEP 862D+ 2-in-1 station and the hot air has borked itself. Looks like it might be the heating element.. but was considering replacing the handle.. though its $30..

Just wondering, I've opened up the hot air handle and the PCB inside says YH858-2 ...



From that I'm thinking its a handle from the 858 hot air station and that a replacement for the 858 would work?

I'm not sure on the power requirements / layout from the handle > the PCB.. whether it'll be a straight swap or there's power differences  .. I did see YH862DV3 printed on the main PCB inside the case.. but cant find a schematic to view power input/output etc..

Thoughts ?
 

Offline anman

  • Contributor
  • Posts: 31
  • Country: ca
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #372 on: September 22, 2016, 03:56:07 pm »
« Last Edit: September 22, 2016, 04:11:04 pm by anman »
 

Offline jaaa1976

  • Contributor
  • Posts: 20
  • Country: gb
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #373 on: September 24, 2016, 10:33:13 am »
I am looking for Youyue 858D+  with MCU atmega ..can somebody send link ..because new  Youyue 858D+ stations dont have MCU atmega

for example buyer feedback left on ali express ..Fast delivery. goods reached 19 days. test the functionality. inside mcu MK1841D3.

it mean..if i buy from https://www.aliexpress.com/?spm=2114.10010108.1000002.1.haLDAr  i will receive with mcu MK1841D3
 

Offline anman

  • Contributor
  • Posts: 31
  • Country: ca
Re: Youyue 858D+ some reverse engineering + custom firmware
« Reply #374 on: September 24, 2016, 02:14:36 pm »
I am looking for Youyue 858D+  with MCU atmega ..can somebody send link ..because new  Youyue 858D+ stations dont have MCU atmega
......... i will receive with mcu MK1841D3

A successful example ... also I have been looking

I was looking for Hot Air Station with MCU atmega. I found an interesting instance on
atmega8L - SR858D.
....
 there is a connector for in-circuit programming J6.
« Last Edit: September 06, 2017, 12:02:28 pm by anman »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf