arduinocc
Published © GPL3+

Christmas Card PCB

Etch a PCB card you'll enjoy making with only electronic glitter involved! And it's a great way to use up those spares....

AdvancedFull instructions provided1,768
Christmas Card PCB

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
Breadboard (generic)
Breadboard (generic)
×1
Jumper wires (generic)
Jumper wires (generic)
×1
ATtiny85
Microchip ATtiny85
×1
SMT LEDs
×1
SMT Resistors 100 Ohm
×1
SMT Resistors 22Ohm
×1
SMT Resistors 3KOhm
×1
Copper Clad Board
×1

Software apps and online services

Arduino IDE
Arduino IDE
Visual Studio 2017
Microsoft Visual Studio 2017
Visual Micro
Inkscape
Inkscape 305 Laser Plugin
GerbV

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)
2.5W UV Laser
PCB Etchant (Ferric Chloride)
Acetone
Matt Black Paint
Soldering iron (generic)
Soldering iron (generic)
Solder Wire, Lead Free
Solder Wire, Lead Free

Story

Read more

Custom parts and enclosures

All CAD Files

Free PCB File, PCB Image, Initial Images, Generated GCode with alterations for speed.

Schematics

PCB Layout for Back of Card

Just an image, see ZIP for FPC/Gerber files and all images

Code

ChristmasCard.ino

Arduino
Basic code for our ATTiny85 to randomly flash our lights.
/*
 Name:		ChristmasCard.ino
 Author:	vMicro
 Simple Sketch to randomly flash lights on our ATTiny85 IC
*/

#define RED_LEDS PB3
#define YEL_LEDS PB1
#define BLU_LEDS PB2
#define GRN_LED1 PB0
#define GRN_LED2 PB4

void setup() {
	pinMode(RED_LEDS, OUTPUT);
	pinMode(YEL_LEDS, OUTPUT);
	pinMode(BLU_LEDS, OUTPUT);
	pinMode(GRN_LED1, OUTPUT);
	pinMode(GRN_LED2, OUTPUT);
	randomSeed(micros() % 10000);
}

// the loop function runs over and over again until power down or reset
void loop() {
	// Run Random
	digitalWrite(RED_LEDS, random() % 2);
	delay(random(10, 100));
	digitalWrite(YEL_LEDS, random() % 2);
	delay(random(10, 100));
	digitalWrite(BLU_LEDS, random() % 2);
	delay(random(10, 100));
	digitalWrite(GRN_LED1, random() % 2);
	delay(random(10, 100));
	digitalWrite(GRN_LED2, random() % 2);
	delay(random(500, 1200));
}

Credits

arduinocc
5 projects • 13 followers
Arduino compatible IDE for Microsoft Visual Studio and Atmel Studio 7 with unique USB Debugger, Trace, Pin Viewer and Plotter, GDB Debugging
Contact

Comments

Please log in or sign up to comment.