Warning lights

Topics Related to the ORD Bot Printer

Warning lights

Postby orcinus » Sat Mar 08, 2014 4:58 pm

So, apparently, Marlin has this new(ish) feature of using the extra low-power outputs on Azteeg X3 for temperature warning lights.
I've burnt my finger the other day while replacing a broken hotend - the heater was off, but the temperature was still way way up, turns out E3D hotends take quite a while to cool down, especially with ceramic insulation strips applied on the heater block - and decided enough is enough.

Enter - The Christmas Tree Hadron.

Measured temperature (any) > 55 turns the RED lighting on:

Image

... while temperatures < 55 enable the BLUE lighting:

Image

Blingy, but useful.
orcinus
 
Posts: 720
Joined: Tue Feb 14, 2012 4:03 am

Re: Warning lights

Postby fma » Sat Mar 08, 2014 5:34 pm

Nice!
Frédéric
fma
 
Posts: 213
Joined: Mon Aug 20, 2012 7:53 am

Re: Warning lights

Postby blah_59 » Sun Mar 09, 2014 1:11 am

Very cool, that's what I would call Active Feedback!
blah_59
 
Posts: 158
Joined: Wed Aug 29, 2012 10:08 am

Re: Warning lights

Postby orcinus » Sun Mar 09, 2014 4:11 am

It'll also go red if the hotend setpoint is > 55 deg C, even if the current temperature hasn't reached 55 yet.
Which is a nice detail, considering hotends reach 55 VERY fast.
orcinus
 
Posts: 720
Joined: Tue Feb 14, 2012 4:03 am

Re: Warning lights

Postby fma » Sun Mar 09, 2014 9:30 am

BTW, hos does it work? Is it RGB leds? Or B and R leds ?
Frédéric
fma
 
Posts: 213
Joined: Mon Aug 20, 2012 7:53 am

Re: Warning lights

Postby orcinus » Sun Mar 09, 2014 1:45 pm

RGB strips. I hooked up just the R and B channels.
And then immediately regretted it - should've wired all three and just left one unused (available for future use).

In fact, i should have hooked up the green channel to one of the low power outputs, i don't use them for anything anyway.
It would have been pretty easy to hack CardReader::printingHasFinished() so it turns on the green light when an SD print is done (although the usefulness of that is doubtful, as you can pretty easily tell if a print has finished from a distance from the movement / gantry position).
orcinus
 
Posts: 720
Joined: Tue Feb 14, 2012 4:03 am

Re: Warning lights

Postby secretgspot » Mon Mar 10, 2014 3:35 am

that is awesome, which controller board are you using? I would like to get more details on this to implement it on my build. It would be nice to have light be RED until temp drops bellow 30C
secretgspot
 
Posts: 13
Joined: Thu Mar 06, 2014 12:27 am

Re: Warning lights

Postby orcinus » Mon Mar 10, 2014 4:00 pm

Azteeg X3.
Although, technically, you should be able to do it with any controller, as long as it has a pin or two that can sink 12V.
orcinus
 
Posts: 720
Joined: Tue Feb 14, 2012 4:03 am

Re: Warning lights

Postby secretgspot » Mon Mar 10, 2014 5:08 pm

do you have any detailed instructions anywhere? I have two led strips hooked up to reg 12v, and I have another strip on the gantry which I want to hookup to the color coded system of the board.
secretgspot
 
Posts: 13
Joined: Thu Mar 06, 2014 12:27 am

Re: Warning lights

Postby orcinus » Mon Mar 10, 2014 8:41 pm

No instructions per se, but it's very simple.

The R and B are connected exactly as indicated on the Azteeg wiring diagram: http://reprap.org/mediawiki/images/a/a5 ... iagram.jpg
Assuming your RGB LED strip is common cathode, hook the 12V pin on the strip to BOTH 12V outputs near D6 and D11 (the reason for this is, it turns out they're not always live, but the D6 one is only live when D6 is HIGH and the D11 one is only live when D11 is HIGH and you want to always have the 12V). Then hook the RED channel on the strip to D6 SW and the BLUE channel to the D11 SW.

After that, you only need to uncomment:
Code: Select all
//#define TEMP_STAT_LEDS


... near the end of Marlin's Configuration.h.

To change the threshold and hysteresis, edit Marlin_main.cpp, near lines 3322 and 3328:

Code: Select all
    if((max_temp > 55.0) && (red_led == false)) {
...
    if((max_temp < 54.0) && (blue_led == false)) {
orcinus
 
Posts: 720
Joined: Tue Feb 14, 2012 4:03 am


Return to ORD Bot

Who is online

Users browsing this forum: No registered users and 36 guests

cron