Showing posts with label electronics. Show all posts
Showing posts with label electronics. Show all posts

Saturday, June 16, 2018

UMMD: Migrating from SmoothieBoard to Duet Ethernet, Part 3

Electronics Enclosure

The Duet board and Panel Due have updated firmware, the Duet is mostly configured, it talks via a direct ethernet connection to my netbook computer, so it's time to install the Duet and Panel Due into my printer.

The cover of the printer is designed so it keeps the slots in the upper front of the machine open so I can slide the top front cover in and out of them.  That means the Panel Due has to provide the same clearance, and means I can't put switches or jacks on the front panel unless I set them back to provide clearance for that cover.

The existing electronics are screwed to the top of the printer and covered with a clear plastic basket - ugly!  I decided to mount the Panel Due standing vertically at the front of the machine and designed a mount/bezel for it, then made standoffs of equal height to support a new top cover.

I decided to use more of the 8mm thick dual layer PC for the walls of the enclosure, so I designed the standoffs with 8mm wide slots to hold the PC.

Side panels of the electronics enclosure use the same 8 mm dual layer PC as the printer enclosure.  The power switch and LCD screen are set back to protect them during transport and prevent them from scratching the upper front cover of the printer.
Once the standoffs were made, I started rearranging the electronics.  I decided to keep all the electronics on top of the machine- there's plenty of room up there, and that would minimize the number of cables running up and down the machine's frame.

The switch immediately above the main power switch is used to turn the lights on and off in the printer.  The other switch is there for future assignment.  The fan is a 120mm 220V unit that runs very quietly on 117V.  The cone in the center is there to support the center of the board (also foamed PVC) that will cover the top of the enclosure.  There are 3 fuses on the rear panel- one each for the bed and chamber heaters which are both line powered, and an extra for future expansion.
The Duet board will go where the SmoothieBoard is, minimizing additional wiring that has to be done.  I added a panel mount network extension jack to the back/side of the machine (if I put it on the front panel, I wouldn't be able to slide the top-front cover in and out of the frame with the cable plugged in).

Wiring


A few weeks ago, fellow Milwaukee Makerspace member and all-around cool guy that you should know, Jim Rawson, showed me some connectors that he was going to use for making bus-type connections to power supplies for a model train layout he is working on.  The things he showed me were Wago 221 type "lever nuts".  They are intended to be substitutes for twist-on wire nuts used in electrical boxes, but they make great substitutes for screw terminal blocks.  They have nice levers that flip up to open the connector, then snap back down to make a solid electrical connection with either stranded or solid wire.  They're good for 24 to 12 gauge, solid or stranded wire and can handle at least 20A at 300V.  The only tool you need with them is a wire stripper.  These things hold on tightly- I tried pulling a wire out while the lever was down and couldn't do it.  I don't think I'll ever use screw terminal strips again.

The WAGOs are high quality German made parts with a bunch of safety certifications.  The 5 position WAGOs cost about $1 each, but you can buy no-cert Chinese knock-offs for much less, if you don't mind taking a gamble.

Wago 221-415 in a printed holder.  All you have to do is strip 11 mm of insulation off the wire, insert the end into the hole, and snap the lever down.

Yes, these things are pretty small.

After designing and printing the WAGO holders I realized that they can probably just be hot-melt glued to the baseboard of the enclosure.  I tested it and it seems to work fine.  Oh well.  To a hammer, everything looks like a nail!  If you want to print some of the WAGO mounts:

The STL file for the Wago lever nut holder is here.

The Fusion360 CAD file is here.

Power wiring diagram - most of this junk is there to enable lots of white and UV LED lighting.  The connections at A and B are for the bed heater, and connections at C and D are for the chamber heater.  There are WAGOs at A and C that I neglected to include in the diagram.  The LEDs connected at the SW GND WAGO are the white LEDs that light up the build chamber.  SWA and SWB are a single DPDT, center-off toggle switch.

I laid out the wires for the AC power first, since those are the least likely to require any changes in the future.

Lighting


There were two, 24V white LED strips in the top of the enclosure, and two 12V white LED bars on either side of the front opening of the printer.  Since I had the whole top off the machine I decided to add two more of the 24V LED strips to the top cover.

The 12V white LEDs are powered by a DC-DC converter and since the 12V may be useful for other things, I decided to power that converter all the time and have a 12V source readily available for future use.  The UV LEDs are powered by another DC-DC converter that outputs about 19V to power the LEDs.  19V is not very useful for anything else, so the light switch on the front panel switches the ground on the input side of the DC-DC converter that powers the UV LEDs.

Connections


I wanted to be able to remove the entire electronics enclosure from the printer, so I thought about how to make that as easy as possible.  The connections to the controller board are all connectorized, so they're easy to deal with.  I labeled all the plugs that go into the board with their functions so it will be easy to plug them back in.  But there are a few things that will need connectors to make it easy to remove and reconnect everything.

Connections to the bed and enclosure heaters are needed, as well as connections to the LED light bars at the front of the enclosure.  Each of the heater connections involves only two wires, so I went with Anderson Power Pole connectors for those.  Since there are multiple connections needed for the LED bars, and I might want to add more lighting in the future, I decided to put some extra WAGOs in the electronics enclosure on top of the machine.  The extra connections available on the WAGOs will be useful to add fans, lighting, etc., in the future.


Top view of the printer.  I know, not too pretty...  The connections to the Duet board come up from the bottom of the enclosure to the left of the board.  In the upper left corner the connections for the bed and chamber heaters come up to WAGOs.  On the lower left the wires for the LEDs located on either side of the front of the machine come up to WAGOs.  There's a 220VAC fan in the UL corner that is powered via 117VAC, so it turns slowly and quietly.  It is positioned to blow air over the Duet board to ensure that it stays cool.  There's a vent in the UR corner to allow air flow when the top cover is in place.



24V supply and 24-12V DC-DC converter.  There are 24V, GND and 12V WAGO's to make current and future connections.



Duet board, 24V-19V DC-DC converter to run UV LEDs, 19V, 24V, 12V, and switched GND WAGOs for current and future connections.


Network connector (left), power input panel (center), bed heater SSR (orange), and line, neutral, and GND WAGOs for current and future connections.   The GND WAGO, upper right will have a connection to the printer's frame.  There is a spare fuse holder for future use, and plenty of room above the network connector to add switches, or whatever.


Next up:  Tweaking the firmware

Sunday, January 14, 2018

Building or Upgrading for Reliable ABS Printing

ABS is considered an "engineering material" because it's cheap, strong, tough, and holds up to moderately high temperatures.  Unlike PLA, it won't soften in a hot car, or near a light bulb or other source of heat, and it doesn't get brittle when exposed to humid air.  But ABS has acquired a reputation of being difficult to print.

Most of us have learned to take on-line product reviews with a grain of salt.  Can the reviewed product really be as good or bad as the reviewer says?  Were they really equipped to understand/test it adequately?  ABS 3D printer filament is one of those things that gets a lot of bad press from well-intentioned hobbyists who are not equipped to render a useful critique, except under the limited circumstances (usually an open-frame printer) under which they have tested it.

Some have said that ABS is no longer relevant with materials like polycarbonate and
PETG becoming more readily available.  PETG does not hold up at high temperatures as well as ABS and right now, PC costs about 2X the price of ABS, so until the price of PC comes down, ABS still has its place in 3D printing.


Building or Upgrading a Printer for ABS



It isn't really difficult to print ABS if your printer is designed and built for it - most are not.  A printer that is designed to print ABS has an evenly and adequately heated bed, an extruder that can operate in a warm environment, a hot-end made to withstand the relatively high melt temperature of ABS, a mechanism that won't self destruct or have other problems when it gets warm, and has a warm enclosure (45-50°C).  Even if your printer isn't made for printing ABS, it isn't too hard to upgrade and modify it to do so.

My first printer, MegaMax, was modified to print ABS and my last two printer designs, Son of MegaMax (SoM) and Ultra MegaMax Dominator (UMMD) were intended to print ABS from the start.  This post will use those printers to illustrate the sorts of things you have to do to ensure reliable ABS printing.


The Bed



Many printers have awful bed designs, including under-powered heaters, thin, flexible "heat spreaders", and glass plates to try to fix the problems caused by "leveling screws" located in all four corners of the bed.  The result is uneven heating, unstable leveling and zeroing, and poor print adhesion unless you apply slop like hairspray, glue, sugar water, salt water, ABS juice, or any of the other silly things people try to make ABS stick.  I've already beaten this topic to death, here.

UMMD has a 750W line powered heater that evenly heats the flat, 8mm thick cast aluminum bed to the 100°C first layer temperature in about 4.5 minutes with PID temperature regulation.  It's on a kinematic mount so the bed remains stable when heated.  Molten ABS loves to stick to its PEI print surface without any special elixirs.

Even heating of UMMD's bed at ABS print temperature- just a few degrees of drop off near the edges.
If you're looking to upgrade your printer for ABS, the bed is a good place to start.  You'll find a well built bed will make all your printing, not just ABS, more reliable.  You might find some of the ideas I used in UMMDs bed to be useful.


The Extruder


I prefer geared extruders.  My experience has shown that the extra push they have available due to torque multiplication by the gears helps keep the filament flowing even when things get a bit sticky inside the hot-end.  Motor temperature becomes a concern in a warm enclosure.   Geared extruders let you operate the motor with lower current, and so lower self-heating, than ungeared extruders.

MegaMax used a ungeared direct extruder and I had a lot of the same problems with jamming that others report in the internet forums.  When I rebuilt it as SoM, I replaced the extruder with a BullDog XL that had 5:1 gearing.  That extruder was extremely reliable and almost never had a jam, though I don't recommend it if you ever plan to print flexible filaments.

UMMD has an E3D Titan extruder.  The Titan has 3:1 gearing that multiplies the motor torque, so it  can be operated at relatively low current and still produce adequate torque to push the filament without jamming.  Low current means the motor doesn't run hot, which means it can operate in a warm printer enclosure without danger of overheating.

More on extruders (and hot-ends) here.


The Hot-End



Some of the hot-ends you find on hobby printers have Teflon liners that extend right to the nozzle in the heater block.  Teflon starts to soften and decompose at ABS print temperatures, so such hot-end designs are completely unsuitable for printing ABS.  Usually, the only way to know if you have one of those hot-ends is to take it apart and look.

SoM and UMMD have a E3D v6 hot-ends and UMMD uses a Volcano heater block.  The V6 hot-end has a Teflon insert that stops at the stainless steel heat-break, so unlike some poorly designed hot-ends, the Teflon is never exposed to the high temperature of the heater block.  I've been printing ABS using E3D v6 hot-ends for at least two years and never had to replace a Teflon tube.  The v6 uses a 30W heater cartridge that has no trouble getting up to the required print temperature of the ABS.

There are a lot of all-metal hot-ends available that are well suited to printing ABS (and every other kind of filament).  Look for one that has a fan or water-cooled heat sink.

While we're on the subject, E3D makes great hot-ends, but the fans they provide are just about awful.  I've had two of them fail, possibly due to the heat in the enclosed printer, or maybe because they're just cheesy.  I replaced them with some ball bearing, 30x30x15mm server fans (Elina Fan HDF3020L-12MB, available via ebay for about $7).  They are a little louder and heavier than the E3D parts, but they are far more reliable.

Some people like to use water cooling for the hot-end in a warm, enclosed printer.  It certainly works, and even becomes essential if you want to print at very high enclosure temperatures, but isn't really necessary in a 45-50°C printer enclosure.  The Titan extruder has a lot of plastic parts and is probably not well suited for use inside an enclosure operating at temperatures above 70-80°C, either.


The Printer Mechanism



Most hobby printers have a lot of printed plastic parts in them.  Some are even made of PLA.  I have seen multiple posts on Reddit by people whose PLA part-loaded 3D printers self-destructed when they made the mistake of leaving their machines in hot cars.  Even if you discount the possibility of a hot-car disaster, when printed plastic parts are subjected to torque or tension inside a warm printer, the plastic parts can distort, even if they are ABS.

I have always tried to minimize printed part content in my printers simply because metals behave more predictably and can be cut and finished accurately.  SoM had 3D printed, ABS X axis motor and idler pulley mounts.  They were eventually replaced by metal parts because the motor mount distorted with heat and belt tension, and the pulley mount distorted due to the belt tension.  If your printer has plastic parts, replacing them with metal goes a long way toward improving reliability, especially if you're going to be operating the machine inside a warm enclosure.

UMMD's mechanism was designed using a minimum of printed parts, and those that are there are ABS, and will be replaced with metal or PC as soon as I can get to it.  Most of the printed parts are used in compression, which is the safest way to use plastic parts in a printer.  The stand-out exception is the extruder carriage belt clamps which will be updated to a metal design soon- watch for a blog post here...

Another thing I've read about on a few occasions is high precision, all-metal coreXY mechanisms similar to UMMD's, that work fine when they are set up in the summer, and then bind when the work shop temperature drops a few degrees in cold weather, or the opposite.  The problem is that as the aluminum frame expands/contracts with temperature, the Y axis guide rails move apart/closer together.  Meanwhile, the steel X axis guide rail doesn't expand/contract as much and that puts lateral force on the Y axis bearing blocks, causing the motion to get sticky or bind.

UMMDs mechanism uses linear guides bolted to aluminum plates which are in turn bolted to an aluminum frame.  When heated, aluminum expands about 4x more than steel.  As the frame expands, the Y axis guide rails move apart.  If the steel X axis guide rail were bolted to the two Y axis bearing blocks, the frame expansion would create very large side-loads on the Y axis bearing blocks, maybe enough to stop the motion.  In UMMD only one end of the the X axis linear guide is attached at one of the Y axis bearing blocks.  The other Y axis block has a second X axis bearing block that allows the X axis guide rail to move with the thermal expansion of the frame.  That eliminates any possibility of the mechanism binding due to temperature changes.


This potential mechanism binding problem primarily affects CoreXY designs using linear guides for the Y axis.  Even if your printer wasn't specifically designed to allow thermal expansion, its construction may have enough "give" to let the mechanism keep moving through temperature changes.  The only way to know is to test it...


Warm Enclosure



Most printers come without enclosures, presumably because of a patent held by one of the big, industrial 3D printer makers.  You can print a lot of the more common materials without an enclosure though some protection from drafts, such as side panels, can be helpful.  Printers with adequate bed heaters can print single-walled ABS vases (see the video, below) right up the maximum envelope of the printer, even without an enclosure, and they can sometimes get away with printing small ABS parts (this is what the marketing BS means when they say a printer is "ABS compatible").  But if you want to print bulky ABS parts with infill, straight side walls, etc., reliably, you need a warm, 45-50°C enclosure.  Without it, bulky ABS prints warp and split/delaminate.

Time lapse of MegaMax printing a Koch Snowflake vase from Mark Rehorst on Vimeo.


My first printer, MegaMax, was built with an open frame because I didn't know anything about 3D printing and didn't know I'd need a warm enclosure to print ABS.  I eventually built an enclosure for it using PIR foam panels and was able to print ABS reliably.  If you aren't too picky about the way it looks, a similar enclosure can be assembled in minutes with a straight edge, a razor knife, duct tape, and some foam insulation board.

Two ABS prints.  The one one the left was printed on SoM (45°C enclosure) and the one on the right was printed on MegaMax (open frame).  


An enclosure can take many forms,- a couple plastic trash bags placed over the printer, cardboard boxes, modified Ikea tables, etc., depending on how much effort/expense you are willing to go to and what sort of appearance you or your significant other can tolerate.  One thing to consider is that heat and electronics are a bad mix.  If you're going to use any sort of enclosure on your printer, it is best to move the electronics out of the warm chamber to maximize operating life.

Thermal insulation is a good idea for the enclosure, because if you minimize heat lost through the walls of the printer, you need less heat to get the enclosure up to print temperature.  You may even find that the bed heater alone provides sufficient heat.  The home improvement stores are full of foam insulation panels, but most are polystyrene (pink, blue, and yellow) which may pose a fume hazard in the event of a fire.  I used polyisocyanurate (PIR) foam in MegaMax and SoM's enclosures.  For all practical purposes, the stuff is fireproof.  PIR foam is available in 4'x8'x1" sheets at stores like Home Depot for about $15 per sheet.



My second printer, Son of MegaMax (SoM), was a redesign of MegaMax using some of the same parts, this time with the enclosure planned from the start.  I even put the electronics in a drawer at the bottom of the printer to keep them away from the heat, yet easily accessible.  SoM has a 450W bed heater which is just adequate to get the enclosure temperature up to 45°C when the ambient temperature is about 20°C or so.  SoM reused some of the PIR foam panels that were used to make MegaMax's enclosure.  The bottom and rear panels are simply cut for a very tight fit in the frame- nothing else was used to hold them in place.


ABS print on SoM with enclosure temperature of 45C.  No splitting along the edges or anywhere else.  Print is on clean Kapton tape, which has since been replaced by PEI.





UMMD's frame was designed to allow easy attachment of top, bottom, and side panels, roof mounted electronics (working on my knees hurts), and A and B motors located outside the enclosure (which it turns out, wasn't really necessary).  All but the front side panels provide thermal insulation.  Most of the panels are 8mm thick dual layer (or twinwall) polycarbonate that provides light transmission and thermal insulation and fits neatly into the 8mm slots in the printer's frame.

I wrote a blog post on UMMD's frame and enclosure here.

The enclosed volume of UMMD is about 420 liters, and based on my experience with SoM, I was pretty sure that heat from the bed alone would not be enough to raise the enclosure to ABS print temperature.  Initial tests of the enclosure temperature confirmed my suspicion.


Adding an Enclosure Heater


It's winter in Wisconsin and that naturally leads to dreams of heat and warmth.  What better time than now to add an enclosure heater to UMMD for reliable ABS printing?

I wish I could say that everything was calculated or simulated and I knew exactly how much heat was needed and that guided my heater selection, but that isn't what happened.

A few months ago I put a 100W incandescent light bulb (I still have one or two of those!) inside the printer enclosure and watched the temperature over time.  After about an hour, the temperature inside the enclosure got to be about 8C above ambient, so I knew I needed more power.

Since the bed heater uses 750W, that would limit the maximum additional power I could use to about 750W and still plug into a standard power outlet without blowing any circuit breakers. Someone at the makerspace offered me a 500W heater from a scrapped Stratasys printer, so I decided to give it a try.

I mounted it in UMMD with a 24VDC fan (FCI DA-119B-W24 with ball bearings) to blow air over it.  The fan/heater/SSR reside in the bottom of the printer, mounted on a piece of - wait for it- aluminum tubing!  A generic 100k thermistor is mounted at about the middle of the printer and connected to one of the SmoothieBoard's four thermistor inputs.  Line power to the heater is switched by an SSR (Crouzet 84137180  125A at 660VAC- gross overkill for this application, but it was free) driven by the SmoothieBoard controller.  The fan is powered by the same signal that drives the SSR, so when the heat is on, the fan is on, and when it isn't, it isn't.  The target temperature is set manually using the rotary encoder on the LCD panel, or by selecting an ABS preheat option I added to the custom menu.   The firmware is configured to use PID to regulate the enclosure temperature and even though the enclosure is very slow to respond to input from the controller, it holds the temperature reported on the LCD panel steady.



Rear view of the heater assembly.  24VDC fan, 500W heater bar, SSR, and connectors.  The base is a 1" square aluminum tube I had left over from an early design of SoM's X axis.  The heater bar is mounted using two steel angle brackets.  The fan and SSR are screwed directly to the aluminum tube.  The lips on the ends of the tube are used to mount it on the printer's frame.




Front view of the enclosure heater assembly showing connectors, SSR, 500W heater bar, 24V fan, and my familiar, Ms. Kitty.




Anderson Power Pole connectors used for both AC line and 24V SSR drive/fan power.  These things are great- they are both male and female, handle lots of current, and you can stack them in any configuration needed, though they can be hard to separate if you try to use more than 4-6 of them for a single connector assembly.





Enclosure heater installed in the bottom of the printer.  I may have to add a heat shield for the Z axis motor, and I still need to cover the electrical connections on the heater bar.  I'll also be adding a TCO when I figure out a good way to do it.



The 100K thermistor is mounted at about the middle of the printer's Z axis and plugged into one of the SmoothieBoard's unused thermistor inputs.



The original wiring.  Don't do it like this- it has been updated- see update at the end of this post.



Configuring the firmware for the heater was easy:

# Enclosure Heater Configuration

temperature_control.enclosure.enable               true           # Whether to activate this module at all. (UMMD)
temperature_control.enclosure.sensor               thermistor
temperature_control.enclosure.thermistor_pin       0.26           # Pin for the thermistor to read (UMMD)
temperature_control.enclosure.heater_pin          2.7            # Pin that controls the heater (UMMD)
temperature_control.enclosure.beta            3950      #(UMMD)
temperature_control.enclosure.set_m_code          141            # M-code to set the temperature for this module (UMMD)
temperature_control.enclosure.set_and_wait_m_code 191            # M-code to set-and-wait for this module  (UMMD)
temperature_control.enclosure.designator           A              # Designator letter for this module (UMMD)

temperature_control.enclosure.p_factor            304.4          # for (UMMD)
temperature_control.enclosure.i_factor            6.656         # for (UMMD)
temperature_control.enclosure.d_factor            3479            # for (UMMD)
temperature_control.enclosure.pwm_frequency       17         # to drive SSR (UMMD)
temperature_control.enclosure.max_pwm             255         #(UMMD)
temperature_control.enclosure.max_temp             55             #  limits enclosure to a safe temperature (UMMD)
temperature_control.enclosure.runaway_range        20  # Max setting is 63°C  (UMMD)
temperature_control.enclosure.runaway_heating_timeout   900 # 0 disables (UMMD)



Safety

There are two main safety considerations with something like this: electric shock and fire.

Electric shock is protected against by using insulated wire and covering the electrical connections to prevent accidental contact with high voltage.  I'll be covering the electrical connections to the heater bar with high temperature silicone.  The connections at the SSR are covered by the SSR's integral plastic cover, and the covers on power pole connectors.

Fire safety is a whole different problem.  There are five components to consider.  The wiring, the SSR, the fan, the thermistor, and the controller board.

Wiring failure is protected against by using an electrical fuse that will kill power if there is an electrical short.

If the SSR fails off, it isn't a problem, but if it fails "on", and that's how they fail, it's a big problem.  There won't be anything to stop the heater bar from getting dangerously hot.  The only protection for that is a TCO wired in series with the heater that will interrupt power to it (like the one used on the bed heater).

Fan failure, just like the SSR failure, will allow the heater will get extremely hot.  It isn't likely that the thermistor will notice before the heater has done a lot of damage, so the heater bar TCO will have to protect against fan failure, too.

The firmware configuration settings above limit the maximum enclosure temperature to 55°C, and will shut down the machine if the set temperature exceeds that or remains 20°C away from the set temperature for more than 15 minutes (heating the enclosure is a slow process).  Those settings essentially detect thermistor failure, and only help if the controller board is working properly.

Finally, if the controller board loses its mind, there's nothing to tell the heater to turn off, and the heater bar TCO isn't going to work because the fan is blowing air over the heater.  What is needed here is a passive, one-shot TCO that will kill power to the printer if the enclosure temperature gets too high.  Expect another blog post on that once I figure out what to use.  Until then, operating the printer is a gamble...

Update:  After thinking about it for a while, I changed the fan used for the chamber heater.  In the original design I used a 24VDC fan connected across the input of the SSR that switches power to the heater.  The problem with that scheme is that if the SSR fails "on" (that's how they fail), the heater will turn on even if the fan isn't on.  That could lead to a fire because the heater gets extremely hot without the fan blowing on it.  I have replaced the 24VDC fan with a 208VAC fan wired directly across the heater.  The fan turns silently at 117VAC in, but moves enough air to keep the heater at a safe temperature.  If the SSR fails, both the fan and heater will run, which is much safer than running the heater without the fan.

It's better to wire it this way.  Connect the ground lead of the power input to the frame of the printer.


I still need to add a cover and TCO.

Here's the new arrangement:


The 24VDC fan was replaced by a 208VAC fan wired directly across the heater.  At 117VAC it blows enough air to keep the heater at a safe temperature, and runs very quietly. 


Wednesday, August 2, 2017

UMMD 3D Printer Electronics

Update: The smoothieboard has been replaced by a Duet Ethernet board.  The information below is the original stuff.

Major components of the electronics in UMMD are:

In a 3D printer, the extruder requires the most operator input for maintenance and repairs.  The electronics comes in a close second.  Most people building coreXY printers put the electronics in the bottom of the printer, utilizing some of the "dead space" under the bed.  That can be convenient if the printer sits on a table, but UMMD is tall and stands on the floor, just like me.  Putting electronics in the bottom would mean getting down on the floor every time I had to access the electronics.  I also intended to use an LCD control panel to print from SD cards, and LCD panels generally don't work with long cable runs, so the LCD panel has to be kept close to the electronics.

I wanted to keep the electronics easily accessible, and outside of the heated enclosure, and I hate bending over, so I planned to put the electronics on top of the printer from the start.  Most of the electrical connections to the printer have to be made on the XY stage, so keeping the electronics close by keeps cable runs shorter.  The electronics are mounted on the left side of the top of the printer, under a plastic basket used as a protective cover (it's ugly- I'm working on it!).

There are two buck converters in the system.  One provides a source of 12V to power some fans and some of the white LEDs used to light up the printer.  The other is used strictly for powering the UV LEDs.  It would have been less complicated if I didn't have the 12V parts in the system, but it is easier to find 12V LED light bars, and I already had a couple 12V fans, so I used a buck converter.

The other buck converter is used to power the UV LEDs, something not absolutely necessary but aesthetically pleasing when printing fluorescent filament.

You can see more details about the LED lighting in UMMD here.

UMMD has three electrical fuses, one for the main power supply (which probably has its own internal fuse), one for the bed heater circuit, and a spare that is going to be used for an enclosure heater circuit, not yet installed.  Electrical fuses protect against fires caused by wiring or electronic failures.

The bed heater is powered via an SSR that is driven by the controller board.  When SSRs fail, they fail shorted - i.e. on.  The controller normally keeps the bed temperature regulated, but if the controller fails, or the SSR fails, the bed heater could get dangerously hot, and possibly cause a fire.  I added a thermal cutoff (TCO) to the bed plate to protect against that possibility.  It would actually be better to have the TCO mounted on the heater because the heater is attached to the bed plate with adhesive which could let go.  I will probably move the TCO to the heater itself by cementing it with high temperature silicone.  That way if the heater comes off the bed plate, the TCO can still do its job.  Details of the bed and support here.


TCO clamped to the rear edge of the bed plate.  Don't do this.  Mount the TCO on the heater using high temperature silicone.


I used a TCO with a operating temperature of 184°C.  That allows the bed to operate normally up to about 160°C (for printing high temperature materials) without opening the TCO.

The rest of the wiring to motors, etc., is standard stuff you can see in the Smoothieboard documentation.