Project tutorial
DIY Code Red Button for Healthcare Simulation

DIY Code Red Button for Healthcare Simulation © GPL3+

Create your own code red button for use in simulation scenarios. Flashing LEDs and button!

  • 2,212 views
  • 3 comments
  • 5 respects

Components and supplies

Necessary tools and machines

09507 01
Soldering iron (generic)
Ultimaker 3

Apps and online services

About this project

DIY Code Red Button

For those that work in healthcare simulation, we can often find ourselves trying to simulate different events or procedures. This DIY code red button can be used in lieu of a real wall button. Follow these steps:

  • This is an advanced project that requires the use of multiple pieces of equipment. Gather all necessary supplies and equipment.
  • If you own a 3D printer, print the attached CAD files. If not, you order locally from 3DHubs.
  • Screw Arduino Uno board into back panel using nylon screws. Be careful not to apply too much force.
  • Assemble the front plate and code red plate. Push the 5mm plastic flat LED holder into the 3 holes on the front plate. Glue code red plate in place, allow time for glue to dry.

Assemble Electronics

This is the electronics assembly part. Get your soldering iron ready with all the required components. Get your Perma-Proto breadboard and attach the resistors. Solder in place.

Start hooking up wires for connection to the LEDs and pushbutton On/Off. Solder wire connections to the LEDs, use heat-shrink tubing if needed.

Attach the push button On/Off switch. It does not need to be glued in place.

Place the LEDs into the flat LED holder through the back of the front plate. They will snap into place.

Connect both front and back panel. Power using Arduino cable or 9v battery. Push button, enjoy!

Code

DIY Code Red ButtonArduino
/*
DIY Code Red Button
Created by David Escobar
Date: 04/14/17
*/

int ledOn = 4; //LED Button On
int led1 = 5; //LED 1
int led2 = 6; //LED 2
int led3 = 7; //LED 3


void setup() {
  pinMode(ledOn, OUTPUT);
  pinMode(led1, OUTPUT);
  pinMode(led2, OUTPUT);
  pinMode(led3, OUTPUT);
}

void loop() {
  
    blink();
}


void blink(){
    digitalWrite(ledOn, HIGH);
    digitalWrite(led1, HIGH);
    digitalWrite(led2, HIGH);
    digitalWrite(led3, HIGH);
    delay(250);
    digitalWrite(led1, LOW);
    digitalWrite(led2, LOW);
    digitalWrite(led3, LOW);
    delay(100);
}

Custom parts and enclosures

Code Red Plate v1
Code Red plate for project. 200 microns layer height, 20% infill
Back Plate v2
Face Plate v2

Schematics

Code Red Button Diagram
Code red button diagram bb ym7g26ippj

Comments

Similar projects you might like

Healthcare Skin Pressure Detector

Project tutorial by David Escobar

  • 5,090 views
  • 2 comments
  • 17 respects

You've Been Using a Button Wrong this Whole Time

Project tutorial by SMM2

  • 2,729 views
  • 1 comment
  • 3 respects

DIY 3-Axis CNC VMC

Project tutorial by Amit Nandi (BigWiz)

  • 12,163 views
  • 9 comments
  • 46 respects

Secure Package Delivery Trunk for Your Front Porch

Project tutorial by Team Castle Locker

  • 2,515 views
  • 1 comment
  • 15 respects

Temperature Controlled Container for Sample Transportation

Project tutorial by Dean Kos and Viola Introini

  • 517 views
  • 0 comments
  • 12 respects

DIY Universal CNC Machine

Project tutorial by Arduino “having11” Guy

  • 15,990 views
  • 5 comments
  • 69 respects
Add projectSign up / Login