PCB etching: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with "<pre style="font-weight: bold"> _______ _______ ______ _______ _________ _______ _________ _ _______ ( ____ )( ____ \( ___ \ ( ____ \\__ __/( ____ \|\ /|\__ __/( ( /|( ____ \ | ( )|| ( \/| ( ) ) | ( \/ ) ( | ( \/| ) ( | ) ( | \ ( || ( \/ | (____)|| | | (__/ / | (__ | | | | | (___) | | | | \ | || | | _____)| | | __ ( | __) | | | | | ___ | | |...")
 
No edit summary
Line 17: Line 17:
===1. PCB Etching===
===1. PCB Etching===


===2. ===
===2. material log===
====Hello World!====
<pre>
void setup() {
}


void loop() {
_material log
  Serial.println("Hello World!");  //sends a message to the computer
Lye
}
Copper clad PCB
</pre>
Acetone
==== Simple Led blink example ====
Mini drill
Drill bits
Photoresist sheet
Ferric chloride
Light-sensitive PCBs


[[File:Led-blink.png|thumb|center]]
<pre>
int ledPin = 13;              //the int ledPin is 13
void setup() {
  pinMode(ledPin,OUTPUT);      //ledPin is a OUTPUT
}
void loop() {
  digitalWrite(ledPin,HIGH);  //turns pin 13 on
  delay(500);                  //stops the loop for 500 milliseconds
  digitalWrite(ledPin,LOW);    //turns pin 13 off
  delay(500);                  //stops the loop for 500 milliseconds
}
</pre>
==== Traffic light example ====
[[File:Led-traffic-light bb.png|thumb|center]]
<pre>
int RedLedPin = 13;                //the int RedLedPin is 13
int GreenLedPin = 12;              //the int GreenLedPin is 12
void setup() {
  pinMode(RedLedPin,OUTPUT);        //ledPin is a OUTPUT
  pinMode(GreenLedPin,OUTPUT);      //ledPin is a OUTPUT
}
void loop() {
  digitalWrite(GreenLedPin,HIGH);  //turns green led  on
  delay(5000);                      //stops the loop for 5000 milliseconds
  for(int i = 0; i < 5; i++){      //this for loop gets 5 times repeated
    digitalWrite(GreenLedPin,LOW);  //turns green led off
    delay(500);                    //stops the loop for 500 milliseconds
    digitalWrite(GreenLedPin,HIGH); //turns green led off
    delay(500);                    //stops the loop for 500 milliseconds
  }
  digitalWrite(GreenLedPin,LOW);    //turns green led off
  digitalWrite(RedLedPin,HIGH);    //turns red led on
  delay(5000);                      //stops the loop for 5000 milliseconds
  digitalWrite(RedLedPin,LOW);      //turns red led on
}
</pre>
==== Speaker example ====
[[File:Speaker bb.png|thumb|center]]
[[File:Speaker bb.png|thumb|center]]
<pre>
int speaker = 13;                  //int speaker is 13
void setup() {
  pinMode(speaker, OUTPUT);        //pin 13 is an output
}
void loop() {
  for(int i = 100; i< 1000;i++){    //for loop counts from 100 to 1000
    tone(speaker, i);              //generates a tone on pin 13 with the frequency of int i
    delay(10);                      //stops the code for 10 milliseconds
  }
}
</pre>
* WH.02.110 (Instruction Room IAS) 9:00 - 16:00
==  ==
==  ==
[[Category:2024]]
[[Category:2024]]

Revision as of 14:08, 4 April 2024


_______  _______  ______     _______ _________ _______          _________ _        _______ 
(  ____ )(  ____ \(  ___ \   (  ____ \\__   __/(  ____ \|\     /|\__   __/( (    /|(  ____ \
| (    )|| (    \/| (   ) )  | (    \/   ) (   | (    \/| )   ( |   ) (   |  \  ( || (    \/
| (____)|| |      | (__/ /   | (__       | |   | |      | (___) |   | |   |   \ | || |      
|  _____)| |      |  __ (    |  __)      | |   | |      |  ___  |   | |   | (\ \) || | ____ 
| (      | |      | (  \ \   | (         | |   | |      | (   ) |   | |   | | \   || | \_  )
| )      | (____/\| )___) )  | (____/\   | |   | (____/\| )   ( |___) (___| )  \  || (___) |
|/       (_______/|/ \___/   (_______/   )_(   (_______/|/     \|\_______/|/    )_)(_______)
                                                                                            
                                                                    


Introduction

1. PCB Etching

2. material log

_material log Lye Copper clad PCB Acetone Mini drill Drill bits Photoresist sheet Ferric chloride Light-sensitive PCBs