Skip to content

chaostreff-flensburg/rakede-pcb

Repository files navigation

ctfl-rakete-pcb

Converting this sticker desing into a PCB that lights up its flame and lighthouse top from the bottom side using some LEDs and a coin cell battery.

ctfl-rakete-pcb-front.png ctfl-rakete-pcb-back.png

Implementing the colors

Produce the PCBs with red solder mask and white Silkscreen.

color objects pcb layers present notes
white background considering the background to be transparent
white w_flame F.Cu, F.Silkscreen
yellow y_flame, y_light none blank FR4 should give a nice translucent yellow
red r_flame F.Mask only red solder mask should give a nice translucent red
red r_tower, r_top, r_roof F.Mask, f.Cu with the copper underneath, the red solder mask should appear darker than at the flame
light grey w_base, w_tower F.Cu, F.Silkscreen
dark grey g_base F.Cu not differentiated from black outlines
black b_contours, b_name F.Cu, F.Mask only copper coated with tin should give a nice contouring contrast

Extracting solder mask geometry (F.Mask) from the complete SVG file

In KiCAD the solder mask is expressed as an exclusion mask from the usually all present solder mask coverage. Meaning that you define geometry where you want solder mask NOT to be.

So the gemonetry we import into KiCAD has to be the negative of the red parts of our logo.

Additionally the solder mask has to back up the silkscreen so that negative image also has to include our white parts.

I concrete terms we need to perform the following steps on our yource vector grapfics to get the desired F.Mask geometry:

  1. Delete the yellow lighthous part at the top because it is clipped by all surrounding parts and itself does not clip any other.
  2. Combine the white and the red flame part into one.
  3. Subtract the yellow flame part from the formerly combined rest of the flame.
  4. Also subtract the dark grey socket part from the remaining flame.
  5. Combine all remaining red and white parts.
  6. Subtract the black outlines which shall poke through the solder mask and the silk screen. Now we have our positive image of the solder mask we want (plus the outline which we also want for positioning).
  7. Duplicate the outline and move the duplicate below our solder mask positive.
  8. Subtract the positive from the duplicate of the outline.
  9. Save as new SVG file (F.Mask.svg)
  10. Now you can import the SVG file to the appropriate layer in the pcb layout while scaling it by 1.85.

Part sourcing

cnt THT cnt THT-uC cnt SMD reference title reichelt.de mouser.de
1 1 1 BT1 battery clip KZH 20SMD 534-3034
1 1 1 SW1 power switch SS SMD402 MSS-102545-14A-V-SMT
0 1 1 U1 microcontroller ATTINY212 ATTINY212-SSN
0 0 14 D? SMD LEDs - 859-LTW-220DS5
7 7 0 D? 5mm LEDs EVERLIGHT 334-15/X1C5-6QSA/EU 941-C512AWNSCZ0B0152
0 1 1 J1 programming header (break off 3 of 50) - 437-8018305040001101
0 1 1 C1 0805 capacitor 100 nF - 80-C0805C104J5R
0 1 1 C3 0805 capacitor 1 uF - 963-UMK212B7105KG-T

Default firmware

The directory defaultFirmware holds an Arduino sketch that is meant to be used with the megaTinyCore board support package for Arduino and can then be uploaded using a programmer like SerialUPDI, e.g. the Adafruit UPDI Friend. Battery:BatteryHolder_Multicomp_BC-2001_1x2032

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages