Big Round Button

This page last updated: 25 September 2026.

 
As part of the infrastructure of the front garden railway, I wanted a big red button, round, something that I could hang vertically on the public side of the front wall, that would be illuminated when "activateable", probably flash while active, and would be on the front garden railway's network, allowing it to have influence over other things.  It would need to be weatherproof and reasonably robust.  The 3D printed parts for this project, along with printing instructions, can be found on Github.

I thought something like this:

Sketch

...key features being:
Size-wise the maximum print dimension of my Prusa MK4S 3D printer was 250 x 210 mm (X/Y) so that was the maximum dimension of the housing.

As I was designing the button I recalled that I was now able to purchase and easily drive WS2812 tri-colour LEDs, so I switched from making a big red button to making a big round button, which could be red or any other colour.  The only filament I could find that came in transparent form was PETG.  The initial test print (left-most picture below, 5% in-fill, fastest speed, supports on the build plate) took 8 hours and was fine dimensionally but ropey in terms of quality, with a very rough top.  I looked up advice on how to improve transparency and that suggested:
[Settings later tweaked, see further down.]  I tried printing again with these settings and the print did not survive more than a few hours into the estimated 36 hours: I had set the speed to 20 mm/s for in-fill only, leaving it at normal (140 mm/s) for perimeters and support material, as I didn't care about those so much.  However the fan was off for the entire time (I did not have sufficient control in the slicer program to turn the fan off only for in-fill) and therefore stringing occurred, causing the nozzle to catch and the layers to shift (second picture below).

Normal
Failed

I scaled the model down to 1/3rd size in the slicer program and ran a few quick test prints.  The first picture on the left below is with the same failed settings, just for reference; I had to stop the print before it could complete (an estimated 45 minutes) as it was plainly not going to succeed.  The other pictures are of a print with all speeds locked down to 20 mm/s, taking 1 hour 45 minutes to complete.

Failed
Success
Unsupported
Side
Underside

That was better: the print survived to the end and the top surface was good.  However the printing over the support material in the middle of the button was still messy; I tried again with the support material interface layer printed in concentric circles and with the temperature taken up to 250 C for a more liquid melding of adjacent layers.

Grid fill
Unsupported

Very slightly better (difficult to see without handling it); good enough.  The full-size print would now take 2 days and 15 hours; I started it and there was still a deregistration caused by stringing after a few hours so I reduced the over-extrusion to 5% (from 15%), allowed the fan to come on at between 10% and 15% power and enabled a feature in the slicer program which should avoid crossing perimeters, reducing the risk of the nozzle catching on anything.  That did the trick and 63 hours later:

Blender
Ready to
                print
Printed
Unsupported

I found some stainless steel compression springs on eBay that were 25 mm long, 8.5 outside diameter, 6.5 mm inside diameter, made of 1 mm diameter wire.  I could get a tidy 10 mm compression from these, which worked well with the 50 mm lever arm of a generic microswitch I happened to have lying around.  I made indents to cyanoacrylate into place eight spring supports around the base of the button, though in the end I did not fit the ones at 12 and 6 o'clock as they fouled other things.  Corresponding supports were designed into the base.

Spring
Attached
Supports

Electronics-wise, the base was designed to hold one of the generic Seeed Studio ESP32S3 boards (which form the nodes of the front garden railway network), the same 12 V to 5 V regulator board as I had used in the musical box (rated at 6 Amps) and a generic 50 mm lever-arm microswitch.  A separate plate was designed to hold as many of the 5 mm diameter WS2812 5 V LEDs as I could feasibly fit, which turned out to be 58; gonna be quite the wiring job.  With each LED consuming up to 60 mA (all three colours active), current draw could be up to 3.5 Amps.

Base
LEDs
Housing
Button

In terms of mounting, I needed something pretty robust as the big round button could be under significant pressure from enthusiastic passers-by, particular at school home time.  I also wanted to be able to install and remove it easily, without tools.  I made a mount that matched the sticky-out bits of the housing, a top and a bottom, the top including a sprung insert (using another of the 25 mm long springs) that could be released by hand.

Blender
Latch
Wall

But then, when I looked at the rather bumpy wall the big round button was to be mounted on, I realised I would need a backboard, in which case I might was well just hang the backboard from a pair of hooks; much easier.

Partial objects (cut up in my printer's slicer program) were printed in PLA for fit checks, then the poor quality initial test print of the button was used with the other parts printed in PLA to check the behaviour of the entire assembly before commiting to the more difficult final ASA prints.

Blender
Ready to
                print
Itch

The electrics were schematically simple, the challenge being wiring up the 58 LEDs neatly.  I drew a pattern to follow (for the sake of having a convention this is viewed from the underside).

Schematic
LEDs

Note: the WS2812 Data Input is technically 5 V while the ESP32S3 IO lines are only 3.3 V but, with the wires going to pins 9 and 8 of the ESP32S3 board kept short, this was not a problem.  Also, note that the WS2812 LEDs are a bit tricksie in that which pin is which is often different for different diameter LEDs; the labelling in the picture above is correct for the 5 mm diameter WS2812 LED.

Before continuing to assembly I wrote a first draft of the software for the ESP32S3 and loaded onto the ESP32 board; that way I could test that the LEDs were working correctly as I went along.

And so to assembly.  In no particular order:

1.
Nuts
Insert six M6 nuts into the hex-shaped holes in the base, using an M6 bolt to pull the nuts into the holes if necessary.
2.
Regulator
Fix the 12 V to 5 V regulator board to the base with four short (e.g. 6 mm) flat-head M3 bolts.
3.
ESP32S3
With its antenna attached, push the Seeed Studio ESP32S3 board into position in the base, USB socket facing out through the hole in the base.
4.
Spades
Solder a pair of leads, one black (long enough to reach a ground terminal of the regulator board) and one a signal colour (e.g. blue) ending in a 0.1 inch pitch plug/housing (long enough to reach the ESP32S3 board), to a pair of spade connectors that fit a standard microswitch with a 50 mm long lever arm.
5.
Switch
Attach the spade connectors to the terminals of the microswitch, black to common, the other to normally-open, fix the microswitch in place with a pair of 20 mm long flat-head M3 bolts/nuts then connect the black wire to a ground terminal of the regulator board and the signal wire to the microswitch input pin of the ESP32S3 board (see schematic).
6.
Power
Insert the power cable through the hole in the back (the hole is sized for a waterproof 2.1 mm x 5.5 mm barrel connector on a flying lead) and wire it up to the input terminals of the regulator board.
7.
5V
Connect a pair of cables with 0.1 inch pitch plugs/housings on one end between the 5 V/ground pins of the ESP32S3 board and the output terminals of the regulator board.
8.
Debug
Wire the Data In lead of a 5 mm diameter 5 V WS2812 LED to the ESP32S3 board debug LED pin (see schematic) via a 0.1 inch pitch plug/housing and the 5 V/G leads to the output terminals of the regulator board, using longish wires so that you have plenty of slack when [later] inserting the LED into the housing and using heatshrink to cover the bare wires.  With the power cable plugged into 12 V and with the big round button application loaded onto the ESP32S3 board, the LED should light, "breathing" green when the ESP32S3 board is connected to the front garden railway network.  The Data Out lead can be cut off close to the body of the LED as it is not required.

Unplug the 12 V power once more.
9.
LEDs
Insert 5 mm diameter 5 V WS2812 LEDs into the holes in the 3D printed LED plate from underneath (i.e. pick a side that will be "underneath"), lining the pins of the LEDs up so that Data In ⇒ Data Out follows the direction of the arrows in the diagram above.
10.
Bending
Working on the first semicircle of LEDs, bend the leads of the LEDs such that the Data In/Data Out lines of adjacent LEDs meet (bend them low down) and bend the 5 V/ground lines to make an inverted L shape heading in the same direction, preferably at slightly different heights (see picture).  Cut two lengths of bare solid wire long enough to run along the top of the inverted L of the 5 V/ground lines.  Connect two longish lengths of red cable and black cable to the output terminals of the regulator and solder them to the 5 V/ground lines of the first LED along with the start of the two bare solid wires, then make a length of signal cable ending in a 0.1 inch pitch connector, plug it into the output pin of the ESP32S3 board (see schematic) and solder it to the Data In pin of the first LED.  While making sure that the bare solid wires don't touch, plug the power cable into 12 V and that first LED should (a) "breathe" green, (b) "breathe" blue for 10 seconds when the microswitch is pressed and (c) flash red if the microswitch is pressed a second time while the LED is breathing blue.  Unplug the 12 V power when done.
11.
Heatshrink
Add heatshrink to the outer solid wire (only), but don't shrink it yet, then solder both bare solid wires to the tops of the inverted L shaped leads of the next LED, and solder the Data Out lead of the first led to the next LED's Data In lead.  While making sure that the bare solid wires don't touch, plug the power cable into 12 V and the second LED should light the same way as the first.

Unplug the 12 V power when done.
12.
Semicircle
Continue in this way, testing that green, blue and red work each time, to complete the first semicircle (still don't shrink the heatshrink, that will come later).
13.
Next
                semicircle
Working on the next semicircle of LEDs, inwards from the first, bend their leads in a similar way (it may be necessary to trim some of the Data In/Data Out leads on this smaller semicircle), come back along the circle, then cut another length of bare solid wire to be the next power conductor inwards (in this case 5 V, the bare solid ground wire being shared between the two rows) and solder a piece of solid, insulated (or heat-shrinked) wire to supply 5 V to it from the previous wire (taking power from the "entry point" of the current flow will share the load equally).  Starting with the next LED in the arrowed sequence, work along soldering the LED leads either to each other (in the case of Data Out to Data In) or to the bare solid wires carring 5 V or ground, testing each LED for green, blue and red at each step.  No heatshrink should be used on either of the bare solid wires this time (there will be no room for it), though it may occasionally be necessary to add some to an LED lead if there is a danger of contact with an adjacent lead.
14.
Halfway
Continue in this way until the semicircles on half of the LED plate have been wired up.
15.
Middle
Using the same techniques and following the wiring pattern above, complete the more complex middle section and cross over to the other half of the LED plate; click on the picture for a clearer view of the result.  Note the piece of blue insulated solid core wire connecting Data Out of the top-most LED down to Data In of the LED in the middle on the other half of the plate.
16.
Circles
Continue to wire up the LEDs on the other half of the plate in the same manner, noting that the bare solid wires now alternate in the opposite sense and not forgetting to use heatshrink on the outer semicircle (and still don't shrink it yet).  I left the final Data Out line whole in case I felt the urge to do anything with it later.
17.
Fit
Carefully test fit the LED plate into the back to make sure that no wires foul anything or short to anything.
18.
Insulated
Now it was time to shrink the heatshrink. For additional protection, I purchased red and black liquid insulating tape and painted it onto the bare solid wires.
19.
Attached
The LED plate was then attached to the base with three 6 mm long M3 bolts.
20.
Button
The button was prepared by cyanoacrylating into place the six spring supports and the switch prod, then fitting the springs onto the supports.  The six spring supports were oriented such that the slight fault lines in the printing of the button (present because the 3D printer G-code deposits circles which have to start somewhere) were on the quarter hour somehow (e.g. at 6 o'clock or 9 o'clock), making them catch the eye less.
21.
Buttoned
Fit the button assembly onto the back, carefully threading the switch prod through the hole in the middle of the LED plate and making sure no wires foul the springs.  To make things easier to disassemble, I allowed the WiFi antenna of the ESP32 board to float in a sensible position rather than sticking it down.
22.
Debug
Insert the debug LED into its hole in the housing (not the drain hole!).
23.
Housed
Fit the housing over the button and attach it to the base with another three 6 mm long M3 bolts.

I made a backboard out of 18 mm thick pine board, 250 mm x 270 mm, 6.5 mm holes drilled (and countersunk) for the M6 bolts to hold the button in place, large access holes made for the USB port and the power cable (with a 29 mm diameter hole cutter I happened to have lying around) plus indents for where the heads of the bolts attaching the housing to the base would lie.  The board was edged by PVAing into place 4 mm thick, 22 mm wide, rounded-edged pine strip then the front/sides were given four coats of varnish (rubbing down between coats): first coat antique pine (which was too dull), two coats of teak (much better) then a coat of oil-based gloss to finish off; this latter was the only varnish applied to the back, in two coats.

Backboard

With the USB blanking plug inserted into its hole in the back of the button assembly, I attached the completed button to the backboard with four 40 mm long countersunk M6 bolts.

Backed

I drilled holes for two quite beefy loops in the prospective mounting place, screwed two matching eyes into the top edge of the backboard, linked the two up with a pair of snap-hooks for easy removal and connected 12 V power to the nearest junction box, via a compatible extension cable, to prove to myself that it all worked in-situ.

Mounted

Then I took it all inside again; next I needed a thing for the button to activate.

Back to Meades Family Homepage