All Projects → circa10a → pumpkin-pi

circa10a / pumpkin-pi

Licence: MIT license
Raspberry pi project that controls jack-o-lantern via servo motor and PIR motion sensors

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to pumpkin-pi

pigpio-client
A nodejs client for pigpio socket interface.
Stars: ✭ 24 (+60%)
Mutual labels:  servo, raspberrypi
pca9685
This software is a devLib extension to wiringPi http://wiringpi.com/ and enables it to control the Adafruit PCA9685 16-Channel 12-bit PWM/Servo Driver http://www.adafruit.com/products/815 via I2C interface.
Stars: ✭ 48 (+220%)
Mutual labels:  servo, raspberrypi
WebGPIO
A simple web UI for controlling the GPIO pins on a Raspberry Pi
Stars: ✭ 69 (+360%)
Mutual labels:  raspberrypi
gpio
A RaspberryPi GPIO library written in PHP.
Stars: ✭ 16 (+6.67%)
Mutual labels:  raspberrypi
rust-crosscompiler-arm
Docker images for Rust dedicated to cross compilation for ARM v6 and more
Stars: ✭ 48 (+220%)
Mutual labels:  raspberrypi
background-radiation-monitor
Monitor and record background radiation levels with a cheap detector and a Raspberry Pi.
Stars: ✭ 25 (+66.67%)
Mutual labels:  raspberrypi
gladys-gateway
An End-to-End Encrypted Gateway to access Gladys from the internet
Stars: ✭ 17 (+13.33%)
Mutual labels:  raspberrypi
comi
ComiGO:Simple, cross-platform manga reader。简单、跨平台的漫画阅读器。シンプルな漫画リーダー。
Stars: ✭ 34 (+126.67%)
Mutual labels:  raspberrypi
vigilantpi
VigilantPI is a lightweight NVR which targets mainly Raspberry Pi
Stars: ✭ 14 (-6.67%)
Mutual labels:  raspberrypi
blinkt
A Rust library for the Pimoroni Blinkt!, and any similar APA102 or SK9822 LED strips or boards, on a Raspberry Pi.
Stars: ✭ 18 (+20%)
Mutual labels:  raspberrypi
TheBriarPatch
An extremely crude, lightweight Web Frontend for Suricata/Bro to be used with BriarIDS
Stars: ✭ 21 (+40%)
Mutual labels:  raspberrypi
PowerBlock
Driver for petrockblock.com PowerBlock
Stars: ✭ 37 (+146.67%)
Mutual labels:  raspberrypi
Report-IP-hourly
📬 Report Linux IP by email hourly.
Stars: ✭ 43 (+186.67%)
Mutual labels:  raspberrypi
pico-loud talking detector
A tinyML system using a Raspberry Pi Pico and TensorFlow Lite for Microcontrollers to detect loud talking. It can be utilized to encourage people to eat quietly to prevent the spread of the coronavirus and help in the fight against COVID
Stars: ✭ 17 (+13.33%)
Mutual labels:  raspberrypi
Realtek-USB-Wireless-Adapter-Drivers
Realtek USB Wireless Adapter Drivers [0bda:f179] (Kernel 4.15.x ~ 5.9.x)
Stars: ✭ 34 (+126.67%)
Mutual labels:  raspberrypi
CyberSecurity-Box
Firewall-System based on OpenWRT or Pi-Hole with UnBound, TOR, optional Privoxy, opt. ntopng and opt. Configuration of the AVM FRITZ!Box with Presets for Security and Port-List. Please visit:
Stars: ✭ 20 (+33.33%)
Mutual labels:  raspberrypi
kvmd
The main Pi-KVM daemon
Stars: ✭ 125 (+733.33%)
Mutual labels:  raspberrypi
packages
PiKVM Packages
Stars: ✭ 18 (+20%)
Mutual labels:  raspberrypi
pinetime-updater
Flash firmware to PineTime the friendly wired way with OpenOCD
Stars: ✭ 53 (+253.33%)
Mutual labels:  raspberrypi
os
OS for Pi-KVM based on Arch Linux ARM
Stars: ✭ 42 (+180%)
Mutual labels:  raspberrypi

pumpkin-pi 🎃

Build Status PkgGoDev Go Report Card

Raspberry pi project that controls jack-o-lantern via servo motor and PIR motion sensors to simulate it "watching" you.

Inspired by Ryder Damen's mannequin head

Demo

This project was originally built for outdoor use pumpkin-pi demo

Photos

Note: Holes in the acrylic case are needed for the motion sensors to properly work

Wiring diagram

Created with circuit-diagram.org. Source file is in /diagrams

alt text

Deploy

Requires following diagram above to be wired up correctly

Docker

# This script will install the dependencies and start the containers
bash -c "$(curl -sL https://raw.githubusercontent.com/circa10a/pumpkin-pi/main/install.sh)"

Go

Requires Go 1.17+

  1. Install Go
  2. Install pi-blaster
  3. go install github.com/circa10a/pumpkin-pi@latest
  4. pumpkin-pi

Materials

Configuration

Environment Variable Description Required Default
PUMPKINPI_LOG_LEVEL Logrus log level. Use debug for more info false info
PUMPKINPI_MOTION_TIMES_ENABLED Whether to use configured schedule or not. These times must be within the same day false false
PUMPKINPI_MOTION_TIME_START Local time to ensure pumpkin-pi only responds after this hour false 17
PUMPKINPI_MOTION_TIME_END Local time to ensure pumpkin-pi only responds before this hour false 22
PUMPKINPI_PIR_LEFT_MOTION_SENSOR_GPIO_PIN The GPIO Pin used to read inputs from left motion sensor false 11
PUMPKINPI_PIR_RIGHT_MOTION_SENSOR_GPIO_PIN The GPIO Pin used to read inputs from right motion sensor false 13
PUMPKINPI_SERVO_CENTER The center position of the horizontal servo motor false 32
PUMPKINPI_SERVO_LEFT The left position of the horizontal servo motor false 23
PUMPKINPI_SERVO_RIGHT The right position of the horizontal servo motor false 40
PUMPKINPI_SERVO_ROTATE_DELAY The wait time in between each incremental servo step as it rotates false 150ms
PUMPKINPI_SERVO_CENTER_RESET_INTERVAL The interval at which the pumpkin will rotate back to the center position false 5m
PUMPKINPI_SERVO_GPIO_PIN The PWM enabled GPIO Pin used to control the servo motor false 12
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].