projekte:mikubox

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
projekte:mikubox [2017/02/24 23:07] – [MikuBox: Pseudoholographic projection box] da1l6projekte:mikubox [2017/05/18 06:48] (aktuell) – [MikuBox: Pseudoholographic projection box] da1l6
Zeile 24: Zeile 24:
 === Construction === === Construction ===
 {{ :projekte:mikuboxschema2.png?directdirect&300|Construction}} {{ :projekte:mikuboxschema2.png?directdirect&300|Construction}}
-The MikuBox is constructed around an off-the-shelf 21.5" PC Monitor and is made out of MDF. +The MikuBox is constructed around an off-the-shelf 21.5" 1080p PC Monitor and is made out of MDF. 
-The monitor of choice uses a VA-LCD Panel to provide better black levels than standard TN-Panels. It also does not suffer from IPS-Glow. It is however view angle dependent. Ideally an OLED-Panel or other self illuminating pixel display would be used, but these were unobtainbale at time of writing.+The monitor of choice uses a VA-LCD Panel to provide better black levels than standard TN-Panels. It also does not suffer from IPS-Glow. It ishoweverview angle dependent. Ideally an OLED-Panel or other self illuminating pixel display would be used, but these were unobtainbale at time of construction.
  
 The dimensions of the box are derived from the monitor. It is important that some depth (a) is added to the box compared to the distance between bottom and LCD (h). This distance will be the precived distance between background and projection. The dimensions of the box are derived from the monitor. It is important that some depth (a) is added to the box compared to the distance between bottom and LCD (h). This distance will be the precived distance between background and projection.
Zeile 35: Zeile 35:
 Extra height (b) is added to house the electronics and cables. A RaspberryPi 1 is internally connected to the LCD monitor via HDMI. Ethernet, Analog Audio and Power are routed to the back. Extra height (b) is added to house the electronics and cables. A RaspberryPi 1 is internally connected to the LCD monitor via HDMI. Ethernet, Analog Audio and Power are routed to the back.
  
-The Monitor rests on the side walls of the box. These are made from two layers of MDF. The inner walls have height of (hand the monitor is placed on theseThe outer side walls of the box have the full height (h+b).+=== Software === 
 + 
 +The RaspberryPi inside the box run standard Raspberian Lite (Debian basedOS without GUIVideo Playbay is done by omxplayer, which uses the Hardware video decoder of the rPi SoC. 
 +A systemd unit file is added to the end of the Boot process to run a video playback script. 
 + 
 +Unit File 
 +<code> 
 +[Unit] 
 +Description=Video demo loop 
 +After=network.target 
 + 
 +[Service] 
 +Type=simple 
 +User=root 
 +ExecStart=/home/pi/mmd/demo.rb 
 + 
 +[Install] 
 +WantedBy=multi-user.target 
 +</code> 
 + 
 +Video playback script: 
 +<code>#!/usr/bin/env ruby 
 +require "timeout" 
 +require "fileutils" 
 + 
 +Dir.chdir(File.dirname($0)
 + 
 +while true 
 + Dir.glob("*.mp4").shuffle.each{|filename| 
 + puts ".... Playing #{filename} ...." 
 + system("/usr/bin/omxplayer", "-r", "--no-osd", filename) 
 +
 +end 
 +</code>
  • projekte/mikubox.txt
  • Zuletzt geändert: 2017/05/18 06:48
  • von da1l6