Skip to content

Pimoroni Cosmic Unicorn Halloween themed, PIR enabled scarer.

Notifications You must be signed in to change notification settings

mrglennjones/Halloweenicorn

Repository files navigation

Halloweenicorn 💀🎃🧛‍♂️👻

Pimoroni Cosmic Unicorn Halloween themed, PIR enabled scarer.

video_demo2.mp4

What is it?

A micropython script for Pimoroni's Cosmic Unicorn that displays a randomly picked face anim from PNG spritesheet and play a sound (evil laugh) upon detection from the PIR sensor

facesxl

Dependencies

Description of files

  • pir_pngandsound.py main micropython script
  • [laughs] Laughs directory with the 4 wav files (You can change these to your own, make sure they are mono, 16-bit, 22050Hz)
  • faces.png This the PNG spritesheet of four faces 32x32 pixels per frame

Hardware requirements

pir1 | pir2

About

Pimoroni Cosmic Unicorn Halloween themed, PIR enabled scarer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages