<?xml version="1.0"?>
<!--Copyright Brian Starkey 2014-->
<page title="The Pidrive" dir="projects/pidrive" filename="pidrive" type="windowpage" root="/xml_95" date="August 2014">
<window title="The Pidrive - A(nother) Raspberry-Pi music player">
	<menu>
		<menu-item name="File">
			<!--<pdf-subitem name="Get PDF"/>-->
			<home-subitem name="Home" href="{/page/@root}"/>
			<menu-subitem name="XML" href="pidrive.xml"/>
		</menu-item>
		<!--include common menu items (dynamically generated)-->
        <autogen type='category' category='all'/>
	</menu>
	<substance>
	<locations name="{/page/@title}">
		<folder name="Documentation">
			<!--<leaf class="pdfleaf" name="proj.pdf" href="proj.pdf" />-->
			<!-- img="/images/pdf_icon.gif" -->
			<leaf class="videoleaf" name="Overview" href="#Overview"/>
			<folder name="Hardware" href="./2"/>
			<folder name="Software" href="./3"/>
		</folder>
		<folder name="Code">
			<leaf class="codeleaf" name="Pidrive on Github"
				href="https://github.com/usedbytes/pidrive"/>
			<leaf class="codeleaf" name="pidrio-driver (Github)"
				href="https://github.com/usedbytes/pidrio-driver"/>
			<leaf class="codeleaf" name="pidrio-fw (Github)"
				href="https://github.com/usedbytes/pidrio-fw"/>
			<leaf class="codeleaf" name="s4548-driver (Github)"
				href="https://github.com/usedbytes/s4548-driver"/>
			<leaf class="codeleaf" name="s4548-emu (Github)"
				href="https://github.com/usedbytes/s4548-emu"/>
			<leaf class="zipleaf" name="Schematics and layouts (zip)"
				href="code/boards.zip"/>
		</folder>
	</locations>
	<window-contents>
		<row>
			<section-title name="Overview"/>
			<video src="http://www.youtube.com/embed/9Xs1zIn-hZE"/>
            <section-content>
			<p>
			The Pidrive has been somewhat of a pipe-dream for me for years - and actually I've
			been working on it since the Pi's release in February 2012.
			I have <i>always</i> wanted to build a computer inside a CD drive. I'd browse <a href="http://mini-itx.com">mini-itx.com</a>
			and drool over all the case mods, but I never had enough money to make one.
			</p>
			<p>
			Enter the Raspberry-Pi: a small enough, cheap enough board for me to finally
			do it with! So, the Pidrive is a computer in a CD drive. It currently plays
			music via mpd, though there's still a bit of space inside and "it's a linux box"
			so it can do a lot more. Some things I'd like to add:
			<ul>
				<li>Home automation (it's low power, so always-on is an option)</li>
				<li>Alarm clock, including lights on, kettle on, curtains open etc. See above.</li>
				<li>Playlist sync between all my devices</li>
				<li>Home gateway - it was working as this for a while, see <a href="../../misc/ultrapi">Poor man's Ultrabook</a></li>
			</ul>
			</p>
			<image style="float: none; width: 50%; max-width: 650px; margin-left: auto; margin-right: auto;" src="images/press.jpg">The Pidrive</image>
			<image style="float: none; width: 50%; max-width: 650px; margin-left: auto; margin-right: auto;" src="images/block_diagram.png">Block diagram (and rough internal layout)</image>
			<p>
			The block diagram shows the system architecture. At the heart is a Pi (a Rev 1.0 model B -
			I got up early on release day to order it and everything). This has a low-level
			interface board connected to the i2c bus, which consists of a Atmega168 and
			some driver circuitry for the LCD and LEDs. There's a 101x40 monochrome
			LCD also on the i2c bus, and some push-buttons and a scroll wheel attached
			to the Atmega. Finally, there is a USB&lt;-&gt;SATA converter attached to
			a 2.5" HDD.
			</p>
			<p>
				<link href="./2">On to hardware &#8658;</link>
			</p>
			</section-content>
        </row>
	<comments/>

	</window-contents>
	</substance>
</window>

</page>


