www.haegi.org

www.haegi.org

  • 25. May 2018

    |

    Projects » Photobooth

    Photobooth

    My latest project is a photobooth which is operated by a Raspberry Pi Zero and the Raspberry Pi Camera Module.

    The photobooth is in a wooden case with a photo printer, a HDMI display, some buttons and WS2801 LEDs which are used as flash.
    You can find the code for the photobooth on github.

    Instructions

    Materials

    The used materials are:

    • Raspberry Pi (e.g. Zero)
    • Raspberry Pi Camera module
    • HDMI screen
    • Canon Selphy photo printer
    • Big huge red button
    • 3 Aracade buttons
    • 3 green LEDs
    • 14 WS2801 LEDs strip
    • 5V relay to trigger the power of the printer
    • wooden case

    Case

    For the case the following 8mm wood plates are used:

    • 2x 266x300mm (front and back)
    • 2x 266x166mm (top and bottom)
    • 2x 200x300mm (left and right)

    Display

    Add the following to your config.txt (see https://www.waveshare.com/wiki/7inch_HDMI_LCD_%28C%29#Working_with_Raspberry_Pi)

    max_usb_current=1
    hdmi_group=2
    hdmi_mode=87
    hdmi_cvt 1024 600 60 6 0 0 0
    hdmi_drive=1
    

    Camera

    Activate picamera in raspi-config: sudo raspi-config

    WS2801 LEDs

    • Enable SPI in raspi-config: sudo raspi-config
    • Install the Adafruit_Python_WS2801 python module (https://github.com/adafruit/Adafruit_Python_WS2801#installation)

    Printer Installation

    • Install cups
    • Add Canon Selphy printer to cups (https://localhost:631)

    Functionality

    All the neccessary parameters are configured in config.py.

    When starting the python script the intro screen is visible. You can select whether you want to make a single or a multi shot with the corresponding arcade buttons.
    With a press on the big red button an picture is captured. After the capturing process the images are combined with an optional label image.
    Afterwards you see a preview of the picture which can be printed with the corresponding arcade button.
    When pressing the big red button you can capture the next picture.

    Credits

    This photobooth is inspired by https://github.com/jibbius/raspberry_pi_photo_booth, https://github.com/safay/RPi_photobooth, https://github.com/drumminhands/drumminhands_photobooth, https://github.com/zoroloco/boothy

  • 20. January 2018

    |

    Projects » MagicMirror

    WS2801 LEDs (SPI) no longer working with Raspbian strech

    I’ve used some WS2801 LEDs for notification on my Magicmirror build. Unfortunately with the update to Raspbian stretch they were no longer working with the MMM-Pilights module which used the rpi-ws2801 node module.

    I was able to find the reason for the no longer working SPI LEDs in the raspberry pi forum where bulletmark was facing the same problem. With the change of the default SPI frequency in the raspberry pi kernel the rpi-ws2801 package is using the wrong frequency for SPI.

    I was able to modify the node rpi-ws2801 module and set the default frequency for the WS2801 LEDs to 10MHz. The result is in my fork of the node module: https://github.com/Trekky12/node-rpi-ws2801

  • 20. January 2018

    |

    Projects » SmartSwitch

    SmartSwitch v4 with more Buttons

    My latest revision of the smartswitch supports the maximum (due to the MCP23017) of 16 button. I’ve used anti vandalism buttons in different colors so the user can identify the function easily.

    All the other components are the same like in the last revision.

  • 30. November 2017

    |

    Projects » Web Applications

    Life Tracking Dashboard

    A long time ago I started to log my daily expenses and incomes in a Google Calc Sheet. Additionally I logged my cars fuel consumption in another sheet. To automate the process my Android App is able to communicate with my Raspberry Pi where a Python script insert the neccessarry data into the Sheet.

    For better statistics and less dependency to Google I developed a small Life-Tracking dashboard where I can log my expenses, income and my cars fuel consumption. Additionally I created an endpoint to log my location with tasker.

    You can find the project over on github.

    Features

    • track your location with tasker
      • inspired by http://williamsgodfrey.com/using-tasker-to-record-the-location-an-android-device-part-1/ and http://karlherrick.com/2014/02/13/tracking-with-tasker/
    • track your income and spendings
    • manage income/spendings categories
    • automatically add monthly income/spendings (cron required)
    • track your fuel consumption
    • income/spendings and fuel statistics
    • multi-language support
    • multi-user support

    Screenshots

    Location history overview
    Location history filter
    Finances overview
    Add finances
    Finance categories
    Add finance category
    Regular finance entries
    Add regular finance entry
    Fuel overview
    Add fuel entry
    Fuel consumption
    Users overview
    Add user
    Change password
    Finance statistics per year
    Finance statistics per month
    Finance statistics per category
    Finance statistics detail
    Mail test
    Monthly statistics mail
    Tasker trigger
    Tasker action
    Taster HTTP Post action
  • 3. November 2017

    |

    Projects » Misc

    MySQL Dropbox Backup

    I wrote a small PHP script to backup a specific MySQL database, compress the dump in a password-protected zip-file and upload it to dropbox.
    You can find it on github: https://github.com/Trekky12/mysql-dropbox-backup

«Previous Page
1 … 3 4 5 6 7 … 12
Next Page»