<?xml version='1.0' encoding='UTF-8'?>
<module fritzingVersion="0.3.14b.12.23.3905" moduleId="cb9c6041c0b15c9c1a63560527d7693a">
    <author>nvillar</author>
    <title>Peppermill Power Board</title>
    <label>Peppermill Power Board</label>
    <date>2010-02-05</date>
    <tags>
        <tag>power supply</tag>
        <tag>power harvesting</tag>
        <tag>human-generated power</tag>
    </tags>
    <properties>
        <property name="max input voltage">24 V</property>
        <property name="family"/>
        <property name="max output current">100 mA</property>
        <property name="url">http://research.microsoft.com/peppermill</property>
    </properties>
    <description>The Peppermill Power Board (PPB) lets you turn a geared DC motor into a human-powered device.  It also doubles as a sensor that provides information about the direction and rate of turn. 

HOW TO USE

Attach the terminals of a geared DC motor to the grey connector.  Use the white switch to select the maximum operating voltage for your target circuit (2.5, 3.3 or 5.0 Volts), and connect the PPB to your target circuit using the header pins. The pins labelled V+ and GND provide a regulated power supply, and pins Speed and Direction can be connected to analog inputs on a microcontroller. 

The PPB has a built-in PIC microcontroller and an array of LEDs to provide instant feedback about the direction and rate of turn. To use this feature, set the black switch to CAL (Calibrate). Give the motor a quick turn, until you see the LEDs light up briefly. Set the switch to RUN, and when you turn the motor the LEDs should light up in a sequence that matches the direction and rate of turn. </description>
    <views>
        <iconView>
            <layers image="icon/Peppermill_Power_Board__d66eefd2b869d709.svg">
                <layer layerId="icon"/>
            </layers>
        </iconView>
        <pcbView>
            <layers image="pcb/Peppermill_Power_Board__a40e6dc7c979bcff.svg">
                <layer layerId="copper0"/>
                <layer layerId="unknown"/>
            </layers>
        </pcbView>
        <breadboardView>
            <layers image="breadboard/Peppermill_Power_Board__a40e6dc7c979bcff.svg">
                <layer layerId="breadboard"/>
            </layers>
        </breadboardView>
        <schematicView>
            <layers image="schematic/Peppermill_Power_Board__a40e6dc7c979bcff.svg">
                <layer layerId="schematic"/>
            </layers>
        </schematicView>
    </views>
    <connectors>
        <connector type="male" id="connector3" name="GPIO">
            <description>Onboard PIC general-purpose IO</description>
            <views>
                <breadboardView>
                    <p svgId="connector3" layer="breadboard"/>
                </breadboardView>
                <schematicView>
                    <p svgId="connector3" layer="schematic" terminalId="connector3terminal"/>
                </schematicView>
                <pcbView>
                    <p svgId="connector3" layer="copper0"/>
                </pcbView>
            </views>
        </connector>
        <connector type="male" id="connector4" name="Ground">
            <description>Supply Ground</description>
            <views>
                <breadboardView>
                    <p svgId="connector4" layer="breadboard"/>
                </breadboardView>
                <schematicView>
                    <p svgId="connector4" layer="schematic" terminalId="connector4terminal"/>
                </schematicView>
                <pcbView>
                    <p svgId="connector4" layer="copper0"/>
                </pcbView>
            </views>
        </connector>
        <connector type="male" id="connector5" name="VPP">
            <description>Onboard PIC programming pin (Programming Voltage)</description>
            <views>
                <breadboardView>
                    <p svgId="connector5" layer="breadboard"/>
                </breadboardView>
                <schematicView>
                    <p svgId="connector5" layer="schematic" terminalId="connector5terminal"/>
                </schematicView>
                <pcbView>
                    <p svgId="connector5" layer="copper0"/>
                </pcbView>
            </views>
        </connector>
        <connector type="male" id="connector6" name="PGC">
            <description>Onboard PIC programming pin (Clock)</description>
            <views>
                <breadboardView>
                    <p svgId="connector6" layer="breadboard"/>
                </breadboardView>
                <schematicView>
                    <p svgId="connector6" layer="schematic" terminalId="connector6terminal"/>
                </schematicView>
                <pcbView>
                    <p svgId="connector6" layer="copper0"/>
                </pcbView>
            </views>
        </connector>
        <connector type="male" id="connector7" name="PGD">
            <description>Onboard PIC programming pin (Data)</description>
            <views>
                <breadboardView>
                    <p svgId="connector7" layer="breadboard"/>
                </breadboardView>
                <schematicView>
                    <p svgId="connector7" layer="schematic" terminalId="connector7terminal"/>
                </schematicView>
                <pcbView>
                    <p svgId="connector7" layer="copper0"/>
                </pcbView>
            </views>
        </connector>
        <connector type="male" id="connector8" name="motor +">
            <description>+ connection for motor</description>
            <views>
                <breadboardView>
                    <p svgId="connector8" layer="breadboard"/>
                </breadboardView>
                <schematicView>
                    <p svgId="connector8" layer="schematic" terminalId="connector8terminal"/>
                </schematicView>
                <pcbView>
                    <p svgId="connector8" layer="copper0"/>
                </pcbView>
            </views>
        </connector>
        <connector type="male" id="connector9" name="motor-">
            <description>- connection for motor</description>
            <views>
                <breadboardView>
                    <p svgId="connector9" layer="breadboard"/>
                </breadboardView>
                <schematicView>
                    <p svgId="connector9" layer="schematic" terminalId="connector9terminal"/>
                </schematicView>
                <pcbView>
                    <p svgId="connector9" layer="copper0"/>
                </pcbView>
            </views>
        </connector>
        <connector type="male" id="connector0" name="V+">
            <description>Regulated positive supply voltage</description>
            <views>
                <breadboardView>
                    <p svgId="connector0" layer="breadboard"/>
                </breadboardView>
                <schematicView>
                    <p svgId="connector0" layer="schematic" terminalId="connector0terminal"/>
                </schematicView>
                <pcbView>
                    <p svgId="connector0" layer="copper0"/>
                </pcbView>
            </views>
        </connector>
        <connector type="male" id="connector1" name="Direction">
            <description>Direction (Analog Output)</description>
            <views>
                <breadboardView>
                    <p svgId="connector1" layer="breadboard"/>
                </breadboardView>
                <schematicView>
                    <p svgId="connector1" layer="schematic" terminalId="connector1terminal"/>
                </schematicView>
                <pcbView>
                    <p svgId="connector1" layer="copper0"/>
                </pcbView>
            </views>
        </connector>
        <connector type="male" id="connector2" name="Speed">
            <description>Speed (Analog Output)</description>
            <views>
                <breadboardView>
                    <p svgId="connector2" layer="breadboard"/>
                </breadboardView>
                <schematicView>
                    <p svgId="connector2" layer="schematic" terminalId="connector2terminal"/>
                </schematicView>
                <pcbView>
                    <p svgId="connector2" layer="copper0"/>
                </pcbView>
            </views>
        </connector>
    </connectors>
</module>
