Things used in this project

Hardware components:
Attiny85
Microchip ATTiny85
×1
Mfr 25frf52 100r sml
Resistor 100 ohm
×3
Kingbright wp7113srd d image
5 mm LED: Red
×3
Led technology l03r5000q1 image
5 mm LED: Yellow
×3
61vhxtmzbyl
AA Batteries
×3
Software apps and online services:
Ide web
Arduino IDE

Schematics

Schematic
Gsvtjk9cvdwrdkwxt7nj
Photo of circuit
Ktz2ukhghrllpfsacrbd
Front view of circuit
Lgf20icxgyikb7bth4ln
Back view of soldered connections
Jch4scxy6oanmxmynaji
Jack Skellington Pumpkin Carving Template
In case anyone wants to carve the same pattern, this template was easy to follow
Oiolstqfvak09mgmhyz6

Code

LED Flicking candle flame effect to PIMP DAT PUMPKINArduino
// LED Flicking candle flame effect to PIMP DAT PUMPKIN

/*
 Halloween 2016 Barry Wise
 
  Borrowed and enhanced code from:
      http://www.instructables.com/id/Realistic-Fire-Effect-with-Arduino-and-LEDs
  
  Made ATTINY85 shield for Arduino like this:
      https://www.youtube.com/watch?v=9LjfkjwMqXI
  
  How to use Arduino as ISP for programming via said shield:
      http://www.kobakant.at/DIY/?p=3742

*/

int ledPin1 = 0;
int ledPin2 = 1;
int ledPin3 = 2;

void setup() {

  pinMode(ledPin1, OUTPUT);
  pinMode(ledPin2, OUTPUT);
  pinMode(ledPin3, OUTPUT);
  
}

void loop() {

  // analogWrite(ledPin1, random(50)+200);
  // analogWrite(ledPin2, random(80)+170);
  analogWrite(ledPin1, random(250));
  analogWrite(ledPin2, random(250));
  

  digitalWrite(ledPin3, HIGH);   
  
  delay(random(200));

  digitalWrite(ledPin3, LOW);   


}

Credits

Barrywise profile oct2012
Barry Wise
1 project • 0 followers
Programmer
Contact

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Sign up / LoginProjectsPlatformsTopicsContestsLiveAppsBetaBlog