Things used in this project

Hardware components:
A000066 iso both
Arduino UNO & Genuino 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:
Ide web
Arduino Web Editor
Hand tools and fabrication machines:
09507 01
Soldering iron (generic)
Ultimaker 3

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

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);
}

Credits

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

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Sign up / LoginProjectsPlatformsTopicsContestsLiveAppsBetaBlog