CONTENTS

Home
Updates
Software
Electronics
Android / iOS
Videos
Music
Resume
Contact



HTTPS VERSION


Electronic Gingerbread House

Posted: December 13, 2016

Introduction

While doing my Saturday shopping at a local store I noticed a $7 gingerbread house kit and decided to grab one. The idea that crossed my mind was to decorate the house with electronics, both LED lights and servo motors. I figured the toxic lead inside the solder might help the flavor of the cookies too (just kidding... it's not safe to eat this house anymore).

Related Projects @mikekohn.net

Artwork: LED Pumpkin Candle, XOR Gate, Motion Eyes, Clay Figures, WS2812 LED, LED Panel, Half Adder, Gingerbread House, Cyborg Chicken, Electric Cat Fight
Food: RC Food, Gingerbread House, PANCAKE-ROM, Cyborg Chicken

Video

A video of the lights on the house flashing and gingerbread people moving. https://youtu.be/nPNxkKRDKsc

Pictures

Gingerbread house circuit board

Here's the circuit board. The 16 pin micro to the left is the MSP430 which controls 2 strips of LEDs and 2 servo motors using four PN2222 transistors.

Gingerbread house with LEDs and servo motors

Here's the gingerbread house assembled with the 2 LED strips and and gingerbread people on the servo motors. The LEDs are all hooked up in series (6 * 1.8v gives approximately 10.8v forward voltage) running off 12v with a 47ohm resistor. A PN2222 transistor is used to allow the 3.3v MSP430 control the 12v strip of LED's. The two servos are running at 5v and also use PN2222 transistors on the signal line.

Source code
gingerbread_house.asm

Copyright 1997-2018 - Michael Kohn