Skip to content

F0RTHSP4CE/fridge_alive

Repository files navigation

General

Evil fridge project, built with:

  • Orange pi zero 2w
  • Old CRT monitor
  • Zig

Watch the video

Build

Build for orange pi zero 2w

zig build -Dtarget=aarch64-linux-gnu -Doptimize=ReleaseSafe

monitor resolution: (cols)x(lines):128x48

Assets

Sound

Current version supports playlist: queue of tracks, which will be playing along with alive animation when the door is open. To add a track add your mp3 file (<=5Mb) into assets/sound directory and CHANGE meta.playlist file: add new record into json array with file name prepended with /, playing queue respects order of records in meta.playlist file.

Animation

You can't add a new animation without changing code, though I give you some explanation of animations: You have separate directories inside assets/, each one for separate animation, each animation-directory contains .txt frame files and meta.animascii file which defines which frames, in which order and with which duration to show.

Tools used for drawing ascii art

I've used this project to draw ascii animation. It has hosted version. It is buggy, but usable. You'll need to postprocess frames to make paddings, the one, that you will have in the app would be cut after export. I have an example of cutting frames and postprocessig them in split_frames_add_margin.sh.

Current maintenance

To SSH

ssh fridgehead@10.0.24.38

To start up

Execute directly on orange pi mounted on the fridge inside /user/fridgehead directory

./sound_check

To change playlist

scp: ssh: -into server and change tracks and meta.playlist in assets/sound directory (described in Assets.Sound)

TODO

  • playlist engine

About

Evil Fridge, made for lulz, work in progress

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors