diff options
-rw-r--r-- | E Series multiple divider calculator.ipynb | 268 | ||||
-rw-r--r-- | card_base/card_base-cache.lib | 500 | ||||
-rw-r--r-- | card_base/card_base-rescue.dcm | 3 | ||||
-rw-r--r-- | card_base/card_base-rescue.lib | 35 | ||||
-rw-r--r-- | card_base/card_base.bak | 1754 | ||||
-rw-r--r-- | card_base/card_base.kicad_pcb | 1 | ||||
-rw-r--r-- | card_base/card_base.pro | 34 | ||||
-rw-r--r-- | card_base/card_base.sch | 1754 | ||||
-rw-r--r-- | card_base/sym-lib-table | 4 | ||||
-rw-r--r-- | card_base/symbols.dcm | 13 | ||||
-rw-r--r-- | card_base/symbols.lib | 39 |
11 files changed, 4405 insertions, 0 deletions
diff --git a/E Series multiple divider calculator.ipynb b/E Series multiple divider calculator.ipynb new file mode 100644 index 0000000..9b8a3aa --- /dev/null +++ b/E Series multiple divider calculator.ipynb @@ -0,0 +1,268 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 354, + "metadata": {}, + "outputs": [], + "source": [ + "import numpy as np\n", + "import math\n", + "import statistics\n", + "from itertools import product\n", + "\n", + "from tabulate import tabulate\n", + "\n", + "from IPython.core.display import display, HTML" + ] + }, + { + "cell_type": "code", + "execution_count": 235, + "metadata": {}, + "outputs": [], + "source": [ + "e3 = np.array([1.0, 2.2, 4.7])\n", + "e6 = np.array([1.0, 1.5, 2.2, 3.3, 4.7, 6.8])\n", + "e12 = np.array([1.0, 1.2, 1.5, 1.8, 2.2, 2.7, 3.3, 3.9, 4.7, 5.6, 6.8, 8.2])\n", + "e24 = np.array([1.0, 1.1, 1.2, 1.3, 1.5, 1.6, 1.8, 2.0, 2.2, 2.4, 2.7, 3.0, 3.3, 3.6, 3.9, 4.3, 4.7, 5.1, 5.6, 6.2, 6.8, 7.5, 8.2, 9.1])\n", + "e48 = np.array([1.00, 1.05, 1.10, 1.15, 1.21, 1.27, 1.33, 1.40, 1.47, 1.54, 1.62, 1.69, 1.78, 1.87, 1.96, 2.05, 2.15, 2.26, 2.37, 2.49, 2.61, 2.74, 2.87, 3.01, 3.16, 3.32, 3.48, 3.65, 3.83, 4.02, 4.22, 4.42, 4.64, 4.87, 5.11, 5.36, 5.62, 5.90, 6.19, 6.49, 6.81, 7.15, 7.50, 7.87, 8.25, 8.66, 9.09, 9.53])\n", + "e96 = np.array([1.00, 1.02, 1.05, 1.07, 1.10, 1.13, 1.15, 1.18, 1.21, 1.24, 1.27, 1.30, 1.33, 1.37, 1.40, 1.43, 1.47, 1.50, 1.54, 1.58, 1.62, 1.65, 1.69, 1.74, 1.78, 1.82, 1.87, 1.91, 1.96, 2.00, 2.05, 2.10, 2.15, 2.21, 2.26, 2.32, 2.37, 2.43, 2.49, 2.55, 2.61, 2.67, 2.74, 2.80, 2.87, 2.94, 3.01, 3.09, 3.16, 3.24, 3.32, 3.40, 3.48, 3.57, 3.65, 3.74, 3.83, 3.92, 4.02, 4.12, 4.22, 4.32, 4.42, 4.53, 4.64, 4.75, 4.87, 4.99, 5.11, 5.23, 5.36, 5.49, 5.62, 5.76, 5.90, 6.04, 6.19, 6.34, 6.49, 6.65, 6.81, 6.98, 7.15, 7.32, 7.50, 7.68, 7.87, 8.06, 8.25, 8.45, 8.66, 8.87, 9.09, 9.31, 9.53, 9.76])\n", + "e192 = np.array([1.00, 1.01, 1.02, 1.04, 1.05, 1.06, 1.07, 1.09, 1.10, 1.11, 1.13, 1.14, 1.15, 1.17, 1.18, 1.20, 1.21, 1.23, 1.24, 1.26, 1.27, 1.29, 1.30, 1.32, 1.33, 1.35, 1.37, 1.38, 1.40, 1.42, 1.43, 1.45, 1.47, 1.49, 1.50, 1.52, 1.54, 1.56, 1.58, 1.60, 1.62, 1.64, 1.65, 1.67, 1.69, 1.72, 1.74, 1.76, 1.78, 1.80, 1.82, 1.84, 1.87, 1.89, 1.91, 1.93, 1.96, 1.98, 2.00, 2.03, 2.05, 2.08, 2.10, 2.13, 2.15, 2.18, 2.21, 2.23, 2.26, 2.29, 2.32, 2.34, 2.37, 2.40, 2.43, 2.46, 2.49, 2.52, 2.55, 2.58, 2.61, 2.64, 2.67, 2.71, 2.74, 2.77, 2.80, 2.84, 2.87, 2.91, 2.94, 2.98, 3.01, 3.05, 3.09, 3.12, 3.16, 3.20, 3.24, 3.28, 3.32, 3.36, 3.40, 3.44, 3.48, 3.52, 3.57, 3.61, 3.65, 3.70, 3.74, 3.79, 3.83, 3.88, 3.92, 3.97, 4.02, 4.07, 4.12, 4.17, 4.22, 4.27, 4.32, 4.37, 4.42, 4.48, 4.53, 4.59, 4.64, 4.70, 4.75, 4.81, 4.87, 4.93, 4.99, 5.05, 5.11, 5.17, 5.23, 5.30, 5.36, 5.42, 5.49, 5.56, 5.62, 5.69, 5.76, 5.83, 5.90, 5.97, 6.04, 6.12, 6.19, 6.26, 6.34, 6.42, 6.49, 6.57, 6.65, 6.73, 6.81, 6.90, 6.98, 7.06, 7.15, 7.23, 7.32, 7.41, 7.50, 7.59, 7.68, 7.77, 7.87, 7.96, 8.06, 8.16, 8.25, 8.35, 8.45, 8.56, 8.66, 8.76, 8.87, 8.98, 9.09, 9.20, 9.31, 9.42, 9.53, 9.65, 9.76, 9.88])\n", + "\n", + "def decades(series, n):\n", + " return np.hstack([series*(10**i) for i in range(n)] + [10**n])" + ] + }, + { + "cell_type": "code", + "execution_count": 232, + "metadata": {}, + "outputs": [], + "source": [ + "def r_ratio(Utot, U2):\n", + " return Utot/U2 - 1" + ] + }, + { + "cell_type": "code", + "execution_count": 242, + "metadata": {}, + "outputs": [], + "source": [ + "def check_ratios(Utot, U2, series=e24, tolerance=0.01):\n", + " values = decades(series, 7)\n", + " ratios = np.outer(values, 1/values)\n", + " target_ratio = r_ratio(Utot, U2)\n", + " found = np.where(np.abs(1 - ratios/target_ratio) < tolerance)\n", + " return list(zip(values[found[0]], values[found[1]])), np.abs(1 - ratios/target_ratio)" + ] + }, + { + "cell_type": "code", + "execution_count": 355, + "metadata": {}, + "outputs": [], + "source": [ + "def par(a, b):\n", + " return 1/(1/a + 1/b)" + ] + }, + { + "cell_type": "code", + "execution_count": 414, + "metadata": {}, + "outputs": [], + "source": [ + "def sig_round(val, ndigits):\n", + " log = math.floor(math.log10(val))\n", + " return round(val/(10**log), ndigits) * (10**log)" + ] + }, + { + "cell_type": "code", + "execution_count": 430, + "metadata": {}, + "outputs": [], + "source": [ + "def crossref_ratios(Utots, U2, offx=0, series=e24, allow_parallel=False):\n", + " values = e24_n_decades(7)\n", + " par_map = { sig_round(par(a, b), 4): (a, b) for a, b in product(values, values) }\n", + " for val in values:\n", + " if val in par_map:\n", + " del par_map[val]\n", + " par_arr = np.array(list(par_map.keys()) + list(values))\n", + " if allow_parallel:\n", + " values_com = par_arr + offx/2\n", + " else:\n", + " values_com = values + offx/2\n", + " values_choice = values + offx\n", + " ratios = np.outer(values_choice, 1/values_com)\n", + " target_ratios = [ r_ratio(Utot, U2) for Utot in Utots ]\n", + " deltas = np.array([ np.abs(1 - ratios/target_ratio) for target_ratio in target_ratios])\n", + "\n", + " deltas_x = deltas #[:,:,:len(series)]\n", + " idx_x, mins_x = deltas_x.argmin(axis=1), deltas_x.min(axis=1)\n", + " #errs_out_x = np.array([elem.dot(elem) for elem in np.swapaxes(mins_x, 0, 1)])\n", + " errs_out_x = mins_x.max(axis=0)\n", + " best_x = [ (errs_out_x[j], list(mins_x[:,j]), list(values_choice[idx_x[:,j]]), values_com[j]) for j in np.argsort(errs_out_x) ]\n", + "\n", + " deltas_y = deltas #[:,:len(series),:]\n", + " idx_y, mins_y = deltas_y.argmin(axis=2), deltas_y.min(axis=2)\n", + " #errs_out_y = np.array([elem.dot(elem) for elem in np.swapaxes(mins_y, 0, 1)])\n", + " errs_out_y = mins_y.max(axis=0)\n", + " best_y = [ (errs_out_y[j], list(mins_y[:,j]), list(values_com[idx_y[:,j]]), values_choice[j]) for j in np.argsort(errs_out_y) ]\n", + " \n", + " return sorted(best_x), sorted(best_y), par_map" + ] + }, + { + "cell_type": "code", + "execution_count": 443, + "metadata": { + "scrolled": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "R1 fixed, R2 choices\n" + ] + }, + { + "data": { + "text/html": [ + "<table>\n", + "<thead>\n", + "<tr><th>R1 (3.8V) </th><th>R1 (5.0V) </th><th>R1 (12V) </th><th>R2 </th><th>Δ </th><th>R total (min) </th><th>R total (max) </th><th>Iq </th></tr>\n", + "</thead>\n", + "<tbody>\n", + "<tr><td>1.60M </td><td>2.20M </td><td>5.60M </td><td>300k </td><td>0.00%, 0.00%, <strong>1.75%</strong> </td><td>1.90M </td><td>5.90M </td><td>2.01μA</td></tr>\n", + "<tr><td>160k </td><td>220k </td><td>560k </td><td>30.0k</td><td>0.00%, 0.00%, <strong>1.75%</strong> </td><td>190k </td><td>590k </td><td>20.1μA</td></tr>\n", + "<tr><td>360k </td><td>510k </td><td>1.30M </td><td>68.0k</td><td>0.74%, <strong>2.27%</strong>, 0.62% </td><td>428k </td><td>1.37M </td><td>8.77μA</td></tr>\n", + "<tr><td>180k </td><td>240k </td><td>620k </td><td>33.0k</td><td><strong>2.27%</strong>, 0.83%, 1.12% </td><td>213k </td><td>653k </td><td>18.2μA</td></tr>\n", + "<tr><td>1.80M </td><td>2.40M </td><td>6.20M </td><td>330k </td><td><strong>2.27%</strong>, 0.83%, 1.12% </td><td>2.13M </td><td>6.53M </td><td>1.82μA</td></tr>\n", + "<tr><td>1.20M </td><td>1.60M </td><td>4.30M </td><td>220k </td><td>2.27%, 0.83%, <strong>2.87%</strong> </td><td>1.42M </td><td>4.52M </td><td>2.69μA</td></tr>\n", + "<tr><td>120k </td><td>160k </td><td>430k </td><td>22.0k</td><td>2.27%, 0.83%, <strong>2.87%</strong> </td><td>142k </td><td>452k </td><td>26.9μA</td></tr>\n", + "<tr><td>130k </td><td>180k </td><td>470k </td><td>24.0k</td><td>1.56%, 2.27%, <strong>3.07%</strong> </td><td>154k </td><td>494k </td><td>24.5μA</td></tr>\n", + "<tr><td>1.30M </td><td>1.80M </td><td>4.70M </td><td>240k </td><td>1.56%, 2.27%, <strong>3.07%</strong> </td><td>1.54M </td><td>4.94M </td><td>2.45μA</td></tr>\n", + "<tr><td>430k </td><td>620k </td><td>1.60M </td><td>82.0k</td><td>1.68%, <strong>3.10%</strong>, 2.70% </td><td>512k </td><td>1.68M </td><td>7.23μA</td></tr>\n", + "<tr><td>110k </td><td>150k </td><td>390k </td><td>20.0k</td><td><strong>3.13%</strong>, 2.27%, 2.63% </td><td>130k </td><td>410k </td><td>29.3μA</td></tr>\n", + "<tr><td>1.10M </td><td>1.50M </td><td>3.90M </td><td>200k </td><td><strong>3.13%</strong>, 2.27%, 2.63% </td><td>1.30M </td><td>4.10M </td><td>2.93μA</td></tr>\n", + "<tr><td>330k </td><td>470k </td><td>1.20M </td><td>62.0k</td><td>0.20%, <strong>3.37%</strong>, 1.87% </td><td>392k </td><td>1.26M </td><td>9.53μA</td></tr>\n", + "<tr><td>620k </td><td>910k </td><td>2.20M </td><td>120k </td><td>3.12%, 3.41%, <strong>3.51%</strong> </td><td>740k </td><td>2.32M </td><td>5.05μA</td></tr>\n", + "<tr><td>270k </td><td>360k </td><td>1.00M </td><td>51.0k</td><td>0.74%, <strong>3.74%</strong>, 3.20% </td><td>321k </td><td>1.05M </td><td>11.8μA</td></tr>\n", + "<tr><td>820k </td><td>1.20M </td><td>3.00M </td><td>160k </td><td><strong>3.91%</strong>, 2.27%, 1.32% </td><td>980k </td><td>3.16M </td><td>3.78μA</td></tr>\n", + "<tr><td>470k </td><td>680k </td><td>1.80M </td><td>91.0k</td><td>3.16%, 1.90%, <strong>4.11%</strong> </td><td>561k </td><td>1.89M </td><td>6.53μA</td></tr>\n", + "<tr><td>1.50M </td><td>2.00M </td><td>5.10M </td><td>270k </td><td><strong>4.17%</strong>, 1.01%, 0.58% </td><td>1.77M </td><td>5.37M </td><td>2.19μA</td></tr>\n", + "<tr><td>150k </td><td>200k </td><td>510k </td><td>27.0k</td><td><strong>4.17%</strong>, 1.01%, 0.58% </td><td>177k </td><td>537k </td><td>21.9μA</td></tr>\n", + "<tr><td>100k </td><td>130k </td><td>330k </td><td>18.0k</td><td><strong>4.17%</strong>, 1.52%, 3.51% </td><td>118k </td><td>348k </td><td>33.5μA</td></tr>\n", + "<tr><td>1.00M </td><td>1.30M </td><td>3.30M </td><td>180k </td><td><strong>4.17%</strong>, 1.52%, 3.51% </td><td>1.18M </td><td>3.48M </td><td>3.35μA</td></tr>\n", + "<tr><td>200k </td><td>270k </td><td>680k </td><td>36.0k</td><td><strong>4.17%</strong>, 2.27%, 0.58% </td><td>236k </td><td>716k </td><td>16.4μA</td></tr>\n", + "<tr><td>2.00M </td><td>2.70M </td><td>6.80M </td><td>360k </td><td><strong>4.17%</strong>, 2.27%, 0.58% </td><td>2.36M </td><td>7.16M </td><td>1.64μA</td></tr>\n", + "<tr><td>240k </td><td>330k </td><td>910k </td><td>47.0k</td><td><strong>4.26%</strong>, <strong>4.26%</strong>, 1.90%</td><td>287k </td><td>957k </td><td>13.0μA</td></tr>\n", + "<tr><td>2.40M </td><td>3.30M </td><td>9.10M </td><td>470k </td><td><strong>4.26%</strong>, <strong>4.26%</strong>, 1.90%</td><td>2.87M </td><td>9.57M </td><td>1.30μA</td></tr>\n", + "<tr><td>680k </td><td>910k </td><td>2.40M </td><td>130k </td><td>1.92%, <strong>4.55%</strong>, 2.83% </td><td>810k </td><td>2.53M </td><td>4.75μA</td></tr>\n", + "<tr><td>560k </td><td>820k </td><td>2.00M </td><td>110k </td><td><strong>4.55%</strong>, 1.65%, 4.31% </td><td>670k </td><td>2.11M </td><td>5.58μA</td></tr>\n", + "<tr><td>220k </td><td>330k </td><td>820k </td><td>43.0k</td><td>4.07%, <strong>4.65%</strong>, 0.37% </td><td>263k </td><td>863k </td><td>13.9μA</td></tr>\n", + "<tr><td>2.20M </td><td>3.30M </td><td>8.20M </td><td>430k </td><td>4.07%, <strong>4.65%</strong>, 0.37% </td><td>2.63M </td><td>8.63M </td><td>1.39μA</td></tr>\n", + "<tr><td>300k </td><td>430k </td><td>1.10M </td><td>56.0k</td><td>0.45%, <strong>4.71%</strong>, 3.38% </td><td>356k </td><td>1.16M </td><td>10.4μA</td></tr>\n", + "<tr><td>200k </td><td>300k </td><td>750k </td><td>39.0k</td><td>3.85%, <strong>4.90%</strong>, 1.21% </td><td>239k </td><td>789k </td><td>15.3μA</td></tr>\n", + "<tr><td>2.00M </td><td>3.00M </td><td>7.50M </td><td>390k </td><td>3.85%, <strong>4.90%</strong>, 1.21% </td><td>2.39M </td><td>7.89M </td><td>1.53μA</td></tr>\n", + "<tr><td>820k </td><td>1.10M </td><td>3.00M </td><td>150k </td><td>2.50%, 0.00%, <strong>5.26%</strong> </td><td>970k </td><td>3.15M </td><td>3.91μA</td></tr>\n", + "<tr><td>390k </td><td>560k </td><td>1.50M </td><td>75.0k</td><td>2.50%, 1.82%, <strong>5.26%</strong> </td><td>465k </td><td>1.57M </td><td>7.89μA</td></tr>\n", + "<tr><td>510k </td><td>750k </td><td>2.00M </td><td>100k </td><td>4.38%, 2.27%, <strong>5.26%</strong> </td><td>610k </td><td>2.10M </td><td>5.94μA</td></tr>\n", + "<tr><td>2.70M </td><td>3.60M </td><td>9.10M </td><td>510k </td><td>0.74%, 3.74%, <strong>6.09%</strong> </td><td>3.21M </td><td>9.61M </td><td>1.22μA</td></tr>\n", + "<tr><td>3.00M </td><td>4.30M </td><td>9.10M </td><td>560k </td><td>0.45%, <strong>4.71%</strong>, 14.47% </td><td>3.56M </td><td>9.66M </td><td>1.11μA</td></tr>\n", + "<tr><td>3.30M </td><td>4.70M </td><td>9.10M </td><td>620k </td><td>0.20%, <strong>3.37%</strong>, 22.75% </td><td>3.92M </td><td>9.72M </td><td>1.05μA</td></tr>\n", + "<tr><td>3.60M </td><td>5.10M </td><td>9.10M </td><td>680k </td><td>0.74%, 2.27%, <strong>29.57%</strong> </td><td>4.28M </td><td>9.78M </td><td>993nA </td></tr>\n", + "<tr><td>3.90M </td><td>5.60M </td><td>9.10M </td><td>750k </td><td>2.50%, 1.82%, <strong>36.14%</strong> </td><td>4.65M </td><td>9.85M </td><td>941nA </td></tr>\n", + "<tr><td>4.30M </td><td>6.20M </td><td>9.10M </td><td>820k </td><td>1.68%, 3.10%, <strong>41.59%</strong> </td><td>5.12M </td><td>9.92M </td><td>888nA </td></tr>\n", + "<tr><td>4.70M </td><td>6.80M </td><td>9.10M </td><td>910k </td><td>3.16%, 1.90%, <strong>47.37%</strong> </td><td>5.61M </td><td>10.0M </td><td>842nA </td></tr>\n", + "<tr><td>5.10M </td><td>7.50M </td><td>9.10M </td><td>1.00M</td><td>4.38%, 2.27%, <strong>52.11%</strong> </td><td>6.10M </td><td>10.1M </td><td>800nA </td></tr>\n", + "<tr><td>5.60M </td><td>8.20M </td><td>9.10M </td><td>1.10M</td><td>4.55%, 1.65%, <strong>56.46%</strong> </td><td>6.70M </td><td>10.2M </td><td>760nA </td></tr>\n", + "<tr><td>6.20M </td><td>9.10M </td><td>9.10M </td><td>1.20M</td><td>3.12%, 3.41%, <strong>60.09%</strong> </td><td>7.40M </td><td>10.3M </td><td>721nA </td></tr>\n", + "<tr><td>6.80M </td><td>9.10M </td><td>9.10M </td><td>1.30M</td><td>1.92%, 4.55%, <strong>63.16%</strong> </td><td>8.10M </td><td>10.4M </td><td>701nA </td></tr>\n", + "<tr><td>8.20M </td><td>9.10M </td><td>9.10M </td><td>1.50M</td><td>2.50%, 17.27%, <strong>68.07%</strong> </td><td>9.70M </td><td>10.6M </td><td>665nA </td></tr>\n", + "<tr><td>8.20M </td><td>9.10M </td><td>9.10M </td><td>1.60M</td><td>3.91%, 22.44%, <strong>70.07%</strong> </td><td>9.80M </td><td>10.7M </td><td>659nA </td></tr>\n", + "</tbody>\n", + "</table>" + ], + "text/plain": [ + "<IPython.core.display.HTML object>" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "Utots = [3.8, 5, 12]\n", + "U2 = 0.6\n", + "series = e48\n", + "r_tot_min, r_tot_max = 100e3, 10e6\n", + "\n", + "si_prefix = ['y', 'z', 'a', 'f', 'p', 'n', 'μ', 'm', '', 'k', 'M', 'G', 'T', 'P', 'E', 'Z', 'Y']\n", + "def format_si(val, digits=2, suffix='', unity_prefix=''):\n", + " mul = math.floor(math.log10(val))\n", + " prefixes = [prefix or unity_prefix for prefix in si_prefix]\n", + " prefix = prefixes[min(len(si_prefix)-1, max(0, si_prefix.index('') + mul//3))]\n", + " le_format = f'{{:.{digits-mul%3}f}}{{}}{{}}'\n", + " return le_format.format(val/(10**(mul//3*3)), prefix, suffix)\n", + "format_r = lambda val, digits=2: format_si(val, digits=digits, unity_prefix='R')\n", + "\n", + "com = 'low'\n", + "#com ='high'\n", + "\n", + "data = []\n", + "best_x, best_y, par_map = crossref_ratios(Utots, U2, series=series, allow_parallel=False)\n", + "print('R1 fixed, R2 choices')\n", + "for _acc, deltas, r1_vals, r2 in best_x if com == 'low' else best_y:\n", + " if len(data) >= 50:\n", + " break\n", + " \n", + " r_tots = [ r1+r2 for r1 in r1_vals ]\n", + " iqs = [u/(r1+r2) for r1, u in zip(r1_vals, Utots)]\n", + " iq = statistics.mean(iqs)\n", + " #if min(r_tots) > r_tot_max or max(r_tots) < r_tot_min:\n", + " \n", + " if not r_tot_min < min(r_tots) < r_tot_max:\n", + " continue\n", + " \n", + " r1_vals = [ format_r(val) for val in r1_vals ]\n", + " deltas = [ f'{d:.2%}' for d in deltas ]\n", + " deltas = [ f'<strong>{d}</strong>' if d == max(deltas) else d for d in deltas ]\n", + " data.append((\n", + " *r1_vals,\n", + " f'{format_r(par_map[r2][0])} || {format_r(par_map[r2][1])}' if r2 in par_map else f'{format_r(r2)}',\n", + " f'{\", \".join(deltas)}',\n", + " f'{format_r(min(r_tots))}', f'{format_r(max(r_tots))}',\n", + " f'{format_si(iq, suffix=\"A\")}'))\n", + "s, c = (1,2) if com == 'low' else (2,1)\n", + "display(HTML(tabulate(data, [*[ f'R{s} ({format_si(u, suffix=\"V\", digits=1)})' for u in Utots ], f'R{c}', 'Δ', 'R total (min)', 'R total (max)', 'Iq'], tablefmt='html')))" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.6.8" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/card_base/card_base-cache.lib b/card_base/card_base-cache.lib new file mode 100644 index 0000000..2bf1e5f --- /dev/null +++ b/card_base/card_base-cache.lib @@ -0,0 +1,500 @@ +EESchema-LIBRARY Version 2.4 +#encoding utf-8 +# +# 74xx_74HC596 +# +DEF 74xx_74HC596 U 0 20 Y Y 1 F N +F0 "U" -300 550 50 H V C CNN +F1 "74xx_74HC596" -300 -650 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +ALIAS 74LS596 74HCT596 +$FPLIST + DIP*W7.62mm* + SOIC*3.9x9.9mm*P1.27mm* + TSSOP*4.4x5mm*P0.65mm* + SOIC*5.3x10.2mm*P1.27mm* + SOIC*7.5x10.3mm*P1.27mm* +$ENDFPLIST +DRAW +S -300 500 300 -600 1 1 10 f +X QB 1 400 300 100 L 50 50 1 0 C +X ~SRCLR 10 -400 100 100 R 50 50 1 0 I +X SRCLK 11 -400 200 100 R 50 50 1 0 I +X RCLK 12 -400 -100 100 R 50 50 1 0 I +X ~OE 13 -400 -200 100 R 50 50 1 0 I +X SER 14 -400 400 100 R 50 50 1 0 I +X QA 15 400 400 100 L 50 50 1 0 C +X VCC 16 0 600 100 D 50 50 1 0 W +X QC 2 400 200 100 L 50 50 1 0 C +X QD 3 400 100 100 L 50 50 1 0 C +X QE 4 400 0 100 L 50 50 1 0 C +X QF 5 400 -100 100 L 50 50 1 0 C +X QG 6 400 -200 100 L 50 50 1 0 C +X QH 7 400 -300 100 L 50 50 1 0 C +X GND 8 0 -700 100 U 50 50 1 0 W +X QH' 9 400 -500 100 L 50 50 1 0 O +ENDDRAW +ENDDEF +# +# Connector_Generic_Conn_01x04 +# +DEF Connector_Generic_Conn_01x04 J 0 40 Y N 1 F N +F0 "J" 0 200 50 H V C CNN +F1 "Connector_Generic_Conn_01x04" 0 -300 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + Connector*:*_1x??_* +$ENDFPLIST +DRAW +S -50 -195 0 -205 1 1 6 N +S -50 -95 0 -105 1 1 6 N +S -50 5 0 -5 1 1 6 N +S -50 105 0 95 1 1 6 N +S -50 150 50 -250 1 1 10 f +X Pin_1 1 -200 100 150 R 50 50 1 1 P +X Pin_2 2 -200 0 150 R 50 50 1 1 P +X Pin_3 3 -200 -100 150 R 50 50 1 1 P +X Pin_4 4 -200 -200 150 R 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Connector_Generic_Conn_01x08 +# +DEF Connector_Generic_Conn_01x08 J 0 40 Y N 1 F N +F0 "J" 0 400 50 H V C CNN +F1 "Connector_Generic_Conn_01x08" 0 -500 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + Connector*:*_1x??_* +$ENDFPLIST +DRAW +S -50 -395 0 -405 1 1 6 N +S -50 -295 0 -305 1 1 6 N +S -50 -195 0 -205 1 1 6 N +S -50 -95 0 -105 1 1 6 N +S -50 5 0 -5 1 1 6 N +S -50 105 0 95 1 1 6 N +S -50 205 0 195 1 1 6 N +S -50 305 0 295 1 1 6 N +S -50 350 50 -450 1 1 10 f +X Pin_1 1 -200 300 150 R 50 50 1 1 P +X Pin_2 2 -200 200 150 R 50 50 1 1 P +X Pin_3 3 -200 100 150 R 50 50 1 1 P +X Pin_4 4 -200 0 150 R 50 50 1 1 P +X Pin_5 5 -200 -100 150 R 50 50 1 1 P +X Pin_6 6 -200 -200 150 R 50 50 1 1 P +X Pin_7 7 -200 -300 150 R 50 50 1 1 P +X Pin_8 8 -200 -400 150 R 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Connector_Generic_Conn_01x10 +# +DEF Connector_Generic_Conn_01x10 J 0 40 Y N 1 F N +F0 "J" 0 500 50 H V C CNN +F1 "Connector_Generic_Conn_01x10" 0 -600 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + Connector*:*_1x??_* +$ENDFPLIST +DRAW +S -50 -495 0 -505 1 1 6 N +S -50 -395 0 -405 1 1 6 N +S -50 -295 0 -305 1 1 6 N +S -50 -195 0 -205 1 1 6 N +S -50 -95 0 -105 1 1 6 N +S -50 5 0 -5 1 1 6 N +S -50 105 0 95 1 1 6 N +S -50 205 0 195 1 1 6 N +S -50 305 0 295 1 1 6 N +S -50 405 0 395 1 1 6 N +S -50 450 50 -550 1 1 10 f +X Pin_1 1 -200 400 150 R 50 50 1 1 P +X Pin_10 10 -200 -500 150 R 50 50 1 1 P +X Pin_2 2 -200 300 150 R 50 50 1 1 P +X Pin_3 3 -200 200 150 R 50 50 1 1 P +X Pin_4 4 -200 100 150 R 50 50 1 1 P +X Pin_5 5 -200 0 150 R 50 50 1 1 P +X Pin_6 6 -200 -100 150 R 50 50 1 1 P +X Pin_7 7 -200 -200 150 R 50 50 1 1 P +X Pin_8 8 -200 -300 150 R 50 50 1 1 P +X Pin_9 9 -200 -400 150 R 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Connector_TestPoint_Alt +# +DEF Connector_TestPoint_Alt TP 0 30 N N 1 F N +F0 "TP" 0 270 50 H V C CNN +F1 "Connector_TestPoint_Alt" 0 200 50 H V C CNN +F2 "" 200 0 50 H I C CNN +F3 "" 200 0 50 H I C CNN +$FPLIST + Pin* + Test* +$ENDFPLIST +DRAW +P 5 0 1 0 0 100 -30 130 0 160 30 130 0 100 N +X 1 1 0 0 100 U 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Device_Battery_Cell +# +DEF Device_Battery_Cell BT 0 0 N N 1 F N +F0 "BT" 100 100 50 H V L CNN +F1 "Device_Battery_Cell" 100 0 50 H V L CNN +F2 "" 0 60 50 V I C CNN +F3 "" 0 60 50 V I C CNN +DRAW +S -90 70 90 60 0 1 0 F +S -62 47 58 27 0 1 0 F +P 2 0 1 0 0 30 0 0 N +P 2 0 1 0 0 70 0 100 N +P 2 0 1 10 20 135 60 135 N +P 2 0 1 10 40 155 40 115 N +X + 1 0 200 100 D 50 50 1 1 P +X - 2 0 -100 100 U 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Device_CP_Small +# +DEF Device_CP_Small C 0 10 N N 1 F N +F0 "C" 10 70 50 H V L CNN +F1 "Device_CP_Small" 10 -80 50 H V L CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + CP_* +$ENDFPLIST +DRAW +S -60 -12 60 -27 0 1 0 F +S -60 27 60 12 0 1 0 N +P 2 0 1 0 -50 60 -30 60 N +P 2 0 1 0 -40 50 -40 70 N +X ~ 1 0 100 73 D 50 50 1 1 P +X ~ 2 0 -100 73 U 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Device_C_Small +# +DEF Device_C_Small C 0 10 N N 1 F N +F0 "C" 10 70 50 H V L CNN +F1 "Device_C_Small" 10 -80 50 H V L CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + C_* +$ENDFPLIST +DRAW +P 2 0 1 13 -60 -20 60 -20 N +P 2 0 1 12 -60 20 60 20 N +X ~ 1 0 100 80 D 50 50 1 1 P +X ~ 2 0 -100 80 U 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Device_D_Schottky_Small_ALT +# +DEF Device_D_Schottky_Small_ALT D 0 10 N N 1 F N +F0 "D" -50 80 50 H V L CNN +F1 "Device_D_Schottky_Small_ALT" -280 -80 50 H V L CNN +F2 "" 0 0 50 V I C CNN +F3 "" 0 0 50 V I C CNN +$FPLIST + TO-???* + *_Diode_* + *SingleDiode* + D_* +$ENDFPLIST +DRAW +P 2 0 1 0 -30 -40 -30 40 N +P 2 0 1 0 -30 0 30 0 N +P 3 0 1 0 -30 -40 -20 -40 -20 -30 N +P 3 0 1 0 -30 40 -40 40 -40 30 N +P 4 0 1 0 30 -40 -30 0 30 40 30 -40 F +X K 1 -100 0 70 R 50 50 1 1 P +X A 2 100 0 70 L 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Device_Jumper_NC_Small +# +DEF Device_Jumper_NC_Small JP 0 30 N N 1 F N +F0 "JP" 0 80 50 H V C CNN +F1 "Device_Jumper_NC_Small" 10 -60 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +A 0 -10 57 450 1350 0 1 0 N 40 30 -40 30 +C -40 0 20 0 1 0 N +C 40 0 20 0 1 0 N +X 1 1 -100 0 40 R 50 50 0 1 P +X 2 2 100 0 40 L 50 50 0 1 P +ENDDRAW +ENDDEF +# +# Device_Jumper_NO_Small +# +DEF Device_Jumper_NO_Small JP 0 30 N N 1 F N +F0 "JP" 0 80 50 H V C CNN +F1 "Device_Jumper_NO_Small" 10 -60 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +C -40 0 20 0 1 0 N +C 40 0 20 0 1 0 N +X 1 1 -100 0 40 R 50 50 0 1 P +X 2 2 100 0 40 L 50 50 0 1 P +ENDDRAW +ENDDEF +# +# Device_R_Small +# +DEF Device_R_Small R 0 10 N N 1 F N +F0 "R" 30 20 50 H V L CNN +F1 "Device_R_Small" 30 -40 50 H V L CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + R_* +$ENDFPLIST +DRAW +S -30 70 30 -70 0 1 8 N +X ~ 1 0 100 30 D 50 50 1 1 P +X ~ 2 0 -100 30 U 50 50 1 1 P +ENDDRAW +ENDDEF +# +# MCU_ST_STM32F0_STM32F030F4Px +# +DEF MCU_ST_STM32F0_STM32F030F4Px U 0 20 Y Y 1 F N +F0 "U" -400 650 50 H V L CNN +F1 "MCU_ST_STM32F0_STM32F030F4Px" 200 650 50 H V L CNN +F2 "Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm" -400 -700 50 H I R CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + TSSOP*4.4x6.5mm*P0.65mm* +$ENDFPLIST +DRAW +S -400 -700 400 600 0 1 10 f +X BOOT0 1 -500 300 100 R 50 50 1 1 I +X PA4 10 500 100 100 L 50 50 1 1 B +X PA5 11 500 0 100 L 50 50 1 1 B +X PA6 12 500 -100 100 L 50 50 1 1 B +X PA7 13 500 -200 100 L 50 50 1 1 B +X PB1 14 -500 -600 100 R 50 50 1 1 B +X VSS 15 0 -800 100 U 50 50 1 1 W +X VDD 16 0 700 100 D 50 50 1 1 W +X PA9 17 500 -300 100 L 50 50 1 1 B +X PA10 18 500 -400 100 L 50 50 1 1 B +X PA13 19 500 -500 100 L 50 50 1 1 B +X PF0 2 -500 -300 100 R 50 50 1 1 I +X PA14 20 500 -600 100 L 50 50 1 1 B +X PF1 3 -500 -400 100 R 50 50 1 1 I +X NRST 4 -500 500 100 R 50 50 1 1 I +X VDDA 5 100 700 100 D 50 50 1 1 W +X PA0 6 500 500 100 L 50 50 1 1 B +X PA1 7 500 400 100 L 50 50 1 1 B +X PA2 8 500 300 100 L 50 50 1 1 B +X PA3 9 500 200 100 L 50 50 1 1 B +ENDDRAW +ENDDEF +# +# Sensor_Motion_MPU-6050 +# +DEF Sensor_Motion_MPU-6050 U 0 20 Y Y 1 F N +F0 "U" -450 550 50 H V C CNN +F1 "Sensor_Motion_MPU-6050" 300 -550 50 H V C CNN +F2 "Sensor_Motion:InvenSense_QFN-24_4x4mm_P0.5mm" 0 -800 50 H I C CNN +F3 "" 0 -150 50 H I C CNN +$FPLIST + *QFN-24*4x4mm*P0.5mm* +$ENDFPLIST +DRAW +S -500 500 500 -500 0 1 10 f +X CLKIN 1 -700 -300 200 R 50 50 1 1 I C +X REGOUT 10 700 -300 200 L 50 50 1 1 P +X FSYNC 11 -700 -200 200 R 50 50 1 1 I +X INT 12 700 300 200 L 50 50 1 1 O +X VDD 13 100 700 200 D 50 50 1 1 W +X GND 18 0 -700 200 U 50 50 1 1 W +X CPOUT 20 700 -200 200 L 50 50 1 1 P +X SCL 23 -700 200 200 R 50 50 1 1 I +X SDA 24 -700 300 200 R 50 50 1 1 B +X AUX_SDA 6 700 100 200 L 50 50 1 1 B +X AUX_SCL 7 700 0 200 L 50 50 1 1 O C +X VDDIO 8 -100 700 200 D 50 50 1 1 W +X AD0 9 -700 100 200 R 50 50 1 1 I +ENDDRAW +ENDDEF +# +# Switch_SW_Push +# +DEF Switch_SW_Push SW 0 40 N N 1 F N +F0 "SW" 50 100 50 H V L CNN +F1 "Switch_SW_Push" 0 -60 50 H V C CNN +F2 "" 0 200 50 H I C CNN +F3 "" 0 200 50 H I C CNN +DRAW +C -80 0 20 0 1 0 N +C 80 0 20 0 1 0 N +P 2 0 1 0 0 50 0 120 N +P 2 0 1 0 100 50 -100 50 N +X 1 1 -200 0 100 R 50 50 0 1 P +X 2 2 200 0 100 L 50 50 0 1 P +ENDDRAW +ENDDEF +# +# Transistor_FET_IRLML6402 +# +DEF Transistor_FET_IRLML6402 Q 0 0 Y N 1 F N +F0 "Q" 200 75 50 H V L CNN +F1 "Transistor_FET_IRLML6402" 200 0 50 H V L CNN +F2 "Package_TO_SOT_SMD:SOT-23" 200 -75 50 H I L CIN +F3 "" 0 0 50 H I L CNN +ALIAS VP0610T BSS84 NTR2101P BSS83P Si2319CDS IRLML6402 +$FPLIST + SOT?23* +$ENDFPLIST +DRAW +C 65 0 111 0 1 10 N +C 100 -70 11 0 1 0 F +C 100 70 11 0 1 0 F +P 2 0 1 0 -100 0 10 0 N +P 2 0 1 0 30 -70 100 -70 N +P 2 0 1 10 30 -50 30 -90 N +P 2 0 1 0 30 0 100 0 N +P 2 0 1 10 30 20 30 -20 N +P 2 0 1 0 30 70 100 70 N +P 2 0 1 10 30 90 30 50 N +P 2 0 1 0 100 -70 100 -100 N +P 2 0 1 0 100 -70 100 0 N +P 2 0 1 0 100 100 100 70 N +P 3 0 1 10 10 75 10 -75 10 -75 N +P 4 0 1 0 90 0 50 -15 50 15 90 0 F +P 4 0 1 0 100 -70 130 -70 130 70 100 70 N +P 4 0 1 0 110 -20 115 -15 145 -15 150 -10 N +P 4 0 1 0 130 -15 115 10 145 10 130 -15 N +X G 1 -200 0 100 R 50 50 1 1 I +X S 2 100 -200 100 U 50 50 1 1 P +X D 3 100 200 100 D 50 50 1 1 P +ENDDRAW +ENDDEF +# +# card_base-rescue_L_EU_small-components +# +DEF card_base-rescue_L_EU_small-components L 0 40 N N 1 F N +F0 "L" 0 100 50 H V C CNN +F1 "card_base-rescue_L_EU_small-components" 0 -100 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +S -100 -25 100 25 0 1 10 F +X 1 1 -200 0 100 R 50 50 1 1 U +X 2 2 200 0 100 L 50 50 1 1 U +ENDDRAW +ENDDEF +# +# card_base-rescue_MT3608-components +# +DEF card_base-rescue_MT3608-components U 0 40 Y Y 1 F N +F0 "U" -200 250 50 H V C CNN +F1 "card_base-rescue_MT3608-components" 100 250 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +S -250 200 250 -150 0 1 0 f +X SW 1 350 100 100 L 50 50 1 1 O +X GND 2 0 -250 100 U 50 50 1 1 W +X FB 3 350 -50 100 L 50 50 1 1 I +X EN 4 -350 -50 100 R 50 50 1 1 I +X IN 5 -350 100 100 R 50 50 1 1 W +ENDDRAW +ENDDEF +# +# power_+2V8 +# +DEF power_+2V8 #PWR 0 0 Y Y 1 F P +F0 "#PWR" 0 -150 50 H I C CNN +F1 "power_+2V8" 0 140 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 2 0 1 0 -30 50 0 100 N +P 2 0 1 0 0 0 0 100 N +P 2 0 1 0 0 100 30 50 N +X +2V8 1 0 0 0 U 50 50 1 1 W N +ENDDRAW +ENDDEF +# +# power_+VSW +# +DEF power_+VSW #PWR 0 0 Y Y 1 F P +F0 "#PWR" 0 -150 50 H I C CNN +F1 "power_+VSW" 0 140 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 2 0 1 0 -30 50 0 100 N +P 2 0 1 0 0 0 0 100 N +P 2 0 1 0 0 100 30 50 N +X +VSW 1 0 0 0 U 50 50 1 1 W N +ENDDRAW +ENDDEF +# +# power_GND +# +DEF power_GND #PWR 0 0 Y Y 1 F P +F0 "#PWR" 0 -250 50 H I C CNN +F1 "power_GND" 0 -150 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N +X GND 1 0 0 0 D 50 50 1 1 W N +ENDDRAW +ENDDEF +# +# symbols_AP2138 +# +DEF symbols_AP2138 U 0 40 Y Y 1 F N +F0 "U" 0 250 50 H V C CNN +F1 "symbols_AP2138" 0 150 50 H V C CNN +F2 "TO_SOT_Packages_SMD:SOT-23_Handsoldering" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +S -300 -300 300 100 0 1 0 f +X GND 1 0 -500 200 U 50 50 0 0 W +X Vout 2 500 0 200 L 50 50 0 0 w +X Vin 3 -500 0 200 R 50 50 0 0 W +ENDDRAW +ENDDEF +# +# symbols_APDS9960 +# +DEF symbols_APDS9960 U 0 40 Y Y 1 F N +F0 "U" 0 750 50 H V C CNN +F1 "symbols_APDS9960" 0 650 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +S -300 -200 300 300 0 1 0 f +X SDA 1 -500 200 200 R 50 50 0 0 B +X INT 2 -500 -100 200 R 50 50 0 0 C +X LDR 3 500 -100 200 L 50 50 0 0 w +X LEDK 4 500 0 200 L 50 50 0 0 P +X LEDA 5 500 100 200 L 50 50 0 0 P +X GND 6 0 -400 200 U 50 50 0 0 W +X SCL 7 -500 100 200 R 50 50 0 0 B +X VDD 8 0 500 200 D 50 50 0 0 W +ENDDRAW +ENDDEF +# +#End Library diff --git a/card_base/card_base-rescue.dcm b/card_base/card_base-rescue.dcm new file mode 100644 index 0000000..5f3ed79 --- /dev/null +++ b/card_base/card_base-rescue.dcm @@ -0,0 +1,3 @@ +EESchema-DOCLIB Version 2.0 +# +#End Doc Library diff --git a/card_base/card_base-rescue.lib b/card_base/card_base-rescue.lib new file mode 100644 index 0000000..4d1fd4b --- /dev/null +++ b/card_base/card_base-rescue.lib @@ -0,0 +1,35 @@ +EESchema-LIBRARY Version 2.4 +#encoding utf-8 +# +# L_EU_small-components +# +DEF L_EU_small-components L 0 40 N N 1 F N +F0 "L" 0 100 50 H V C CNN +F1 "L_EU_small-components" 0 -100 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +S -100 -25 100 25 0 1 10 F +X 1 1 -200 0 100 R 50 50 1 1 U +X 2 2 200 0 100 L 50 50 1 1 U +ENDDRAW +ENDDEF +# +# MT3608-components +# +DEF MT3608-components U 0 40 Y Y 1 F N +F0 "U" -200 250 50 H V C CNN +F1 "MT3608-components" 100 250 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +S -250 200 250 -150 0 1 0 f +X SW 1 350 100 100 L 50 50 1 1 O +X GND 2 0 -250 100 U 50 50 1 1 W +X FB 3 350 -50 100 L 50 50 1 1 I +X EN 4 -350 -50 100 R 50 50 1 1 I +X IN 5 -350 100 100 R 50 50 1 1 W +ENDDRAW +ENDDEF +# +#End Library diff --git a/card_base/card_base.bak b/card_base/card_base.bak new file mode 100644 index 0000000..e306e2c --- /dev/null +++ b/card_base/card_base.bak @@ -0,0 +1,1754 @@ +EESchema Schematic File Version 5 +LIBS:card_base-cache +EELAYER 29 0 +EELAYER END +$Descr A3 16535 11693 +encoding utf-8 +Sheet 1 1 +Title "" +Date "" +Rev "" +Comp "" +Comment1 "" +Comment2 "" +Comment3 "" +Comment4 "" +$EndDescr +$Comp +L symbols:AP2138 U? +U 1 1 5CCD5799 +P 4400 4750 +F 0 "U?" H 4400 5015 50 0000 C CNN +F 1 "AP2138-2.7" H 4400 4924 50 0000 C CNN +F 2 "TO_SOT_Packages_SMD:SOT-23_Handsoldering" H 4400 4750 50 0001 C CNN +F 3 "https://www.diodes.com/assets/Datasheets/AP2138_9.pdf" H 4400 4750 50 0001 C CNN + 1 4400 4750 + 1 0 0 -1 +$EndComp +$Comp +L Sensor_Motion:MPU-6050 U? +U 1 1 5CCD5A46 +P 7300 7400 +F 0 "U?" H 6850 8000 50 0000 C CNN +F 1 "MPU-6050" H 7700 8000 50 0000 C CNN +F 2 "Sensor_Motion:InvenSense_QFN-24_4x4mm_P0.5mm" H 7300 6600 50 0001 C CNN +F 3 "https://store.invensense.com/datasheets/invensense/MPU-6050_DataSheet_V3%204.pdf" H 7300 7250 50 0001 C CNN + 1 7300 7400 + 1 0 0 -1 +$EndComp +$Comp +L MCU_ST_STM32F0:STM32F030F4Px U? +U 1 1 5CCD62D4 +P 9600 4350 +F 0 "U?" H 9250 5050 50 0000 C CNN +F 1 "STM32F030F4Px" H 9150 3550 50 0000 C CNN +F 2 "Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm" H 9200 3650 50 0001 R CNN +F 3 "http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00088500.pdf" H 9600 4350 50 0001 C CNN + 1 9600 4350 + 1 0 0 -1 +$EndComp +$Comp +L Device:Battery_Cell BT? +U 1 1 5CCD6F62 +P 3050 5150 +F 0 "BT?" H 3168 5246 50 0000 L CNN +F 1 "CR2032" H 3168 5155 50 0001 L CNN +F 2 "" V 3050 5210 50 0001 C CNN +F 3 "~" V 3050 5210 50 0001 C CNN + 1 3050 5150 + 1 0 0 -1 +$EndComp +$Comp +L Transistor_FET:IRLML6402 Q? +U 1 1 5CCD8468 +P 3600 3950 +F 0 "Q?" V 3943 3950 50 0000 C CNN +F 1 "AO3415" V 3852 3950 50 0000 C CNN +F 2 "Package_TO_SOT_SMD:SOT-23" H 3800 3875 50 0001 L CIN +F 3 "https://www.infineon.com/dgdl/irlml6402pbf.pdf?fileId=5546d462533600a401535668d5c2263c" H 3600 3950 50 0001 L CNN + 1 3600 3950 + 0 -1 -1 0 +$EndComp +$Comp +L Device:Battery_Cell BT? +U 1 1 5CCDD322 +P 2800 5150 +F 0 "BT?" H 2682 5246 50 0000 R CNN +F 1 "CR2032" H 2682 5155 50 0000 R CNN +F 2 "" V 2800 5210 50 0001 C CNN +F 3 "~" V 2800 5210 50 0001 C CNN + 1 2800 5150 + 1 0 0 -1 +$EndComp +$Comp +L card_base-rescue:MT3608-components U? +U 1 1 5C3DB03B +P 4850 3950 +F 0 "U?" H 4850 4315 50 0000 C CNN +F 1 "MT3608" H 4850 4224 50 0000 C CNN +F 2 "Package_TO_SOT_SMD:SOT-23-6_Handsoldering" H 4850 3950 50 0001 C CNN +F 3 "https://www.olimex.com/Products/Breadboarding/BB-PWR-3608/resources/MT3608.pdf" H 4850 3950 50 0001 C CNN + 1 4850 3950 + 1 0 0 -1 +$EndComp +$Comp +L card_base-rescue:L_EU_small-components L? +U 1 1 5C3E1491 +P 4850 3450 +F 0 "L?" H 4850 3642 50 0000 C CNN +F 1 "10u" H 4850 3551 50 0000 C CNN +F 2 "Inductor_SMD:L_Taiyo-Yuden_NR-50xx_HandSoldering" H 4850 3450 50 0001 C CNN +F 3 "" H 4850 3450 50 0001 C CNN + 1 4850 3450 + 1 0 0 -1 +$EndComp +Wire Wire Line + 4650 3450 4450 3450 +Wire Wire Line + 4450 3450 4450 3850 +Wire Wire Line + 4450 3850 4500 3850 +Wire Wire Line + 4500 4000 4450 4000 +Wire Wire Line + 4450 4000 4450 3850 +Connection ~ 4450 3850 +Wire Wire Line + 5050 3450 5300 3450 +Wire Wire Line + 5300 3450 5300 3850 +Wire Wire Line + 5300 3850 5200 3850 +$Comp +L Device:D_Schottky_Small_ALT D? +U 1 1 5C3F3E87 +P 5500 3450 +F 0 "D?" H 5500 3245 50 0000 C CNN +F 1 "2A schottky" H 5500 3336 50 0000 C CNN +F 2 "Diode_SMD:D_SMB_Handsoldering" V 5500 3450 50 0001 C CNN +F 3 "~" V 5500 3450 50 0001 C CNN + 1 5500 3450 + -1 0 0 1 +$EndComp +Wire Wire Line + 5400 3450 5300 3450 +Connection ~ 5300 3450 +$Comp +L Device:C_Small C? +U 1 1 5C3F99AD +P 6700 3900 +F 0 "C?" H 6792 3946 50 0000 L CNN +F 1 "1u" H 6792 3855 50 0000 L CNN +F 2 "Capacitors_SMD:C_0603_HandSoldering" H 6700 3900 50 0001 C CNN +F 3 "~" H 6700 3900 50 0001 C CNN + 1 6700 3900 + 1 0 0 -1 +$EndComp +Wire Wire Line + 7050 3450 6700 3450 +Wire Wire Line + 6700 3800 6700 3450 +Connection ~ 6700 3450 +Wire Wire Line + 6700 4350 6700 4000 +Wire Wire Line + 6700 4350 7050 4350 +Wire Wire Line + 7050 4350 7050 4000 +$Comp +L Device:R_Small R? +U 1 1 5C40F95F +P 6050 3850 +F 0 "R?" H 6150 3950 50 0000 C CNN +F 1 "2M0" V 5945 3850 50 0000 C CNN +F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 6050 3850 50 0001 C CNN +F 3 "~" H 6050 3850 50 0001 C CNN + 1 6050 3850 + 1 0 0 1 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5C417AAA +P 6050 4150 +F 0 "R?" V 5854 4150 50 0000 C CNN +F 1 "270k" V 5945 4150 50 0000 C CNN +F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 6050 4150 50 0001 C CNN +F 3 "~" H 6050 4150 50 0001 C CNN + 1 6050 4150 + 1 0 0 1 +$EndComp +Wire Wire Line + 6700 4350 6050 4350 +Wire Wire Line + 4850 4350 4850 4200 +Connection ~ 6700 4350 +Wire Wire Line + 6050 4350 6050 4250 +Connection ~ 6050 4350 +Wire Wire Line + 6050 4350 5400 4350 +Wire Wire Line + 5200 4000 5850 4000 +Wire Wire Line + 6050 4000 6050 4050 +Wire Wire Line + 6050 4000 6050 3950 +Connection ~ 6050 4000 +$Comp +L power:GND #PWR? +U 1 1 5C4436DB +P 5400 4350 +F 0 "#PWR?" H 5400 4100 50 0001 C CNN +F 1 "GND" H 5405 4177 50 0000 C CNN +F 2 "" H 5400 4350 50 0001 C CNN +F 3 "" H 5400 4350 50 0001 C CNN + 1 5400 4350 + 1 0 0 -1 +$EndComp +Connection ~ 5400 4350 +Wire Wire Line + 5400 4350 4850 4350 +Wire Wire Line + 7050 3350 7050 3450 +Connection ~ 7050 3450 +Wire Wire Line + 7050 3450 7400 3450 +$Comp +L Device:CP_Small C? +U 1 1 5C4E826F +P 3950 4050 +F 0 "C?" H 3700 4100 50 0000 L CNN +F 1 "470u" H 3700 4000 50 0000 L CNN +F 2 "Capacitor_THT:CP_Radial_D10.0mm_P5.00mm" H 3950 4050 50 0001 C CNN +F 3 "~" H 3950 4050 50 0001 C CNN + 1 3950 4050 + 1 0 0 -1 +$EndComp +$Comp +L Device:C_Small C? +U 1 1 5C4E8B95 +P 4300 4050 +F 0 "C?" H 4100 4100 50 0000 L CNN +F 1 "10u" H 4100 4000 50 0000 L CNN +F 2 "Capacitors_SMD:C_0603_HandSoldering" H 4300 4050 50 0001 C CNN +F 3 "~" H 4300 4050 50 0001 C CNN + 1 4300 4050 + 1 0 0 -1 +$EndComp +Wire Wire Line + 3800 3850 3950 3850 +Wire Wire Line + 4300 3950 4300 3850 +Connection ~ 4300 3850 +Wire Wire Line + 4300 3850 4450 3850 +Wire Wire Line + 3950 3950 3950 3850 +Connection ~ 3950 3850 +Wire Wire Line + 3950 3850 4300 3850 +Wire Wire Line + 3950 4150 3950 4350 +Wire Wire Line + 3950 4350 4300 4350 +Connection ~ 4850 4350 +Wire Wire Line + 4300 4150 4300 4350 +Connection ~ 4300 4350 +Wire Wire Line + 4300 4350 4850 4350 +$Comp +L Device:C_Small C? +U 1 1 5CD11509 +P 3450 5100 +F 0 "C?" H 3250 5150 50 0000 L CNN +F 1 "10u" H 3250 5050 50 0000 L CNN +F 2 "Capacitors_SMD:C_0603_HandSoldering" H 3450 5100 50 0001 C CNN +F 3 "~" H 3450 5100 50 0001 C CNN + 1 3450 5100 + -1 0 0 -1 +$EndComp +Wire Wire Line + 7050 3450 7050 3800 +$Comp +L Device:C_Small C? +U 1 1 5CCD535A +P 5100 5100 +F 0 "C?" H 4900 5150 50 0000 L CNN +F 1 "10u" H 4900 5050 50 0000 L CNN +F 2 "Capacitors_SMD:C_0603_HandSoldering" H 5100 5100 50 0001 C CNN +F 3 "~" H 5100 5100 50 0001 C CNN + 1 5100 5100 + -1 0 0 -1 +$EndComp +$Comp +L Device:C_Small C? +U 1 1 5CCD5BF6 +P 5400 5100 +F 0 "C?" H 5200 5150 50 0000 L CNN +F 1 "100n" H 5200 5050 50 0000 L CNN +F 2 "Capacitors_SMD:C_0603_HandSoldering" H 5400 5100 50 0001 C CNN +F 3 "~" H 5400 5100 50 0001 C CNN + 1 5400 5100 + -1 0 0 -1 +$EndComp +Wire Wire Line + 2800 4950 2800 4750 +Wire Wire Line + 2800 4750 3050 4750 +Wire Wire Line + 3050 4950 3050 4750 +Connection ~ 3050 4750 +Wire Wire Line + 3050 4750 3450 4750 +Wire Wire Line + 3450 5000 3450 4750 +Connection ~ 3450 4750 +Wire Wire Line + 3450 4750 3900 4750 +Wire Wire Line + 2800 5250 2800 5350 +Wire Wire Line + 2800 5350 3050 5350 +Wire Wire Line + 3450 5350 3450 5200 +Wire Wire Line + 3050 5250 3050 5350 +Connection ~ 3050 5350 +Wire Wire Line + 3050 5350 3450 5350 +$Comp +L power:GND #PWR? +U 1 1 5CCD9110 +P 3050 5400 +F 0 "#PWR?" H 3050 5150 50 0001 C CNN +F 1 "GND" H 3055 5227 50 0000 C CNN +F 2 "" H 3050 5400 50 0001 C CNN +F 3 "" H 3050 5400 50 0001 C CNN + 1 3050 5400 + 1 0 0 -1 +$EndComp +Wire Wire Line + 3050 5350 3050 5400 +Wire Wire Line + 3450 5350 3750 5350 +Wire Wire Line + 4400 5350 4400 5250 +Connection ~ 3450 5350 +Wire Wire Line + 4400 5350 5100 5350 +Wire Wire Line + 5100 5350 5100 5200 +Connection ~ 4400 5350 +Wire Wire Line + 5100 5350 5400 5350 +Wire Wire Line + 5400 5350 5400 5200 +Connection ~ 5100 5350 +Wire Wire Line + 5400 5000 5400 4750 +Wire Wire Line + 5400 4750 5100 4750 +Wire Wire Line + 5100 5000 5100 4750 +Connection ~ 5100 4750 +Wire Wire Line + 5100 4750 4900 4750 +Wire Wire Line + 3400 3850 3050 3850 +Wire Wire Line + 3050 3850 3050 4750 +Wire Wire Line + 3600 4150 3600 4550 +Text Label 3600 4550 1 50 ~ 0 +~SWREG_EN +$Comp +L Device:R_Small R? +U 1 1 5CCE8EA8 +P 6250 3850 +F 0 "R?" V 6054 3850 50 0000 C CNN +F 1 "5M1" V 6145 3850 50 0000 C CNN +F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 6250 3850 50 0001 C CNN +F 3 "~" H 6250 3850 50 0001 C CNN + 1 6250 3850 + -1 0 0 1 +$EndComp +Wire Wire Line + 6250 3950 6250 4000 +Wire Wire Line + 6250 4000 6050 4000 +$Comp +L symbols:APDS9960 U? +U 1 1 5CCFCE77 +P 9750 7300 +F 0 "U?" H 9500 7700 50 0000 C CNN +F 1 "APDS9960" H 10050 7700 50 0000 C CNN +F 2 "" H 9750 7300 50 0001 C CNN +F 3 "https://cdn.sparkfun.com/assets/learn_tutorials/3/2/1/Avago-APDS-9960-datasheet.pdf" H 9750 7300 50 0001 C CNN + 1 9750 7300 + 1 0 0 -1 +$EndComp +Wire Wire Line + 8900 7400 9250 7400 +Text Label 8900 7200 0 50 ~ 0 +SCL +Text Label 8900 7100 0 50 ~ 0 +SDA +NoConn ~ 8000 7300 +NoConn ~ 8000 7400 +NoConn ~ 6600 7600 +NoConn ~ 6600 7700 +$Comp +L Device:C_Small C? +U 1 1 5CD05CE8 +P 8100 7900 +F 0 "C?" H 7900 7950 50 0000 L CNN +F 1 "100n" H 7900 7850 50 0000 L CNN +F 2 "Capacitors_SMD:C_0603_HandSoldering" H 8100 7900 50 0001 C CNN +F 3 "~" H 8100 7900 50 0001 C CNN + 1 8100 7900 + 1 0 0 -1 +$EndComp +$Comp +L Device:C_Small C? +U 1 1 5CD0707D +P 8300 7900 +F 0 "C?" H 8100 7950 50 0000 L CNN +F 1 "2n2" H 8100 7850 50 0000 L CNN +F 2 "Capacitors_SMD:C_0603_HandSoldering" H 8300 7900 50 0001 C CNN +F 3 "~" H 8300 7900 50 0001 C CNN + 1 8300 7900 + -1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5CD07AD7 +P 8100 8000 +F 0 "#PWR?" H 8100 7750 50 0001 C CNN +F 1 "GND" H 8105 7827 50 0000 C CNN +F 2 "" H 8100 8000 50 0001 C CNN +F 3 "" H 8100 8000 50 0001 C CNN + 1 8100 8000 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5CD07D19 +P 8300 8000 +F 0 "#PWR?" H 8300 7750 50 0001 C CNN +F 1 "GND" H 8305 7827 50 0000 C CNN +F 2 "" H 8300 8000 50 0001 C CNN +F 3 "" H 8300 8000 50 0001 C CNN + 1 8300 8000 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5CD07FD2 +P 7300 8100 +F 0 "#PWR?" H 7300 7850 50 0001 C CNN +F 1 "GND" H 7305 7927 50 0000 C CNN +F 2 "" H 7300 8100 50 0001 C CNN +F 3 "" H 7300 8100 50 0001 C CNN + 1 7300 8100 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5CD09634 +P 9750 7700 +F 0 "#PWR?" H 9750 7450 50 0001 C CNN +F 1 "GND" H 9755 7527 50 0000 C CNN +F 2 "" H 9750 7700 50 0001 C CNN +F 3 "" H 9750 7700 50 0001 C CNN + 1 9750 7700 + 1 0 0 -1 +$EndComp +Wire Wire Line + 8100 7800 8100 7700 +Wire Wire Line + 8100 7700 8000 7700 +Wire Wire Line + 8000 7600 8300 7600 +Wire Wire Line + 8300 7600 8300 7800 +$Comp +L Device:C_Small C? +U 1 1 5CD0A334 +P 7000 6450 +F 0 "C?" H 6800 6500 50 0000 L CNN +F 1 "100n" H 6800 6400 50 0000 L CNN +F 2 "Capacitors_SMD:C_0603_HandSoldering" H 7000 6450 50 0001 C CNN +F 3 "~" H 7000 6450 50 0001 C CNN + 1 7000 6450 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5CD0B061 +P 7000 6550 +F 0 "#PWR?" H 7000 6300 50 0001 C CNN +F 1 "GND" H 7005 6377 50 0000 C CNN +F 2 "" H 7000 6550 50 0001 C CNN +F 3 "" H 7000 6550 50 0001 C CNN + 1 7000 6550 + 1 0 0 -1 +$EndComp +Wire Wire Line + 7000 6350 7000 6250 +Wire Wire Line + 7000 6250 7200 6250 +Wire Wire Line + 7200 6250 7200 6700 +$Comp +L power:GND #PWR? +U 1 1 5CD108E2 +P 6500 7350 +F 0 "#PWR?" H 6500 7100 50 0001 C CNN +F 1 "GND" H 6505 7177 50 0000 C CNN +F 2 "" H 6500 7350 50 0001 C CNN +F 3 "" H 6500 7350 50 0001 C CNN + 1 6500 7350 + 1 0 0 -1 +$EndComp +Wire Wire Line + 6500 7350 6500 7300 +Wire Wire Line + 6500 7300 6600 7300 +Text Label 6400 7200 0 50 ~ 0 +SCL +Text Label 6400 7100 0 50 ~ 0 +SDA +Text Label 9350 6000 0 50 ~ 0 +SCL +Text Label 9350 6100 0 50 ~ 0 +SDA +$Comp +L Device:R_Small R? +U 1 1 5CD129BE +P 9800 5800 +F 0 "R?" H 9741 5846 50 0000 R CNN +F 1 "10k" H 9741 5755 50 0000 R CNN +F 2 "" H 9800 5800 50 0001 C CNN +F 3 "~" H 9800 5800 50 0001 C CNN + 1 9800 5800 + -1 0 0 -1 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CD1361B +P 9600 5800 +F 0 "R?" H 9541 5846 50 0000 R CNN +F 1 "10k" H 9541 5755 50 0000 R CNN +F 2 "" H 9600 5800 50 0001 C CNN +F 3 "~" H 9600 5800 50 0001 C CNN + 1 9600 5800 + 1 0 0 -1 +$EndComp +Wire Wire Line + 9600 5900 9600 6000 +Connection ~ 9600 6000 +Wire Wire Line + 9800 5900 9800 6100 +Connection ~ 9800 6100 +$Comp +L power:+2V8 #PWR? +U 1 1 5CD1547F +P 9600 5700 +F 0 "#PWR?" H 9600 5550 50 0001 C CNN +F 1 "+2V8" H 9615 5873 50 0000 C CNN +F 2 "" H 9600 5700 50 0001 C CNN +F 3 "" H 9600 5700 50 0001 C CNN + 1 9600 5700 + 1 0 0 -1 +$EndComp +$Comp +L power:+2V8 #PWR? +U 1 1 5CD1575F +P 9800 5700 +F 0 "#PWR?" H 9800 5550 50 0001 C CNN +F 1 "+2V8" H 9815 5873 50 0000 C CNN +F 2 "" H 9800 5700 50 0001 C CNN +F 3 "" H 9800 5700 50 0001 C CNN + 1 9800 5700 + 1 0 0 -1 +$EndComp +$Comp +L power:+2V8 #PWR? +U 1 1 5CD15944 +P 7400 6700 +F 0 "#PWR?" H 7400 6550 50 0001 C CNN +F 1 "+2V8" H 7415 6873 50 0000 C CNN +F 2 "" H 7400 6700 50 0001 C CNN +F 3 "" H 7400 6700 50 0001 C CNN + 1 7400 6700 + 1 0 0 -1 +$EndComp +$Comp +L power:+2V8 #PWR? +U 1 1 5CD16685 +P 9750 6800 +F 0 "#PWR?" H 9750 6650 50 0001 C CNN +F 1 "+2V8" H 9765 6973 50 0000 C CNN +F 2 "" H 9750 6800 50 0001 C CNN +F 3 "" H 9750 6800 50 0001 C CNN + 1 9750 6800 + 1 0 0 -1 +$EndComp +Wire Wire Line + 8400 7100 8000 7100 +Text Label 8400 7100 2 50 ~ 0 +MPU_INT +Text Label 8900 7400 0 50 ~ 0 +APDS_INT +$Comp +L power:+2V8 #PWR? +U 1 1 5CD3D97D +P 9600 3550 +F 0 "#PWR?" H 9600 3400 50 0001 C CNN +F 1 "+2V8" H 9615 3723 50 0000 C CNN +F 2 "" H 9600 3550 50 0001 C CNN +F 3 "" H 9600 3550 50 0001 C CNN + 1 9600 3550 + 1 0 0 -1 +$EndComp +Wire Wire Line + 9600 3550 9600 3600 +Wire Wire Line + 9600 3600 9700 3600 +Wire Wire Line + 9700 3600 9700 3650 +Connection ~ 9600 3600 +Wire Wire Line + 9600 3600 9600 3650 +$Comp +L power:GND #PWR? +U 1 1 5CD3ED73 +P 9600 5150 +F 0 "#PWR?" H 9600 4900 50 0001 C CNN +F 1 "GND" H 9605 4977 50 0000 C CNN +F 2 "" H 9600 5150 50 0001 C CNN +F 3 "" H 9600 5150 50 0001 C CNN + 1 9600 5150 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5CD4071B +P 9000 4150 +F 0 "#PWR?" H 9000 3900 50 0001 C CNN +F 1 "GND" H 9005 3977 50 0000 C CNN +F 2 "" H 9000 4150 50 0001 C CNN +F 3 "" H 9000 4150 50 0001 C CNN + 1 9000 4150 + 1 0 0 -1 +$EndComp +Wire Wire Line + 9000 4150 9000 4050 +Wire Wire Line + 9000 4050 9100 4050 +$Comp +L Device:R_Small R? +U 1 1 5CD41DC3 +P 8600 3650 +F 0 "R?" H 8542 3604 50 0000 R CNN +F 1 "1M" H 8542 3695 50 0000 R CNN +F 2 "" H 8600 3650 50 0001 C CNN +F 3 "~" H 8600 3650 50 0001 C CNN + 1 8600 3650 + 1 0 0 1 +$EndComp +$Comp +L Device:C_Small C? +U 1 1 5CD46A32 +P 8750 3650 +F 0 "C?" H 8842 3696 50 0000 L CNN +F 1 "10n" H 8842 3605 50 0000 L CNN +F 2 "" H 8750 3650 50 0001 C CNN +F 3 "~" H 8750 3650 50 0001 C CNN + 1 8750 3650 + 1 0 0 -1 +$EndComp +Wire Wire Line + 9100 3850 8750 3850 +Wire Wire Line + 8600 3850 8600 3750 +Wire Wire Line + 8750 3750 8750 3850 +Connection ~ 8750 3850 +Wire Wire Line + 8750 3850 8600 3850 +$Comp +L power:+2V8 #PWR? +U 1 1 5CD470E5 +P 8600 3450 +F 0 "#PWR?" H 8600 3300 50 0001 C CNN +F 1 "+2V8" H 8615 3623 50 0000 C CNN +F 2 "" H 8600 3450 50 0001 C CNN +F 3 "" H 8600 3450 50 0001 C CNN + 1 8600 3450 + 1 0 0 -1 +$EndComp +Wire Wire Line + 8600 3450 8600 3500 +Wire Wire Line + 8750 3550 8750 3500 +Wire Wire Line + 8750 3500 8600 3500 +Connection ~ 8600 3500 +Wire Wire Line + 8600 3500 8600 3550 +$Comp +L Switch:SW_Push SW? +U 1 1 5CD47D29 +P 8600 4050 +F 0 "SW?" V 8650 4300 50 0000 R CNN +F 1 "Reset" V 8500 4350 50 0000 R CNN +F 2 "" H 8600 4250 50 0001 C CNN +F 3 "" H 8600 4250 50 0001 C CNN + 1 8600 4050 + 0 -1 -1 0 +$EndComp +Connection ~ 8600 3850 +$Comp +L power:GND #PWR? +U 1 1 5CD485F5 +P 8600 4250 +F 0 "#PWR?" H 8600 4000 50 0001 C CNN +F 1 "GND" H 8605 4077 50 0000 C CNN +F 2 "" H 8600 4250 50 0001 C CNN +F 3 "" H 8600 4250 50 0001 C CNN + 1 8600 4250 + 1 0 0 -1 +$EndComp +Wire Wire Line + 10250 7300 10350 7300 +Wire Wire Line + 10350 7300 10350 7400 +Wire Wire Line + 10350 7400 10250 7400 +$Comp +L power:+2V8 #PWR? +U 1 1 5CD5C00E +P 10350 7100 +F 0 "#PWR?" H 10350 6950 50 0001 C CNN +F 1 "+2V8" H 10365 7273 50 0000 C CNN +F 2 "" H 10350 7100 50 0001 C CNN +F 3 "" H 10350 7100 50 0001 C CNN + 1 10350 7100 + 1 0 0 -1 +$EndComp +Wire Wire Line + 10350 7100 10350 7200 +Wire Wire Line + 10350 7200 10250 7200 +Wire Wire Line + 6200 6000 6200 7200 +Wire Wire Line + 6200 7200 6600 7200 +Wire Wire Line + 6200 6000 8750 6000 +Wire Wire Line + 6300 7100 6300 6100 +Wire Wire Line + 6300 7100 6600 7100 +Wire Wire Line + 6300 6100 8850 6100 +Wire Wire Line + 8850 7100 8850 6100 +Wire Wire Line + 8850 7100 9250 7100 +Connection ~ 8850 6100 +Wire Wire Line + 8850 6100 9800 6100 +Wire Wire Line + 8750 6000 8750 7200 +Wire Wire Line + 8750 7200 9250 7200 +Connection ~ 8750 6000 +Wire Wire Line + 8750 6000 9600 6000 +$Comp +L Connector_Generic:Conn_01x04 J? +U 1 1 5CE154ED +P 11400 6100 +F 0 "J?" H 11480 6092 50 0000 L CNN +F 1 "I2C_ext" H 11480 6001 50 0000 L CNN +F 2 "" H 11400 6100 50 0001 C CNN +F 3 "~" H 11400 6100 50 0001 C CNN + 1 11400 6100 + 1 0 0 -1 +$EndComp +Wire Wire Line + 9600 6000 10250 6000 +Wire Wire Line + 9800 6100 10250 6100 +$Comp +L power:+2V8 #PWR? +U 1 1 5CE16A5C +P 11050 5850 +F 0 "#PWR?" H 11050 5700 50 0001 C CNN +F 1 "+2V8" H 11065 6023 50 0000 C CNN +F 2 "" H 11050 5850 50 0001 C CNN +F 3 "" H 11050 5850 50 0001 C CNN + 1 11050 5850 + 1 0 0 -1 +$EndComp +Wire Wire Line + 11050 5850 11050 6200 +Wire Wire Line + 11050 6200 11200 6200 +$Comp +L power:GND #PWR? +U 1 1 5CE1753B +P 11050 6400 +F 0 "#PWR?" H 11050 6150 50 0001 C CNN +F 1 "GND" H 11055 6227 50 0000 C CNN +F 2 "" H 11050 6400 50 0001 C CNN +F 3 "" H 11050 6400 50 0001 C CNN + 1 11050 6400 + 1 0 0 -1 +$EndComp +Wire Wire Line + 11050 6400 11050 6300 +Wire Wire Line + 11050 6300 11200 6300 +$Comp +L Device:R_Small R? +U 1 1 5CE4BF38 +P 10200 3650 +F 0 "R?" H 10258 3696 50 0000 L CNN +F 1 "1M" H 10258 3605 50 0000 L CNN +F 2 "" H 10200 3650 50 0001 C CNN +F 3 "~" H 10200 3650 50 0001 C CNN + 1 10200 3650 + 1 0 0 -1 +$EndComp +$Comp +L power:+2V8 #PWR? +U 1 1 5CE5A8E7 +P 10200 3550 +F 0 "#PWR?" H 10200 3400 50 0001 C CNN +F 1 "+2V8" H 10215 3723 50 0000 C CNN +F 2 "" H 10200 3550 50 0001 C CNN +F 3 "" H 10200 3550 50 0001 C CNN + 1 10200 3550 + -1 0 0 -1 +$EndComp +Wire Wire Line + 10200 3750 10200 3850 +Wire Wire Line + 10800 3850 10200 3850 +Text Label 10800 3850 2 50 ~ 0 +~SWREG_EN +$Comp +L Connector:TestPoint_Alt TP? +U 1 1 5D180D49 +P 7500 3450 +F 0 "TP?" H 7558 3568 50 0000 L CNN +F 1 "Vdrv" H 7558 3477 50 0000 L CNN +F 2 "TestPoint:TestPoint_Pad_D1.5mm" H 7700 3450 50 0001 C CNN +F 3 "~" H 7700 3450 50 0001 C CNN + 1 7500 3450 + 1 0 0 -1 +$EndComp +$Comp +L power:+VSW #PWR? +U 1 1 5C599866 +P 7050 3350 +F 0 "#PWR?" H 7050 3200 50 0001 C CNN +F 1 "+VSW" H 7065 3523 50 0000 C CNN +F 2 "" H 7050 3350 50 0001 C CNN +F 3 "" H 7050 3350 50 0001 C CNN + 1 7050 3350 + 1 0 0 -1 +$EndComp +Wire Wire Line + 10100 4650 10850 4650 +Wire Wire Line + 10850 4650 10850 6000 +Connection ~ 10850 6000 +Wire Wire Line + 10850 6000 11200 6000 +Wire Wire Line + 10750 6100 10750 4750 +Wire Wire Line + 10750 4750 10100 4750 +Connection ~ 10750 6100 +Wire Wire Line + 10750 6100 11200 6100 +Wire Wire Line + 13800 4050 13800 3950 +Connection ~ 13800 4050 +Wire Wire Line + 13800 4050 13900 4050 +Wire Wire Line + 13800 4950 13800 4050 +Wire Wire Line + 13900 4950 13800 4950 +$Comp +L power:+VSW #PWR? +U 1 1 5CE91DDF +P 13800 3950 +F 0 "#PWR?" H 13800 3800 50 0001 C CNN +F 1 "+VSW" H 13815 4123 50 0000 C CNN +F 2 "" H 13800 3950 50 0001 C CNN +F 3 "" H 13800 3950 50 0001 C CNN + 1 13800 3950 + 1 0 0 -1 +$EndComp +Wire Wire Line + 13400 4850 13900 4850 +Wire Wire Line + 13900 4750 13400 4750 +Wire Wire Line + 13400 4650 13900 4650 +Wire Wire Line + 13900 4550 13400 4550 +Wire Wire Line + 13400 4450 13900 4450 +Wire Wire Line + 13900 4350 13400 4350 +Wire Wire Line + 13400 4250 13900 4250 +Wire Wire Line + 13900 4150 13400 4150 +Wire Wire Line + 12800 4350 13200 4350 +Wire Wire Line + 12800 4450 13200 4450 +Wire Wire Line + 12800 4550 13200 4550 +Wire Wire Line + 12800 4650 13200 4650 +Wire Wire Line + 12800 4750 13200 4750 +Wire Wire Line + 12800 4850 13200 4850 +$Comp +L Device:R_Small R? +U 1 1 5CE2E93A +P 13300 4850 +F 0 "R?" V 13250 5000 50 0000 C CNN +F 1 "R_Small" V 13195 4850 50 0001 C CNN +F 2 "" H 13300 4850 50 0001 C CNN +F 3 "~" H 13300 4850 50 0001 C CNN + 1 13300 4850 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CE2D189 +P 13300 4650 +F 0 "R?" V 13250 4800 50 0000 C CNN +F 1 "R_Small" V 13195 4650 50 0001 C CNN +F 2 "" H 13300 4650 50 0001 C CNN +F 3 "~" H 13300 4650 50 0001 C CNN + 1 13300 4650 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CE2CFFD +P 13300 4750 +F 0 "R?" V 13250 4900 50 0000 C CNN +F 1 "R_Small" V 13195 4750 50 0001 C CNN +F 2 "" H 13300 4750 50 0001 C CNN +F 3 "~" H 13300 4750 50 0001 C CNN + 1 13300 4750 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CE2C8F1 +P 13300 4550 +F 0 "R?" V 13250 4700 50 0000 C CNN +F 1 "R_Small" V 13195 4550 50 0001 C CNN +F 2 "" H 13300 4550 50 0001 C CNN +F 3 "~" H 13300 4550 50 0001 C CNN + 1 13300 4550 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CE2C794 +P 13300 4450 +F 0 "R?" V 13250 4600 50 0000 C CNN +F 1 "R_Small" V 13195 4450 50 0001 C CNN +F 2 "" H 13300 4450 50 0001 C CNN +F 3 "~" H 13300 4450 50 0001 C CNN + 1 13300 4450 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CE2C4CB +P 13300 4350 +F 0 "R?" V 13250 4500 50 0000 C CNN +F 1 "R_Small" V 13195 4350 50 0001 C CNN +F 2 "" H 13300 4350 50 0001 C CNN +F 3 "~" H 13300 4350 50 0001 C CNN + 1 13300 4350 + 0 1 1 0 +$EndComp +Wire Wire Line + 12800 4250 13200 4250 +Wire Wire Line + 12800 4150 13200 4150 +$Comp +L Device:R_Small R? +U 1 1 5CE2A627 +P 13300 4250 +F 0 "R?" V 13250 4400 50 0000 C CNN +F 1 "R_Small" V 13195 4250 50 0001 C CNN +F 2 "" H 13300 4250 50 0001 C CNN +F 3 "~" H 13300 4250 50 0001 C CNN + 1 13300 4250 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CE29B53 +P 13300 4150 +F 0 "R?" V 13250 4300 50 0000 C CNN +F 1 "xxxk" V 13195 4150 50 0000 C CNN +F 2 "" H 13300 4150 50 0001 C CNN +F 3 "~" H 13300 4150 50 0001 C CNN + 1 13300 4150 + 0 1 1 0 +$EndComp +$Comp +L Connector_Generic:Conn_01x10 J? +U 1 1 5CE1C623 +P 14100 4450 +F 0 "J?" H 14050 5100 50 0000 L CNN +F 1 "led_out1" H 13950 5000 50 0000 L CNN +F 2 "" H 14100 4450 50 0001 C CNN +F 3 "~" H 14100 4450 50 0001 C CNN + 1 14100 4450 + 1 0 0 -1 +$EndComp +Text Label 13100 4850 2 50 ~ 0 +Q7 +Text Label 13100 4750 2 50 ~ 0 +Q6 +Text Label 13100 4650 2 50 ~ 0 +Q5 +Text Label 13100 4550 2 50 ~ 0 +Q4 +Text Label 13100 4450 2 50 ~ 0 +Q3 +Text Label 13100 4350 2 50 ~ 0 +Q2 +Text Label 13100 4250 2 50 ~ 0 +Q1 +Text Label 13100 4150 2 50 ~ 0 +Q0 +Wire Wire Line + 11400 4750 12000 4750 +Text Label 11500 4750 0 50 ~ 0 +SR_OE +Wire Wire Line + 11900 4450 11900 4000 +Wire Wire Line + 12000 4450 11900 4450 +$Comp +L power:+2V8 #PWR? +U 1 1 5CD7B602 +P 11900 4000 +F 0 "#PWR?" H 11900 3850 50 0001 C CNN +F 1 "+2V8" H 11915 4173 50 0000 C CNN +F 2 "" H 11900 4000 50 0001 C CNN +F 3 "" H 11900 4000 50 0001 C CNN + 1 11900 4000 + 1 0 0 -1 +$EndComp +Connection ~ 11800 4350 +Wire Wire Line + 11800 4650 12000 4650 +Wire Wire Line + 11800 4350 11800 4650 +Wire Wire Line + 12000 4350 11800 4350 +Text Label 10500 4350 2 50 ~ 0 +SCK +$Comp +L power:+2V8 #PWR? +U 1 1 5CD7834B +P 12400 3950 +F 0 "#PWR?" H 12400 3800 50 0001 C CNN +F 1 "+2V8" H 12415 4123 50 0000 C CNN +F 2 "" H 12400 3950 50 0001 C CNN +F 3 "" H 12400 3950 50 0001 C CNN + 1 12400 3950 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5CD76E19 +P 12400 5250 +F 0 "#PWR?" H 12400 5000 50 0001 C CNN +F 1 "GND" H 12405 5077 50 0000 C CNN +F 2 "" H 12400 5250 50 0001 C CNN +F 3 "" H 12400 5250 50 0001 C CNN + 1 12400 5250 + 1 0 0 -1 +$EndComp +$Comp +L 74xx:74HC596 U? +U 1 1 5CD713E9 +P 12400 4550 +F 0 "U?" H 12150 5150 50 0000 C CNN +F 1 "NPIC6C596A" H 12700 5150 50 0000 C CNN +F 2 "" H 12400 4550 50 0001 C CNN +F 3 "https://assets.nexperia.com/documents/data-sheet/NPIC6C596A.pdf" H 12400 4550 50 0001 C CNN + 1 12400 4550 + 1 0 0 -1 +$EndComp +Wire Wire Line + 10200 3850 10100 3850 +Connection ~ 10200 3850 +Wire Wire Line + 11400 5400 8950 5400 +Wire Wire Line + 8750 5400 8750 4950 +Wire Wire Line + 8750 4950 9100 4950 +Text Label 10500 3950 2 50 ~ 0 +APDS_INT +Text Label 10500 4050 2 50 ~ 0 +MPU_INT +Wire Wire Line + 10100 4050 10500 4050 +Wire Wire Line + 10500 3950 10100 3950 +Text Label 10500 4150 2 50 ~ 0 +IO1 +Text Label 10500 4250 2 50 ~ 0 +IO2 +Text Label 10500 4450 2 50 ~ 0 +IO3 +Text Label 10500 4850 2 50 ~ 0 +IO4 +Text Label 10500 4950 2 50 ~ 0 +IO5 +Wire Wire Line + 10100 4950 10500 4950 +Wire Wire Line + 10100 4850 10500 4850 +Wire Wire Line + 10500 4450 10100 4450 +Wire Wire Line + 10100 4250 10500 4250 +Wire Wire Line + 10500 4150 10100 4150 +$Comp +L Connector_Generic:Conn_01x08 J? +U 1 1 5CF5F998 +P 13150 6500 +F 0 "J?" H 13230 6492 50 0000 L CNN +F 1 "user_ext" H 13230 6401 50 0000 L CNN +F 2 "" H 13150 6500 50 0001 C CNN +F 3 "~" H 13150 6500 50 0001 C CNN + 1 13150 6500 + 1 0 0 -1 +$EndComp +Text Label 12350 6300 0 50 ~ 0 +IO1 +Text Label 12350 6400 0 50 ~ 0 +IO2 +Text Label 12350 6500 0 50 ~ 0 +IO3 +Text Label 12350 6600 0 50 ~ 0 +IO4 +Text Label 12350 6700 0 50 ~ 0 +IO5 +$Comp +L power:+2V8 #PWR? +U 1 1 5CF62A25 +P 12850 6100 +F 0 "#PWR?" H 12850 5950 50 0001 C CNN +F 1 "+2V8" H 12865 6273 50 0000 C CNN +F 2 "" H 12850 6100 50 0001 C CNN +F 3 "" H 12850 6100 50 0001 C CNN + 1 12850 6100 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5CF630B4 +P 12850 7050 +F 0 "#PWR?" H 12850 6800 50 0001 C CNN +F 1 "GND" H 12855 6877 50 0000 C CNN +F 2 "" H 12850 7050 50 0001 C CNN +F 3 "" H 12850 7050 50 0001 C CNN + 1 12850 7050 + 1 0 0 -1 +$EndComp +$Comp +L power:+VSW #PWR? +U 1 1 5CF67171 +P 12600 6100 +F 0 "#PWR?" H 12600 5950 50 0001 C CNN +F 1 "+VSW" H 12615 6273 50 0000 C CNN +F 2 "" H 12600 6100 50 0001 C CNN +F 3 "" H 12600 6100 50 0001 C CNN + 1 12600 6100 + 1 0 0 -1 +$EndComp +Wire Wire Line + 12950 6300 12350 6300 +Wire Wire Line + 12350 6400 12950 6400 +Wire Wire Line + 12950 6200 12850 6200 +Wire Wire Line + 12850 6200 12850 6100 +Wire Wire Line + 12600 6100 12600 6900 +Wire Wire Line + 12600 6900 12950 6900 +Wire Wire Line + 12950 6700 12350 6700 +Wire Wire Line + 12350 6600 12950 6600 +Wire Wire Line + 12950 6500 12350 6500 +Wire Wire Line + 12850 7050 12850 6800 +Wire Wire Line + 12850 6800 12950 6800 +Wire Wire Line + 13800 2150 13800 2050 +Connection ~ 13800 2150 +Wire Wire Line + 13800 2150 13900 2150 +Wire Wire Line + 13800 3050 13800 2150 +Wire Wire Line + 13900 3050 13800 3050 +$Comp +L power:+VSW #PWR? +U 1 1 5CF7EB08 +P 13800 2050 +F 0 "#PWR?" H 13800 1900 50 0001 C CNN +F 1 "+VSW" H 13815 2223 50 0000 C CNN +F 2 "" H 13800 2050 50 0001 C CNN +F 3 "" H 13800 2050 50 0001 C CNN + 1 13800 2050 + 1 0 0 -1 +$EndComp +Wire Wire Line + 13400 2950 13900 2950 +Wire Wire Line + 13900 2850 13400 2850 +Wire Wire Line + 13400 2750 13900 2750 +Wire Wire Line + 13900 2650 13400 2650 +Wire Wire Line + 13400 2550 13900 2550 +Wire Wire Line + 13900 2450 13400 2450 +Wire Wire Line + 13400 2350 13900 2350 +Wire Wire Line + 13900 2250 13400 2250 +Wire Wire Line + 12800 2450 13200 2450 +Wire Wire Line + 12800 2550 13200 2550 +Wire Wire Line + 12800 2650 13200 2650 +Wire Wire Line + 12800 2750 13200 2750 +Wire Wire Line + 12800 2850 13200 2850 +Wire Wire Line + 12800 2950 13200 2950 +$Comp +L Device:R_Small R? +U 1 1 5CF7EB22 +P 13300 2950 +F 0 "R?" V 13250 3100 50 0000 C CNN +F 1 "R_Small" V 13195 2950 50 0001 C CNN +F 2 "" H 13300 2950 50 0001 C CNN +F 3 "~" H 13300 2950 50 0001 C CNN + 1 13300 2950 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CF7EB2E +P 13300 2750 +F 0 "R?" V 13250 2900 50 0000 C CNN +F 1 "R_Small" V 13195 2750 50 0001 C CNN +F 2 "" H 13300 2750 50 0001 C CNN +F 3 "~" H 13300 2750 50 0001 C CNN + 1 13300 2750 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CF7EB3A +P 13300 2850 +F 0 "R?" V 13250 3000 50 0000 C CNN +F 1 "R_Small" V 13195 2850 50 0001 C CNN +F 2 "" H 13300 2850 50 0001 C CNN +F 3 "~" H 13300 2850 50 0001 C CNN + 1 13300 2850 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CF7EB46 +P 13300 2650 +F 0 "R?" V 13250 2800 50 0000 C CNN +F 1 "R_Small" V 13195 2650 50 0001 C CNN +F 2 "" H 13300 2650 50 0001 C CNN +F 3 "~" H 13300 2650 50 0001 C CNN + 1 13300 2650 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CF7EB52 +P 13300 2550 +F 0 "R?" V 13250 2700 50 0000 C CNN +F 1 "R_Small" V 13195 2550 50 0001 C CNN +F 2 "" H 13300 2550 50 0001 C CNN +F 3 "~" H 13300 2550 50 0001 C CNN + 1 13300 2550 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CF7EB5E +P 13300 2450 +F 0 "R?" V 13250 2600 50 0000 C CNN +F 1 "R_Small" V 13195 2450 50 0001 C CNN +F 2 "" H 13300 2450 50 0001 C CNN +F 3 "~" H 13300 2450 50 0001 C CNN + 1 13300 2450 + 0 1 1 0 +$EndComp +Wire Wire Line + 12800 2350 13200 2350 +Wire Wire Line + 12800 2250 13200 2250 +$Comp +L Device:R_Small R? +U 1 1 5CF7EB6C +P 13300 2350 +F 0 "R?" V 13250 2500 50 0000 C CNN +F 1 "R_Small" V 13195 2350 50 0001 C CNN +F 2 "" H 13300 2350 50 0001 C CNN +F 3 "~" H 13300 2350 50 0001 C CNN + 1 13300 2350 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CF7EB78 +P 13300 2250 +F 0 "R?" V 13250 2400 50 0000 C CNN +F 1 "xxxk" V 13195 2250 50 0000 C CNN +F 2 "" H 13300 2250 50 0001 C CNN +F 3 "~" H 13300 2250 50 0001 C CNN + 1 13300 2250 + 0 1 1 0 +$EndComp +NoConn ~ 12800 3150 +Text Label 13100 2950 2 50 ~ 0 +Q7 +Text Label 13100 2850 2 50 ~ 0 +Q6 +Text Label 13100 2750 2 50 ~ 0 +Q5 +Text Label 13100 2650 2 50 ~ 0 +Q4 +Text Label 13100 2550 2 50 ~ 0 +Q3 +Text Label 13100 2450 2 50 ~ 0 +Q2 +Text Label 13100 2350 2 50 ~ 0 +Q1 +Text Label 13100 2250 2 50 ~ 0 +Q0 +Wire Wire Line + 11900 2550 11900 2100 +Wire Wire Line + 12000 2550 11900 2550 +$Comp +L power:+2V8 #PWR? +U 1 1 5CF7EBA4 +P 11900 2100 +F 0 "#PWR?" H 11900 1950 50 0001 C CNN +F 1 "+2V8" H 11915 2273 50 0000 C CNN +F 2 "" H 11900 2100 50 0001 C CNN +F 3 "" H 11900 2100 50 0001 C CNN + 1 11900 2100 + 1 0 0 -1 +$EndComp +Wire Wire Line + 11800 2750 12000 2750 +Wire Wire Line + 11800 2450 11800 2750 +Wire Wire Line + 12000 2450 11800 2450 +$Comp +L power:+2V8 #PWR? +U 1 1 5CF7EBB3 +P 12400 2050 +F 0 "#PWR?" H 12400 1900 50 0001 C CNN +F 1 "+2V8" H 12415 2223 50 0000 C CNN +F 2 "" H 12400 2050 50 0001 C CNN +F 3 "" H 12400 2050 50 0001 C CNN + 1 12400 2050 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5CF7EBBE +P 12400 3350 +F 0 "#PWR?" H 12400 3100 50 0001 C CNN +F 1 "GND" H 12405 3177 50 0000 C CNN +F 2 "" H 12400 3350 50 0001 C CNN +F 3 "" H 12400 3350 50 0001 C CNN + 1 12400 3350 + 1 0 0 -1 +$EndComp +$Comp +L 74xx:74HC596 U? +U 1 1 5CF7EBD8 +P 12400 2650 +F 0 "U?" H 12150 3250 50 0000 C CNN +F 1 "NPIC6C596A" H 12700 3250 50 0000 C CNN +F 2 "" H 12400 2650 50 0001 C CNN +F 3 "https://assets.nexperia.com/documents/data-sheet/NPIC6C596A.pdf" H 12400 2650 50 0001 C CNN + 1 12400 2650 + 1 0 0 -1 +$EndComp +Text Label 11500 2850 0 50 ~ 0 +SR_OE +Wire Wire Line + 11400 2850 12000 2850 +Wire Wire Line + 10100 4550 11500 4550 +Wire Wire Line + 12000 4150 11500 4150 +Wire Wire Line + 11500 4150 11500 4550 +Text Label 10500 4550 2 50 ~ 0 +MOSI +Connection ~ 11800 2750 +Wire Wire Line + 11300 4350 11800 4350 +Text Label 11500 2750 0 50 ~ 0 +SCK +Text Label 11600 4350 0 50 ~ 0 +SCK +Text Label 11500 2250 0 50 ~ 0 +DSTAGE2 +Text Label 13200 5050 2 50 ~ 0 +DSTAGE2 +Wire Wire Line + 11400 2850 11400 4750 +Connection ~ 11400 4750 +Wire Wire Line + 11400 4750 11400 5400 +Wire Wire Line + 11800 2750 11300 2750 +Wire Wire Line + 10100 4350 10900 4350 +Wire Wire Line + 11300 2750 11300 4350 +Connection ~ 11300 4350 +Wire Wire Line + 13300 5050 13300 5550 +Wire Wire Line + 13300 5550 11200 5550 +Wire Wire Line + 11200 5550 11200 2250 +Wire Wire Line + 11200 2250 12000 2250 +Wire Wire Line + 12800 5050 13300 5050 +Text Label 8750 4650 0 50 ~ 0 +IO6 +Text Label 8750 4750 0 50 ~ 0 +IO7 +Wire Wire Line + 8750 4750 9100 4750 +Wire Wire Line + 8750 4650 9100 4650 +$Comp +L Connector_Generic:Conn_01x04 J? +U 1 1 5D00852C +P 11400 7250 +F 0 "J?" H 11318 7567 50 0000 C CNN +F 1 "user_ext2" H 11318 7476 50 0000 C CNN +F 2 "" H 11400 7250 50 0001 C CNN +F 3 "~" H 11400 7250 50 0001 C CNN + 1 11400 7250 + 1 0 0 -1 +$EndComp +$Comp +L power:+VSW #PWR? +U 1 1 5D009596 +P 11050 7050 +F 0 "#PWR?" H 11050 6900 50 0001 C CNN +F 1 "+VSW" H 11065 7223 50 0000 C CNN +F 2 "" H 11050 7050 50 0001 C CNN +F 3 "" H 11050 7050 50 0001 C CNN + 1 11050 7050 + 1 0 0 -1 +$EndComp +Wire Wire Line + 11200 7150 11050 7150 +Wire Wire Line + 11050 7150 11050 7050 +$Comp +L power:GND #PWR? +U 1 1 5D015970 +P 11050 7600 +F 0 "#PWR?" H 11050 7350 50 0001 C CNN +F 1 "GND" H 11055 7427 50 0000 C CNN +F 2 "" H 11050 7600 50 0001 C CNN +F 3 "" H 11050 7600 50 0001 C CNN + 1 11050 7600 + 1 0 0 -1 +$EndComp +Wire Wire Line + 11050 7600 11050 7450 +Wire Wire Line + 11050 7450 11200 7450 +Wire Wire Line + 10900 7350 11200 7350 +Wire Wire Line + 10900 7250 11200 7250 +Text Label 10900 7250 0 50 ~ 0 +IO6 +Text Label 10900 7350 0 50 ~ 0 +IO7 +$Comp +L Connector:TestPoint_Alt TP? +U 1 1 5D01DFF0 +P 5100 4750 +F 0 "TP?" H 5158 4868 50 0000 L CNN +F 1 "VLogic" H 5158 4777 50 0000 L CNN +F 2 "TestPoint:TestPoint_Pad_D1.5mm" H 5300 4750 50 0001 C CNN +F 3 "~" H 5300 4750 50 0001 C CNN + 1 5100 4750 + 1 0 0 -1 +$EndComp +$Comp +L Connector:TestPoint_Alt TP? +U 1 1 5D01FB8D +P 3050 3850 +F 0 "TP?" H 3108 3968 50 0000 L CNN +F 1 "Vbat" H 3108 3877 50 0000 L CNN +F 2 "TestPoint:TestPoint_Pad_D1.5mm" H 3250 3850 50 0001 C CNN +F 3 "~" H 3250 3850 50 0001 C CNN + 1 3050 3850 + 1 0 0 -1 +$EndComp +Connection ~ 3050 3850 +$Comp +L Connector:TestPoint_Alt TP? +U 1 1 5D022B36 +P 10250 6000 +F 0 "TP?" H 10308 6118 50 0000 L CNN +F 1 "SCL" H 10308 6027 50 0000 L CNN +F 2 "TestPoint:TestPoint_Pad_D1.5mm" H 10450 6000 50 0001 C CNN +F 3 "~" H 10450 6000 50 0001 C CNN + 1 10250 6000 + 1 0 0 -1 +$EndComp +Connection ~ 10250 6000 +Wire Wire Line + 10250 6000 10850 6000 +Text Label 10500 4650 2 50 ~ 0 +SCL +Text Label 10500 4750 2 50 ~ 0 +SDA +$Comp +L Connector:TestPoint_Alt TP? +U 1 1 5D02659D +P 10250 6100 +F 0 "TP?" H 10308 6218 50 0000 L CNN +F 1 "SDA" H 10308 6127 50 0000 L CNN +F 2 "TestPoint:TestPoint_Pad_D1.5mm" H 10450 6100 50 0001 C CNN +F 3 "~" H 10450 6100 50 0001 C CNN + 1 10250 6100 + -1 0 0 1 +$EndComp +Connection ~ 10250 6100 +Wire Wire Line + 10250 6100 10750 6100 +$Comp +L Connector:TestPoint_Alt TP? +U 1 1 5D0270B0 +P 3750 5350 +F 0 "TP?" H 3808 5468 50 0000 L CNN +F 1 "GND" H 3808 5377 50 0000 L CNN +F 2 "TestPoint:TestPoint_Pad_D1.5mm" H 3950 5350 50 0001 C CNN +F 3 "~" H 3950 5350 50 0001 C CNN + 1 3750 5350 + 1 0 0 -1 +$EndComp +Connection ~ 3750 5350 +Wire Wire Line + 3750 5350 4400 5350 +$Comp +L Connector:TestPoint_Alt TP? +U 1 1 5D029781 +P 8950 5400 +F 0 "TP?" H 9008 5518 50 0000 L CNN +F 1 "SR_OE" H 9008 5427 50 0000 L CNN +F 2 "TestPoint:TestPoint_Pad_D1.5mm" H 9150 5400 50 0001 C CNN +F 3 "~" H 9150 5400 50 0001 C CNN + 1 8950 5400 + 1 0 0 -1 +$EndComp +Connection ~ 8950 5400 +Wire Wire Line + 8950 5400 8750 5400 +$Comp +L Connector:TestPoint_Alt TP? +U 1 1 5D0351D0 +P 11500 4150 +F 0 "TP?" H 11558 4268 50 0000 L CNN +F 1 "MOSI" H 11450 4350 50 0000 L CNN +F 2 "TestPoint:TestPoint_Pad_D1.5mm" H 11700 4150 50 0001 C CNN +F 3 "~" H 11700 4150 50 0001 C CNN + 1 11500 4150 + 1 0 0 -1 +$EndComp +Connection ~ 11500 4150 +Text Label 11600 4150 0 50 ~ 0 +MOSI +$Comp +L Connector:TestPoint_Alt TP? +U 1 1 5D03744D +P 10900 4350 +F 0 "TP?" H 10958 4468 50 0000 L CNN +F 1 "SCK" H 10850 4550 50 0000 L CNN +F 2 "TestPoint:TestPoint_Pad_D1.5mm" H 11100 4350 50 0001 C CNN +F 3 "~" H 11100 4350 50 0001 C CNN + 1 10900 4350 + 1 0 0 -1 +$EndComp +Connection ~ 10900 4350 +Wire Wire Line + 10900 4350 11300 4350 +$Comp +L Connector_Generic:Conn_01x10 J? +U 1 1 5CF7EB8C +P 14100 2550 +F 0 "J?" H 14100 3200 50 0000 C CNN +F 1 "led_out2" H 14100 3100 50 0000 C CNN +F 2 "" H 14100 2550 50 0001 C CNN +F 3 "~" H 14100 2550 50 0001 C CNN + 1 14100 2550 + 1 0 0 -1 +$EndComp +$Comp +L Device:C_Small C? +U 1 1 5D059CA6 +P 7050 3900 +F 0 "C?" H 7142 3946 50 0000 L CNN +F 1 "10u" H 7142 3855 50 0000 L CNN +F 2 "Capacitors_SMD:C_0603_HandSoldering" H 7050 3900 50 0001 C CNN +F 3 "~" H 7050 3900 50 0001 C CNN + 1 7050 3900 + 1 0 0 -1 +$EndComp +$Comp +L Device:C_Small C? +U 1 1 5D05A0BA +P 7400 3900 +F 0 "C?" H 7492 3946 50 0000 L CNN +F 1 "10u" H 7492 3855 50 0000 L CNN +F 2 "Capacitors_SMD:C_0603_HandSoldering" H 7400 3900 50 0001 C CNN +F 3 "~" H 7400 3900 50 0001 C CNN + 1 7400 3900 + 1 0 0 -1 +$EndComp +Wire Wire Line + 7400 3450 7400 3800 +Connection ~ 7400 3450 +Wire Wire Line + 7400 3450 7500 3450 +Wire Wire Line + 7400 4000 7400 4350 +Wire Wire Line + 7400 4350 7050 4350 +Connection ~ 7050 4350 +$Comp +L Device:R_Small R? +U 1 1 5D06F9A4 +P 5850 3850 +F 0 "R?" V 5654 3850 50 0000 C CNN +F 1 "1M5" V 5745 3850 50 0000 C CNN +F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 5850 3850 50 0001 C CNN +F 3 "~" H 5850 3850 50 0001 C CNN + 1 5850 3850 + 1 0 0 1 +$EndComp +Wire Wire Line + 5850 3950 5850 4000 +Connection ~ 5850 4000 +Wire Wire Line + 5850 4000 6050 4000 +$Comp +L Device:Jumper_NO_Small JP? +U 1 1 5D07D23E +P 5850 3650 +F 0 "JP?" V 5900 3850 50 0000 R CNN +F 1 "3V9" V 5800 3850 50 0000 R CNN +F 2 "" H 5850 3650 50 0001 C CNN +F 3 "~" H 5850 3650 50 0001 C CNN + 1 5850 3650 + 0 -1 -1 0 +$EndComp +Wire Wire Line + 5600 3450 5850 3450 +$Comp +L Device:Jumper_NO_Small JP? +U 1 1 5D080B43 +P 6050 3650 +F 0 "JP?" H 6200 3600 50 0000 R CNN +F 1 "5V" H 6200 3700 50 0000 R CNN +F 2 "" H 6050 3650 50 0001 C CNN +F 3 "~" H 6050 3650 50 0001 C CNN + 1 6050 3650 + 0 -1 -1 0 +$EndComp +$Comp +L Device:Jumper_NO_Small JP? +U 1 1 5D080F0F +P 6250 3650 +F 0 "JP?" V 6300 3600 50 0000 R CNN +F 1 "12V" V 6200 3600 50 0000 R CNN +F 2 "" H 6250 3650 50 0001 C CNN +F 3 "~" H 6250 3650 50 0001 C CNN + 1 6250 3650 + 0 -1 -1 0 +$EndComp +Wire Wire Line + 6050 3550 6050 3450 +Connection ~ 6050 3450 +Wire Wire Line + 6050 3450 6250 3450 +Wire Wire Line + 5850 3550 5850 3450 +Connection ~ 5850 3450 +Wire Wire Line + 5850 3450 6050 3450 +Wire Wire Line + 6250 3550 6250 3450 +Connection ~ 6250 3450 +Wire Wire Line + 6250 3450 6700 3450 +$EndSCHEMATC diff --git a/card_base/card_base.kicad_pcb b/card_base/card_base.kicad_pcb new file mode 100644 index 0000000..02c8ecb --- /dev/null +++ b/card_base/card_base.kicad_pcb @@ -0,0 +1 @@ +(kicad_pcb (version 4) (host kicad "dummy file") ) diff --git a/card_base/card_base.pro b/card_base/card_base.pro new file mode 100644 index 0000000..5cd0983 --- /dev/null +++ b/card_base/card_base.pro @@ -0,0 +1,34 @@ +update=05/04/2019 20:44:53 +version=1 +last_client=kicad +[general] +version=1 +RootSch= +BoardNm= +[pcbnew] +version=1 +LastNetListRead= +UseCmpFile=1 +PadDrill=0.600000000000 +PadDrillOvalY=0.600000000000 +PadSizeH=1.500000000000 +PadSizeV=1.500000000000 +PcbTextSizeV=1.500000000000 +PcbTextSizeH=1.500000000000 +PcbTextThickness=0.300000000000 +ModuleTextSizeV=1.000000000000 +ModuleTextSizeH=1.000000000000 +ModuleTextSizeThickness=0.150000000000 +SolderMaskClearance=0.000000000000 +SolderMaskMinWidth=0.000000000000 +DrawSegmentWidth=0.200000000000 +BoardOutlineThickness=0.100000000000 +ModuleOutlineThickness=0.150000000000 +CopperEdgeClearance=0.000000000000 +[cvpcb] +version=1 +NetIExt=net +[eeschema] +version=1 +LibDir= +[eeschema/libraries] diff --git a/card_base/card_base.sch b/card_base/card_base.sch new file mode 100644 index 0000000..00ae51a --- /dev/null +++ b/card_base/card_base.sch @@ -0,0 +1,1754 @@ +EESchema Schematic File Version 5 +LIBS:card_base-cache +EELAYER 29 0 +EELAYER END +$Descr A3 16535 11693 +encoding utf-8 +Sheet 1 1 +Title "" +Date "" +Rev "" +Comp "" +Comment1 "" +Comment2 "" +Comment3 "" +Comment4 "" +$EndDescr +$Comp +L symbols:AP2138 U? +U 1 1 5CCD5799 +P 4400 4750 +F 0 "U?" H 4400 5015 50 0000 C CNN +F 1 "AP2138-2.7" H 4400 4924 50 0000 C CNN +F 2 "TO_SOT_Packages_SMD:SOT-23_Handsoldering" H 4400 4750 50 0001 C CNN +F 3 "https://www.diodes.com/assets/Datasheets/AP2138_9.pdf" H 4400 4750 50 0001 C CNN + 1 4400 4750 + 1 0 0 -1 +$EndComp +$Comp +L Sensor_Motion:MPU-6050 U? +U 1 1 5CCD5A46 +P 7300 7400 +F 0 "U?" H 6850 8000 50 0000 C CNN +F 1 "MPU-6050" H 7700 8000 50 0000 C CNN +F 2 "Sensor_Motion:InvenSense_QFN-24_4x4mm_P0.5mm" H 7300 6600 50 0001 C CNN +F 3 "https://store.invensense.com/datasheets/invensense/MPU-6050_DataSheet_V3%204.pdf" H 7300 7250 50 0001 C CNN + 1 7300 7400 + 1 0 0 -1 +$EndComp +$Comp +L MCU_ST_STM32F0:STM32F030F4Px U? +U 1 1 5CCD62D4 +P 9600 4350 +F 0 "U?" H 9250 5050 50 0000 C CNN +F 1 "STM32F030F4Px" H 9150 3550 50 0000 C CNN +F 2 "Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm" H 9200 3650 50 0001 R CNN +F 3 "http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00088500.pdf" H 9600 4350 50 0001 C CNN + 1 9600 4350 + 1 0 0 -1 +$EndComp +$Comp +L Device:Battery_Cell BT? +U 1 1 5CCD6F62 +P 3050 5150 +F 0 "BT?" H 3168 5246 50 0000 L CNN +F 1 "CR2032" H 3168 5155 50 0001 L CNN +F 2 "" V 3050 5210 50 0001 C CNN +F 3 "~" V 3050 5210 50 0001 C CNN + 1 3050 5150 + 1 0 0 -1 +$EndComp +$Comp +L Transistor_FET:IRLML6402 Q? +U 1 1 5CCD8468 +P 3600 3950 +F 0 "Q?" V 3943 3950 50 0000 C CNN +F 1 "AO3415" V 3852 3950 50 0000 C CNN +F 2 "Package_TO_SOT_SMD:SOT-23" H 3800 3875 50 0001 L CIN +F 3 "https://www.infineon.com/dgdl/irlml6402pbf.pdf?fileId=5546d462533600a401535668d5c2263c" H 3600 3950 50 0001 L CNN + 1 3600 3950 + 0 -1 -1 0 +$EndComp +$Comp +L Device:Battery_Cell BT? +U 1 1 5CCDD322 +P 2800 5150 +F 0 "BT?" H 2682 5246 50 0000 R CNN +F 1 "CR2032" H 2682 5155 50 0000 R CNN +F 2 "" V 2800 5210 50 0001 C CNN +F 3 "~" V 2800 5210 50 0001 C CNN + 1 2800 5150 + 1 0 0 -1 +$EndComp +$Comp +L card_base-rescue:MT3608-components U? +U 1 1 5C3DB03B +P 4850 3950 +F 0 "U?" H 4850 4315 50 0000 C CNN +F 1 "MT3608" H 4850 4224 50 0000 C CNN +F 2 "Package_TO_SOT_SMD:SOT-23-6_Handsoldering" H 4850 3950 50 0001 C CNN +F 3 "https://www.olimex.com/Products/Breadboarding/BB-PWR-3608/resources/MT3608.pdf" H 4850 3950 50 0001 C CNN + 1 4850 3950 + 1 0 0 -1 +$EndComp +$Comp +L card_base-rescue:L_EU_small-components L? +U 1 1 5C3E1491 +P 4850 3450 +F 0 "L?" H 4850 3642 50 0000 C CNN +F 1 "10u" H 4850 3551 50 0000 C CNN +F 2 "Inductor_SMD:L_Taiyo-Yuden_NR-50xx_HandSoldering" H 4850 3450 50 0001 C CNN +F 3 "" H 4850 3450 50 0001 C CNN + 1 4850 3450 + 1 0 0 -1 +$EndComp +Wire Wire Line + 4650 3450 4450 3450 +Wire Wire Line + 4450 3450 4450 3850 +Wire Wire Line + 4450 3850 4500 3850 +Wire Wire Line + 4500 4000 4450 4000 +Wire Wire Line + 4450 4000 4450 3850 +Connection ~ 4450 3850 +Wire Wire Line + 5050 3450 5300 3450 +Wire Wire Line + 5300 3450 5300 3850 +Wire Wire Line + 5300 3850 5200 3850 +$Comp +L Device:D_Schottky_Small_ALT D? +U 1 1 5C3F3E87 +P 5500 3450 +F 0 "D?" H 5500 3245 50 0000 C CNN +F 1 "2A schottky" H 5500 3336 50 0000 C CNN +F 2 "Diode_SMD:D_SMB_Handsoldering" V 5500 3450 50 0001 C CNN +F 3 "~" V 5500 3450 50 0001 C CNN + 1 5500 3450 + -1 0 0 1 +$EndComp +Wire Wire Line + 5400 3450 5300 3450 +Connection ~ 5300 3450 +$Comp +L Device:C_Small C? +U 1 1 5C3F99AD +P 6700 3900 +F 0 "C?" H 6792 3946 50 0000 L CNN +F 1 "1u" H 6792 3855 50 0000 L CNN +F 2 "Capacitors_SMD:C_0603_HandSoldering" H 6700 3900 50 0001 C CNN +F 3 "~" H 6700 3900 50 0001 C CNN + 1 6700 3900 + 1 0 0 -1 +$EndComp +Wire Wire Line + 7050 3450 6700 3450 +Wire Wire Line + 6700 3800 6700 3450 +Connection ~ 6700 3450 +Wire Wire Line + 6700 4350 6700 4000 +Wire Wire Line + 6700 4350 7050 4350 +Wire Wire Line + 7050 4350 7050 4000 +$Comp +L Device:R_Small R? +U 1 1 5C40F95F +P 6050 3850 +F 0 "R?" H 6150 3950 50 0000 C CNN +F 1 "2M0" V 5945 3850 50 0000 C CNN +F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 6050 3850 50 0001 C CNN +F 3 "~" H 6050 3850 50 0001 C CNN + 1 6050 3850 + 1 0 0 1 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5C417AAA +P 6050 4150 +F 0 "R?" V 5854 4150 50 0000 C CNN +F 1 "270k" V 5945 4150 50 0000 C CNN +F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 6050 4150 50 0001 C CNN +F 3 "~" H 6050 4150 50 0001 C CNN + 1 6050 4150 + 1 0 0 1 +$EndComp +Wire Wire Line + 6700 4350 6050 4350 +Wire Wire Line + 4850 4350 4850 4200 +Connection ~ 6700 4350 +Wire Wire Line + 6050 4350 6050 4250 +Connection ~ 6050 4350 +Wire Wire Line + 6050 4350 5400 4350 +Wire Wire Line + 5200 4000 5850 4000 +Wire Wire Line + 6050 4000 6050 4050 +Wire Wire Line + 6050 4000 6050 3950 +Connection ~ 6050 4000 +$Comp +L power:GND #PWR? +U 1 1 5C4436DB +P 5400 4350 +F 0 "#PWR?" H 5400 4100 50 0001 C CNN +F 1 "GND" H 5405 4177 50 0000 C CNN +F 2 "" H 5400 4350 50 0001 C CNN +F 3 "" H 5400 4350 50 0001 C CNN + 1 5400 4350 + 1 0 0 -1 +$EndComp +Connection ~ 5400 4350 +Wire Wire Line + 5400 4350 4850 4350 +Wire Wire Line + 7050 3350 7050 3450 +Connection ~ 7050 3450 +Wire Wire Line + 7050 3450 7400 3450 +$Comp +L Device:CP_Small C? +U 1 1 5C4E826F +P 3950 4050 +F 0 "C?" H 3700 4100 50 0000 L CNN +F 1 "470u" H 3700 4000 50 0000 L CNN +F 2 "Capacitor_THT:CP_Radial_D10.0mm_P5.00mm" H 3950 4050 50 0001 C CNN +F 3 "~" H 3950 4050 50 0001 C CNN + 1 3950 4050 + 1 0 0 -1 +$EndComp +$Comp +L Device:C_Small C? +U 1 1 5C4E8B95 +P 4300 4050 +F 0 "C?" H 4100 4100 50 0000 L CNN +F 1 "10u" H 4100 4000 50 0000 L CNN +F 2 "Capacitors_SMD:C_0603_HandSoldering" H 4300 4050 50 0001 C CNN +F 3 "~" H 4300 4050 50 0001 C CNN + 1 4300 4050 + 1 0 0 -1 +$EndComp +Wire Wire Line + 3800 3850 3950 3850 +Wire Wire Line + 4300 3950 4300 3850 +Connection ~ 4300 3850 +Wire Wire Line + 4300 3850 4450 3850 +Wire Wire Line + 3950 3950 3950 3850 +Connection ~ 3950 3850 +Wire Wire Line + 3950 3850 4300 3850 +Wire Wire Line + 3950 4150 3950 4350 +Wire Wire Line + 3950 4350 4300 4350 +Connection ~ 4850 4350 +Wire Wire Line + 4300 4150 4300 4350 +Connection ~ 4300 4350 +Wire Wire Line + 4300 4350 4850 4350 +$Comp +L Device:C_Small C? +U 1 1 5CD11509 +P 3450 5100 +F 0 "C?" H 3250 5150 50 0000 L CNN +F 1 "10u" H 3250 5050 50 0000 L CNN +F 2 "Capacitors_SMD:C_0603_HandSoldering" H 3450 5100 50 0001 C CNN +F 3 "~" H 3450 5100 50 0001 C CNN + 1 3450 5100 + -1 0 0 -1 +$EndComp +Wire Wire Line + 7050 3450 7050 3800 +$Comp +L Device:C_Small C? +U 1 1 5CCD535A +P 5100 5100 +F 0 "C?" H 4900 5150 50 0000 L CNN +F 1 "10u" H 4900 5050 50 0000 L CNN +F 2 "Capacitors_SMD:C_0603_HandSoldering" H 5100 5100 50 0001 C CNN +F 3 "~" H 5100 5100 50 0001 C CNN + 1 5100 5100 + -1 0 0 -1 +$EndComp +$Comp +L Device:C_Small C? +U 1 1 5CCD5BF6 +P 5400 5100 +F 0 "C?" H 5200 5150 50 0000 L CNN +F 1 "100n" H 5200 5050 50 0000 L CNN +F 2 "Capacitors_SMD:C_0603_HandSoldering" H 5400 5100 50 0001 C CNN +F 3 "~" H 5400 5100 50 0001 C CNN + 1 5400 5100 + -1 0 0 -1 +$EndComp +Wire Wire Line + 2800 4950 2800 4750 +Wire Wire Line + 2800 4750 3050 4750 +Wire Wire Line + 3050 4950 3050 4750 +Connection ~ 3050 4750 +Wire Wire Line + 3050 4750 3450 4750 +Wire Wire Line + 3450 5000 3450 4750 +Connection ~ 3450 4750 +Wire Wire Line + 3450 4750 3900 4750 +Wire Wire Line + 2800 5250 2800 5350 +Wire Wire Line + 2800 5350 3050 5350 +Wire Wire Line + 3450 5350 3450 5200 +Wire Wire Line + 3050 5250 3050 5350 +Connection ~ 3050 5350 +Wire Wire Line + 3050 5350 3450 5350 +$Comp +L power:GND #PWR? +U 1 1 5CCD9110 +P 3050 5400 +F 0 "#PWR?" H 3050 5150 50 0001 C CNN +F 1 "GND" H 3055 5227 50 0000 C CNN +F 2 "" H 3050 5400 50 0001 C CNN +F 3 "" H 3050 5400 50 0001 C CNN + 1 3050 5400 + 1 0 0 -1 +$EndComp +Wire Wire Line + 3050 5350 3050 5400 +Wire Wire Line + 3450 5350 3750 5350 +Wire Wire Line + 4400 5350 4400 5250 +Connection ~ 3450 5350 +Wire Wire Line + 4400 5350 5100 5350 +Wire Wire Line + 5100 5350 5100 5200 +Connection ~ 4400 5350 +Wire Wire Line + 5100 5350 5400 5350 +Wire Wire Line + 5400 5350 5400 5200 +Connection ~ 5100 5350 +Wire Wire Line + 5400 5000 5400 4750 +Wire Wire Line + 5400 4750 5100 4750 +Wire Wire Line + 5100 5000 5100 4750 +Connection ~ 5100 4750 +Wire Wire Line + 5100 4750 4900 4750 +Wire Wire Line + 3400 3850 3050 3850 +Wire Wire Line + 3050 3850 3050 4750 +Wire Wire Line + 3600 4150 3600 4550 +Text Label 3600 4550 1 50 ~ 0 +~SWREG_EN +$Comp +L Device:R_Small R? +U 1 1 5CCE8EA8 +P 6250 3850 +F 0 "R?" V 6054 3850 50 0000 C CNN +F 1 "5M1" V 6145 3850 50 0000 C CNN +F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 6250 3850 50 0001 C CNN +F 3 "~" H 6250 3850 50 0001 C CNN + 1 6250 3850 + -1 0 0 1 +$EndComp +Wire Wire Line + 6250 3950 6250 4000 +Wire Wire Line + 6250 4000 6050 4000 +$Comp +L symbols:APDS9960 U? +U 1 1 5CCFCE77 +P 9750 7300 +F 0 "U?" H 9500 7700 50 0000 C CNN +F 1 "APDS9960" H 10050 7700 50 0000 C CNN +F 2 "" H 9750 7300 50 0001 C CNN +F 3 "https://cdn.sparkfun.com/assets/learn_tutorials/3/2/1/Avago-APDS-9960-datasheet.pdf" H 9750 7300 50 0001 C CNN + 1 9750 7300 + 1 0 0 -1 +$EndComp +Wire Wire Line + 8900 7400 9250 7400 +Text Label 8900 7200 0 50 ~ 0 +SCL +Text Label 8900 7100 0 50 ~ 0 +SDA +NoConn ~ 8000 7300 +NoConn ~ 8000 7400 +NoConn ~ 6600 7600 +NoConn ~ 6600 7700 +$Comp +L Device:C_Small C? +U 1 1 5CD05CE8 +P 8100 7900 +F 0 "C?" H 7900 7950 50 0000 L CNN +F 1 "100n" H 7900 7850 50 0000 L CNN +F 2 "Capacitors_SMD:C_0603_HandSoldering" H 8100 7900 50 0001 C CNN +F 3 "~" H 8100 7900 50 0001 C CNN + 1 8100 7900 + 1 0 0 -1 +$EndComp +$Comp +L Device:C_Small C? +U 1 1 5CD0707D +P 8300 7900 +F 0 "C?" H 8100 7950 50 0000 L CNN +F 1 "2n2" H 8100 7850 50 0000 L CNN +F 2 "Capacitors_SMD:C_0603_HandSoldering" H 8300 7900 50 0001 C CNN +F 3 "~" H 8300 7900 50 0001 C CNN + 1 8300 7900 + -1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5CD07AD7 +P 8100 8000 +F 0 "#PWR?" H 8100 7750 50 0001 C CNN +F 1 "GND" H 8105 7827 50 0000 C CNN +F 2 "" H 8100 8000 50 0001 C CNN +F 3 "" H 8100 8000 50 0001 C CNN + 1 8100 8000 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5CD07D19 +P 8300 8000 +F 0 "#PWR?" H 8300 7750 50 0001 C CNN +F 1 "GND" H 8305 7827 50 0000 C CNN +F 2 "" H 8300 8000 50 0001 C CNN +F 3 "" H 8300 8000 50 0001 C CNN + 1 8300 8000 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5CD07FD2 +P 7300 8100 +F 0 "#PWR?" H 7300 7850 50 0001 C CNN +F 1 "GND" H 7305 7927 50 0000 C CNN +F 2 "" H 7300 8100 50 0001 C CNN +F 3 "" H 7300 8100 50 0001 C CNN + 1 7300 8100 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5CD09634 +P 9750 7700 +F 0 "#PWR?" H 9750 7450 50 0001 C CNN +F 1 "GND" H 9755 7527 50 0000 C CNN +F 2 "" H 9750 7700 50 0001 C CNN +F 3 "" H 9750 7700 50 0001 C CNN + 1 9750 7700 + 1 0 0 -1 +$EndComp +Wire Wire Line + 8100 7800 8100 7700 +Wire Wire Line + 8100 7700 8000 7700 +Wire Wire Line + 8000 7600 8300 7600 +Wire Wire Line + 8300 7600 8300 7800 +$Comp +L Device:C_Small C? +U 1 1 5CD0A334 +P 7000 6450 +F 0 "C?" H 6800 6500 50 0000 L CNN +F 1 "100n" H 6800 6400 50 0000 L CNN +F 2 "Capacitors_SMD:C_0603_HandSoldering" H 7000 6450 50 0001 C CNN +F 3 "~" H 7000 6450 50 0001 C CNN + 1 7000 6450 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5CD0B061 +P 7000 6550 +F 0 "#PWR?" H 7000 6300 50 0001 C CNN +F 1 "GND" H 7005 6377 50 0000 C CNN +F 2 "" H 7000 6550 50 0001 C CNN +F 3 "" H 7000 6550 50 0001 C CNN + 1 7000 6550 + 1 0 0 -1 +$EndComp +Wire Wire Line + 7000 6350 7000 6250 +Wire Wire Line + 7000 6250 7200 6250 +Wire Wire Line + 7200 6250 7200 6700 +$Comp +L power:GND #PWR? +U 1 1 5CD108E2 +P 6500 7350 +F 0 "#PWR?" H 6500 7100 50 0001 C CNN +F 1 "GND" H 6505 7177 50 0000 C CNN +F 2 "" H 6500 7350 50 0001 C CNN +F 3 "" H 6500 7350 50 0001 C CNN + 1 6500 7350 + 1 0 0 -1 +$EndComp +Wire Wire Line + 6500 7350 6500 7300 +Wire Wire Line + 6500 7300 6600 7300 +Text Label 6400 7200 0 50 ~ 0 +SCL +Text Label 6400 7100 0 50 ~ 0 +SDA +Text Label 9350 6000 0 50 ~ 0 +SCL +Text Label 9350 6100 0 50 ~ 0 +SDA +$Comp +L Device:R_Small R? +U 1 1 5CD129BE +P 9800 5800 +F 0 "R?" H 9741 5846 50 0000 R CNN +F 1 "10k" H 9741 5755 50 0000 R CNN +F 2 "" H 9800 5800 50 0001 C CNN +F 3 "~" H 9800 5800 50 0001 C CNN + 1 9800 5800 + -1 0 0 -1 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CD1361B +P 9600 5800 +F 0 "R?" H 9541 5846 50 0000 R CNN +F 1 "10k" H 9541 5755 50 0000 R CNN +F 2 "" H 9600 5800 50 0001 C CNN +F 3 "~" H 9600 5800 50 0001 C CNN + 1 9600 5800 + 1 0 0 -1 +$EndComp +Wire Wire Line + 9600 5900 9600 6000 +Connection ~ 9600 6000 +Wire Wire Line + 9800 5900 9800 6100 +Connection ~ 9800 6100 +$Comp +L power:+2V8 #PWR? +U 1 1 5CD1547F +P 9600 5700 +F 0 "#PWR?" H 9600 5550 50 0001 C CNN +F 1 "+2V8" H 9615 5873 50 0000 C CNN +F 2 "" H 9600 5700 50 0001 C CNN +F 3 "" H 9600 5700 50 0001 C CNN + 1 9600 5700 + 1 0 0 -1 +$EndComp +$Comp +L power:+2V8 #PWR? +U 1 1 5CD1575F +P 9800 5700 +F 0 "#PWR?" H 9800 5550 50 0001 C CNN +F 1 "+2V8" H 9815 5873 50 0000 C CNN +F 2 "" H 9800 5700 50 0001 C CNN +F 3 "" H 9800 5700 50 0001 C CNN + 1 9800 5700 + 1 0 0 -1 +$EndComp +$Comp +L power:+2V8 #PWR? +U 1 1 5CD15944 +P 7400 6700 +F 0 "#PWR?" H 7400 6550 50 0001 C CNN +F 1 "+2V8" H 7415 6873 50 0000 C CNN +F 2 "" H 7400 6700 50 0001 C CNN +F 3 "" H 7400 6700 50 0001 C CNN + 1 7400 6700 + 1 0 0 -1 +$EndComp +$Comp +L power:+2V8 #PWR? +U 1 1 5CD16685 +P 9750 6800 +F 0 "#PWR?" H 9750 6650 50 0001 C CNN +F 1 "+2V8" H 9765 6973 50 0000 C CNN +F 2 "" H 9750 6800 50 0001 C CNN +F 3 "" H 9750 6800 50 0001 C CNN + 1 9750 6800 + 1 0 0 -1 +$EndComp +Wire Wire Line + 8400 7100 8000 7100 +Text Label 8400 7100 2 50 ~ 0 +MPU_INT +Text Label 8900 7400 0 50 ~ 0 +APDS_INT +$Comp +L power:+2V8 #PWR? +U 1 1 5CD3D97D +P 9600 3550 +F 0 "#PWR?" H 9600 3400 50 0001 C CNN +F 1 "+2V8" H 9615 3723 50 0000 C CNN +F 2 "" H 9600 3550 50 0001 C CNN +F 3 "" H 9600 3550 50 0001 C CNN + 1 9600 3550 + 1 0 0 -1 +$EndComp +Wire Wire Line + 9600 3550 9600 3600 +Wire Wire Line + 9600 3600 9700 3600 +Wire Wire Line + 9700 3600 9700 3650 +Connection ~ 9600 3600 +Wire Wire Line + 9600 3600 9600 3650 +$Comp +L power:GND #PWR? +U 1 1 5CD3ED73 +P 9600 5150 +F 0 "#PWR?" H 9600 4900 50 0001 C CNN +F 1 "GND" H 9605 4977 50 0000 C CNN +F 2 "" H 9600 5150 50 0001 C CNN +F 3 "" H 9600 5150 50 0001 C CNN + 1 9600 5150 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5CD4071B +P 9000 4150 +F 0 "#PWR?" H 9000 3900 50 0001 C CNN +F 1 "GND" H 9005 3977 50 0000 C CNN +F 2 "" H 9000 4150 50 0001 C CNN +F 3 "" H 9000 4150 50 0001 C CNN + 1 9000 4150 + 1 0 0 -1 +$EndComp +Wire Wire Line + 9000 4150 9000 4050 +Wire Wire Line + 9000 4050 9100 4050 +$Comp +L Device:R_Small R? +U 1 1 5CD41DC3 +P 8600 3650 +F 0 "R?" H 8542 3604 50 0000 R CNN +F 1 "1M" H 8542 3695 50 0000 R CNN +F 2 "" H 8600 3650 50 0001 C CNN +F 3 "~" H 8600 3650 50 0001 C CNN + 1 8600 3650 + 1 0 0 1 +$EndComp +$Comp +L Device:C_Small C? +U 1 1 5CD46A32 +P 8750 3650 +F 0 "C?" H 8842 3696 50 0000 L CNN +F 1 "10n" H 8842 3605 50 0000 L CNN +F 2 "" H 8750 3650 50 0001 C CNN +F 3 "~" H 8750 3650 50 0001 C CNN + 1 8750 3650 + 1 0 0 -1 +$EndComp +Wire Wire Line + 9100 3850 8750 3850 +Wire Wire Line + 8600 3850 8600 3750 +Wire Wire Line + 8750 3750 8750 3850 +Connection ~ 8750 3850 +Wire Wire Line + 8750 3850 8600 3850 +$Comp +L power:+2V8 #PWR? +U 1 1 5CD470E5 +P 8600 3450 +F 0 "#PWR?" H 8600 3300 50 0001 C CNN +F 1 "+2V8" H 8615 3623 50 0000 C CNN +F 2 "" H 8600 3450 50 0001 C CNN +F 3 "" H 8600 3450 50 0001 C CNN + 1 8600 3450 + 1 0 0 -1 +$EndComp +Wire Wire Line + 8600 3450 8600 3500 +Wire Wire Line + 8750 3550 8750 3500 +Wire Wire Line + 8750 3500 8600 3500 +Connection ~ 8600 3500 +Wire Wire Line + 8600 3500 8600 3550 +$Comp +L Switch:SW_Push SW? +U 1 1 5CD47D29 +P 8600 4050 +F 0 "SW?" V 8650 4300 50 0000 R CNN +F 1 "Reset" V 8500 4350 50 0000 R CNN +F 2 "" H 8600 4250 50 0001 C CNN +F 3 "" H 8600 4250 50 0001 C CNN + 1 8600 4050 + 0 -1 -1 0 +$EndComp +Connection ~ 8600 3850 +$Comp +L power:GND #PWR? +U 1 1 5CD485F5 +P 8600 4250 +F 0 "#PWR?" H 8600 4000 50 0001 C CNN +F 1 "GND" H 8605 4077 50 0000 C CNN +F 2 "" H 8600 4250 50 0001 C CNN +F 3 "" H 8600 4250 50 0001 C CNN + 1 8600 4250 + 1 0 0 -1 +$EndComp +Wire Wire Line + 10250 7300 10350 7300 +Wire Wire Line + 10350 7300 10350 7400 +Wire Wire Line + 10350 7400 10250 7400 +$Comp +L power:+2V8 #PWR? +U 1 1 5CD5C00E +P 10350 7100 +F 0 "#PWR?" H 10350 6950 50 0001 C CNN +F 1 "+2V8" H 10365 7273 50 0000 C CNN +F 2 "" H 10350 7100 50 0001 C CNN +F 3 "" H 10350 7100 50 0001 C CNN + 1 10350 7100 + 1 0 0 -1 +$EndComp +Wire Wire Line + 10350 7100 10350 7200 +Wire Wire Line + 10350 7200 10250 7200 +Wire Wire Line + 6200 6000 6200 7200 +Wire Wire Line + 6200 7200 6600 7200 +Wire Wire Line + 6200 6000 8750 6000 +Wire Wire Line + 6300 7100 6300 6100 +Wire Wire Line + 6300 7100 6600 7100 +Wire Wire Line + 6300 6100 8850 6100 +Wire Wire Line + 8850 7100 8850 6100 +Wire Wire Line + 8850 7100 9250 7100 +Connection ~ 8850 6100 +Wire Wire Line + 8850 6100 9800 6100 +Wire Wire Line + 8750 6000 8750 7200 +Wire Wire Line + 8750 7200 9250 7200 +Connection ~ 8750 6000 +Wire Wire Line + 8750 6000 9600 6000 +$Comp +L Connector_Generic:Conn_01x04 J? +U 1 1 5CE154ED +P 11400 6100 +F 0 "J?" H 11480 6092 50 0000 L CNN +F 1 "I2C_ext" H 11480 6001 50 0000 L CNN +F 2 "" H 11400 6100 50 0001 C CNN +F 3 "~" H 11400 6100 50 0001 C CNN + 1 11400 6100 + 1 0 0 -1 +$EndComp +Wire Wire Line + 9600 6000 10250 6000 +Wire Wire Line + 9800 6100 10250 6100 +$Comp +L power:+2V8 #PWR? +U 1 1 5CE16A5C +P 11050 5850 +F 0 "#PWR?" H 11050 5700 50 0001 C CNN +F 1 "+2V8" H 11065 6023 50 0000 C CNN +F 2 "" H 11050 5850 50 0001 C CNN +F 3 "" H 11050 5850 50 0001 C CNN + 1 11050 5850 + 1 0 0 -1 +$EndComp +Wire Wire Line + 11050 5850 11050 6200 +Wire Wire Line + 11050 6200 11200 6200 +$Comp +L power:GND #PWR? +U 1 1 5CE1753B +P 11050 6400 +F 0 "#PWR?" H 11050 6150 50 0001 C CNN +F 1 "GND" H 11055 6227 50 0000 C CNN +F 2 "" H 11050 6400 50 0001 C CNN +F 3 "" H 11050 6400 50 0001 C CNN + 1 11050 6400 + 1 0 0 -1 +$EndComp +Wire Wire Line + 11050 6400 11050 6300 +Wire Wire Line + 11050 6300 11200 6300 +$Comp +L Device:R_Small R? +U 1 1 5CE4BF38 +P 10200 3650 +F 0 "R?" H 10258 3696 50 0000 L CNN +F 1 "1M" H 10258 3605 50 0000 L CNN +F 2 "" H 10200 3650 50 0001 C CNN +F 3 "~" H 10200 3650 50 0001 C CNN + 1 10200 3650 + 1 0 0 -1 +$EndComp +$Comp +L power:+2V8 #PWR? +U 1 1 5CE5A8E7 +P 10200 3550 +F 0 "#PWR?" H 10200 3400 50 0001 C CNN +F 1 "+2V8" H 10215 3723 50 0000 C CNN +F 2 "" H 10200 3550 50 0001 C CNN +F 3 "" H 10200 3550 50 0001 C CNN + 1 10200 3550 + -1 0 0 -1 +$EndComp +Wire Wire Line + 10200 3750 10200 3850 +Wire Wire Line + 10800 3850 10200 3850 +Text Label 10800 3850 2 50 ~ 0 +~SWREG_EN +$Comp +L Connector:TestPoint_Alt TP? +U 1 1 5D180D49 +P 7500 3450 +F 0 "TP?" H 7558 3568 50 0000 L CNN +F 1 "Vdrv" H 7558 3477 50 0000 L CNN +F 2 "TestPoint:TestPoint_Pad_D1.5mm" H 7700 3450 50 0001 C CNN +F 3 "~" H 7700 3450 50 0001 C CNN + 1 7500 3450 + 1 0 0 -1 +$EndComp +$Comp +L power:+VSW #PWR? +U 1 1 5C599866 +P 7050 3350 +F 0 "#PWR?" H 7050 3200 50 0001 C CNN +F 1 "+VSW" H 7065 3523 50 0000 C CNN +F 2 "" H 7050 3350 50 0001 C CNN +F 3 "" H 7050 3350 50 0001 C CNN + 1 7050 3350 + 1 0 0 -1 +$EndComp +Wire Wire Line + 10100 4650 10850 4650 +Wire Wire Line + 10850 4650 10850 6000 +Connection ~ 10850 6000 +Wire Wire Line + 10850 6000 11200 6000 +Wire Wire Line + 10750 6100 10750 4750 +Wire Wire Line + 10750 4750 10100 4750 +Connection ~ 10750 6100 +Wire Wire Line + 10750 6100 11200 6100 +Wire Wire Line + 13800 4050 13800 3950 +Connection ~ 13800 4050 +Wire Wire Line + 13800 4050 13900 4050 +Wire Wire Line + 13800 4950 13800 4050 +Wire Wire Line + 13900 4950 13800 4950 +$Comp +L power:+VSW #PWR? +U 1 1 5CE91DDF +P 13800 3950 +F 0 "#PWR?" H 13800 3800 50 0001 C CNN +F 1 "+VSW" H 13815 4123 50 0000 C CNN +F 2 "" H 13800 3950 50 0001 C CNN +F 3 "" H 13800 3950 50 0001 C CNN + 1 13800 3950 + 1 0 0 -1 +$EndComp +Wire Wire Line + 13400 4850 13900 4850 +Wire Wire Line + 13900 4750 13400 4750 +Wire Wire Line + 13400 4650 13900 4650 +Wire Wire Line + 13900 4550 13400 4550 +Wire Wire Line + 13400 4450 13900 4450 +Wire Wire Line + 13900 4350 13400 4350 +Wire Wire Line + 13400 4250 13900 4250 +Wire Wire Line + 13900 4150 13400 4150 +Wire Wire Line + 12800 4350 13200 4350 +Wire Wire Line + 12800 4450 13200 4450 +Wire Wire Line + 12800 4550 13200 4550 +Wire Wire Line + 12800 4650 13200 4650 +Wire Wire Line + 12800 4750 13200 4750 +Wire Wire Line + 12800 4850 13200 4850 +$Comp +L Device:R_Small R? +U 1 1 5CE2E93A +P 13300 4850 +F 0 "R?" V 13250 5000 50 0000 C CNN +F 1 "R_Small" V 13195 4850 50 0001 C CNN +F 2 "" H 13300 4850 50 0001 C CNN +F 3 "~" H 13300 4850 50 0001 C CNN + 1 13300 4850 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CE2D189 +P 13300 4650 +F 0 "R?" V 13250 4800 50 0000 C CNN +F 1 "R_Small" V 13195 4650 50 0001 C CNN +F 2 "" H 13300 4650 50 0001 C CNN +F 3 "~" H 13300 4650 50 0001 C CNN + 1 13300 4650 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CE2CFFD +P 13300 4750 +F 0 "R?" V 13250 4900 50 0000 C CNN +F 1 "R_Small" V 13195 4750 50 0001 C CNN +F 2 "" H 13300 4750 50 0001 C CNN +F 3 "~" H 13300 4750 50 0001 C CNN + 1 13300 4750 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CE2C8F1 +P 13300 4550 +F 0 "R?" V 13250 4700 50 0000 C CNN +F 1 "R_Small" V 13195 4550 50 0001 C CNN +F 2 "" H 13300 4550 50 0001 C CNN +F 3 "~" H 13300 4550 50 0001 C CNN + 1 13300 4550 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CE2C794 +P 13300 4450 +F 0 "R?" V 13250 4600 50 0000 C CNN +F 1 "R_Small" V 13195 4450 50 0001 C CNN +F 2 "" H 13300 4450 50 0001 C CNN +F 3 "~" H 13300 4450 50 0001 C CNN + 1 13300 4450 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CE2C4CB +P 13300 4350 +F 0 "R?" V 13250 4500 50 0000 C CNN +F 1 "R_Small" V 13195 4350 50 0001 C CNN +F 2 "" H 13300 4350 50 0001 C CNN +F 3 "~" H 13300 4350 50 0001 C CNN + 1 13300 4350 + 0 1 1 0 +$EndComp +Wire Wire Line + 12800 4250 13200 4250 +Wire Wire Line + 12800 4150 13200 4150 +$Comp +L Device:R_Small R? +U 1 1 5CE2A627 +P 13300 4250 +F 0 "R?" V 13250 4400 50 0000 C CNN +F 1 "R_Small" V 13195 4250 50 0001 C CNN +F 2 "" H 13300 4250 50 0001 C CNN +F 3 "~" H 13300 4250 50 0001 C CNN + 1 13300 4250 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CE29B53 +P 13300 4150 +F 0 "R?" V 13250 4300 50 0000 C CNN +F 1 "xxxk" V 13195 4150 50 0000 C CNN +F 2 "" H 13300 4150 50 0001 C CNN +F 3 "~" H 13300 4150 50 0001 C CNN + 1 13300 4150 + 0 1 1 0 +$EndComp +$Comp +L Connector_Generic:Conn_01x10 J? +U 1 1 5CE1C623 +P 14100 4450 +F 0 "J?" H 14050 5100 50 0000 L CNN +F 1 "led_out1" H 13950 5000 50 0000 L CNN +F 2 "" H 14100 4450 50 0001 C CNN +F 3 "~" H 14100 4450 50 0001 C CNN + 1 14100 4450 + 1 0 0 -1 +$EndComp +Text Label 13100 4850 2 50 ~ 0 +Q7 +Text Label 13100 4750 2 50 ~ 0 +Q6 +Text Label 13100 4650 2 50 ~ 0 +Q5 +Text Label 13100 4550 2 50 ~ 0 +Q4 +Text Label 13100 4450 2 50 ~ 0 +Q3 +Text Label 13100 4350 2 50 ~ 0 +Q2 +Text Label 13100 4250 2 50 ~ 0 +Q1 +Text Label 13100 4150 2 50 ~ 0 +Q0 +Wire Wire Line + 11400 4750 12000 4750 +Text Label 11500 4750 0 50 ~ 0 +SR_OE +Wire Wire Line + 11900 4450 11900 4000 +Wire Wire Line + 12000 4450 11900 4450 +$Comp +L power:+2V8 #PWR? +U 1 1 5CD7B602 +P 11900 4000 +F 0 "#PWR?" H 11900 3850 50 0001 C CNN +F 1 "+2V8" H 11915 4173 50 0000 C CNN +F 2 "" H 11900 4000 50 0001 C CNN +F 3 "" H 11900 4000 50 0001 C CNN + 1 11900 4000 + 1 0 0 -1 +$EndComp +Connection ~ 11800 4350 +Wire Wire Line + 11800 4650 12000 4650 +Wire Wire Line + 11800 4350 11800 4650 +Wire Wire Line + 12000 4350 11800 4350 +Text Label 10500 4350 2 50 ~ 0 +SCK +$Comp +L power:+2V8 #PWR? +U 1 1 5CD7834B +P 12400 3950 +F 0 "#PWR?" H 12400 3800 50 0001 C CNN +F 1 "+2V8" H 12415 4123 50 0000 C CNN +F 2 "" H 12400 3950 50 0001 C CNN +F 3 "" H 12400 3950 50 0001 C CNN + 1 12400 3950 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5CD76E19 +P 12400 5250 +F 0 "#PWR?" H 12400 5000 50 0001 C CNN +F 1 "GND" H 12405 5077 50 0000 C CNN +F 2 "" H 12400 5250 50 0001 C CNN +F 3 "" H 12400 5250 50 0001 C CNN + 1 12400 5250 + 1 0 0 -1 +$EndComp +$Comp +L 74xx:74HC596 U? +U 1 1 5CD713E9 +P 12400 4550 +F 0 "U?" H 12150 5150 50 0000 C CNN +F 1 "NPIC6C596A" H 12700 5150 50 0000 C CNN +F 2 "" H 12400 4550 50 0001 C CNN +F 3 "https://assets.nexperia.com/documents/data-sheet/NPIC6C596A.pdf" H 12400 4550 50 0001 C CNN + 1 12400 4550 + 1 0 0 -1 +$EndComp +Wire Wire Line + 10200 3850 10100 3850 +Connection ~ 10200 3850 +Wire Wire Line + 11400 5400 8950 5400 +Wire Wire Line + 8750 5400 8750 4950 +Wire Wire Line + 8750 4950 9100 4950 +Text Label 10500 3950 2 50 ~ 0 +APDS_INT +Text Label 10500 4050 2 50 ~ 0 +MPU_INT +Wire Wire Line + 10100 4050 10500 4050 +Wire Wire Line + 10500 3950 10100 3950 +Text Label 10500 4150 2 50 ~ 0 +IO1 +Text Label 10500 4250 2 50 ~ 0 +IO2 +Text Label 10500 4450 2 50 ~ 0 +IO3 +Text Label 10500 4850 2 50 ~ 0 +IO4 +Text Label 10500 4950 2 50 ~ 0 +IO5 +Wire Wire Line + 10100 4950 10500 4950 +Wire Wire Line + 10100 4850 10500 4850 +Wire Wire Line + 10500 4450 10100 4450 +Wire Wire Line + 10100 4250 10500 4250 +Wire Wire Line + 10500 4150 10100 4150 +$Comp +L Connector_Generic:Conn_01x08 J? +U 1 1 5CF5F998 +P 13150 6500 +F 0 "J?" H 13230 6492 50 0000 L CNN +F 1 "user_ext" H 13230 6401 50 0000 L CNN +F 2 "" H 13150 6500 50 0001 C CNN +F 3 "~" H 13150 6500 50 0001 C CNN + 1 13150 6500 + 1 0 0 -1 +$EndComp +Text Label 12350 6300 0 50 ~ 0 +IO1 +Text Label 12350 6400 0 50 ~ 0 +IO2 +Text Label 12350 6500 0 50 ~ 0 +IO3 +Text Label 12350 6600 0 50 ~ 0 +IO4 +Text Label 12350 6700 0 50 ~ 0 +IO5 +$Comp +L power:+2V8 #PWR? +U 1 1 5CF62A25 +P 12850 6100 +F 0 "#PWR?" H 12850 5950 50 0001 C CNN +F 1 "+2V8" H 12865 6273 50 0000 C CNN +F 2 "" H 12850 6100 50 0001 C CNN +F 3 "" H 12850 6100 50 0001 C CNN + 1 12850 6100 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5CF630B4 +P 12850 7050 +F 0 "#PWR?" H 12850 6800 50 0001 C CNN +F 1 "GND" H 12855 6877 50 0000 C CNN +F 2 "" H 12850 7050 50 0001 C CNN +F 3 "" H 12850 7050 50 0001 C CNN + 1 12850 7050 + 1 0 0 -1 +$EndComp +$Comp +L power:+VSW #PWR? +U 1 1 5CF67171 +P 12600 6100 +F 0 "#PWR?" H 12600 5950 50 0001 C CNN +F 1 "+VSW" H 12615 6273 50 0000 C CNN +F 2 "" H 12600 6100 50 0001 C CNN +F 3 "" H 12600 6100 50 0001 C CNN + 1 12600 6100 + 1 0 0 -1 +$EndComp +Wire Wire Line + 12950 6300 12350 6300 +Wire Wire Line + 12350 6400 12950 6400 +Wire Wire Line + 12950 6200 12850 6200 +Wire Wire Line + 12850 6200 12850 6100 +Wire Wire Line + 12600 6100 12600 6900 +Wire Wire Line + 12600 6900 12950 6900 +Wire Wire Line + 12950 6700 12350 6700 +Wire Wire Line + 12350 6600 12950 6600 +Wire Wire Line + 12950 6500 12350 6500 +Wire Wire Line + 12850 7050 12850 6800 +Wire Wire Line + 12850 6800 12950 6800 +Wire Wire Line + 13800 2150 13800 2050 +Connection ~ 13800 2150 +Wire Wire Line + 13800 2150 13900 2150 +Wire Wire Line + 13800 3050 13800 2150 +Wire Wire Line + 13900 3050 13800 3050 +$Comp +L power:+VSW #PWR? +U 1 1 5CF7EB08 +P 13800 2050 +F 0 "#PWR?" H 13800 1900 50 0001 C CNN +F 1 "+VSW" H 13815 2223 50 0000 C CNN +F 2 "" H 13800 2050 50 0001 C CNN +F 3 "" H 13800 2050 50 0001 C CNN + 1 13800 2050 + 1 0 0 -1 +$EndComp +Wire Wire Line + 13400 2950 13900 2950 +Wire Wire Line + 13900 2850 13400 2850 +Wire Wire Line + 13400 2750 13900 2750 +Wire Wire Line + 13900 2650 13400 2650 +Wire Wire Line + 13400 2550 13900 2550 +Wire Wire Line + 13900 2450 13400 2450 +Wire Wire Line + 13400 2350 13900 2350 +Wire Wire Line + 13900 2250 13400 2250 +Wire Wire Line + 12800 2450 13200 2450 +Wire Wire Line + 12800 2550 13200 2550 +Wire Wire Line + 12800 2650 13200 2650 +Wire Wire Line + 12800 2750 13200 2750 +Wire Wire Line + 12800 2850 13200 2850 +Wire Wire Line + 12800 2950 13200 2950 +$Comp +L Device:R_Small R? +U 1 1 5CF7EB22 +P 13300 2950 +F 0 "R?" V 13250 3100 50 0000 C CNN +F 1 "R_Small" V 13195 2950 50 0001 C CNN +F 2 "" H 13300 2950 50 0001 C CNN +F 3 "~" H 13300 2950 50 0001 C CNN + 1 13300 2950 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CF7EB2E +P 13300 2750 +F 0 "R?" V 13250 2900 50 0000 C CNN +F 1 "R_Small" V 13195 2750 50 0001 C CNN +F 2 "" H 13300 2750 50 0001 C CNN +F 3 "~" H 13300 2750 50 0001 C CNN + 1 13300 2750 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CF7EB3A +P 13300 2850 +F 0 "R?" V 13250 3000 50 0000 C CNN +F 1 "R_Small" V 13195 2850 50 0001 C CNN +F 2 "" H 13300 2850 50 0001 C CNN +F 3 "~" H 13300 2850 50 0001 C CNN + 1 13300 2850 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CF7EB46 +P 13300 2650 +F 0 "R?" V 13250 2800 50 0000 C CNN +F 1 "R_Small" V 13195 2650 50 0001 C CNN +F 2 "" H 13300 2650 50 0001 C CNN +F 3 "~" H 13300 2650 50 0001 C CNN + 1 13300 2650 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CF7EB52 +P 13300 2550 +F 0 "R?" V 13250 2700 50 0000 C CNN +F 1 "R_Small" V 13195 2550 50 0001 C CNN +F 2 "" H 13300 2550 50 0001 C CNN +F 3 "~" H 13300 2550 50 0001 C CNN + 1 13300 2550 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CF7EB5E +P 13300 2450 +F 0 "R?" V 13250 2600 50 0000 C CNN +F 1 "R_Small" V 13195 2450 50 0001 C CNN +F 2 "" H 13300 2450 50 0001 C CNN +F 3 "~" H 13300 2450 50 0001 C CNN + 1 13300 2450 + 0 1 1 0 +$EndComp +Wire Wire Line + 12800 2350 13200 2350 +Wire Wire Line + 12800 2250 13200 2250 +$Comp +L Device:R_Small R? +U 1 1 5CF7EB6C +P 13300 2350 +F 0 "R?" V 13250 2500 50 0000 C CNN +F 1 "R_Small" V 13195 2350 50 0001 C CNN +F 2 "" H 13300 2350 50 0001 C CNN +F 3 "~" H 13300 2350 50 0001 C CNN + 1 13300 2350 + 0 1 1 0 +$EndComp +$Comp +L Device:R_Small R? +U 1 1 5CF7EB78 +P 13300 2250 +F 0 "R?" V 13250 2400 50 0000 C CNN +F 1 "xxxk" V 13195 2250 50 0000 C CNN +F 2 "" H 13300 2250 50 0001 C CNN +F 3 "~" H 13300 2250 50 0001 C CNN + 1 13300 2250 + 0 1 1 0 +$EndComp +NoConn ~ 12800 3150 +Text Label 13100 2950 2 50 ~ 0 +Q7 +Text Label 13100 2850 2 50 ~ 0 +Q6 +Text Label 13100 2750 2 50 ~ 0 +Q5 +Text Label 13100 2650 2 50 ~ 0 +Q4 +Text Label 13100 2550 2 50 ~ 0 +Q3 +Text Label 13100 2450 2 50 ~ 0 +Q2 +Text Label 13100 2350 2 50 ~ 0 +Q1 +Text Label 13100 2250 2 50 ~ 0 +Q0 +Wire Wire Line + 11900 2550 11900 2100 +Wire Wire Line + 12000 2550 11900 2550 +$Comp +L power:+2V8 #PWR? +U 1 1 5CF7EBA4 +P 11900 2100 +F 0 "#PWR?" H 11900 1950 50 0001 C CNN +F 1 "+2V8" H 11915 2273 50 0000 C CNN +F 2 "" H 11900 2100 50 0001 C CNN +F 3 "" H 11900 2100 50 0001 C CNN + 1 11900 2100 + 1 0 0 -1 +$EndComp +Wire Wire Line + 11800 2750 12000 2750 +Wire Wire Line + 11800 2450 11800 2750 +Wire Wire Line + 12000 2450 11800 2450 +$Comp +L power:+2V8 #PWR? +U 1 1 5CF7EBB3 +P 12400 2050 +F 0 "#PWR?" H 12400 1900 50 0001 C CNN +F 1 "+2V8" H 12415 2223 50 0000 C CNN +F 2 "" H 12400 2050 50 0001 C CNN +F 3 "" H 12400 2050 50 0001 C CNN + 1 12400 2050 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5CF7EBBE +P 12400 3350 +F 0 "#PWR?" H 12400 3100 50 0001 C CNN +F 1 "GND" H 12405 3177 50 0000 C CNN +F 2 "" H 12400 3350 50 0001 C CNN +F 3 "" H 12400 3350 50 0001 C CNN + 1 12400 3350 + 1 0 0 -1 +$EndComp +$Comp +L 74xx:74HC596 U? +U 1 1 5CF7EBD8 +P 12400 2650 +F 0 "U?" H 12150 3250 50 0000 C CNN +F 1 "NPIC6C596A" H 12700 3250 50 0000 C CNN +F 2 "" H 12400 2650 50 0001 C CNN +F 3 "https://assets.nexperia.com/documents/data-sheet/NPIC6C596A.pdf" H 12400 2650 50 0001 C CNN + 1 12400 2650 + 1 0 0 -1 +$EndComp +Text Label 11500 2850 0 50 ~ 0 +SR_OE +Wire Wire Line + 11400 2850 12000 2850 +Wire Wire Line + 10100 4550 11500 4550 +Wire Wire Line + 12000 4150 11500 4150 +Wire Wire Line + 11500 4150 11500 4550 +Text Label 10500 4550 2 50 ~ 0 +MOSI +Connection ~ 11800 2750 +Wire Wire Line + 11300 4350 11800 4350 +Text Label 11500 2750 0 50 ~ 0 +SCK +Text Label 11600 4350 0 50 ~ 0 +SCK +Text Label 11500 2250 0 50 ~ 0 +DSTAGE2 +Text Label 13200 5050 2 50 ~ 0 +DSTAGE2 +Wire Wire Line + 11400 2850 11400 4750 +Connection ~ 11400 4750 +Wire Wire Line + 11400 4750 11400 5400 +Wire Wire Line + 11800 2750 11300 2750 +Wire Wire Line + 10100 4350 10900 4350 +Wire Wire Line + 11300 2750 11300 4350 +Connection ~ 11300 4350 +Wire Wire Line + 13300 5050 13300 5550 +Wire Wire Line + 13300 5550 11200 5550 +Wire Wire Line + 11200 5550 11200 2250 +Wire Wire Line + 11200 2250 12000 2250 +Wire Wire Line + 12800 5050 13300 5050 +Text Label 8750 4650 0 50 ~ 0 +IO6 +Text Label 8750 4750 0 50 ~ 0 +IO7 +Wire Wire Line + 8750 4750 9100 4750 +Wire Wire Line + 8750 4650 9100 4650 +$Comp +L Connector_Generic:Conn_01x04 J? +U 1 1 5D00852C +P 11400 7250 +F 0 "J?" H 11318 7567 50 0000 C CNN +F 1 "user_ext2" H 11318 7476 50 0000 C CNN +F 2 "" H 11400 7250 50 0001 C CNN +F 3 "~" H 11400 7250 50 0001 C CNN + 1 11400 7250 + 1 0 0 -1 +$EndComp +$Comp +L power:+VSW #PWR? +U 1 1 5D009596 +P 11050 7050 +F 0 "#PWR?" H 11050 6900 50 0001 C CNN +F 1 "+VSW" H 11065 7223 50 0000 C CNN +F 2 "" H 11050 7050 50 0001 C CNN +F 3 "" H 11050 7050 50 0001 C CNN + 1 11050 7050 + 1 0 0 -1 +$EndComp +Wire Wire Line + 11200 7150 11050 7150 +Wire Wire Line + 11050 7150 11050 7050 +$Comp +L power:GND #PWR? +U 1 1 5D015970 +P 11050 7600 +F 0 "#PWR?" H 11050 7350 50 0001 C CNN +F 1 "GND" H 11055 7427 50 0000 C CNN +F 2 "" H 11050 7600 50 0001 C CNN +F 3 "" H 11050 7600 50 0001 C CNN + 1 11050 7600 + 1 0 0 -1 +$EndComp +Wire Wire Line + 11050 7600 11050 7450 +Wire Wire Line + 11050 7450 11200 7450 +Wire Wire Line + 10900 7350 11200 7350 +Wire Wire Line + 10900 7250 11200 7250 +Text Label 10900 7250 0 50 ~ 0 +IO6 +Text Label 10900 7350 0 50 ~ 0 +IO7 +$Comp +L Connector:TestPoint_Alt TP? +U 1 1 5D01DFF0 +P 5100 4750 +F 0 "TP?" H 5158 4868 50 0000 L CNN +F 1 "VLogic" H 5158 4777 50 0000 L CNN +F 2 "TestPoint:TestPoint_Pad_D1.5mm" H 5300 4750 50 0001 C CNN +F 3 "~" H 5300 4750 50 0001 C CNN + 1 5100 4750 + 1 0 0 -1 +$EndComp +$Comp +L Connector:TestPoint_Alt TP? +U 1 1 5D01FB8D +P 3050 3850 +F 0 "TP?" H 3108 3968 50 0000 L CNN +F 1 "Vbat" H 3108 3877 50 0000 L CNN +F 2 "TestPoint:TestPoint_Pad_D1.5mm" H 3250 3850 50 0001 C CNN +F 3 "~" H 3250 3850 50 0001 C CNN + 1 3050 3850 + 1 0 0 -1 +$EndComp +Connection ~ 3050 3850 +$Comp +L Connector:TestPoint_Alt TP? +U 1 1 5D022B36 +P 10250 6000 +F 0 "TP?" H 10308 6118 50 0000 L CNN +F 1 "SCL" H 10308 6027 50 0000 L CNN +F 2 "TestPoint:TestPoint_Pad_D1.5mm" H 10450 6000 50 0001 C CNN +F 3 "~" H 10450 6000 50 0001 C CNN + 1 10250 6000 + 1 0 0 -1 +$EndComp +Connection ~ 10250 6000 +Wire Wire Line + 10250 6000 10850 6000 +Text Label 10500 4650 2 50 ~ 0 +SCL +Text Label 10500 4750 2 50 ~ 0 +SDA +$Comp +L Connector:TestPoint_Alt TP? +U 1 1 5D02659D +P 10250 6100 +F 0 "TP?" H 10308 6218 50 0000 L CNN +F 1 "SDA" H 10308 6127 50 0000 L CNN +F 2 "TestPoint:TestPoint_Pad_D1.5mm" H 10450 6100 50 0001 C CNN +F 3 "~" H 10450 6100 50 0001 C CNN + 1 10250 6100 + -1 0 0 1 +$EndComp +Connection ~ 10250 6100 +Wire Wire Line + 10250 6100 10750 6100 +$Comp +L Connector:TestPoint_Alt TP? +U 1 1 5D0270B0 +P 3750 5350 +F 0 "TP?" H 3808 5468 50 0000 L CNN +F 1 "GND" H 3808 5377 50 0000 L CNN +F 2 "TestPoint:TestPoint_Pad_D1.5mm" H 3950 5350 50 0001 C CNN +F 3 "~" H 3950 5350 50 0001 C CNN + 1 3750 5350 + 1 0 0 -1 +$EndComp +Connection ~ 3750 5350 +Wire Wire Line + 3750 5350 4400 5350 +$Comp +L Connector:TestPoint_Alt TP? +U 1 1 5D029781 +P 8950 5400 +F 0 "TP?" H 9008 5518 50 0000 L CNN +F 1 "SR_OE" H 9008 5427 50 0000 L CNN +F 2 "TestPoint:TestPoint_Pad_D1.5mm" H 9150 5400 50 0001 C CNN +F 3 "~" H 9150 5400 50 0001 C CNN + 1 8950 5400 + 1 0 0 -1 +$EndComp +Connection ~ 8950 5400 +Wire Wire Line + 8950 5400 8750 5400 +$Comp +L Connector:TestPoint_Alt TP? +U 1 1 5D0351D0 +P 11500 4150 +F 0 "TP?" H 11558 4268 50 0000 L CNN +F 1 "MOSI" H 11450 4350 50 0000 L CNN +F 2 "TestPoint:TestPoint_Pad_D1.5mm" H 11700 4150 50 0001 C CNN +F 3 "~" H 11700 4150 50 0001 C CNN + 1 11500 4150 + 1 0 0 -1 +$EndComp +Connection ~ 11500 4150 +Text Label 11600 4150 0 50 ~ 0 +MOSI +$Comp +L Connector:TestPoint_Alt TP? +U 1 1 5D03744D +P 10900 4350 +F 0 "TP?" H 10958 4468 50 0000 L CNN +F 1 "SCK" H 10850 4550 50 0000 L CNN +F 2 "TestPoint:TestPoint_Pad_D1.5mm" H 11100 4350 50 0001 C CNN +F 3 "~" H 11100 4350 50 0001 C CNN + 1 10900 4350 + 1 0 0 -1 +$EndComp +Connection ~ 10900 4350 +Wire Wire Line + 10900 4350 11300 4350 +$Comp +L Connector_Generic:Conn_01x10 J? +U 1 1 5CF7EB8C +P 14100 2550 +F 0 "J?" H 14100 3200 50 0000 C CNN +F 1 "led_out2" H 14100 3100 50 0000 C CNN +F 2 "" H 14100 2550 50 0001 C CNN +F 3 "~" H 14100 2550 50 0001 C CNN + 1 14100 2550 + 1 0 0 -1 +$EndComp +$Comp +L Device:C_Small C? +U 1 1 5D059CA6 +P 7050 3900 +F 0 "C?" H 7142 3946 50 0000 L CNN +F 1 "10u" H 7142 3855 50 0000 L CNN +F 2 "Capacitors_SMD:C_0603_HandSoldering" H 7050 3900 50 0001 C CNN +F 3 "~" H 7050 3900 50 0001 C CNN + 1 7050 3900 + 1 0 0 -1 +$EndComp +$Comp +L Device:C_Small C? +U 1 1 5D05A0BA +P 7400 3900 +F 0 "C?" H 7492 3946 50 0000 L CNN +F 1 "10u" H 7492 3855 50 0000 L CNN +F 2 "Capacitors_SMD:C_0603_HandSoldering" H 7400 3900 50 0001 C CNN +F 3 "~" H 7400 3900 50 0001 C CNN + 1 7400 3900 + 1 0 0 -1 +$EndComp +Wire Wire Line + 7400 3450 7400 3800 +Connection ~ 7400 3450 +Wire Wire Line + 7400 3450 7500 3450 +Wire Wire Line + 7400 4000 7400 4350 +Wire Wire Line + 7400 4350 7050 4350 +Connection ~ 7050 4350 +$Comp +L Device:R_Small R? +U 1 1 5D06F9A4 +P 5850 3850 +F 0 "R?" V 5654 3850 50 0000 C CNN +F 1 "1M5" V 5745 3850 50 0000 C CNN +F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 5850 3850 50 0001 C CNN +F 3 "~" H 5850 3850 50 0001 C CNN + 1 5850 3850 + 1 0 0 1 +$EndComp +Wire Wire Line + 5850 3950 5850 4000 +Connection ~ 5850 4000 +Wire Wire Line + 5850 4000 6050 4000 +Wire Wire Line + 5600 3450 5850 3450 +$Comp +L Device:Jumper_NO_Small JP? +U 1 1 5D080B43 +P 6050 3650 +F 0 "JP?" H 6200 3600 50 0000 R CNN +F 1 "5V" H 6200 3700 50 0000 R CNN +F 2 "" H 6050 3650 50 0001 C CNN +F 3 "~" H 6050 3650 50 0001 C CNN + 1 6050 3650 + 0 -1 -1 0 +$EndComp +$Comp +L Device:Jumper_NO_Small JP? +U 1 1 5D080F0F +P 6250 3650 +F 0 "JP?" V 6300 3600 50 0000 R CNN +F 1 "12V" V 6200 3600 50 0000 R CNN +F 2 "" H 6250 3650 50 0001 C CNN +F 3 "~" H 6250 3650 50 0001 C CNN + 1 6250 3650 + 0 -1 -1 0 +$EndComp +Wire Wire Line + 6050 3550 6050 3450 +Connection ~ 6050 3450 +Wire Wire Line + 6050 3450 6250 3450 +Wire Wire Line + 5850 3550 5850 3450 +Connection ~ 5850 3450 +Wire Wire Line + 5850 3450 6050 3450 +Wire Wire Line + 6250 3550 6250 3450 +Connection ~ 6250 3450 +Wire Wire Line + 6250 3450 6700 3450 +$Comp +L Device:Jumper_NC_Small JP? +U 1 1 5D083CFC +P 5850 3650 +F 0 "JP?" V 5900 3850 50 0000 R CNN +F 1 "3V9" V 5800 3850 50 0000 R CNN +F 2 "" H 5850 3650 50 0001 C CNN +F 3 "~" H 5850 3650 50 0001 C CNN + 1 5850 3650 + 0 -1 -1 0 +$EndComp +$EndSCHEMATC diff --git a/card_base/sym-lib-table b/card_base/sym-lib-table new file mode 100644 index 0000000..1fc7f39 --- /dev/null +++ b/card_base/sym-lib-table @@ -0,0 +1,4 @@ +(sym_lib_table + (lib (name "symbols")(type "Legacy")(uri "${KIPRJMOD}/symbols.lib")(options "")(descr "")) + (lib (name "card_base-rescue")(type "Legacy")(uri "${KIPRJMOD}/card_base-rescue.lib")(options "")(descr "")) +) diff --git a/card_base/symbols.dcm b/card_base/symbols.dcm new file mode 100644 index 0000000..853a139 --- /dev/null +++ b/card_base/symbols.dcm @@ -0,0 +1,13 @@ +EESchema-DOCLIB Version 2.0 +# +$CMP AP2138 +D Diodes Inc AP2138 Ultra low Iq CMOS LDO +F https://www.diodes.com/assets/Datasheets/AP2138_9.pdf +$ENDCMP +# +$CMP APDS9960 +D Avago/Broadcom APDS9960 gesture/proximity/ambient light sensor +F https://cdn.sparkfun.com/assets/learn_tutorials/3/2/1/Avago-APDS-9960-datasheet.pdf +$ENDCMP +# +#End Doc Library diff --git a/card_base/symbols.lib b/card_base/symbols.lib new file mode 100644 index 0000000..cf7565b --- /dev/null +++ b/card_base/symbols.lib @@ -0,0 +1,39 @@ +EESchema-LIBRARY Version 2.4 +#encoding utf-8 +# +# AP2138 +# +DEF AP2138 U 0 40 Y Y 1 F N +F0 "U" 0 250 50 H V C CNN +F1 "AP2138" 0 150 50 H V C CNN +F2 "TO_SOT_Packages_SMD:SOT-23_Handsoldering" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +S -300 -300 300 100 0 1 0 f +X GND 1 0 -500 200 U 50 50 0 0 W +X Vout 2 500 0 200 L 50 50 0 0 w +X Vin 3 -500 0 200 R 50 50 0 0 W +ENDDRAW +ENDDEF +# +# APDS9960 +# +DEF APDS9960 U 0 40 Y Y 1 F N +F0 "U" 0 750 50 H V C CNN +F1 "APDS9960" 0 650 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +S -300 -200 300 300 0 1 0 f +X SDA 1 -500 200 200 R 50 50 0 0 B +X INT 2 -500 -100 200 R 50 50 0 0 C +X LDR 3 500 -100 200 L 50 50 0 0 w +X LEDK 4 500 0 200 L 50 50 0 0 P +X LEDA 5 500 100 200 L 50 50 0 0 P +X GND 6 0 -400 200 U 50 50 0 0 W +X SCL 7 -500 100 200 R 50 50 0 0 B +X VDD 8 0 500 200 D 50 50 0 0 W +ENDDRAW +ENDDEF +# +#End Library |