Close
0%
0%

T962A Controller with 5"/7" Touch TFT (*STM32*)

T962A Controller Drop-In (using *STM32H7*)

This is a drop-in replacement controller board for the T962A reflow oven, using the STM32H7

Similar projects worth following
STM32H7 CPU @400Mhz, 2MB on-chip flash

5.0" 800x480 Capactive-touch TFT display
(optional 7.0" 800x480 Capactivie-touch TFT)

64MB external SDRAM (LCD frame buffers, etc)

4 Max31855 on-board TC Sensors (K-type)

MicroSD socket for FatFS MicroSD (storing images, profiles, etc)

MAXIMUM profile lengths of 30 minutes

Hand draw full 30 minute profiles

Load and Save profiles to/from MicroSD card

built-in CPU temp for CPU fan control

PWM control of CPU fan (6Khz PWm)

120VAC Phase-cut control of COOLING FAN for true speed control
(via 8-bit cpu DAC and FL5160 AC Phase controller)

PWM control of heater/SSR (10Hz PWM)

USB & RS232 on-board interfaces

5v & 3.3v switching power supplies

Unused STM32 I/O pins brought out to debug pads

** board is fully grounded and can be screwed/grounded directly to oven case **

** AC is fused on board for short protection, etc **

** USB & RS232 Not yet coded up in software **

Finally, I marked this project as COMPLETE!!

I've finished and verified the latest 3.5 board is working, and the wifi add-on works, jumpers and header work for flashing, etc.  At this point there will be NO more hardware updates, the PCB design is complete.

From this point moving forward, all updates will be SOFTWARE ONLY  :)

I hope to have a v1.1.0 release within the next month or so, which will have initial wifi setup included, NO actual wifi usage with the oven, only the setup GUI that will allow you to configure and connect to your wifi, display the connection info, etc..

Also in the coming weeks I will enhance and finalize the build instructions, installation instructions, etc (adding the info for the 7.0" resistor changes for the backlight power), and also start working on a USER'S GUIDE, which will have photos and explanations of all the menus, sub-menus, etc.

*** FYI ***

This board is only $30 or so to make from JLCPCB, I highly suggest ordering from there or somewhere similar.. 

I had my last two version done from them, and they were awesome, zero issues.

(I only have the link to oshpark because you can share projects from there, but I do NOT recommend using them, as this board is $200 from them)

** All documents, source code, files, etc are all in one location, in the GITHUB repo linked from this project page **

PCB gerbers, etc are in the github repo, as well as you can download them from the oshpark link.

T962A_Controller_V3.5_Schematic.jpg

version 3.5 schematic (jpg format) *** Added NOTES for proper backlight setup for 5.0" & 7.0" LCDs ***

JPEG Image - 4.64 MB - 10/05/2019 at 21:58

Preview
Download

T962A_TFT_User_Guide.pdf

Current user guide (not yet complete), keeping it up here as well on github, so anyone wanting a quick glance can open this up for reference...

Adobe Portable Document Format - 5.74 MB - 09/08/2019 at 13:05

Preview
Download

top_1.jpg

Photo of assembled board, top... showing finished board (note: a few capacitors were left off when photo was taken)

JPEG Image - 1.42 MB - 08/08/2019 at 23:03

Preview
Download

bottom_1.jpg

Photo of assembled board, bottom... showing installed 'esp32' wifi module..

JPEG Image - 1.17 MB - 08/08/2019 at 23:02

Preview
Download

BOARD_PIC2.jpg

2nd Pic of PCB installed in oven

JPEG Image - 3.20 MB - 05/28/2019 at 11:29

Preview
Download

View all 6 files

  • 06/05/2021

    PhillyFlyers06/05/2021 at 14:14 1 comment

    Hi All,

    Not sure if anyone at all has even tried to make this project, or done any variant of this to add a TFT to their reflow oven?


    I've been distracted with my other hobbies (R/C aircraft!)... but I've finally gotten back to finishing up my EE lab, which brought me back to needing to use my oven again :)


    ewWin/embedded graphics continue to improve and get easier to do, my biggest complaint about this project in it's current status, is I'm a terrible graphics designer :)   My GUIs in their current shape are 'ok', but definitely not pretty or make you go 'wow'..

    I'm going to try and take another stab at this, using all the latest ewWin tools and see what I can do, plus I never did finish up the WiFi code, and implementing a 'wifi' firmware update feature.. really need to do that...

  • 02/21/2020

    PhillyFlyers02/21/2020 at 12:17 0 comments

    Been a while since I worked on this!   Took some time off to work on some other things, so I'm finally coming back to this.  I did work on the WiFi setup code, etc a couple months ago, but just didn't have a chance to test it out and debug it up.

    Now that I'm coming back to this I'll finish up the WiFi code, and start looking at adding the capability to upgrade the software over the WiFi.  This may be quite tricky, so I'll see shortly if it's do-able or too insane to work out...

    I would like to eventually have a windows app that would allow a remote/RDP type capability, utilizing the WiFi, so you can essentially control your oven remotely over the wifi link, that would be awesome, and was a main part of the reason I wanted wifi in the first place.... 

    Maybe I can get lucky and find a developer that makes nice pretty windows GUIs to help out with this!  :)   I can make ok windows Apps, but I"m certainly not the best at it...

  • 10/14/2019

    PhillyFlyers10/14/2019 at 22:47 0 comments

    Updated the software to version 1.2.0, enhancing the manual 'draw' function a bit to have the touch interrupts and draw functions run out of ram to speed up execution a little.  (not too much improvement there yet since the gui library STemWIN still runs out of flash).

    Also cleaned up some more bugs and cleaned up some menu item things, etc.

    Now that things seem more stable, will focus on the WiFi code, as I got sidetracked looking for and fixing any remaining bugs.  I would like to add the capability to flash the firmware over the wifi connection, so I"ll be looking into this as well while working on the WiFi stuff.

  • 09/03/2019

    PhillyFlyers09/03/2019 at 23:43 0 comments

    Cleaned up this project page, and removed all redundant files that are already included in the main github repo (software link for this project)..

    software verson 1.1.0 will be posted tomorrow, contains a bunch of cleanup items, bug fixes, and the initial Wifi setup page, it's non-functional except for the enable/disable of the wifi module...

    (hopefully working WiFi setup will be in a 1.2.0 release in the next month or so )

  • 08/18/2019

    PhillyFlyers08/18/2019 at 23:55 0 comments

    Added an initial 'USER GUIDE', it's far from being complete, but wanted to get something going so you all can get a better idea of what these menus look like, etc.


    I currently don't have any easy way to export the actual screen contents from the board to my debug PC, so I can show the screens without having to take pictures of them with my phone camera!  but for now it is good enough.... they do look much nicer on the screen then these camera phone pictures show :)

  • 08/08/2019

    PhillyFlyers08/08/2019 at 23:08 0 comments

    Finally, I marked this project as COMPLETE!!


    I've finished and verified the latest 3.5 board is working, and the wifi add-on works, jumpers and header work for flashing, etc.  At this point there will be NO more hardware updates, the PCB design is complete.

    From this point moving forward, all updates will be SOFTWARE ONLY  :)

    I hope to have a v1.1.0 release within the next month or so, which will have initial wifi setup included, NO actual wifi usage with the oven, only the setup GUI that will allow you to configure and connect to your wifi, display the connection info, etc..

    Also in the coming weeks I will enhance and finalize the build instructions, installation instructions, etc (adding the info for the 7.0" resistor changes for the backlight power), and also start working on a USER'S GUIDE, which will have photos and explanations of all the menus, sub-menus, etc.

  • 08/01/2019

    PhillyFlyers08/01/2019 at 23:40 0 comments

    Received the rev3.5 board from the fab, working on populating it now, will finish it up this weekend, and will verify that the added updates for the ESP32 wi-fi board work, and it can be flashed, comms, work, etc.


    Once I verify that the esp32 board works, and everything else works as it all should, I will then post the update and will get back to working on the wifi menus, etc..

  • 07/22/2019

    PhillyFlyers07/22/2019 at 10:29 0 comments

    Alright, got the WiFi module added into the design, wired one up to my current board, and got it working, using a free GPIO pin to control the enable of the module, so we can have a checkbox in the settings GUI to enable/disable the entire module.


    Pretty sweet being able to do wifi and/or bluetooth, using a $3.80 part.

    https://www.digikey.com/product-detail/en/espressif-systems/ESP32-WROOM-32D/1904-1023-1-ND/9381732

    First thing I'm going to get working for this, is to have the wifi settings page working with the module, so you can set your personal wifi settings, so the module can talk to your access point.. also allowing custom settings of IP or use DHCP.

  • 07/15/2019

    PhillyFlyers07/15/2019 at 23:38 0 comments

    Wow, this is awesome:

    https://www.digikey.com/product-detail/en/ESP-WROOM-02/1904-1009-1-ND/8544304/?itemSeq=298085688


    Actually, probably going to use this one, as it has WI-FI & BLUETOOTH..

    https://www.digikey.com/product-detail/en/espressif-systems/ESP32-WROOM-32D/1904-1023-1-ND/9381732

    (and it's only $3.80, vs. $2.70 for the wi-fi only one)

    I wanted from early on to have a simple way to do Ethernet/Wi-fi on this thing, but didn't have enough pins on the STM32 to use their built-in lan interface, but with an all-in-one wifi module, I can add this on without having to do any TCP/IP crap, as it's all built into the module..


    I'll look at seeing how easy it is to add this on as a cable-up connection to the UART2 header already on the current PCB, as well as seeing if it's easy enough to add this footprint to the bottom side of the PCB and possibly do another PCB update..


    we shall see, but the reason I really want network of some kind, is at least to do:

    1) network monitoring of real-time reflow, etc

    2) Software upgrades over the network, so you don't need to open up the oven at all!

    And for $2.70!!!   that is insanely cheap..

  • 07/14/2019

    PhillyFlyers07/14/2019 at 18:22 0 comments

    Working on two documents currently, to help installation and a user's guide... so hopefully this week I will add these two docs (here as well as in the github repo)

    1) Installation Guide

    2) Users Guide

    I will have pictures of all the GUIs/Menus, and some explanation of each, so you can better understand how it all works, and how to navigate around, etc..

View all 31 project logs

Enjoy this project?

Share

Discussions

PhillyFlyers wrote 12/11/2019 at 15:35 point

FYI:  For anyone that would like to build this board, but is not comfortable hand-soldering themselves, you can also consider these options:

1) check out JLCPCB.com, they do board assembly as well as fab 

(but maybe not reasonable cost if only doing a single board?)

2)  USE your own oven!   it still works quite well with the original OEM controller board to do what you need!

You can use 'OshStencil' to make solder-paste stencils for this board, I'd recommend just making individual stencils for the 'STM32' processor and the two LCD connectors, not the entire board.

I've done a 388-pin BGA with a stencil and solder paste, with this oven!  It's as simple as lining up the stencil on the empty board with the copper footprint, and rubbing the solder paste over the stencil until a uniform layer of paste is down, then gently lift up the stencil..

If it deposited cleanly, carefully drop your chip onto the paste as it should be aligned..

Run the board in the oven with a decent profile, and the chip should come out soldered up... of course with this small profile chip, solder bridges can quite easily happen... you can always clean it up with some good wick and extra flux!

Best recommendation I can give is watch youtube videos of doing solder paste and stencils!  and they are super cheap from OshStencil. 

  Are you sure? yes | no

phil wrote 12/01/2019 at 22:29 point

wonderfull job  !

does anybody can provide a fully assembled PCB ?

don't have the time to build it myself and really want to update my T-962A !

thanks guys

  Are you sure? yes | no

PhillyFlyers wrote 12/08/2019 at 18:07 point

Hi, wish I had the time to do jus that, but with family and kids just can't find enough time for that :)

Although, JLCPCB (jlcpcb.com) offers SMT assembly service, as I highly recommend using them anyways for making boards (only about $30 or so for this board).

I would check them out for assembling your board as well, or at least minimally having them solder on:

1) STM32 processor

2) the 2 LCD connectors

as these 3 components are by far the most difficult components to solder in this design, rest are fairly easy

  Are you sure? yes | no

phil wrote 12/08/2019 at 18:57 point

hi, same for me, job and family take more than 24H/day !

i know JLCPB, they do great works but without a minimal order of boards, it will be surely expensive... let us know ?

regards

  Are you sure? yes | no

Nicolas Chaslot wrote 08/14/2019 at 14:31 point

Awesome work! Can't wait to upgrade my oven to all the new tech :)

  Are you sure? yes | no

Nicolas Chaslot wrote 08/02/2019 at 13:15 point

That was quick! That thing is getting more and more awesome!

  Are you sure? yes | no

Sam wrote 07/11/2019 at 13:09 point

Good day You mentioned that you posted the sources and binaries, but for some reason I cannot find them.  Can someone provide a link?

Cheers.

  Are you sure? yes | no

PhillyFlyers wrote 07/12/2019 at 14:41 point

It's on the left-hand side when viewing the project, where the links to the PCB are, the SEGGER embedded studio, etc....

it's labeled as 'T962A Controller - Software'


i.e. this is the github repo:

https://github.com/MikePhillyFlyers/T962A_Controller_TFT

  Are you sure? yes | no

Nicolas Chaslot wrote 06/05/2019 at 17:03 point

Good to see all the work done here!
I have received the boards, still have to order the components. From a first "external quick fit" i think it should more or less fit in the T962 oven too. I'll try to open my oven and throw it in to see more precisely where it (if it)  hits :)

  Are you sure? yes | no

Nicolas Chaslot wrote 05/28/2019 at 20:08 point

Awesome thank you for the hard work!

I'll order the parts as soon as I get the boards from china! I will also be able to confirm the fit in the T962 oven as i have the small one :)

Did you do some reflow testing yet?

  Are you sure? yes | no

PhillyFlyers wrote 05/29/2019 at 09:24 point

Still working on the code/GUI, little by little getting all the menus tied together...plus I added an 'ini' parser code in, so I could put a 'config.ini' onto the microsd as well, this is what stores configuration stuff...ie LCD brightness, sensor enables, etc...

Hopefully in the next week or two I'll get to that point where I work on enabling the reflow, but I'm still working on the menus for the profiles, reading/writing profiles to the microsd, etc....

  Are you sure? yes | no

Nicolas Chaslot wrote 05/16/2019 at 08:08 point

Good Job!
I've had a look at the gerbers, it looks awesome! I just wanted to  know, did you confirm the fit on the T962 oven?

I'll order 5pcbs in china now (17$ for all of them) so if anyone needs one... :)

nick

  Are you sure? yes | no

PhillyFlyers wrote 05/16/2019 at 09:31 point

Holy crap, $17?  What place did you order from?  that is insanely cheap, I can't believe the prices I pay on OshPark sometimes :)

I don't have a T962, I only have the T962A... someone recently on my other Pic32 project had mention that board would not fit in the T962, so I really doubt this one would either..

  Are you sure? yes | no

Nicolas Chaslot wrote 05/16/2019 at 09:40 point

I quoted for that price on JLCPCB in china. 16,XX for 5 pieces.

Ok. I'll figure out a way to make it work then haha

  Are you sure? yes | no

[deleted]

[this comment has been deleted]

Jarrett wrote 05/15/2019 at 02:29 point

You should post these as project logs :)

Makes it easier to follow

  Are you sure? yes | no

PhillyFlyers wrote 05/15/2019 at 20:57 point

Great Idea!  did not even notice that was there!  I moved all these updates into logs, going to try and clean these comments up..

  Are you sure? yes | no

[deleted]

[this comment has been deleted]

Nicolas Chaslot wrote 05/05/2019 at 09:50 point

Awesome!

Definitely not cheap but if that can make that little oven a little bit more suitable for work that's worth it!

  Are you sure? yes | no

[deleted]

[this comment has been deleted]

Nicolas Chaslot wrote 04/16/2019 at 08:12 point

Great news!
If hardware is validated i'll order and build it then :)

  Are you sure? yes | no

PhillyFlyers wrote 03/11/2019 at 00:48 point

...moved to project log...

  Are you sure? yes | no

Nicolas Chaslot wrote 03/22/2019 at 10:32 point

Awesome work as always!

Maybe the sd card could store the reflow profiles and user parameters too?

  Are you sure? yes | no

PhillyFlyers wrote 03/22/2019 at 14:05 point

Yes indeed, I was thinking this would be the way to go once things settle in, as we'll have almost endless space on a microSD card..


So I got the microSD card all working, just hacked up a socket on my current test board, since my newly spun board is showing up today (with the socket actually part of the board design :)

That was fun trying to figure out all the public microSD card code, using chan's FatFS lib (which is freakin bad-ass)... So got it all going, nice and clean running the SPI interface to it at 10Mhz using a 32gb microSD..

So once I start populating the new board this weekend, I'll test out that everything is up and working, and I didn't forget any of the many cuts/jumps I had to add to my current board.. lol... plus keeping my fingers crossed the SRAM works... in that case I can start testing displaying images from the SD card to the LCD...

  Are you sure? yes | no

Nicolas Chaslot wrote 03/22/2019 at 14:08 point

Sounds good!
Really looking forward to ugrading my oven !

  Are you sure? yes | no

PhillyFlyers wrote 02/21/2019 at 14:04 point

...moved to project log...

  Are you sure? yes | no

Nicolas Chaslot wrote 01/16/2019 at 09:21 point

I can see there have been some awesome work done here! Don't know why hackaday doesn't keep me notified...

Anyway glad to see the thing going along and can't wait to get my hands on one!

  Are you sure? yes | no

PhillyFlyers wrote 01/13/2019 at 21:20 point

...moved to project log...

  Are you sure? yes | no

Elasia Squishie wrote 01/09/2019 at 16:34 point

I mean just the circuit as is on figure 4 and powering from 120V the application circuit, that chip looks like it needs to float on the ac line to work proper and you get that by the ground which is really connected to hot via the fets diode and then VS is connected to neutral via a rectifier diode and related resistors/transistor

so then you use an isolator connected to the fl5160 ground and power pins to drive a pwm into a low pass or feed a dac chip that is powered by the fl5160 as well

i plan to build the above once my voltera shows up next week, this is right up its ally

  Are you sure? yes | no

PhillyFlyers wrote 01/09/2019 at 17:06 point

Yep, you got it... this is why it get's tricky, because you are dealing with AC neutral/gnd and then the digital gnd for the rest of the logic.  

It made more sense to me to just keep the AC section as isolated as possible, and just power everything from my DC supply.  So this way, everything including the 5160 is powered by the DC supply, AC remains on the FET side, and nothing else.

but yeah, you can do it whatever way you want really... just gets complicated as you power more things from the 5160, and then try to interface with other logic on earth ground.

  Are you sure? yes | no

Elasia Squishie wrote 01/09/2019 at 20:10 point

Yeah, ideally only need to bang the serial pins through an isolator and leave the entire rest of it as an isolated mains power circuit

I just got done baking the oven for almost a full day... even after removing all that ridiculous masking tape before hand is still had this nasty smell i couldn't quite place other than being some kind of organic voc

In manual mode on the chinese controller it leveled off nicely at around 160C or so with the fan and lamp on out of the box.. only thing i can figure is whatever garbage mineral wool they used must have had the chemical in it because i had it completely torn down to inspect for putting an internal air stiring fan too.. that or maybe the adhesive from the heat tape they used?

Either way can barely smell it now... i'll still be placing it by my window in the lab though

  Are you sure? yes | no

PhillyFlyers wrote 01/09/2019 at 14:17 point

...moved to project log...

  Are you sure? yes | no

PhillyFlyers wrote 01/05/2019 at 20:16 point

...moved to project log...

  Are you sure? yes | no

Elasia Squishie wrote 01/09/2019 at 05:54 point

This peaked my interest so i picked up some parts to build figure 4 in the datasheet and then feed the dim control doing

pic square wave -> isolator -> low pass -> dim control

have you done anything of the like? The FL5160 has even its own built in power regulator to supply 5v

  Are you sure? yes | no

PhillyFlyers wrote 01/09/2019 at 14:14 point

yeah, you can do that as well, the dim control in the chip has it's own internal ADC to determine what 'level' your output AC will be at... so whether you feed it a straight-up analog voltage level from a DAC (as I'm doing), or a smoothed out pwm signal, or whatever, it doesn't care... 

And yes, the 5160/5150 puts out a 5VDC supply from that pin, you can use that for other things if you want..

All of my issues with this chip were configuring as you were above (using figure 4 or similar), and getting the thing to run with the entire circuit connected, and proper 3-wire grounding, etc.  It was not working right in that scenario, so it made more sense to supply the chip from a more stable source.

  Are you sure? yes | no

Elasia Squishie wrote 01/09/2019 at 14:53 point

Did you use an isolated ground between the ground pin and in the middle of the fets?

  Are you sure? yes | no

PhillyFlyers wrote 01/09/2019 at 16:03 point

Yep,  I have an opto-isolator being driven by the FL5160 gate drive, which is in turn driving the FETs.  (gnd of FETs is gnd of opto)

You can look at the PIC32 project schematic to see how I set it up, as I'm using the same setup here, except for the extra boost circuit I'll be using in this version to drive a stable VS for the 5160..

In the PIC32 version I was driving VS from the 9VDC coming from the oven 9VAC transformer...but 9-10VDC is right on the borderline of POR margin for the VS, so for stable running, you need it to really be around 11-12VDC (at least).  5160 clamps it at 17VDC of course...

  Are you sure? yes | no

PhillyFlyers wrote 01/03/2019 at 01:26 point

...moved to project log...

  Are you sure? yes | no

Nicolas Chaslot wrote 01/03/2019 at 16:31 point

Yeah that's a pain when the datasheet schematics don't work as they should...
I'm sure having a 12v reg inside the oven on top of the ssr would not cause any problem to most of us wanting to go the custom pcb route.

It might simply be the simplest/quickest option to get the best results here, leaving time after to figure out what the problem is... Doesn't Fairchild have a forum or contact line for technical issues like this?

  Are you sure? yes | no

ghulands wrote 12/08/2018 at 07:09 point

Are you thinking of doing a kickstarter or small board runs for this board?

  Are you sure? yes | no

PhillyFlyers wrote 12/19/2018 at 00:24 point

...moved to project log...

  Are you sure? yes | no

ghulands wrote 12/19/2018 at 00:34 point

How's your progress going lately?

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates