Hacky Halloween

From Kwartzlab
(Difference between revisions)
Jump to: navigation, search
(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]].
  
Thanks to a $1000 grant from the [http://kwawesome.com/ KW Awesome Foundation], we will be conducting a pumpkin carving and learn-to-solder workshop for kids 8+.
+
[[Media:Hacky_Halloween_-_Assembly_Instructions.pdf|Assembly Instructions]] (PDF)
  
=Meta-Bits=
+
== Hacking ==
;Organizer
+
=== Programming ===
:Ben
+
;Participants
+
:...
+
;Date
+
:Mid-to-late October, 2011
+
  
=Who's doing what?=
+
Optiboot bootloader ([[Media:Optiboot_hackyhalloween.hex|optiboot_hackyhalloween.hex]])
  
=Materials needed=
+
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>
  
=Tasks=
+
To compile bootloader:
== Venue ==
+
<nowiki>
 +
make clean
 +
make hh</nowiki>
  
'''Waterloo Town Square''': Ben is checking with Tracy, the co-ordinator for possible event dates. There are tents and table available.
+
Append to boards.txt and select in the Arduino IDE under Tools->Board
 +
<nowiki>
 +
HackyHalloween.name=Hacky Halloween w/ ATmega328P (1MHz IRC)
  
'''Science Open House''': Martin Scherer from the University of Waterloo Faculty of Engineering has offered space at their Science Open House (Saturday October 29th, geared toward kids). He's offered resources and advertising for our event. More about Science Open House here: http://science.uwaterloo.ca/events/2011-science-open-house.
+
HackyHalloween.upload.protocol=arduino
 +
HackyHalloween.upload.maximum_size=30720
 +
HackyHalloween.upload.speed=9600
  
== Pumpkins ==
+
HackyHalloween.bootloader.low_fuses=0xFF
co-ordinator: Doug Moen
+
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
  
We'll find a pumpkin farm or other vendor who is willing to bring pumpkins to the venue, sell them, and take back the unsold pumpkins. (We'd like to avoid this task ourselves.)
+
HackyHalloween.build.mcu=atmega328p
 +
HackyHalloween.build.f_cpu=1000000L
 +
HackyHalloween.build.core=arduino
 +
HackyHalloween.build.variant=standard</nowiki>
  
* Herrle's (doesn't have the staff or trucks to bring out and sell pumpkins. They recommended we try the Shantz family or a smaller pumpkin farm). They would sell us pumpkins at a wholesale price, though.
+
=== Arduino sketch ===
* Closest grocery store (Valu-Mart if we're at Waterloo Square)
+
  
== Pumpkin carving knives==
+
<nowiki>
 +
/*
 +
  Hacky Halloween
 +
      by
 +
    kwartzlab 
  
Co-ordinator: Steph
+
  October 2012
  
* Pumpkin carving kits from the dollar store?
+
  Code by James Bastow <james@jamesbastow.com>
* large spoons, etc.
+
  
== Electronics: the "pumpkin card"==
+
  This software is in the public domain.
== Soldering irons, solder, LEDs, etc==
+
*/
  
One-page soldering comic: http://www.tvbgone.com/mfaire/soldercomic/soldercomic.pdf
 
  
We have a number of cheapish soldering irons, bought for the last learn to solder event. We should look into buying a few more.
+
int LED1 = 9;    // LED on digital pin 9
 +
int LED2 = 10;  // LED on digital pin 10
  
== Publicity==
+
void setup()
== Insurance==
+
{
* Gus is looking into insurance we'll need for the event
+
  randomSeed(analogRead(0));
 +
}
  
== Budget and capacity planning==
+
void loop()
How much money are we spending per kid (cost of electronics, knife, etc)? What are the fixed costs (venue, possibly insurance)? Based on the foregoing, and a $1000 budget, how many pumpkin carvers can we support?
+
{
The current rough estimate is 100 kids.
+
  analogWrite(LED1, random(127,255));
== Event Management (on the day of)==
+
  analogWrite(LED2, random(127,255));
 +
  delay(random(20,100));                           
 +
}
 +
</nowiki>

Latest revision as of 21:28, 24 October 2012

HackyHalloween.png

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

HackyHalloween Kit.jpg HackyHalloween Assembled.jpg

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));                            
}

Personal tools
Navigation