Skip to content

9. Electroincs production

Group assignment:

Characterize the design rules for your in-house PCB production process: document feeds, speeds, plunge rate, depth of cut (traces and outline) and tooling.
Document the workflow for sending a PCB to a boardhouse
Document your work to the group work page and reflect on your individual page what you learned

Individual assignment:

Make and test a microcontroller development board that you designed

Milling machine CNC 3018 PRO

cnc_machine

Mods

  • For this week we learned how to mill and cut our own PCBs.

F.Cu layer

  • First the F.Cu layer (the first copper layer).

Open Mods > programs > open program > G-code > mill 2D PCB

mods

Material for pcb

material

FR1 (phenolic paper) - is a durable and insulating material widely used in the production of printed circuit boards (PCBs) due to its resistance to heat and mechanical stress. It provides a reliable base for applying copper traces and mounting electronic components.

Test PCB

mods

Select png file.

mods

mods

Click Calculate.

mods

Attempts

pcb

pcb

pcb

pcb

My work

My first pcb

png file for traces

pcb

png file for interior

pcb

​​pcb board without components

pcb

pcb board with component

pcb

Code

#define led_pin 20
#define button_pin 21

void setup() {
   pinMode(led_pin,OUTPUT);
   pinMode(button_pin,INPUT_PULLUP);
   Serial.begin();
   Serial.setTimeout(10);
   }

bool button_up = true;

void loop() {
   if (Serial.available()) {
      digitalWrite(led_pin,HIGH);
      String s = Serial.readString();
      Serial.print("you typed: ");
      Serial.println(s);
      delay(100);
      digitalWrite(led_pin,LOW);
      }
   if ((digitalRead(button_pin) == LOW) && button_up) {
      digitalWrite(led_pin,HIGH);
      Serial.println("button down");
      button_up = false;
      }
   else if ((digitalRead(button_pin) == HIGH) && !button_up) {
      digitalWrite(led_pin,LOW);
      Serial.println("button up");
      button_up = true;
      }
}

Video

чй