Since my last post regarding the Jack-o-lantern, I have rebuilt the device to allow use in other projects. I removed the header pins from the trinket and installed a two pin connector for the power. The jewel is connected to the trinket with two buss wires and the 220ohm resistor for the data input. I used sleeving on the other two leads. These wires are flexible enough to allow the jewel to be positioned as required. Then I mounted the electronics to a 4AA battery box that has a switch. I cut a 1.5in hole in the bottom of the pumpkin. I then mounted two sets of velcro strips to the pumpkin and to the battery box. The trinket is held to the battery box with tacky putty. I adjusted the jewel so that it favors the back of the pumpkin. I also added a diffuser tube over the jewel to soften the light. The diffuser is nothing more than wax paper rolled into two layers. The pumpkins came from Walmart and are mostly plastic and foam.
The sketch is here, thanks to Chemdoc77
I am living proof that the Trinket will work but please don’t ask me how I did it. I had most of the troubles others have described here but apparently even the blind hog finds an acorn once in awhile!!!
HAPPY HALLOWEEN! Every day this month we’ll be bringing you ideas and projects for an Electronic Halloween! Expect wearables, hacks & mods, costumes and more here on the Adafruit blog! Working on a project for Halloween this year? Share it with us on Google+, in the comments below, the Adafruit forums, Facebook, Discord, Instagram or Twitter— we’d love to see what you’re up to and share it with the world (tag your posts #ElectronicHalloween). You can also send us a blog tip! Tune in to our live shows, 3D hangouts with Noe and Pedro and Ask an Engineer, featuring store discount codes, ideas for projects, costumes, decorations, and more!
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.