ITP Notebook

Marquee Letter PCB

February 28, 2022

Homemade Hardware

Finalizing the Marquee Letter project started last week.

The updated schematic The updated schematic

The updated board design The updated board design

The milled circuit board The milled circuit board

Assembling the SMD parts Assembling the SMD parts

Placing the parts with solder paste Placing the parts with solder paste

Soldering the circuit with the heat gun Soldering the circuit with the heat gun

Programming the ATtiny Programming the ATtiny

The Arduino Code:

#include <Math.h>
#include <CapacitiveSensor.h>

CapacitiveSensor   cs_4_2 = CapacitiveSensor(2, 3);

void setup() {
  pinMode(0, OUTPUT);
  cs_4_2.set_CS_AutocaL_Millis(0xFFFFFFFF);
}

void loop() {
  long total1 =  cs_4_2.capacitiveSensor(30);
  int del = 0;
  if (total1 > 200) {
    analogWrite(0, 255);
  } else {
    analogWrite(0, 80);
  }
}

Plugging it in Plugging it in

Adding the capacitive sensor Adding the capacitive sensor

The finished board