<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Projects on falkp.no/blog</title>
    <link>/blog/tags/projects/</link>
    <description>falkp.no/blog (Projects)</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    
      

      
    

    
    <lastBuildDate>Fri, 23 Nov 2018 00:00:00 +0000</lastBuildDate>
    
    <atom:link href="/blog/tags/projects/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Ninjabox</title>
      <link>/blog/posts/ninjabox/</link>
      <pubDate>Fri, 23 Nov 2018 00:00:00 +0000</pubDate>
      
      <guid>/blog/posts/ninjabox/</guid>
      <description>&lt;h2 id=&#34;overview&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#overview&#34;&gt;
        #
    &lt;/a&gt;
    Overview
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;Untrickable laser alarm, with an easy-to-knock-out fusebox.&lt;/p&gt;
&lt;p&gt;A tribute to (the alarms in) &lt;a href=&#34;https://en.wikipedia.org/wiki/Mark_of_the_Ninja&#34;&gt;Mark of the Ninja&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;fusebox.jpg&#34; alt=&#34;Fusebox&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;background&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#background&#34;&gt;
        #
    &lt;/a&gt;
    Background
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;In the game you have to sneak into buildings with high tech alarms. Some of the laser traps can be deactivated by knocking out the fuse box with a dart.&lt;/p&gt;
&lt;p&gt;So I made a laser alarm with a fusebox that can be knocked out. This is mainly to keep kids occupied, and motivated to practice throwing.&lt;/p&gt;
&lt;h2 id=&#34;features&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#features&#34;&gt;
        #
    &lt;/a&gt;
    Features
&lt;/div&gt;
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Glowing ⚡ with simple animations and color changes (start-up, alarm, sparks)&lt;/li&gt;
&lt;li&gt;Laser triggered alarm, which can&amp;rsquo;t be fooled by using a separate laser or flash light. This is done by pulsing the laser and making sure photo resistor is relatively dark when laser is off.&lt;/li&gt;
&lt;li&gt;Motion activated &amp;ldquo;play dead&amp;rdquo; (throw somehting on the fuse box, and it will black out for 10 seconds).&lt;/li&gt;
&lt;li&gt;Play sounds for alarm, sparks, start-up&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;demo&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#demo&#34;&gt;
        #
    &lt;/a&gt;
    Demo
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;&lt;img src=&#34;demo.jpg&#34; alt=&#34;Demo setup&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://falkp.no/blog/_static/knockout.m4v&#34;&gt;Knocking out the alarm&lt;/a&gt; (~3MB).&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://falkp.no/blog/_static/foolalarm.m4v&#34;&gt;Attempting to fool the alarm&lt;/a&gt; (~2MB).&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;inside.jpg&#34; alt=&#34;Inside&#34;&gt;&lt;/p&gt;
&lt;p&gt;Not shown here: speaker and tiltsensor.&lt;/p&gt;
&lt;p&gt;See &lt;a href=&#34;https://gitlab.com/larsfp/ninjabox&#34;&gt;gitlab&lt;/a&gt; for build instructions and code.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Car-logger - part 3</title>
      <link>/blog/posts/car_logger_part_3/</link>
      <pubDate>Fri, 25 May 2018 00:00:00 +0000</pubDate>
      
      <guid>/blog/posts/car_logger_part_3/</guid>
      <description>&lt;h2 id=&#34;overview&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#overview&#34;&gt;
        #
    &lt;/a&gt;
    Overview
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;A self-hosted, real-time, inexpensive open source car tracker built with &lt;a href=&#34;https://www.raspberrypi.org/&#34;&gt;Raspberry Pi&lt;/a&gt; Zero W, &lt;a href=&#34;https://nextcloud.com/&#34;&gt;Nextcloud&lt;/a&gt;, and optionally &lt;a href=&#34;https://www.home-assistant.io/&#34;&gt;Home Assistant&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;plan.jpg&#34; alt=&#34;Plan&#34;&gt;&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve had a few earlier tries at car position logging, read those first if you&amp;rsquo;re interested: &lt;a href=&#34;https://0p.no/2014/09/29/car_logger2.html&#34;&gt;Car logger 2&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;background&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#background&#34;&gt;
        #
    &lt;/a&gt;
    Background
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;Goal: logging and sharing location of my non-connected car, for practicality and fun.&lt;/p&gt;
&lt;p&gt;Earlier tries was using a phone, but that had problems. No Android phone will switch back on if it runs out of power without manual intervention.&lt;/p&gt;
&lt;h2 id=&#34;prerequisites&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#prerequisites&#34;&gt;
        #
    &lt;/a&gt;
    Prerequisites
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;I needed power from the car, but want it to cut off when the ignition is off. My 12 V outlets didn&amp;rsquo;t. So I used a &lt;a href=&#34;http://www.biltema.no/no/Bil---MC/Bil-tilbehor/Bilelektrisk/Sikring/Flatsikringsholder-med-uttak-2-stk-2000035590/&#34;&gt;fuse holder with outlet&lt;/a&gt; to accomplish this. To that I attached a 12 to 5 V converter.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;fuses.jpg&#34; alt=&#34;Fuse box in car&#34;&gt;&lt;/p&gt;
&lt;p&gt;Also I chose to go without any battery or UPS, so the Pi has to deal with unclean shutdown every time. For this I run the SD card read-only using &lt;a href=&#34;https://github.com/ways/rpi-readonly&#34;&gt;rpi-readonly&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;hardware&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#hardware&#34;&gt;
        #
    &lt;/a&gt;
    Hardware
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;I had little experience with Arduino at the time of start, but lots with Pi, so I used a Pi Zero. Mainly for it&amp;rsquo;s low power consumption.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;prototype01.jpg&#34; alt=&#34;Pi, usb hub, gsm modem in an old harddisk cabinet&#34;&gt;&lt;/p&gt;
&lt;p&gt;I first tried &lt;a href=&#34;https://www.amazon.com/Diymall-G-mouse-Glonass-Raspberry-Aviation/dp/B00NWEEWW8/ref=sr_1_2?ie=UTF8&amp;amp;qid=1527193287&amp;amp;sr=8-2&amp;amp;keywords=gps+dongle&amp;amp;dpID=319Yen02YIL&amp;amp;preST=_SY300_QL70_&amp;amp;dpSrc=srch&#34;&gt;Diymall-G-mouse-Glonass&lt;/a&gt; GPS dongle, but reception was very bad, so switched to &lt;a href=&#34;https://www.ebay.com/itm/BN-808-USB-GPS-Antenna-Receiver-Glonass-Dual-Module-Gmouse-For-Car-Laptop-PC-NEW/263511681859?hash=item3d5a852b43:g:vdkAAOSwbF1aRfrF&#34;&gt;BN-808-USB-GPS&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For uplink I used a cheap 3G USB modem &lt;a href=&#34;http://www.dx.com/p/Tolkien-Portable-Mini-USB-3G-WiFi-Router-Mobile-Device-Hotspot-Unlocked-Wireless-Modem-Network-Doggle-with-SIMTF-Card-Slot--usb-router-only-916496537&#34;&gt;Tolkien-Portable&lt;/a&gt; and a data-twin SIM card.&lt;/p&gt;
&lt;h2 id=&#34;backend&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#backend&#34;&gt;
        #
    &lt;/a&gt;
    Backend
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;I started writing a backend in 2014, &lt;a href=&#34;https://github.com/ways/BigBrotherGPSweb&#34;&gt;BigBrotherGPSweb&lt;/a&gt;, but didn&amp;rsquo;t get very far. Fortunately someone has filled my need. &lt;a href=&#34;https://nextcloud.com/&#34;&gt;Nextcloud&lt;/a&gt;, a self-hosted dropbox alternative, has a plugin called &lt;a href=&#34;https://apps.nextcloud.com/apps/phonetrack&#34;&gt;PhoneTrack&lt;/a&gt;. It has nice features like public sharing, users, filters, etc. and use Openstreetmap. SSL for transport encryption.&lt;/p&gt;
&lt;p&gt;For home automation I use Home Assistant, so I also wanted the data there as well.&lt;/p&gt;
&lt;p&gt;Map in Nextcloud/PhoneTrack:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;map.jpg&#34; alt=&#34;Map&#34;&gt;&lt;/p&gt;
&lt;p&gt;Status in Home Assistant:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;hass.png&#34; alt=&#34;Home assistant&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;software&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#software&#34;&gt;
        #
    &lt;/a&gt;
    Software
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;I found no premade solution to use &lt;a href=&#34;https://en.wikipedia.org/wiki/Wi-Fi_positioning_system&#34;&gt;wifi triangulation&lt;/a&gt; in python, so I wrote &lt;a href=&#34;https://github.com/ways/wifindme&#34;&gt;wifindme&lt;/a&gt; (available from pip, python 2 and 3). It can use Mozilla, radiocells.org or, with small changes, Google. Use what has best coverage where you need it.&lt;/p&gt;
&lt;p&gt;For the actual reporting I wrote &lt;a href=&#34;https://github.com/ways/locationreporter&#34;&gt;LocationReporter&lt;/a&gt;. It can use wifi triangulation, GPS or both. It will use wifi while the GPS is warming up, and when GPS fails. The results can be sent to both my backends.&lt;/p&gt;
&lt;h2 id=&#34;build&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#build&#34;&gt;
        #
    &lt;/a&gt;
    Build
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;ve not yet created any kind of case. The tracker lives in a card board box in my car door.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;door.jpg&#34; alt=&#34;Car door&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;internals.jpg&#34; alt=&#34;Internals&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;problems&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#problems&#34;&gt;
        #
    &lt;/a&gt;
    Problems
&lt;/div&gt;
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;PhoneTrack could be easier to use on a phone.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;improvements&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#improvements&#34;&gt;
        #
    &lt;/a&gt;
    Improvements
&lt;/div&gt;
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;The setup should be moved to the trunk, out of sight.&lt;/li&gt;
&lt;li&gt;I really should get a case and mount the parts properly.&lt;/li&gt;
&lt;li&gt;The Pi Zero has bluetooth, so I could fetch data from OBD and upload it. Unfortunately my cars OBD doesn&amp;rsquo;t supply very interesting info (no battery voltage, fuel consumption, fuel status).&lt;/li&gt;
&lt;li&gt;Should be enough to send data to either Nextcloud or Home Assistant, not both.&lt;/li&gt;
&lt;li&gt;A switch for private mode or you-don&amp;rsquo;t-have-to-post-every-ten-seconds mode could be nice.&lt;/li&gt;
&lt;li&gt;Radiocells.org let&amp;rsquo;s you download the data set for local use. Local wifi lookup is very fast, so this would make wifi triangulation faster, and less data used and leaked.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;conclusions&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#conclusions&#34;&gt;
        #
    &lt;/a&gt;
    Conclusions
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;m happy with the results. It&amp;rsquo;s been running for months now without problems. And it&amp;rsquo;s good sharing our position real-time on long drives.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Volumio based radio with NFC</title>
      <link>/blog/posts/volumio_nfc_build/</link>
      <pubDate>Tue, 19 Dec 2017 00:00:00 +0000</pubDate>
      
      <guid>/blog/posts/volumio_nfc_build/</guid>
      <description>&lt;h2 id=&#34;overview&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#overview&#34;&gt;
        #
    &lt;/a&gt;
    Overview
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;&lt;a href=&#34;https://volumio.org&#34;&gt;Volumio&lt;/a&gt; based internet radio, controlled by &lt;a href=&#34;https://en.wikipedia.org/wiki/Near-field_communication&#34;&gt;NFC&lt;/a&gt;, built in an old speaker.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;speaker1.jpg&#34; alt=&#34;Complete speaker&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;background&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#background&#34;&gt;
        #
    &lt;/a&gt;
    Background
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;Inspired by the extreemly good looking &lt;a href=&#34;http://blog.zenona.com/&#34;&gt;Spotify Box&lt;/a&gt; and QR based systems like &lt;a href=&#34;http://tilman.de/projekte/audiosphere/&#34;&gt;Audiosphere&lt;/a&gt;, I wanted to make something similar for my kids. I&amp;rsquo;ve earlier built a few radios based on small, cheap bluetooth speakers like music angel, but wanted something with better sound this time.&lt;/p&gt;
&lt;h2 id=&#34;prototype&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#prototype&#34;&gt;
        #
    &lt;/a&gt;
    Prototype
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;QR are fast and cheap, so I made a quick prototype. It turned out they are unreliable when there&amp;rsquo;s no display to give feedback on how the camera sees them. Both lighting and focus was a problem.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;qr1.jpg&#34; alt=&#34;QR reader&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;qr2.jpg&#34; alt=&#34;QR view&#34;&gt;&lt;/p&gt;
&lt;p&gt;Next up, NFC. I decided on a PN532 NFC reader, simply because I had one around. They&amp;rsquo;re about $8 / 70 NOK on ebay. It communicates via i2c, and there&amp;rsquo;s a python library for it. I decided to make it easy for myself and allow for any kind of NFC tag I could get hold of, so the plan was to read and use what ever data or ID the tags contain, and make a list to match IDs and URLs.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;nfcreader1.jpg&#34; alt=&#34;NFC reader&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;volumio&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#volumio&#34;&gt;
        #
    &lt;/a&gt;
    Volumio
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;&lt;a href=&#34;https://volumio.org&#34;&gt;Volumio&lt;/a&gt; is a general music player for small devices like the &lt;a href=&#34;http://raspberrypi.org/&#34;&gt;Pi&lt;/a&gt;. Due to &lt;a href=&#34;https://www.mopidy.com/&#34;&gt;Mopidy&lt;/a&gt; it supports playing music from lots of sources. The two I&amp;rsquo;m interessted in are internet radios and Spotify, but this will work for anything Mopidy can play.&lt;/p&gt;
&lt;p&gt;Volumio also has &lt;a href=&#34;https://volumio.org/forum/volumio-plugins-collection-t6251.html&#34;&gt;plugins&lt;/a&gt; for other stuff, like mono output, being a Spotify Connect speaker and button controls connected via GPIO like I will use here.&lt;/p&gt;
&lt;h2 id=&#34;setup&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#setup&#34;&gt;
        #
    &lt;/a&gt;
    Setup
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;As mentioned in the &lt;a href=&#34;https://github.com/ways/volumio-nfc&#34;&gt;readme&lt;/a&gt;, there are a few steps to install NFC support. You have to &lt;a href=&#34;https://volumio.github.io/docs/User_Manual/SSH.html&#34;&gt;enable SSH&lt;/a&gt; first. Then install packages, check that the i2c connection to the reader is working, enable services.&lt;/p&gt;
&lt;p&gt;Reading a tag looks like this:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#e2e4e5;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ ./readnfc.py
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Reading tag list readnfc.list
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ff9f43&#34;&gt;6&lt;/span&gt; tags in store. Ready to read.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Card data: bytearray&lt;span style=&#34;color:#ff6ac1&#34;&gt;(&lt;/span&gt;b&lt;span style=&#34;color:#5af78e&#34;&gt;&amp;#39;K\x01\x01\x00D\x00\x07\x04!T\xcao?\x81&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#ff6ac1&#34;&gt;)&lt;/span&gt; / 4b010100440007042154ca6f3f81
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Stoping any music currently playing
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Play audio feedback.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;webradio http://nrk-mms-live.telenorcdn.net:80/nrk_radio_alltid_nyheter_aac_h
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Play selected &lt;span style=&#34;color:#ff5c57&#34;&gt;source&lt;/span&gt; webradio http://nrk-mms-live.telenorcdn.net:80/nrk_radio_alltid_nyheter_aac_h
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Then you add that tag to your list, readnfc.list, in the same directory. There are lots of examples for radios and spotify playlists in it already. Restart the service and you should be done.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://falkp.no/blog/_static/demo.m4v&#34;&gt;See demo video&lt;/a&gt; (~4MB).&lt;/p&gt;
&lt;h2 id=&#34;hardware&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#hardware&#34;&gt;
        #
    &lt;/a&gt;
    Hardware
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;For sound I connected a &lt;a href=&#34;https://www.ebay.com/itm/Mini-USB-2-0-3D-Virtual-480Mbps-External-7-1-Channel-Audio-Sound-Card-Adapter/162432421351?epid=11004887919&amp;amp;hash=item25d1ba0de7:g:~JQAAOSwWxNYyV1A&#34;&gt;cheap USB soundcard&lt;/a&gt; (first hit on ebay), via a &lt;a href=&#34;https://www.ebay.com/itm/Ground-Loop-Noise-Filter-Isolator-3-5mm-Cable-For-Home-Stereo-Car-Audio-GW/282776792501?hash=item41d6cf6db5:g:9fQAAOSwhsBaN1Pj&#34;&gt;ground loop filter&lt;/a&gt; to a &lt;a href=&#34;https://www.adafruit.com/product/1752&#34;&gt;Class D amplifier&lt;/a&gt;, to the terminals of the speaker.&lt;/p&gt;
&lt;p&gt;A 1k potmeter for volume, and two push-buttons for play/pause and next.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;hardware1.jpg&#34; alt=&#34;Hardware&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;hardware2.jpg&#34; alt=&#34;Hardware&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;tags&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#tags&#34;&gt;
        #
    &lt;/a&gt;
    Tags
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;Any tags works, but they need to look attractive, so I created some business card sized pictures to hold them.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;tags1.jpg&#34; alt=&#34;Assorted tags&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;tags2.jpg&#34; alt=&#34;Tags&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;tags3.jpg&#34; alt=&#34;A sheet of tags&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;tags4.jpg&#34; alt=&#34;Scanning tag&#34;&gt;&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>RadiOS part 2</title>
      <link>/blog/posts/radios_part_2/</link>
      <pubDate>Wed, 17 Aug 2016 00:00:00 +0000</pubDate>
      
      <guid>/blog/posts/radios_part_2/</guid>
      <description>&lt;h2 id=&#34;overview&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#overview&#34;&gt;
        #
    &lt;/a&gt;
    Overview
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;See &lt;a href=&#34;http://0p.no/2014/05/09/radios_part_1.html&#34;&gt;RadiOS part 1&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;So I started making a prototype to figure out if I could &amp;ldquo;sense&amp;rdquo; both selections with GPIO pins, while the designer started modeling and rendering suggestions for the physical design. The solution chosen was to first set all volume control pins to high, and check which channel control points registered as on, then reverse (control points high, check volumes).&lt;/p&gt;
&lt;h2 id=&#34;sound&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#sound&#34;&gt;
        #
    &lt;/a&gt;
    Sound
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;For sound we tore down a &lt;a href=&#34;http://musicangel.no/speakers/&#34;&gt;Music Angel&lt;/a&gt; portable speaker. It gave us two speakers, an amplifier running on 5V and a battery which we threw away. The built in soundcard gave horrible sound under certain conditions, so a cheap USB soundcard was used instead.&lt;/p&gt;
&lt;h2 id=&#34;case&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#case&#34;&gt;
        #
    &lt;/a&gt;
    Case
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;We wanted to try both a 3D-printed version and a &lt;a href=&#34;https://en.wikipedia.org/wiki/CNC_wood_router&#34;&gt;CNC&amp;rsquo;ed&lt;/a&gt; one. A print at &lt;a href=&#34;http://shapeways.com&#34;&gt;Shapeways&lt;/a&gt; would cost us ~$200, plus shiping and tax. We got one printed localy for ~$80. It&amp;rsquo;s has yet to be used. A local CNC person wanted ~$270. The case we&amp;rsquo;ve used in the final build is hand made of wood.&lt;/p&gt;
&lt;h3 id=&#34;plastic-case&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#plastic-case&#34;&gt;
        ##
    &lt;/a&gt;
    Plastic case
&lt;/div&gt;
&lt;/h3&gt;
&lt;p&gt;&lt;img src=&#34;11.JPG&#34; alt=&#34;rendering back&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;12.JPG&#34; alt=&#34;rendering inside&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;13.JPG&#34; alt=&#34;rendering empty&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;14.JPG&#34; alt=&#34;rendering outside&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;plastic.png&#34; alt=&#34;actual case&#34;&gt;&lt;/p&gt;
&lt;h3 id=&#34;renderings-of-other-variations&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#renderings-of-other-variations&#34;&gt;
        ##
    &lt;/a&gt;
    Renderings of other variations
&lt;/div&gt;
&lt;/h3&gt;
&lt;p&gt;&lt;img src=&#34;17.JPG&#34; alt=&#34;rendering ceramic&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;15.JPG&#34; alt=&#34;rendering standing&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;prototype&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#prototype&#34;&gt;
        #
    &lt;/a&gt;
    Prototype
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;&lt;img src=&#34;rpi_gpio.jpg&#34; alt=&#34;GPIO connected.&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;testing.png&#34; alt=&#34;testing&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;build-1&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#build-1&#34;&gt;
        #
    &lt;/a&gt;
    Build 1
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;We chose to paint the front in black board paint, to allow easy change of channel labels and a personal touch.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;blank.png&#34; alt=&#34;blank front&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;shelf.png&#34; alt=&#34;finished model on shelf&#34;&gt;&lt;/p&gt;
&lt;p&gt;Other builds may have a white board front, or be something very different.&lt;/p&gt;
&lt;h2 id=&#34;conclution-so-far&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#conclution-so-far&#34;&gt;
        #
    &lt;/a&gt;
    Conclution so far
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;It&amp;rsquo;s an interessting UI, and people want to touch it. However programming the channels and first time setup is hard. Also the Pi or musicbox is very slow to start streaming. This kind of breaks the fun of it.&lt;/p&gt;
&lt;p&gt;To be continued&amp;hellip;&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Car-logger - part 2</title>
      <link>/blog/posts/car_logger2/</link>
      <pubDate>Mon, 29 Sep 2014 00:00:00 +0000</pubDate>
      
      <guid>/blog/posts/car_logger2/</guid>
      <description>&lt;h2 id=&#34;overview&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#overview&#34;&gt;
        #
    &lt;/a&gt;
    Overview
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;Read part one of &lt;a href=&#34;http://0p.no/2014/04/22/car_logger.html#more&#34;&gt;Car-logger&lt;/a&gt; first, if you haven&amp;rsquo;t.&lt;/p&gt;
&lt;p&gt;I chose to go with outdated Android phones in the previous article. Phones with CyanogenMod and no Google Play. This means that they run all free software, except for some firmware blobs and drivers. No background services driving up data or battery usage, no third party tracking my location.&lt;/p&gt;
&lt;p&gt;I tried out &lt;a href=&#34;https://www.traccar.org&#34;&gt;Traccar&lt;/a&gt;. The app worked fine, but the backend was a big, horrible java thing. Poor UI, overkill for my purpose, and too much for me to get hacking on.&lt;/p&gt;
&lt;p&gt;After trying out a few different ones I finally found &lt;a href=&#34;http://bk.gnarf.org/creativity/bigbrothergps/&#34;&gt;BigBrotherGPS&lt;/a&gt;. It was half of what I wanted. An app that simply makes a http request with a few parameters in post-data. The backend wasn&amp;rsquo;t more than a proof-of-concept, but http requests are easy to work with and language agnostic.&lt;/p&gt;
&lt;p&gt;So I created &lt;a href=&#34;https://github.com/ways/BigBrotherGPSweb&#34;&gt;BigBrotherGPSweb&lt;/a&gt; (a better name is needed). See github for a proper description, but the basics are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Receive http/https requests.&lt;/li&gt;
&lt;li&gt;Store requests and devices in mysql.&lt;/li&gt;
&lt;li&gt;Display results in a map.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;It still need some work, and I&amp;rsquo;ll be working on it until I get bored or find a new project. But it currently serves the purpose.&lt;/p&gt;
&lt;p&gt;And of course it can be used to track more than cars.&lt;/p&gt;
&lt;h2 id=&#34;edit-20140930&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#edit-20140930&#34;&gt;
        #
    &lt;/a&gt;
    Edit 20140930
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;This requires a SIM card. My operator supplies a twin SIM for NOK 20 / month, so it&amp;rsquo;s a low cost for me.&lt;/p&gt;
&lt;h2 id=&#34;pics-or-it-didnt-happen&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#pics-or-it-didnt-happen&#34;&gt;
        #
    &lt;/a&gt;
    Pics, or it didn&amp;rsquo;t happen!
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;&lt;img src=&#34;screenshot.png&#34; alt=&#34;Map view&#34;&gt;&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>RadiOS part 1</title>
      <link>/blog/posts/radios_part_1/</link>
      <pubDate>Fri, 09 May 2014 00:00:00 +0000</pubDate>
      
      <guid>/blog/posts/radios_part_1/</guid>
      <description>&lt;h2 id=&#34;overview&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#overview&#34;&gt;
        #
    &lt;/a&gt;
    Overview
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;In my opinion most radios, especially internet radios, have horrible interfaces. Small buttons, small displays, often touch, often several functions for each button.&lt;/p&gt;
&lt;p&gt;So &lt;a href=&#34;http://no.linkedin.com/pub/erik-falk-petersen/b/286/a07&#34;&gt;Erik&lt;/a&gt; and I set out to design a new, better radio for ourselves. Our main requirements were ease of use and a very physical UI. Something you&amp;rsquo;d want to touch and play with.&lt;/p&gt;
&lt;h2 id=&#34;platform&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#platform&#34;&gt;
        #
    &lt;/a&gt;
    Platform
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;The Raspberry Pi is our platform of choice at the moment, so we have some physical restrictions and long boot time.&lt;/p&gt;
&lt;h2 id=&#34;physical-designs&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#physical-designs&#34;&gt;
        #
    &lt;/a&gt;
    Physical designs
&lt;/div&gt;
&lt;/h2&gt;
&lt;h3 id=&#34;the-cone&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#the-cone&#34;&gt;
        ##
    &lt;/a&gt;
    The cone
&lt;/div&gt;
&lt;/h3&gt;
&lt;p&gt;&lt;img src=&#34;cone.jpg&#34; alt=&#34;The cone radio.&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;cone2.jpg&#34; alt=&#34;The cone sketch.&#34;&gt;&lt;/p&gt;
&lt;p&gt;Our first idea was a cone that would rotate for volume and press down for on, next channel, off. A very basic look, and extreamly easy to use. What killed this was the size it would need to be to accomodate an rPi and the mechanical complexity of making the twist and click switch.&lt;/p&gt;
&lt;h3 id=&#34;brainstorming&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#brainstorming&#34;&gt;
        ##
    &lt;/a&gt;
    Brainstorming
&lt;/div&gt;
&lt;/h3&gt;
&lt;p&gt;&lt;img src=&#34;brainstorm.jpg&#34; alt=&#34;Brainstorming.&#34;&gt;&lt;/p&gt;
&lt;p&gt;So we hit the whiteboard. Some of the designs from our brainstorming:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A vertical rod with the radio sliding up/down for volume.&lt;/li&gt;
&lt;li&gt;A body-like shape hanging from the wall.&lt;/li&gt;
&lt;li&gt;A horizontal rod, where you pick up the radio and hang it on the position of the channel you want.&lt;/li&gt;
&lt;li&gt;Magnets! Anything with magnets!&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;the-chosen-design&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#the-chosen-design&#34;&gt;
        ##
    &lt;/a&gt;
    The chosen design
&lt;/div&gt;
&lt;/h3&gt;
&lt;p&gt;Inspired by the switch boards of early phone systems, we chose to make rows of connections where you&amp;rsquo;d short two rows to make two selections at once. One row for the channels, one for the volumes.&lt;/p&gt;
&lt;p&gt;We went with magnets instead of jacks to make it look more modern and be quick to use.&lt;/p&gt;
&lt;h3 id=&#34;software&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#software&#34;&gt;
        ##
    &lt;/a&gt;
    Software
&lt;/div&gt;
&lt;/h3&gt;
&lt;p&gt;Netradio functionality can be solved in so many ways on the command line. From the most basic:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;cvlc url / aplay url / mplayer url&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The medium:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;http://www.musicpd.org/&#34;&gt;Music Player Daemon&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&#34;screen0.jpg&#34; alt=&#34;A cli frontend to MPD.&#34;&gt;&lt;/p&gt;
&lt;p&gt;The advanced:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;http://www.woutervanwijk.nl/pimusicbox/&#34;&gt;Musicbox&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&#34;browse-desktop.png&#34; alt=&#34;Musicbox. Image from woutervanwijk.nl.&#34;&gt;&lt;/p&gt;
&lt;p&gt;The latter one is a brilliant use of the rPi. In short it includes out of the box support for &lt;a href=&#34;https://www.spotify.com/&#34;&gt;Spotify&lt;/a&gt;, &lt;a href=&#34;https://music.google.com/&#34;&gt;Google Music&lt;/a&gt;, &lt;a href=&#34;http://www.last.fm/&#34;&gt;Last.fm&lt;/a&gt;, internet radio, &lt;a href=&#34;https://soundcloud.com/&#34;&gt;SoundCloud&lt;/a&gt;, local files, files from network shares. Controlled by a webUI or any existing MPD app.&lt;/p&gt;
&lt;p&gt;We chose Musicbox.&lt;/p&gt;
&lt;p&gt;To be continued&amp;hellip;&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Car-logger - part 1</title>
      <link>/blog/posts/car_logger/</link>
      <pubDate>Tue, 22 Apr 2014 00:00:00 +0000</pubDate>
      
      <guid>/blog/posts/car_logger/</guid>
      <description>&lt;h2 id=&#34;overview&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#overview&#34;&gt;
        #
    &lt;/a&gt;
    Overview
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;I want to know where my car is. Especially if it gets stolen. Logs would be a bonus. Also, I have several outdated Android phones, which has all necessary hardware.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I don&amp;rsquo;t want to use Google (latitude) or other service providers (embedded hardware).&lt;/li&gt;
&lt;li&gt;I don&amp;rsquo;t want to pay, unless I have to.&lt;/li&gt;
&lt;li&gt;If possible, I&amp;rsquo;d like it to do more (explained further down).&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;hardware-options&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#hardware-options&#34;&gt;
        #
    &lt;/a&gt;
    Hardware options
&lt;/div&gt;
&lt;/h2&gt;
&lt;h3 id=&#34;old-android-phones&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#old-android-phones&#34;&gt;
        ##
    &lt;/a&gt;
    Old android phones
&lt;/div&gt;
&lt;/h3&gt;
&lt;p&gt;&lt;img src=&#34;800px-G1,_Nexus_One,_Nexus_S,_Galaxy_Nexus.jpg&#34; alt=&#34;Old android phones. Picture from wikipedia.org.&#34;&gt;&lt;/p&gt;
&lt;p&gt;Pros:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Free hardware.&lt;/li&gt;
&lt;li&gt;Lots of sensors (GPS, compass, barometer, temperature of hardware/battery, WiFi, Bluetooth, camera, microphone).&lt;/li&gt;
&lt;li&gt;UPS (the battery).&lt;/li&gt;
&lt;li&gt;Low power consumption.&lt;/li&gt;
&lt;li&gt;Reasonably small.&lt;/li&gt;
&lt;li&gt;Can be used for calling in an emergency.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Cons:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Not as easily programmed as something running a full Linux.&lt;/li&gt;
&lt;li&gt;Lots of apps doesn&amp;rsquo;t run on old versions of Android.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;raspberry-pi-or-similar&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#raspberry-pi-or-similar&#34;&gt;
        ##
    &lt;/a&gt;
    Raspberry Pi (or similar)
&lt;/div&gt;
&lt;/h3&gt;
&lt;p&gt;&lt;img src=&#34;800px-RaspberryPi.jpg&#34; alt=&#34;Raspberry Pi. Picture from wikipedia.org.&#34;&gt;&lt;/p&gt;
&lt;p&gt;Pros:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Easy to program.&lt;/li&gt;
&lt;li&gt;Easily hook up extra gear via USB.&lt;/li&gt;
&lt;li&gt;Can get online for free by connecting to any open network. Or even start cracking passwords.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Cons:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Cost (the Pi isn&amp;rsquo;t expensive, but with full set of attachments it may be.&lt;/li&gt;
&lt;li&gt;Size/cable-mess.&lt;/li&gt;
&lt;li&gt;No RTC (real-time-clock). Need network to set time after a reboot.&lt;/li&gt;
&lt;li&gt;Power consumption.&lt;/li&gt;
&lt;li&gt;UPS is expensive.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;dedicated-gps-logger&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#dedicated-gps-logger&#34;&gt;
        ##
    &lt;/a&gt;
    Dedicated GPS logger
&lt;/div&gt;
&lt;/h3&gt;
&lt;p&gt;&lt;img src=&#34;sku_250295_1.jpg&#34; alt=&#34;GPS logger. Picture from dx.com.&#34;&gt;&lt;/p&gt;
&lt;p&gt;Like this one: &lt;a href=&#34;http://www.dx.com/p/mini-multi-functional-gsm-personal-position-tracker-for-child-elder-black-250295&#34;&gt;Mini GSM tracker&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Pros:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Size.&lt;/li&gt;
&lt;li&gt;Ease of use.&lt;/li&gt;
&lt;li&gt;Battery time.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Cons:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;All data is sent to an unknown company in China.&lt;/li&gt;
&lt;li&gt;No expandability, programability.&lt;/li&gt;
&lt;li&gt;SIM card is needed, twin SIM can not be used as calls will trigger a location report by SMS to caller.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;conclusion&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#conclusion&#34;&gt;
        ##
    &lt;/a&gt;
    Conclusion
&lt;/div&gt;
&lt;/h3&gt;
&lt;p&gt;I think the phones easily wins this one for me.&lt;/p&gt;
&lt;h2 id=&#34;extra-features&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#extra-features&#34;&gt;
        #
    &lt;/a&gt;
    Extra features
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;Extra features I&amp;rsquo;d like, once I&amp;rsquo;ve decided to go with phones:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Run scanning for &lt;a href=&#34;http://openwlanmap.org/?lang=en&#34;&gt;Open WLAN Map&lt;/a&gt; and/or &lt;a href=&#34;https://location.services.mozilla.com/&#34;&gt;Mozilla&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Run reporting for &lt;a href=&#34;https://play.google.com/store/apps/details?id=ca.cumulonimbus.barometernetwork&#34;&gt;PressureNET&lt;/a&gt; if possible.&lt;/li&gt;
&lt;li&gt;Have phone attempt to connect to open WiFis, instead of needing a SIM-card.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To be continued&amp;hellip;&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>photOS 2.0 - a better photo frame</title>
      <link>/blog/posts/photos2/</link>
      <pubDate>Mon, 17 Feb 2014 00:00:00 +0000</pubDate>
      
      <guid>/blog/posts/photos2/</guid>
      <description>&lt;h2 id=&#34;overview&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#overview&#34;&gt;
        #
    &lt;/a&gt;
    Overview
&lt;/div&gt;
&lt;/h2&gt;
&lt;p&gt;This is about improving photOS, mentioned in &lt;a href=&#34;http://0p.no/2014/02/14/photos1.html&#34;&gt;http://0p.no/2014/02/14/photos1.html&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When building this, price wasn&amp;rsquo;t a factor. If you want something cheap, you can still use this software with an old laptop or other recycled hardware.&lt;/p&gt;
&lt;p&gt;The display from Chalkboard Electronics is beautiful. Good resolution (not extreme resolution, though), good contrast, nice colors. And it supplies power for the RPi. Unfortunately it&amp;rsquo;s hard to attach stuff to it. There are nothing but smooth surfaces.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;backside.jpg&#34; alt=&#34;Backside of screen.&#34;&gt;&lt;/p&gt;
&lt;p&gt;All taped up to hide backlight. What you see is a rpi, a 4-port usb hub, a thumb drive (for keeping photos on) and the power board for the display.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;top.jpg&#34; alt=&#34;From above.&#34;&gt;&lt;/p&gt;
&lt;p&gt;Using some cardboard to keep everything together. Also makes for a decent foot.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;done.jpg&#34; alt=&#34;Finished product.&#34;&gt;&lt;/p&gt;
&lt;p&gt;Done and placed on the table. The photo doesn&amp;rsquo;t do the screen justice.&lt;/p&gt;
&lt;h2 id=&#34;hardware&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#hardware&#34;&gt;
        #
    &lt;/a&gt;
    Hardware
&lt;/div&gt;
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;http://raspberrypi.org&#34;&gt;Raspberry Pi&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://www.chalk-elec.com/?page_id=1280#!/~/product/category=3094861&amp;amp;id=14647624&#34;&gt;10&amp;quot; Touch screen&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Cover made of cardboard and tape.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;software&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#software&#34;&gt;
        #
    &lt;/a&gt;
    Software
&lt;/div&gt;
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/ways/photOS&#34;&gt;photOS&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;features&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#features&#34;&gt;
        #
    &lt;/a&gt;
    Features
&lt;/div&gt;
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Sync files from &lt;a href=&#34;http://owncloud.org&#34;&gt;ownCloud&lt;/a&gt;, a free, selfhosted alternative to Dropbox.&lt;/li&gt;
&lt;li&gt;Display local images in a slideshow.&lt;/li&gt;
&lt;li&gt;Display images from web. I.e. webcams, weather reports, RSS feeds.&lt;/li&gt;
&lt;li&gt;Display images from reddit, i.e. lates from r/newsporn, r/wallpapers, etc.&lt;/li&gt;
&lt;li&gt;Stream video, i.e. from baby monitor, live webcams.&lt;/li&gt;
&lt;li&gt;Display websites, i.e. news.&lt;/li&gt;
&lt;li&gt;Display recent images (from ownCloud), by looking at date in Exif.&lt;/li&gt;
&lt;li&gt;Turn off LCD at night.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here is my current crontab, to show how I&amp;rsquo;m using it:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;MAILTO=****
# m h  dom mon dow   command

PHOTOS=/home/pi/photOS

#Sync owncloud
#27 7-18 * * *  ${PHOTOS}/helpers/sync-owncloud.sh

#Morning
0 6 * * *       ${PHOTOS}/helpers/powersave.sh 1; ${PHOTOS}/web/weather.sh
0 7    * * *    ${PHOTOS}/web/website.sh &amp;#34;http://nrk.no/tekst-tv/100/&amp;#34;

#Normal photo display
0  9-16 * * *   ${PHOTOS}/helpers/kill.sh; ${PHOTOS}/photos/slideshow.sh

#Display weird images from the net
0 17 * * *      ${PHOTOS}/helpers/kill.sh; ${PHOTOS}/photos/slideshow.sh $( ${PHOTOS}/web/rss-images.sh 50 )

#Baby monitor streaming
0 19,21 * * *   ${PHOTOS}/helpers/kill.sh; $PHOTOS/streams/cvlc.sh http://192.168.1.84:8081

#Night
0 1 * * *       ${PHOTOS}/helpers/powersave.sh 0; ${PHOTOS}/helpers/kill.sh;
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;challenges&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#challenges&#34;&gt;
        #
    &lt;/a&gt;
    Challenges
&lt;/div&gt;
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;The screen has no attachments. I&amp;rsquo;ve currently just taped the RPi to the back, which works but isn&amp;rsquo;t very beautiful and will break down. See &amp;ldquo;Plans&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;LXDE, the default window manager on Raspbian, has no multitouch support. The image viewer, feh, has no gesture support. I&amp;rsquo;ve looked at a few ways to use touch, but hasn&amp;rsquo;t decided on anything yet. See this &lt;a href=&#34;http://www.reddit.com/r/raspberry_pi/comments/1wzeku/how_to_use_touch_capabilities/&#34;&gt;Reddit post&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Feh is somewhat lacking in rotating photos correctly.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;plans&#34; &gt;
&lt;div&gt;
    &lt;a href=&#34;#plans&#34;&gt;
        #
    &lt;/a&gt;
    Plans
&lt;/div&gt;
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Use touch capabilities.&lt;/li&gt;
&lt;li&gt;3d printed or CNCed enclosure.&lt;/li&gt;
&lt;li&gt;Display photos related to this date. I.e. if christmas, display photos from past christmases.&lt;/li&gt;
&lt;li&gt;Look for better image viewer.&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    
  </channel>
</rss>
