Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!
Arnov Sharma
Published © GPL3+

Attack on titan Military Regiment Badge

Made yet another PCB Badge themed on AOT's Military Regiment

BeginnerFull instructions provided1 hour425
Attack on titan Military Regiment Badge

Things used in this project

Hardware components

Microchip attiny13A
×1
PCBWay Custom PCB
PCBWay Custom PCB
×1
Arduino Nano R3
Arduino Nano R3
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

sch

Code

BLINK for D0

C/C++
void setup() {
  pinMode(0, OUTPUT);
}


void loop() {
  digitalWrite(0, HIGH);    
  delay(1000);                       
  digitalWrite(0, LOW);   
  delay(1000);                      
}

Fade for D0

C/C++
int led = 0;          
int brightness = 0;   
int fadeAmount = 5;   


void setup() {
  
  pinMode(led, OUTPUT);
}


void loop() {

  analogWrite(led, brightness);


  brightness = brightness + fadeAmount;


  if (brightness <= 0 || brightness >= 255) {
    fadeAmount = -fadeAmount;
  }
 
  delay(30);
}

Credits

Arnov Sharma
343 projects • 349 followers
I'm Arnov. I build, design, and experiment with tech—3D printing, PCB design, and retro consoles are my jam.
Contact

Comments

Please log in or sign up to comment.