David Escobar
Published © GPL3+

DIY Code Red Button for Healthcare Simulation

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

AdvancedFull instructions provided3,844
DIY Code Red Button for Healthcare Simulation

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
Adafruit 16mm Illuminated Pushbutton On/Off
×1
Adafruit Super Bright Red LED 5mm
×3
Adafruit 5mm Plastic Flat LED Holder
×3
Adafruit Hook-Up Wire Spool Set
×1
Adafruit 5V 2A Switching Power Supply
×1
Adafruit Perma-Proto Quarter-sized Breadboard PCB
×1
Adafruit Nylon Screws
×8

Software apps and online services

Arduino Web Editor
Arduino Web Editor

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
Ultimaker 3

Story

Read more

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

DIY Code Red Button

Arduino
/*
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);
}

Credits

David Escobar

David Escobar

7 projects • 44 followers
Healthcare Simulation Specialist. 9+ years in healthcare.I have been actively involved with 3D printing and electronics for the past 2 years

Comments