This talking Pennywise pumpkin will scare the hell out of you!
For the pumpkin design, I followed the tutorial by PumpkinFreak. His Pennywise pumpkin looks much better than mine, but I’m still very happy with my result.
As a bonus, I’ve added special light & sound effects: The pumpkin contains a speaker and led lights (Adafruit LED sequins). I have a Raspberry Pi that controls the led & speakers, but I kept it outside of the pumpkin, so that it’s not impacted by the humidity.
The pumpkin normally glows with a yellow light, but when Pennywise speaks it turns red: “Hiya Georgie! Do you wanna balloon?”. It certainly scared a number of visitors.
Check the video to see it in action:
I’ve used microPython for the Raspberry Pi coding
#!/usr/bin/env python3 import pygame import random import time from gpiozero import LED from aiy.pins import (PIN_A,PIN_B,PIN_C,PIN_D) #initialize sound pygame.mixer.pre_init(frequency=44100, size=-16, channels=2, buffer=4096) pygame.mixer.init() pygame.mixer.music.set_volume(0.8) #initialize other things led_a = LED(PIN_A) led_b = LED(PIN_B) #sound list _sounds = ['Balloon.mp3','Going.mp3','Hiya-Georgie.mp3','Laughing-1.mp3','Laughing-2.mp3','Meet-Pennywise.mp3','Pennywise.mp3'] #play random sound while True: led_a.off() led_b.on() time.sleep(1) next_sound = random.choice(_sounds) pygame.mixer.music.load("/home/pi/Documents/Programs/Pennywise/Sounds/"+next_sound) pygame.mixer.music.play() while pygame.mixer.music.get_busy() == True: pass time.sleep(1) led_b.off() led_a.on() time.sleep(30)
Last year, I made a talking witch (also using a Raspberry Pi). And I also have plenty of pumpkins: Baby Yoda, the Balrog, Predator, Gremlins, …
One thought on “Pennywise Pumpkin”