<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="6.4">
<drawing>
<board>
<plain>
<wire x1="0.635" y1="0" x2="104.12" y2="0" width="0" layer="20"/>
<wire x1="104.12" y1="0" x2="104.12" y2="70.155" width="0" layer="20"/>
<wire x1="104.12" y1="70.155" x2="0.635" y2="70.155" width="0" layer="20"/>
<wire x1="0.635" y1="70.155" x2="0.635" y2="0" width="0" layer="20"/>
<hole x="3.81" y="66.675" drill="1.3"/>
<hole x="3.81" y="3.175" drill="0.6"/>
<hole x="100.965" y="3.175" drill="0.6"/>
<hole x="101.6" y="67.31" drill="0.6"/>
<text>bikegenerator powerbox mainboard</text>
<text>Lucas Pleß</text>
</plain>
<libraries>
<library name="avr">
<packages>
<package name="DIL28-3">
<description>&lt;B&gt;Dual In Line&lt;/B&gt; 0.3 inch</description>
</package>
</packages>
</library>
<library name="rcl">
<packages>
<package name="E3,5-8">
<description>&lt;b&gt;ELECTROLYTIC CAPACITOR&lt;/b&gt;&lt;p&gt;
grid 3.5 mm, diameter 8 mm</description>
</package>
<package name="E2-4">
<description>&lt;b&gt;ELECTROLYTIC CAPACITOR&lt;/b&gt;&lt;p&gt;
grid 2 mm, diameter 4 mm</description>
</package>
<package name="C0603">
<description>&lt;b&gt;CAPACITOR&lt;/b&gt;</description>
</package>
<package name="R0603">
<description>&lt;b&gt;RESISTOR&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="linear">
<packages>
<package name="TO220V">
<description>&lt;b&gt;TO 200 vertical&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="con-harting-ml">
<packages>
<package name="ML10">
<description>&lt;b&gt;HARTING&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="con-tycoelectronics">
<description>&lt;b&gt;Tyco Electronics Connector&lt;/b&gt;&lt;p&gt;
http://catalog.tycoelectronics.com&lt;br&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="RJ45-NO-SHIELD">
<description>&lt;b&gt;RJ45 Low Profile&lt;/b&gt; No Shield&lt;p&gt;
For all RJ45 N and Z Series Models&lt;br&gt;
Source: www.tycoelectronics.com .. ENG_DS_1654001_1099_RJ_L_0507.pdf</description>
</package>
</packages>
</library>
<library name="maxim">
<description>&lt;b&gt;Maxim Components&lt;/b&gt;&lt;p&gt;

&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="DIL16">
<description>&lt;b&gt;Dual In Line Package&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="allegro">
<packages>
<package name="SO08">
<description>&lt;b&gt;Small Outline package 8&lt;/b&gt; 150 mil</description>
</package>
</packages>
</library>
<library name="con-wago">
<description>&lt;b&gt;Wago Connectors&lt;/b&gt;&lt;p&gt;
Types:&lt;p&gt;
 233&lt;p&gt;
 234&lt;p&gt;
 255 - 5.0; 5.08; 7.5; 7.62, 10.0; 10.16 mm&lt;p&gt;
 254&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="236-4XX">
<description>&lt;b&gt;Anreihbare Einzelklemme 2,5 mm² 16A&lt;/b&gt; Rastermaß 5/5,08&lt;p&gt;</description>
</package>
</packages>
</library>
<library name="relay">
<description>&lt;b&gt;Relays&lt;/b&gt;&lt;p&gt;
&lt;ul&gt;
&lt;li&gt;Eichhoff
&lt;li&gt;Finder
&lt;li&gt;Fujitsu
&lt;li&gt;HAMLIN
&lt;li&gt;OMRON
&lt;li&gt;Matsushita
&lt;li&gt;NAiS
&lt;li&gt;Siemens
&lt;li&gt;Schrack
&lt;/ul&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="G2R2">
<description>&lt;b&gt;RELAY&lt;/b&gt;&lt;p&gt;
2 x switch, Omron</description>
</package>
</packages>
</library>
<library name="transistor-npn">
<description>&lt;b&gt;NPN Transistors&lt;/b&gt;&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="TO92">
<description>&lt;b&gt;TO 92&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="diode">
<description>&lt;b&gt;Diodes&lt;/b&gt;&lt;p&gt;
Based on the following sources:
&lt;ul&gt;
&lt;li&gt;Motorola : www.onsemi.com
&lt;li&gt;Fairchild : www.fairchildsemi.com
&lt;li&gt;Philips : www.semiconductors.com
&lt;li&gt;Vishay : www.vishay.de
&lt;/ul&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="DO35-7">
<description>&lt;B&gt;DIODE&lt;/B&gt;&lt;p&gt;
diameter 2 mm, horizontal, grid 7.62 mm</description>
</package>
<package name="ZDIO-7.5">
<description>&lt;b&gt;Z DIODE&lt;/b&gt;</description>
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="IC5" library="avr" package="DIL28-3" value="MEGA8-P"/>
<element name="R1" library="rcl" package="R0603" value="10k"/>
<element name="C6" library="rcl" package="C0603" value="100n"/>
<element name="IC10" library="linear" package="TO220V" value="7805V"/>
<element name="C7" library="rcl" package="E3,5-8" value="470µ/16V"/>
<element name="C8" library="rcl" package="E3,5-8" value="470µ/16V"/>
<element name="C9" library="rcl" package="C0603" value="100n"/>
<element name="ISP" library="con-harting-ml" package="ML10" value=""/>
<element name="X2" library="con-tycoelectronics" package="RJ45-NO-SHIELD" value="RJ45-8X">
<attribute name="OC_NEWARK" value="16R6101"/>
<attribute name="MPN" value="RJ45-8X"/>
<attribute name="MF" value=""/>
<attribute name="OC_FARNELL" value="unknown"/>
</element>
<element name="IC3" library="maxim" package="DIL16" value="MAX232">
<attribute name="OC_NEWARK" value="68K4544"/>
<attribute name="MPN" value="MAX232ACPE+"/>
<attribute name="MF" value="MAXIM"/>
<attribute name="OC_FARNELL" value="9723773"/>
</element>
<element name="C1" library="rcl" package="E2-4" value=""/>
<element name="C3" library="rcl" package="E2-4" value=""/>
<element name="C4" library="rcl" package="E2-4" value=""/>
<element name="C5" library="rcl" package="E2-4" value=""/>
<element name="C10" library="rcl" package="E2-4" value=""/>
<element name="C11" library="rcl" package="C0603" value=""/>
<element name="IC1" library="allegro" package="SO08" value=""/>
<element name="IC2" library="allegro" package="SO08" value=""/>
<element name="C12" library="rcl" package="C0603" value="1n"/>
<element name="C13" library="rcl" package="C0603" value="1n"/>
<element name="R2" library="rcl" package="R0603" value="2k"/>
<element name="R3" library="rcl" package="R0603" value="2k"/>
<element name="R6" library="rcl" package="R0603" value="56k"/>
<element name="R7" library="rcl" package="R0603" value="27k"/>
<element name="C14" library="rcl" package="C0603" value="100n"/>
<element name="BAT+" library="con-wago" package="236-4XX" value="236-740-5,08"/>
<element name="BAT-" library="con-wago" package="236-4XX" value="236-740-5,08"/>
<element name="GEN+" library="con-wago" package="236-4XX" value="236-740-5,08"/>
<element name="GEN-" library="con-wago" package="236-4XX" value="236-740-5,08"/>
<element name="LOAD+" library="con-wago" package="236-4XX" value="236-740-5,08"/>
<element name="LOAD-" library="con-wago" package="236-4XX" value="236-740-5,08"/>
<element name="K1" library="relay" package="G2R2" value="G2R2">
<attribute name="OC_NEWARK" value="89C5317"/>
<attribute name="MPN" value="G2R-2-DC6"/>
<attribute name="MF" value="OMRON COMPONENTS USA"/>
<attribute name="OC_FARNELL" value="unknown"/>
</element>
<element name="Q1" library="transistor-npn" package="TO92" value="BC547"/>
<element name="D1" library="diode" package="DO35-7" value="1N4148DO35-7"/>
<element name="R4" library="rcl" package="R0603" value="1k"/>
<element name="K2" library="relay" package="G2R2" value="G2R2">
<attribute name="OC_NEWARK" value="89C5317"/>
<attribute name="MPN" value="G2R-2-DC6"/>
<attribute name="MF" value="OMRON COMPONENTS USA"/>
<attribute name="OC_FARNELL" value="unknown"/>
</element>
<element name="Q2" library="transistor-npn" package="TO92" value="BC547"/>
<element name="D2" library="diode" package="DO35-7" value="1N4148DO35-7"/>
<element name="R5" library="rcl" package="R0603" value="1k"/>
<element name="DUMP+" library="con-wago" package="236-4XX" value="236-740-5,08"/>
<element name="DUMP-" library="con-wago" package="236-4XX" value="236-740-5,08"/>
<element name="D3" library="diode" package="ZDIO-7.5" value="5V1"/>
<element name="C15" library="rcl" package="C0603" value="100n"/>
<element name="R9" library="rcl" package="R0603" value="47R"/>
<element name="K3" library="relay" package="G2R2" value="G2R2">
<attribute name="OC_NEWARK" value="89C5317"/>
<attribute name="MPN" value="G2R-2-DC6"/>
<attribute name="MF" value="OMRON COMPONENTS USA"/>
<attribute name="OC_FARNELL" value="unknown"/>
</element>
<element name="Q3" library="transistor-npn" package="TO92" value="BC547"/>
<element name="D4" library="diode" package="DO35-7" value="1N4148DO35-7"/>
<element name="R10" library="rcl" package="R0603" value="1k"/>
</elements>
<signals>
<signal name="+5V">
<contactref element="R1" pad="2"/>
<contactref element="IC5" pad="7"/>
<contactref element="C6" pad="1"/>
<contactref element="C9" pad="1"/>
<contactref element="IC10" pad="3"/>
<contactref element="C8" pad="+"/>
<contactref element="C11" pad="1"/>
<contactref element="IC3" pad="16"/>
<contactref element="C10" pad="+"/>
<contactref element="C5" pad="-"/>
<contactref element="R9" pad="2"/>
<contactref element="IC2" pad="8"/>
<contactref element="IC1" pad="8"/>
</signal>
<signal name="GND">
<contactref element="C6" pad="2"/>
<contactref element="C7" pad="-"/>
<contactref element="IC10" pad="2"/>
<contactref element="C8" pad="-"/>
<contactref element="C9" pad="2"/>
<contactref element="ISP" pad="10"/>
<contactref element="X2" pad="2"/>
<contactref element="X2" pad="1"/>
<contactref element="IC3" pad="15"/>
<contactref element="C4" pad="+"/>
<contactref element="C10" pad="-"/>
<contactref element="C11" pad="2"/>
<contactref element="IC5" pad="8"/>
<contactref element="IC5" pad="22"/>
<contactref element="C14" pad="2"/>
<contactref element="C15" pad="2"/>
<contactref element="C12" pad="2"/>
<contactref element="C13" pad="2"/>
<contactref element="IC1" pad="5"/>
<contactref element="IC2" pad="5"/>
<contactref element="R7" pad="1"/>
<contactref element="BAT-" pad="1@2"/>
<contactref element="IC2" pad="4"/>
<contactref element="IC2" pad="3"/>
<contactref element="IC1" pad="1"/>
<contactref element="IC1" pad="2"/>
<contactref element="Q1" pad="1"/>
<contactref element="Q2" pad="1"/>
<contactref element="DUMP-" pad="1@2"/>
<contactref element="D3" pad="A"/>
<contactref element="Q3" pad="1"/>
</signal>
<signal name="MOSI">
<contactref element="IC5" pad="17"/>
<contactref element="ISP" pad="1"/>
</signal>
<signal name="MISO">
<contactref element="IC5" pad="18"/>
<contactref element="ISP" pad="9"/>
</signal>
<signal name="SCK">
<contactref element="IC5" pad="19"/>
<contactref element="ISP" pad="7"/>
</signal>
<signal name="RESET">
<contactref element="IC5" pad="1"/>
<contactref element="R1" pad="1"/>
<contactref element="ISP" pad="5"/>
</signal>
<signal name="TX">
<contactref element="IC3" pad="14"/>
<contactref element="X2" pad="3"/>
</signal>
<signal name="RX">
<contactref element="IC3" pad="13"/>
<contactref element="X2" pad="6"/>
</signal>
<signal name="+12V">
<contactref element="X2" pad="8"/>
<contactref element="X2" pad="7"/>
<contactref element="IC10" pad="1"/>
<contactref element="C7" pad="+"/>
<contactref element="BAT+" pad="1@2"/>
<contactref element="R6" pad="2"/>
<contactref element="K1" pad="P1"/>
<contactref element="K1" pad="1"/>
<contactref element="D1" pad="C"/>
<contactref element="K2" pad="1"/>
<contactref element="D2" pad="C"/>
<contactref element="K2" pad="P1"/>
<contactref element="K3" pad="1"/>
<contactref element="D4" pad="C"/>
<contactref element="K3" pad="P1"/>
</signal>
<signal name="N$1">
<contactref element="IC3" pad="1"/>
<contactref element="C1" pad="+"/>
</signal>
<signal name="N$3">
<contactref element="IC3" pad="3"/>
<contactref element="C1" pad="-"/>
</signal>
<signal name="N$5">
<contactref element="IC3" pad="5"/>
<contactref element="C3" pad="-"/>
</signal>
<signal name="N$6">
<contactref element="IC3" pad="4"/>
<contactref element="C3" pad="+"/>
</signal>
<signal name="N$7">
<contactref element="IC3" pad="2"/>
<contactref element="C5" pad="+"/>
</signal>
<signal name="N$8">
<contactref element="IC3" pad="6"/>
<contactref element="C4" pad="-"/>
</signal>
<signal name="N$9">
<contactref element="IC3" pad="11"/>
</signal>
<signal name="N$10">
<contactref element="IC3" pad="12"/>
</signal>
<signal name="AD_I_GEN">
<contactref element="R2" pad="2"/>
<contactref element="IC5" pad="24"/>
</signal>
<signal name="LOADSW">
<contactref element="IC5" pad="14"/>
<contactref element="R10" pad="2"/>
</signal>
<signal name="AD_I_LOAD">
<contactref element="R3" pad="2"/>
<contactref element="IC5" pad="23"/>
</signal>
<signal name="AD_V">
<contactref element="IC5" pad="25"/>
<contactref element="R7" pad="2"/>
<contactref element="R6" pad="1"/>
<contactref element="D3" pad="C"/>
</signal>
<signal name="GENSW">
<contactref element="IC5" pad="15"/>
<contactref element="R4" pad="2"/>
</signal>
<signal name="DUMPSW">
<contactref element="IC5" pad="16"/>
<contactref element="R5" pad="2"/>
</signal>
<signal name="N$23">
<contactref element="IC5" pad="21"/>
<contactref element="C15" pad="1"/>
</signal>
<signal name="N$24">
<contactref element="IC5" pad="20"/>
<contactref element="C14" pad="1"/>
<contactref element="R9" pad="1"/>
</signal>
<signal name="N$14">
<contactref element="IC1" pad="6"/>
<contactref element="C12" pad="1"/>
</signal>
<signal name="N$15">
<contactref element="IC2" pad="6"/>
<contactref element="C13" pad="1"/>
</signal>
<signal name="N$16">
<contactref element="IC1" pad="7"/>
<contactref element="R2" pad="1"/>
</signal>
<signal name="N$17">
<contactref element="IC2" pad="7"/>
<contactref element="R3" pad="1"/>
</signal>
<signal name="N$18">
<contactref element="IC2" pad="1"/>
<contactref element="IC2" pad="2"/>
<contactref element="LOAD-" pad="1@2"/>
</signal>
<signal name="N$11">
<contactref element="IC1" pad="4"/>
<contactref element="IC1" pad="3"/>
<contactref element="GEN-" pad="1@2"/>
</signal>
<signal name="N$12">
<contactref element="K1" pad="S1"/>
<contactref element="GEN+" pad="1@2"/>
</signal>
<signal name="N$19">
<contactref element="K1" pad="2"/>
<contactref element="Q1" pad="3"/>
<contactref element="D1" pad="A"/>
</signal>
<signal name="N$20">
<contactref element="Q1" pad="2"/>
<contactref element="R4" pad="1"/>
</signal>
<signal name="N$13">
<contactref element="K2" pad="2"/>
<contactref element="Q2" pad="3"/>
<contactref element="D2" pad="A"/>
</signal>
<signal name="N$21">
<contactref element="Q2" pad="2"/>
<contactref element="R5" pad="1"/>
</signal>
<signal name="N$22">
<contactref element="DUMP+" pad="1@2"/>
<contactref element="K2" pad="S1"/>
</signal>
<signal name="N$25">
<contactref element="K3" pad="2"/>
<contactref element="Q3" pad="3"/>
<contactref element="D4" pad="A"/>
</signal>
<signal name="N$26">
<contactref element="Q3" pad="2"/>
<contactref element="R10" pad="1"/>
</signal>
<signal name="N$2">
<contactref element="LOAD+" pad="1@2"/>
<contactref element="K3" pad="S1"/>
</signal>
</signals>
</board>
</drawing>
</eagle>
