aboutsummaryrefslogtreecommitdiff
path: root/laser-tag badge
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amatus.name>2015-10-12 19:24:35 -0500
committerDavid Barksdale <amatus@amatus.name>2015-10-12 19:24:35 -0500
commitd15bbe64d55cc05781e1b6bb1b5573f3fc673d45 (patch)
tree34cad077c83ad26a4151b85afb700480e97583d0 /laser-tag badge
parent3efdf1c9c677bc332de20a6c38fafc4cca9dc42e (diff)
Added a voltage divider for VREFH input
This way we can get higher resolution in the range of voltages we get from the photodiodes.
Diffstat (limited to 'laser-tag badge')
-rw-r--r--laser-tag badge/laser-tag.brd40
-rw-r--r--laser-tag badge/laser-tag.sch49
2 files changed, 75 insertions, 14 deletions
diff --git a/laser-tag badge/laser-tag.brd b/laser-tag badge/laser-tag.brd
index d14d135..bd5e316 100644
--- a/laser-tag badge/laser-tag.brd
+++ b/laser-tag badge/laser-tag.brd
@@ -2583,6 +2583,8 @@ design rules under a new name.</description>
<element name="L1" library="adafruit" package="WS2812B" value="WS2812B" x="40.64" y="11.43" rot="R90"/>
<element name="C14" library="rcl" package="C0603K" value="0.1 uF" x="48.895" y="50.8" rot="R180"/>
<element name="Q1" library="transistor-small-signal" package="SOT23" value="2N7002ET1G" x="60.96" y="69.85" rot="MR0"/>
+<element name="R5" library="rcl" package="R0603" value="100k" x="48.895" y="48.895"/>
+<element name="R6" library="rcl" package="R0603" value="220k" x="48.895" y="46.99" rot="R180"/>
</elements>
<signals>
<signal name="GND">
@@ -2655,21 +2657,41 @@ design rules under a new name.</description>
<wire x1="53.34" y1="48.26" x2="54.61" y2="46.99" width="0.254" layer="16"/>
<contactref element="C14" pad="2"/>
<wire x1="46.915584375" y1="47.399378125" x2="47.77620625" y2="48.26" width="0.254" layer="16"/>
-<wire x1="72.771" y1="56.82" x2="71.51" y2="57.44" width="0" layer="19" extent="1-16"/>
+<contactref element="R5" pad="1"/>
+<wire x1="71.51" y1="57.44" x2="72.771" y2="56.82" width="0" layer="19" extent="1-16"/>
+<wire x1="63.11" y1="57.44" x2="71.51" y2="57.44" width="0" layer="19" extent="1-1"/>
+<wire x1="71.51" y1="46.01" x2="72.771" y2="56.82" width="0" layer="19" extent="1-16"/>
+<wire x1="63.11" y1="46.01" x2="71.51" y2="46.01" width="0" layer="19" extent="1-1"/>
+<wire x1="54.61" y1="46.99" x2="63.11" y2="46.01" width="0" layer="19" extent="1-1"/>
+<wire x1="47.2691375" y1="47.045825" x2="46.915584375" y2="47.399378125" width="0" layer="19" extent="16-16"/>
<wire x1="48.02" y1="50.8" x2="47.776203125" y2="48.26" width="0" layer="19" extent="1-16"/>
<wire x1="46.595" y1="50.8" x2="48.02" y2="50.8" width="0" layer="19" extent="1-1"/>
-<wire x1="39.765" y1="41.91" x2="42.31938125" y2="39.444415625" width="0" layer="19" extent="1-16"/>
+<wire x1="43.026484375" y1="51.288475" x2="46.595" y2="50.8" width="0" layer="19" extent="1-16"/>
<wire x1="39.765" y1="49.53" x2="43.026484375" y2="51.288475" width="0" layer="19" extent="1-16"/>
<wire x1="43.575" y1="45.72" x2="46.915584375" y2="47.399378125" width="0" layer="19" extent="1-16"/>
-<wire x1="38.34" y1="45.72" x2="39.765" y2="41.91" width="0" layer="19" extent="1-1"/>
-<wire x1="63.11" y1="57.44" x2="71.51" y2="57.44" width="0" layer="19" extent="1-1"/>
-<wire x1="63.11" y1="46.01" x2="54.61" y2="46.99" width="0" layer="19" extent="1-1"/>
-<wire x1="71.51" y1="46.01" x2="63.11" y2="46.01" width="0" layer="19" extent="1-1"/>
+<wire x1="38.34" y1="45.72" x2="39.765" y2="49.53" width="0" layer="19" extent="1-1"/>
+<wire x1="39.765" y1="41.91" x2="38.34" y2="45.72" width="0" layer="19" extent="1-1"/>
+<wire x1="42.31938125" y1="39.444415625" x2="39.765" y2="41.91" width="0" layer="19" extent="1-16"/>
+<wire x1="34.36441875" y1="44.04061875" x2="38.34" y2="45.72" width="0" layer="19" extent="1-16"/>
+<wire x1="56.3" y1="68.58" x2="52.07" y2="62.23" width="0" layer="19" extent="16-16"/>
<wire x1="18.17" y1="46.01" x2="26.67" y2="44.45" width="0" layer="19" extent="1-1"/>
<wire x1="9.77" y1="46.01" x2="18.17" y2="46.01" width="0" layer="19" extent="1-1"/>
+<wire x1="41.275" y1="26.455" x2="49.53" y2="30.48" width="0" layer="19" extent="16-16"/>
+<wire x1="43.64" y1="69.73" x2="51.435" y2="62.23" width="0" layer="19" extent="16-16"/>
+<wire x1="42.545" y1="73.265" x2="43.64" y2="69.73" width="0" layer="19" extent="16-16"/>
+<wire x1="34.29" y1="73.265" x2="42.545" y2="73.265" width="0" layer="19" extent="16-16"/>
+<wire x1="33.02" y1="73.265" x2="34.29" y2="73.265" width="0" layer="19" extent="16-16"/>
+<wire x1="31.75" y1="73.265" x2="33.02" y2="73.265" width="0" layer="19" extent="16-16"/>
+<wire x1="30.48" y1="73.265" x2="31.75" y2="73.265" width="0" layer="19" extent="16-16"/>
+<wire x1="29.21" y1="73.265" x2="30.48" y2="73.265" width="0" layer="19" extent="16-16"/>
+<wire x1="62.865" y1="34.163" x2="54.61" y2="26.67" width="0" layer="19" extent="16-16"/>
+<wire x1="64.135" y1="34.163" x2="62.865" y2="34.163" width="0" layer="19" extent="16-16"/>
<wire x1="18.17" y1="57.44" x2="18.17" y2="46.01" width="0" layer="19" extent="1-1"/>
<wire x1="9.77" y1="57.44" x2="18.17" y2="57.44" width="0" layer="19" extent="1-1"/>
<wire x1="38.99" y1="8.98" x2="41.275" y2="26.455" width="0" layer="19" extent="1-16"/>
+<wire x1="71.12" y1="15.875" x2="64.135" y2="34.163" width="0" layer="19" extent="16-16"/>
+<wire x1="21.805" y1="19.685" x2="38.99" y2="8.98" width="0" layer="19" extent="1-16"/>
+<wire x1="48.045" y1="48.895" x2="21.805" y2="19.685" width="0" layer="19" extent="1-16"/>
</signal>
<signal name="VCC">
<contactref element="DEBUG" pad="1"/>
@@ -2749,6 +2771,7 @@ design rules under a new name.</description>
<contactref element="D2" pad="C2"/>
<contactref element="D2" pad="C1"/>
<contactref element="L1" pad="1-VDD"/>
+<contactref element="R6" pad="2"/>
<wire x1="51.435" y1="63.5" x2="45.14" y2="69.73" width="0" layer="19" extent="16-16"/>
<wire x1="65.405" y1="34.163" x2="52.07" y2="29.21" width="0" layer="19" extent="16-16"/>
<wire x1="71.12" y1="28.575" x2="65.405" y2="34.163" width="0" layer="19" extent="16-16"/>
@@ -2760,6 +2783,7 @@ design rules under a new name.</description>
<wire x1="23.34" y1="71.68" x2="45.14" y2="69.73" width="0" layer="19" extent="1-1"/>
<wire x1="71.12" y1="3.175" x2="71.12" y2="28.575" width="0" layer="19" extent="16-16"/>
<wire x1="8.89" y1="12.7" x2="39.94" y2="5.31" width="0" layer="19" extent="1-1"/>
+<wire x1="48.045" y1="46.99" x2="8.89" y2="12.7" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="PTA3">
<contactref element="U1" pad="25"/>
@@ -2896,6 +2920,10 @@ design rules under a new name.</description>
<contactref element="C14" pad="1"/>
<wire x1="49.77" y1="50.8" x2="51.04" y2="49.53" width="0.254" layer="1"/>
<wire x1="51.04" y1="49.53" x2="52.07" y2="49.53" width="0.254" layer="1"/>
+<contactref element="R5" pad="2"/>
+<contactref element="R6" pad="1"/>
+<wire x1="49.745" y1="48.895" x2="46.56203125" y2="47.75293125" width="0" layer="19" extent="1-16"/>
+<wire x1="49.745" y1="46.99" x2="49.745" y2="48.895" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="PTE29">
<contactref element="U1" pad="17"/>
diff --git a/laser-tag badge/laser-tag.sch b/laser-tag badge/laser-tag.sch
index b63e8e8..da35535 100644
--- a/laser-tag badge/laser-tag.sch
+++ b/laser-tag badge/laser-tag.sch
@@ -9679,11 +9679,17 @@ www.irf.com&lt;p&gt;
<part name="GND9" library="supply1" deviceset="GND" device=""/>
<part name="C14" library="rcl" deviceset="C-EU" device="C0603K" value="0.1 uF"/>
<part name="Q1" library="transistor-small-signal" deviceset="BSS123" device="" value="2N7002ET1G"/>
+<part name="GND10" library="supply1" deviceset="GND" device=""/>
+<part name="R5" library="rcl" deviceset="R-EU_" device="R0603" value="100k"/>
+<part name="R6" library="rcl" deviceset="R-EU_" device="R0603" value="220k"/>
+<part name="P+8" library="supply1" deviceset="VCC" device=""/>
</parts>
<sheets>
<sheet>
<plain>
<text x="-96.52" y="99.06" size="1.778" layer="91">Place near VDD pins</text>
+<text x="-45.72" y="-33.02" size="1.778" layer="91">DNP if not
+using VREF_OUT</text>
</plain>
<instances>
<instance part="U1" gate="A" x="10.16" y="99.06"/>
@@ -9739,12 +9745,16 @@ www.irf.com&lt;p&gt;
<instance part="D2" gate="G$1" x="-20.32" y="91.44" smashed="yes" rot="R180">
<attribute name="NAME" x="-19.558" y="95.504" size="1.778" layer="95"/>
</instance>
-<instance part="U$1" gate="G$1" x="-66.04" y="-10.16"/>
+<instance part="U$1" gate="G$1" x="27.94" y="109.22"/>
<instance part="L1" gate="G$1" x="-22.86" y="38.1"/>
<instance part="P+6" gate="VCC" x="-22.86" y="48.26"/>
<instance part="GND9" gate="1" x="-22.86" y="27.94"/>
-<instance part="C14" gate="G$1" x="-60.96" y="91.44"/>
+<instance part="C14" gate="G$1" x="-53.34" y="-30.48"/>
<instance part="Q1" gate="G$1" x="-5.08" y="-20.32"/>
+<instance part="GND10" gate="1" x="-60.96" y="-43.18"/>
+<instance part="R5" gate="G$1" x="-60.96" y="-30.48" rot="R90"/>
+<instance part="R6" gate="G$1" x="-60.96" y="-15.24" rot="R90"/>
+<instance part="P+8" gate="VCC" x="-60.96" y="-5.08"/>
</instances>
<busses>
<bus name="PTE0,PTE20,PTE21,PTE22,PTE23,PTE31">
@@ -9757,6 +9767,16 @@ www.irf.com&lt;p&gt;
<nets>
<net name="GND" class="0">
<segment>
+<pinref part="C14" gate="G$1" pin="2"/>
+<wire x1="-60.96" y1="-40.64" x2="-60.96" y2="-38.1" width="0.1524" layer="91"/>
+<wire x1="-60.96" y1="-38.1" x2="-53.34" y2="-38.1" width="0.1524" layer="91"/>
+<wire x1="-53.34" y1="-38.1" x2="-53.34" y2="-35.56" width="0.1524" layer="91"/>
+<pinref part="GND10" gate="1" pin="GND"/>
+<pinref part="R5" gate="G$1" pin="1"/>
+<wire x1="-60.96" y1="-38.1" x2="-60.96" y2="-35.56" width="0.1524" layer="91"/>
+<junction x="-60.96" y="-38.1"/>
+</segment>
+<segment>
<pinref part="BAT" gate="G$1" pin="-"/>
<pinref part="GND3" gate="1" pin="GND"/>
<wire x1="-114.3" y1="83.82" x2="-114.3" y2="81.28" width="0.1524" layer="91"/>
@@ -9777,10 +9797,6 @@ www.irf.com&lt;p&gt;
<wire x1="-81.28" y1="81.28" x2="-71.12" y2="81.28" width="0.1524" layer="91"/>
<wire x1="-71.12" y1="81.28" x2="-71.12" y2="86.36" width="0.1524" layer="91"/>
<junction x="-81.28" y="81.28"/>
-<pinref part="C14" gate="G$1" pin="2"/>
-<wire x1="-71.12" y1="81.28" x2="-60.96" y2="81.28" width="0.1524" layer="91"/>
-<wire x1="-60.96" y1="81.28" x2="-60.96" y2="86.36" width="0.1524" layer="91"/>
-<junction x="-71.12" y="81.28"/>
</segment>
<segment>
<pinref part="GND4" gate="1" pin="GND"/>
@@ -10037,6 +10053,11 @@ www.irf.com&lt;p&gt;
<pinref part="L1" gate="G$1" pin="VDD"/>
<wire x1="-22.86" y1="45.72" x2="-22.86" y2="43.18" width="0.1524" layer="91"/>
</segment>
+<segment>
+<pinref part="R6" gate="G$1" pin="2"/>
+<pinref part="P+8" gate="VCC" pin="VCC"/>
+<wire x1="-60.96" y1="-10.16" x2="-60.96" y2="-7.62" width="0.1524" layer="91"/>
+</segment>
</net>
<net name="PTA3" class="0">
<segment>
@@ -10246,8 +10267,14 @@ www.irf.com&lt;p&gt;
</segment>
<segment>
<pinref part="C14" gate="G$1" pin="1"/>
-<wire x1="-60.96" y1="93.98" x2="-60.96" y2="96.52" width="0.1524" layer="91"/>
-<label x="-60.96" y="96.52" size="1.778" layer="95" rot="R90"/>
+<wire x1="-53.34" y1="-27.94" x2="-53.34" y2="-22.86" width="0.1524" layer="91"/>
+<label x="-53.34" y="-22.86" size="1.778" layer="95"/>
+<pinref part="R5" gate="G$1" pin="2"/>
+<pinref part="R6" gate="G$1" pin="1"/>
+<wire x1="-60.96" y1="-25.4" x2="-60.96" y2="-22.86" width="0.1524" layer="91"/>
+<wire x1="-60.96" y1="-22.86" x2="-60.96" y2="-20.32" width="0.1524" layer="91"/>
+<wire x1="-60.96" y1="-22.86" x2="-53.34" y2="-22.86" width="0.1524" layer="91"/>
+<junction x="-60.96" y="-22.86"/>
</segment>
</net>
<net name="PTE29" class="0">
@@ -10887,4 +10914,10 @@ www.irf.com&lt;p&gt;
</sheets>
</schematic>
</drawing>
+<compatibility>
+<note version="6.3" minversion="6.2.2" severity="warning">
+Since Version 6.2.2 text objects can contain more than one line,
+which will not be processed correctly with this version.
+</note>
+</compatibility>
</eagle>