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
Knife cleaned PCB
Completed ‘Hello World’ board
#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.