Jianlin Cao

Week 6: Electronics Design

• Assignments

This week’s assignments

redraw the echo hello-world board
add (at least) a button and LED (with current-limiting resistor)
check the design rules, and make it
extra credit: simulate its operation

Result

This assigment is basicly covered by the fabisp week. But i do got a new ‘hello-world’ board redesigned.

PCB

images images

Knife cleaned PCB images

Completed ‘Hello World’ board images

#define LED 3
#define BUTTON 4

void setup()
{
  pinMode(LED, OUTPUT);
  pinMode(BUTTON, INPUT);
}

void loop()
{
  if(digitalRead(BUTTON))
  {
    digitalWrite(LED,HIGH);
  }
  else
  {
    digitalWrite(LED,LOW);
  }
  delay(100);  
}

Get the files

You can download the source files directly.