Hacky Halloween
From Kwartzlab
(Difference between revisions)
Punkin3.14 (Talk | contribs) (→Pumpkin carving knives) |
m (→Arduino sketch: Update date/contact info) |
||
| (28 intermediate revisions by 8 users not shown) | |||
| Line 1: | Line 1: | ||
| + | [[File:HackyHalloween.png|center]] | ||
| + | |||
[[Category:Projects]] | [[Category:Projects]] | ||
| + | [[Category:Events]] | ||
| + | |||
| + | Thanks to a $1000 grant from the [http://kwawesome.com/ KW Awesome Foundation], we were able to hold a pumpkin carving and learn-to-solder workshop at [http://www.themuseum.ca THEMUSEUM]. | ||
| + | |||
| + | = Date/Time/Location = | ||
| + | October 29, 2011 at THEMUSEUM, 10am - 5pm | ||
| + | |||
| + | = Publicity = | ||
| + | * Poster: [[File:Hacky_Halloween_poster.pdf]] | ||
| + | * Short blurb: ''Learn how to carve a pumpkin and solder your own flickering LED candle. Pumpkins, electronics and admission are free. 10am - 5pm at THEMUSEUM, 10 King St W Kitchener. Presented by kwartzlab makerspace and sponsored by KW Awesome Foundation.'' | ||
| + | * Write and send it on to CTV, The Record, The Chronicle, and the UW and WLU papers. | ||
| + | * Banner on our front page | ||
| + | * Brief interview on Rogers Talk Local | ||
| + | * Pre-event blog post: [http://www.kwartzlab.ca/2011/10/hacky-halloween-october-29th-themuseum/] | ||
| + | * After event blog post: [http://www.kwartzlab.ca/2011/10/hackyhalloween-2011-photos-posted/] | ||
| + | |||
| + | = Insurance = | ||
| + | Our insurance covers external events. | ||
| + | |||
| + | == Budget == | ||
| + | 100 kits & pumpkins | ||
| + | |||
| + | * Pumpkins: $250 | ||
| + | * Carving Materials (Knives, etc): $? | ||
| + | * Soldering Materials (Parts & PCBs): $650 | ||
| + | |||
| + | = Materials = | ||
| + | == Carve == | ||
| + | * pumpkins (Nauman's Farm will give us 100 pumpkins for $250) | ||
| + | * carving saws([http://www.instructables.com/id/Pumpkin-Carving-Saws/]) | ||
| + | * scoops | ||
| + | * Pushpins for pattern transfer | ||
| + | * toothpicks, to repair pumpkin after carving accident | ||
| + | * patterns, printed out from zombiepumpkins.com | ||
| + | * scissors, for cutting excess paper from the patterns | ||
| + | * tape, to hold the pattern on the pumpkin while transferring the pattern | ||
| + | * newspapers, to protect tables from pumpkin guts | ||
| + | * pails, to hold pumpkin guts | ||
| + | * fine point markers, for marking out patterns | ||
| + | * large kitchen knife to slice goop off the lids | ||
| + | |||
| + | == Solder == | ||
| + | * Soldering stations (8+) | ||
| + | * Sponges | ||
| + | * Solder (63/37 SnPb) | ||
| + | * Diagonal cutters | ||
| + | * Repair/rework tools: solder sucker, desoldering braid, flux, helping hands/vise, pliers, wire strippers, tweezers, scalpel, etc | ||
| + | * Power bars/extension cords | ||
| + | * [http://www.tvbgone.com/mfaire/soldercomic/soldercomic.pdf "Soldering is easy!" Instructions] | ||
| + | |||
| + | = Soldering Kit = | ||
| + | |||
| + | [[File:HackyHalloween_Kit.jpg|320px]] [[File:HackyHalloween_Assembled.jpg|320px]] | ||
| + | |||
| + | The Hacky Halloween kit is a barebones version of the kwartzlab [[kick]]. | ||
| − | + | [[Media:Hacky_Halloween_-_Assembly_Instructions.pdf|Assembly Instructions]] (PDF) | |
| − | = | + | == Hacking == |
| − | + | === Programming === | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | Optiboot bootloader ([[Media:Optiboot_hackyhalloween.hex|optiboot_hackyhalloween.hex]]) | |
| − | = | + | Makefile: |
| + | <nowiki> | ||
| + | hh: TARGET = atmega328 | ||
| + | hh: MCU_TARGET = atmega328p | ||
| + | hh: CFLAGS += '-DMAX_TIME_COUNT=F_CPU>>4' '-DNUM_LED_FLASHES=1' -DBAUD_RATE=9600 | ||
| + | hh: AVR_FREQ = 1000000L | ||
| + | hh: LDSECTION = --section-start=.text=0x7800 | ||
| + | hh: $(PROGRAM)_hackyhalloween.hex</nowiki> | ||
| − | + | To compile bootloader: | |
| − | + | <nowiki> | |
| + | make clean | ||
| + | make hh</nowiki> | ||
| − | + | Append to boards.txt and select in the Arduino IDE under Tools->Board | |
| + | <nowiki> | ||
| + | HackyHalloween.name=Hacky Halloween w/ ATmega328P (1MHz IRC) | ||
| − | + | HackyHalloween.upload.protocol=arduino | |
| + | HackyHalloween.upload.maximum_size=30720 | ||
| + | HackyHalloween.upload.speed=9600 | ||
| − | == | + | HackyHalloween.bootloader.low_fuses=0xFF |
| − | + | HackyHalloween.bootloader.high_fuses=0xDA | |
| + | HackyHalloween.bootloader.extended_fuses=0xFF | ||
| + | HackyHalloween.bootloader.path=atmega | ||
| + | HackyHalloween.bootloader.file=optiboot_hackyhalloween.hex | ||
| + | HackyHalloween.bootloader.unlock_bits=0x3F | ||
| + | HackyHalloween.bootloader.lock_bits=0x0F | ||
| − | + | HackyHalloween.build.mcu=atmega328p | |
| + | HackyHalloween.build.f_cpu=1000000L | ||
| + | HackyHalloween.build.core=arduino | ||
| + | HackyHalloween.build.variant=standard</nowiki> | ||
| − | + | === Arduino sketch === | |
| − | + | ||
| − | + | <nowiki> | |
| + | /* | ||
| + | Hacky Halloween | ||
| + | by | ||
| + | kwartzlab | ||
| − | + | October 2012 | |
| − | + | Code by James Bastow <james@jamesbastow.com> | |
| − | + | ||
| − | + | This software is in the public domain. | |
| − | + | */ | |
| − | |||
| − | + | int LED1 = 9; // LED on digital pin 9 | |
| + | int LED2 = 10; // LED on digital pin 10 | ||
| − | + | void setup() | |
| − | + | { | |
| − | + | randomSeed(analogRead(0)); | |
| + | } | ||
| − | + | void loop() | |
| − | + | { | |
| − | + | analogWrite(LED1, random(127,255)); | |
| − | + | analogWrite(LED2, random(127,255)); | |
| + | delay(random(20,100)); | ||
| + | } | ||
| + | </nowiki> | ||
Latest revision as of 21:28, 24 October 2012
Thanks to a $1000 grant from the KW Awesome Foundation, we were able to hold a pumpkin carving and learn-to-solder workshop at THEMUSEUM.
Contents |
Date/Time/Location
October 29, 2011 at THEMUSEUM, 10am - 5pm
Publicity
- Poster: File:Hacky Halloween poster.pdf
- Short blurb: Learn how to carve a pumpkin and solder your own flickering LED candle. Pumpkins, electronics and admission are free. 10am - 5pm at THEMUSEUM, 10 King St W Kitchener. Presented by kwartzlab makerspace and sponsored by KW Awesome Foundation.
- Write and send it on to CTV, The Record, The Chronicle, and the UW and WLU papers.
- Banner on our front page
- Brief interview on Rogers Talk Local
- Pre-event blog post: [1]
- After event blog post: [2]
Insurance
Our insurance covers external events.
Budget
100 kits & pumpkins
- Pumpkins: $250
- Carving Materials (Knives, etc): $?
- Soldering Materials (Parts & PCBs): $650
Materials
Carve
- pumpkins (Nauman's Farm will give us 100 pumpkins for $250)
- carving saws([3])
- scoops
- Pushpins for pattern transfer
- toothpicks, to repair pumpkin after carving accident
- patterns, printed out from zombiepumpkins.com
- scissors, for cutting excess paper from the patterns
- tape, to hold the pattern on the pumpkin while transferring the pattern
- newspapers, to protect tables from pumpkin guts
- pails, to hold pumpkin guts
- fine point markers, for marking out patterns
- large kitchen knife to slice goop off the lids
Solder
- Soldering stations (8+)
- Sponges
- Solder (63/37 SnPb)
- Diagonal cutters
- Repair/rework tools: solder sucker, desoldering braid, flux, helping hands/vise, pliers, wire strippers, tweezers, scalpel, etc
- Power bars/extension cords
- "Soldering is easy!" Instructions
Soldering Kit
The Hacky Halloween kit is a barebones version of the kwartzlab kick.
Assembly Instructions (PDF)
Hacking
Programming
Optiboot bootloader (optiboot_hackyhalloween.hex)
Makefile:
hh: TARGET = atmega328 hh: MCU_TARGET = atmega328p hh: CFLAGS += '-DMAX_TIME_COUNT=F_CPU>>4' '-DNUM_LED_FLASHES=1' -DBAUD_RATE=9600 hh: AVR_FREQ = 1000000L hh: LDSECTION = --section-start=.text=0x7800 hh: $(PROGRAM)_hackyhalloween.hex
To compile bootloader:
make clean make hh
Append to boards.txt and select in the Arduino IDE under Tools->Board
HackyHalloween.name=Hacky Halloween w/ ATmega328P (1MHz IRC) HackyHalloween.upload.protocol=arduino HackyHalloween.upload.maximum_size=30720 HackyHalloween.upload.speed=9600 HackyHalloween.bootloader.low_fuses=0xFF HackyHalloween.bootloader.high_fuses=0xDA HackyHalloween.bootloader.extended_fuses=0xFF HackyHalloween.bootloader.path=atmega HackyHalloween.bootloader.file=optiboot_hackyhalloween.hex HackyHalloween.bootloader.unlock_bits=0x3F HackyHalloween.bootloader.lock_bits=0x0F HackyHalloween.build.mcu=atmega328p HackyHalloween.build.f_cpu=1000000L HackyHalloween.build.core=arduino HackyHalloween.build.variant=standard
Arduino sketch
/*
Hacky Halloween
by
kwartzlab
October 2012
Code by James Bastow <james@jamesbastow.com>
This software is in the public domain.
*/
int LED1 = 9; // LED on digital pin 9
int LED2 = 10; // LED on digital pin 10
void setup()
{
randomSeed(analogRead(0));
}
void loop()
{
analogWrite(LED1, random(127,255));
analogWrite(LED2, random(127,255));
delay(random(20,100));
}
