diff --git a/Week_11.html b/Week_11.html index ddf57a27360daeff486569e77051466608b30177..92babedcad7411ffd17ca95a0e1cf3fedaed6a1c 100644 --- a/Week_11.html +++ b/Week_11.html @@ -104,28 +104,19 @@ </div> <div class="row"> <div class="col-lg-12 text-center"> - <h1> <em>The DS18B20 digital thermometer</em> </h1> <p class="text-justify"> For this assignment i’ll be using the DS18B20 submersible digital thermometer. The full characteristics can be found in the <a href="https://datasheets.maximintegrated.com/en/ds/DS18B20.pdf" target="_blank">datasheet</a>. Here are the main characteristics: </p> <!-- <hr class="star-light-blue"> --> </div> + <div class="col-md-4"> - <section class="images" id="images"> - <div class="portfolio-item"> - <a href="#sensorModal" class="portfolio-link" data-toggle="modal"> - <div class="caption"> - <div class="caption-content"> - <i class="fa fa-2x"> Click to Enlarge </i> - </div> - </div> - <img src="img/Week_11/ds18b20-cables-tipo-a.jpg" class="img-responsive center-block" alt="Atom"> - <figcaption> DS18B20 digital thermometer - </figcaption> - </a> - </div> - </section> + <section class="images" id="images"> + <img src="img/Week_11/ds18b20-cables-tipo-a.jpg" class="img-responsive" alt="Atom"> + <figcaption> Figure 1 - Cables for sensor type A </figcaption> + </section> </div> + <div class="text-justify col-md-8"> <br> <ul> @@ -134,7 +125,7 @@ </li> <li> Available in 8-Pin SO (150 mils), 8-Pin μSOP, and 3-Pin TO-92 packages.<span class=" text-info"> - Figure 1</span> + Figure 2</span> </li> <li> Alarm function with nonvolatile user-programmable upper and lower trigger points @@ -147,7 +138,7 @@ Parasitic power mode requires only 2 pins for operation (DQ and GND) </li> <li> - Measures temperatures from -55°C to +125°C ±0.5°C accuracy from -10°C to +85°C, ±2°C accuracy below or above the aforementioned range. <span class="text-info">Figure 2</span> + Measures temperatures from -55°C to +125°C ±0.5°C accuracy from -10°C to +85°C, ±2°C accuracy below or above the aforementioned range. <span class="text-info">Figure 3</span> </li> </ul> @@ -155,147 +146,350 @@ </div> </div> - <div class="row"> - <div class="col-lg-6"> - <section class="images" id="images"> - <div class="portfolio-item"> - <a href="#portfolioModal1" class="portfolio-link" data-toggle="modal"> - <div class="caption"> - <div class="caption-content"> - <i class="fa fa-2x"> Click to Enlarge </i> - </div> - </div> - <img src="img/Week_11/encapsulados-ds18b20.png" class="img-responsive center-block" alt="Atom"> - <figcaption> Figure 1 - Packages </figcaption> - </a> + + <div class="col-lg-12"> + + + <div class="col-lg-6"> + <section class="images" id="images"> + <img src="img/Week_11/encapsulados-ds18b20.png" class="img-responsive" alt="Atom"> + <figcaption> Figure 2 - DS18B20 Packages </figcaption> + </section> + </div> + + <div class="col-lg-6"> + <section class="images" id="images"> <br> <br> + <img src="img/Week_11/error-ds18b20.png" class="img-responsive" alt="Atom"> + <figcaption> Figure 3 - Temperature Measurement errors </figcaption> + </section> + </div> + + </div> + + <div class="col-lg-12"> + <p align="left" style="font-size:25px"><u> <br> PCB Design </u> </p> + + <p class="text-justify"> To design the board that will control the temperature sensor I choose an <a href="http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-2586-AVR-8-bit-Microcontroller-ATtiny25-ATtiny45-ATtiny85_Datasheet.pdf"> + Attiny 85</a>. The Attiny85 provides an 8 Kb of in-system programable flash, 512 bytes EEPROM, 256 bytes SRAM and 6 I/O lines. The board have a + SPI Header and FTDI. To connect the temperature sensor the board has a 6-pin header (only 3 will be used: Vcc, GND and DQ according to the Figure 1). + This sensor and its libraries require a resistance in a range of 4.7 K<span>Ω</span> to 10 k<span>Ω</span> (this value depends of the wire length) between the Vcc and Data wire. + That´s why a 4.99 K<span>Ω</span> resistance is included in the PCB. <br> + The PCB was designed in Eagle following the procedure explained in <a href="Week_7.html">Week 7</a> assignment. The schematic and the board can be seen + in Figures 4 and 5. </p> + </div> + + <!-- Imagen y modal Eagle_1 --> + + <div class="col-lg-6"> + <section class="images" id="images"> + <div class="portfolio-item"> + <a href="#Eagle_1Modal" class="portfolio-link" data-toggle="modal"> + <div class="caption"> + <div class="caption-content"> + <i class="fa fa-2x"> Click to Enlarge </i> + </div> + </div> + <img src="img/Week_11/Eagle_1.jpg" class="img-responsive" alt="Atom"> + <figcaption> Figure 4 - PCB Schematic file for DS18B20 temperature sensor </figcaption> + </a> + </div> + </section> + </div> + + + + +<div class="portfolio-modal modal fade" id="Eagle_1Modal" tabindex="-1" role="dialog" aria-hidden="true"> + <div class="modal-content"> + <div class="close-modal" data-dismiss="modal"> + <div class="lr"> + <div class="rl"> </div> - </section> + </div> </div> - <div class="col-lg-6"> - <section class="images" id="images"> - <div class="portfolio-item"> - <a href="#portfolioModal2" class="portfolio-link" data-toggle="modal"> - <div class="caption"> - <div class="caption-content"> - <i class="fa fa-2x"> Click to Enlarge </i> - </div> + <div class="container"> + <div class="row"> + <div class="col-lg-12 col-md-10"> + <div class="modal-body"> + <img src="img/Week_11/Eagle_1.jpg" class="img-responsive" alt="Atom" style="width:100%; height:auto"> + <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> + </div> </div> - <img src="img/Week_11/error-ds18b20.png" class="img-responsive center-block" alt="Atom"> - <figcaption> Figure 2 - Temperature Measurement errors</figcaption> - </a> - </div> - </section> + </div> </div> </div> + </div> +<!-- END Imagen y modal Eagle_1 --> +<!-- Imagen y modal Eagle_2 --> - <!-- <div class="row"> - <div class="col-lg-12 col-lg-offset-1"> - <p align="justify"> Wait for it!!</p> + <div class="col-lg-6"> + <section class="images" id="images"> + <div class="portfolio-item"> + <a href="#Eagle_2Modal" class="portfolio-link" data-toggle="modal"> + <div class="caption"> + <div class="caption-content"> + <i class="fa fa-2x"> Click to Enlarge </i> + </div> + </div> + <img src="img/Week_11/Eagle_2.jpg" class="img-responsive" alt="Atom"> + <figcaption> Figure 5 - PCB Board file for DS18B20 temperature sensor </figcaption> + </a> + </div> + </section> + </div> + + + + +<div class="portfolio-modal modal fade" id="Eagle_2Modal" tabindex="-1" role="dialog" aria-hidden="true"> + <div class="modal-content"> + <div class="close-modal" data-dismiss="modal"> + <div class="lr"> + <div class="rl"> + </div> + </div> </div> - <div class="col-lg-5"> - <p align="justify"></p> + <div class="container"> + <div class="row"> + <div class="col-lg-12 col-md-10"> + <div class="modal-body"> + <img src="img/Week_11/Eagle_2.jpg" class="img-responsive" alt="Atom" style="width:100%; height:auto"> + <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> + </div> + </div> + </div> </div> - </div> --> + </div> + </div> - <!-- Imagen y modal arduino --> +<!-- END Imagen y modal Eagle_2 --><!-------------------------> - <div class="col-lg-6"> - <section class="images" id="images"> - <div class="portfolio-item"> - <a href="#arduinoModal" class="portfolio-link" data-toggle="modal"> - <div class="caption"> - <div class="caption-content"> - <i class="fa fa-2x"> Click to Enlarge </i> - </div> - </div> - <img src="img/Week_11/arduino.jpg" class="img-responsive" alt="Atom"> - <figcaption> </figcaption> - </a> - </div> - </section> +<div class="col-lg-12"> + <p class="text-justify"> The routes in the board file were done manually using track width of 24 mil and bending style 0 (90 degrees turn), a PNG file is obtained and use to the + PCB production. Following the procedure of electronics production of <a href="Week_5.html"> Week 5 </a> and <a href="Week_7.html"> Week 7 </a>the PCB was milled and solder. The final result is showed + in the figure 8.</p> +</div> + + + +<!-- Imagen y modal PBC_2 --> + + <div class="col-lg-offset-1 col-lg-4"> + <section class="images" id="images"> + <div class="portfolio-item"> + <a href="#PBC_2Modal" class="portfolio-link" data-toggle="modal"> + <div class="caption"> + <div class="caption-content"> + <i class="fa fa-2x"> Click to Enlarge </i> + </div> + </div> + <img src="img/Week_11/PBC_2.png" class="img-responsive" alt="Atom"> + <figcaption> Figure 6 - PCB Traces for DS18B20 Temperature sensor </figcaption> + </a> + </div> + </section> + </div> + + + +<div class="portfolio-modal modal fade" id="PBC_2Modal" tabindex="-1" role="dialog" aria-hidden="true"> + <div class="modal-content"> + <div class="close-modal" data-dismiss="modal"> + <div class="lr"> + <div class="rl"> + </div> + </div> + </div> + <div class="container"> + <div class="row"> + <div class="col-lg-12 col-md-10"> + <div class="modal-body"> + <img src="img/Week_11/PBC_2.png" class="img-responsive" alt="Atom" style="width:100%; height:auto"> + <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> + </div> </div> + </div> + </div> + </div> + </div> +<!-- END Imagen y modal PBC_2 --> +<!-- Imagen y modal files --> - <div class="portfolio-modal modal fade" id="arduinoModal" tabindex="-1" role="dialog" aria-hidden="true"> - <div class="modal-content"> - <div class="close-modal" data-dismiss="modal"> - <div class="lr"> - <div class="rl"> - </div> - </div> - </div> - <div class="container"> - <div class="row"> - <div class="col-lg-12 col-md-10"> - <div class="modal-body"> - <img src="img/Week_11/arduino.jpg" class="img-responsive" alt="Atom" style="width:100%; height:auto"> - <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> - </div> - </div> - </div> - </div> +<div class="col-lg-offset-1 col-lg-6"> + <section class="images" id="images"> + <div class="portfolio-item"> + <a href="#filesModal" class="portfolio-link" data-toggle="modal"> + <div class="caption"> + <div class="caption-content"> + <i class="fa fa-2x"> Click to Enlarge </i> + </div> + </div> + <img src="img/Week_11/files.png" class="img-responsive" alt="Atom"> + <figcaption> Figure 7 - PCB Production in Fabmodules </figcaption> + </a> + </div> +</section> +</div> + + + +<div class="portfolio-modal modal fade" id="filesModal" tabindex="-1" role="dialog" aria-hidden="true"> +<div class="modal-content"> + <div class="close-modal" data-dismiss="modal"> + <div class="lr"> + <div class="rl"> + </div> + </div> + </div> + <div class="container"> + <div class="row"> + <div class="col-lg-12 col-md-10"> + <div class="modal-body"> + <img src="img/Week_11/files.png" class="img-responsive" alt="Atom" style="width:100%; height:auto"> + <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> + </div> + </div> + </div> + </div> +</div> +</div> + +<!-- END Imagen y modal files --> + + +<!-- Imagen y modal board-soldada --> + + <div class="col-lg-offset-3 col-lg-6"> + <section class="images" id="images"> + <div class="portfolio-item"> + <a href="#board-soldadaModal" class="portfolio-link" data-toggle="modal"> + <div class="caption"> + <div class="caption-content"> + <i class="fa fa-2x"> Click to Enlarge </i> </div> </div> + <img src="img/Week_11/board-soldada.jpg" class="img-responsive" alt="Atom"> + <figcaption> Figure 8 - Finished PCB </figcaption> + </a> + </div> + </section> + </div> + - <!-- END Imagen y modal arduino --> - <!-- Imagen y modal board-soldada --> - - <div class="col-lg-6"> - <section class="images" id="images"> - <div class="portfolio-item"> - <a href="#board-soldadaModal" class="portfolio-link" data-toggle="modal"> - <div class="caption"> - <div class="caption-content"> - <i class="fa fa-2x"> Click to Enlarge </i> - </div> - </div> - <img src="img/Week_11/board-soldada.jpg" class="img-responsive" alt="Atom"> - <figcaption> </figcaption> - </a> + + <div class="portfolio-modal modal fade" id="board-soldadaModal" tabindex="-1" role="dialog" aria-hidden="true"> + <div class="modal-content"> + <div class="close-modal" data-dismiss="modal"> + <div class="lr"> + <div class="rl"> + </div> + </div> + </div> + <div class="container"> + <div class="row"> + <div class="col-lg-12 col-md-10"> + <div class="modal-body"> + <img src="img/Week_11/board-soldada.jpg" class="img-responsive" alt="Atom" style="width:100%; height:auto"> + <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> + </div> </div> - </section> - </div> + </div> + </div> + </div> + </div> + <!-- END Imagen y modal board-soldada --> - <div class="portfolio-modal modal fade" id="board-soldadaModal" tabindex="-1" role="dialog" aria-hidden="true"> - <div class="modal-content"> - <div class="close-modal" data-dismiss="modal"> - <div class="lr"> - <div class="rl"> - </div> - </div> - </div> - <div class="container"> - <div class="row"> - <div class="col-lg-12 col-md-10"> - <div class="modal-body"> - <img src="img/Week_11/board-soldada.jpg" class="img-responsive" alt="Atom" style="width:100%; height:auto"> - <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> - </div> + + + <div class="col-lg-12"> + <p align="left" style="font-size:25px"><u> <br> Testing the sensor with Arduino </u> </p> + + <p class="text-justify"> + Before to use the sensor with the PCB, is a good idea to test its function with Arduino and a + breadboard. As it was mentioned before the DS18B20 sensor has to modes of power supply: parasitic power mode and + local power supply. For the Arduino test the local power supply was used (Figure x and x), because is the power supply mode that’s going + to work in the PCB. + </p> + </div> + + <div class="col-lg-12"> + + + <!-- Imagen y modal arduino --> + + <div class="col-lg-6"> + <section class="images" id="images"> <br> <br> <br> + <img src="img/Week_11/arduino_2.jpg" class="img-responsive" alt="Atom"> + <figcaption> Figure 9 - Schematic of conection with arduino </figcaption> + </section> + </div> + + + <div class="col-lg-6"> + <section class="images" id="images"> + <div class="portfolio-item"> + <a href="#arduinoModal" class="portfolio-link" data-toggle="modal"> + <div class="caption"> + <div class="caption-content"> + <i class="fa fa-2x"> Click to Enlarge </i> </div> - </div> - </div> - </div> + </div> + <img src="img/Week_11/arduino.jpg" class="img-responsive" alt="Atom"> + <figcaption> Fig 10 - Arduino Testing </figcaption> + </a> + </div> + </section> + </div> + + + <div class="portfolio-modal modal fade" id="arduinoModal" tabindex="-1" role="dialog" aria-hidden="true"> + <div class="modal-content"> + <div class="close-modal" data-dismiss="modal"> + <div class="lr"> + <div class="rl"> + </div> + </div> + </div> + <div class="container"> + <div class="row"> + <div class="col-lg-12 col-md-10"> + <div class="modal-body"> + <img src="img/Week_11/arduino.jpg" class="img-responsive" alt="Atom" style="width:100%; height:auto"> + <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> + </div> + </div> + </div> + </div> + </div> </div> - <!-- END Imagen y modal board-soldada --> + <!-- Imagen y modal arduino --> + + <div class="col-lg-12"> + <p class="text-justify"> + The Arduino code for the sensor is very simple thanks to the use of two libraries: <a href="https://github.com/PaulStoffregen/OneWire"> One Wire </a> + and <a href="https://github.com/milesburton/Arduino-Temperature-Control-Library">Dallas temperature</a>. After Installing the libraries the code is: + </p> + </div> - <!-- Imagen y modal files --> + <!-- Imagen y modal arduino_3 --> <div class="col-lg-6"> <section class="images" id="images"> <div class="portfolio-item"> - <a href="#filesModal" class="portfolio-link" data-toggle="modal"> + <a href="#arduino_3Modal" class="portfolio-link" data-toggle="modal"> <div class="caption"> <div class="caption-content"> <i class="fa fa-2x"> Click to Enlarge </i> </div> </div> - <img src="img/Week_11/files.png" class="img-responsive" alt="Atom"> - <figcaption> </figcaption> + <img src="img/Week_11/arduino_3.jpg" class="img-responsive" alt="Atom"> + <figcaption> Fig 11 - Code in Arduino IDE </figcaption> </a> </div> </section> @@ -303,7 +497,8 @@ -<div class="portfolio-modal modal fade" id="filesModal" tabindex="-1" role="dialog" aria-hidden="true"> + +<div class="portfolio-modal modal fade" id="arduino_3Modal" tabindex="-1" role="dialog" aria-hidden="true"> <div class="modal-content"> <div class="close-modal" data-dismiss="modal"> <div class="lr"> @@ -315,7 +510,7 @@ <div class="row"> <div class="col-lg-12 col-md-10"> <div class="modal-body"> - <img src="img/Week_11/files.png" class="img-responsive" alt="Atom" style="width:100%; height:auto"> + <img src="img/Week_11/arduino_3.jpg" class="img-responsive" alt="Atom" style="width:100%; height:auto"> <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> </div> </div> @@ -324,20 +519,49 @@ </div> </div> -<!-- END Imagen y modal files --> -<!-- Imagen y modal PBC_2 --> +<!-- END Imagen y modal arduino_3 --><!-------------------------> + + +<!-- Video 1 ============================== --> + <div class="col-lg-6"> <br> +<iframe class="center-block" width="560" height="315" src="https://www.youtube.com/embed/twCcC-Zu46w" frameborder="0" allowfullscreen></iframe> +</div> +<!-- Video 1 ============================== --> + +<div class="col-lg-12"> + <p class="text-justify"> After testing the sensor with Arduino and comparing with the IR thermometer (Video) + I can say as a conclusion that this sensor offers a very good reading for temperatures. </p> +</div> + +<div class="col-lg-12"> + <p align="left" style="font-size:25px"><u> <br> Controling the sensor with Attiny 85 </u> </p> + + <p class="text-justify">To program the Attiny85 to control and read the temperature values from sensor there’s two options: + 1) Find specific libraries for the MCU and write a program with Atmel or 2) use Arduino as ISP and use the same code from the sensor testing. <br> + The use of libraries is very important for me because I don’t have the experience or the enough knowledge to write them or to program to use the characteristics + of the sensor. I really hope some day to have the knowledge and the expertise to do it. For now, I must use libraries. <br> <br> + One the libraries that I found was the <a href="https://github.com/nickandrew/avr-onewire"> avr-onewire </a> by nick Andrew. After download the library I tried one of + the test program that is include in the library, but after connecting the ATMEL-ICE Programmer and the FTDI cable + (Figure 12, according to the procedure described in <a href="Week_9.html"> Week 9 </a>) I got an error message (Figure 13). After this error I checked + the connections and everything was fine, so I decided to try programming the board with Arduino. + </p> +</div> + + + +<!-- Imagen y modal Atmel_2 --> <div class="col-lg-6"> <section class="images" id="images"> <div class="portfolio-item"> - <a href="#PBC_2Modal" class="portfolio-link" data-toggle="modal"> + <a href="#Atmel_2Modal" class="portfolio-link" data-toggle="modal"> <div class="caption"> <div class="caption-content"> <i class="fa fa-2x"> Click to Enlarge </i> </div> </div> - <img src="img/Week_11/PBC_2.png" class="img-responsive" alt="Atom"> - <figcaption> </figcaption> + <img src="img/Week_11/Atmel_2.jpg" class="img-responsive" alt="Atom"> + <figcaption> Fig 12 - PCB wired with ATMEL-ICE Programmer and FTDI </figcaption> </a> </div> </section> @@ -345,7 +569,8 @@ -<div class="portfolio-modal modal fade" id="PBC_2Modal" tabindex="-1" role="dialog" aria-hidden="true"> + +<div class="portfolio-modal modal fade" id="Atmel_2Modal" tabindex="-1" role="dialog" aria-hidden="true"> <div class="modal-content"> <div class="close-modal" data-dismiss="modal"> <div class="lr"> @@ -357,7 +582,7 @@ <div class="row"> <div class="col-lg-12 col-md-10"> <div class="modal-body"> - <img src="img/Week_11/PBC_2.png" class="img-responsive" alt="Atom" style="width:100%; height:auto"> + <img src="img/Week_11/Atmel_2.jpg" class="img-responsive" alt="Atom" style="width:100%; height:auto"> <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> </div> </div> @@ -366,18 +591,222 @@ </div> </div> -<!-- END Imagen y modal PBC_2 --> +<!-- END Imagen y modal Atmel_2 --><!-------------------------> + +<!-- Imagen y modal Atmel_1 --> + + <div class="col-lg-6"> + <section class="images" id="images"> + <div class="portfolio-item"> + <a href="#Atmel_1Modal" class="portfolio-link" data-toggle="modal"> + <div class="caption"> + <div class="caption-content"> + <i class="fa fa-2x"> Click to Enlarge </i> + </div> + </div> <br> + <img src="img/Week_11/Atmel_1.jpg" class="img-responsive" alt="Atom"> + <figcaption> Fig 13 - Error message in ATMEL Studio </figcaption> + </a> + </div> + </section> + </div> - </div> - </section> - <section> +<div class="portfolio-modal modal fade" id="Atmel_1Modal" tabindex="-1" role="dialog" aria-hidden="true"> + <div class="modal-content"> + <div class="close-modal" data-dismiss="modal"> + <div class="lr"> + <div class="rl"> + </div> + </div> + </div> + <div class="container"> + <div class="row"> + <div class="col-lg-12 col-md-10"> + <div class="modal-body"> + <img src="img/Week_11/Atmel_1.jpg" class="img-responsive" alt="Atom" style="width:100%; height:auto"> + <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> + </div> + </div> + </div> + </div> + </div> + </div> + +<!-- END Imagen y modal Atmel_1 --> + + +<div class="col-lg-12"> + <p class="text-justify">After this error message I tried to use Arduino as ISP, following this <a href="https://create.arduino.cc/projecthub/arjun/programming-attiny85-with-arduino-uno-afb829"> + tutorial </a> (Figure 14) but some similar error appear. This time the message was: “error while burning bootloader†(Figure 15). + After consulting with my local instructor Iván, we conclude that there is a big probability that the Attiny85 is damaged. + </p> +</div> +<!-- Imagen y modal arduino_4 --> + <div class="col-lg-6"> + <section class="images" id="images"> + <div class="portfolio-item"> + <a href="#arduino_4Modal" class="portfolio-link" data-toggle="modal"> + <div class="caption"> + <div class="caption-content"> + <i class="fa fa-2x"> Click to Enlarge </i> + </div> + </div> + <img src="img/Week_11/arduino_4.jpg" class="img-responsive" alt="Atom"> + <figcaption> Fig 14 - Arduino as ISP connected with PCB </figcaption> + </a> + </div> + </section> + </div> + + + + +<div class="portfolio-modal modal fade" id="arduino_4Modal" tabindex="-1" role="dialog" aria-hidden="true"> + <div class="modal-content"> + <div class="close-modal" data-dismiss="modal"> + <div class="lr"> + <div class="rl"> + </div> + </div> + </div> + <div class="container"> + <div class="row"> + <div class="col-lg-12 col-md-10"> + <div class="modal-body"> + <img src="img/Week_11/arduino_4.jpg" class="img-responsive" alt="Atom" style="width:100%; height:auto"> + <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> + </div> + </div> + </div> + </div> + </div> + </div> + +<!-- END Imagen y modal arduino_4 --> +<!-- Imagen y modal arduino_5 --> + + <div class="col-lg-6"> + <section class="images" id="images"> + <div class="portfolio-item"> + <a href="#arduino_5Modal" class="portfolio-link" data-toggle="modal"> + <div class="caption"> + <div class="caption-content"> + <i class="fa fa-2x"> Click to Enlarge </i> + </div> + </div> <br> + <img src="img/Week_11/arduino_5.jpg" class="img-responsive" alt="Atom"> + <figcaption> Fig 15 - Error message in Arduino </figcaption> + </a> + </div> + </section> + </div> + + + + +<div class="portfolio-modal modal fade" id="arduino_5Modal" tabindex="-1" role="dialog" aria-hidden="true"> + <div class="modal-content"> + <div class="close-modal" data-dismiss="modal"> + <div class="lr"> + <div class="rl"> + </div> + </div> + </div> + <div class="container"> + <div class="row"> + <div class="col-lg-12 col-md-10"> + <div class="modal-body"> + <img src="img/Week_11/arduino_5.jpg" class="img-responsive" alt="Atom" style="width:100%; height:auto"> + <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> + </div> + </div> + </div> + </div> + </div> + </div> + +<!-- END Imagen y modal arduino_5 --><!-------------------------> + +<div class="col-lg-12"> + <p class="text-justify"> +After the unsuccessful programing attempts the next step is to replace the Attiny85 and try again. Unfortunately, until now I haven’t had enough time to do it. +As soon as I can I´ll do it. + + </p> +</div> + + +<!-- Files ------------------------> + + <div class="col-lg-12"> + <p align="center" style="font-size:25px"><u> <br> Files </u> </p> + <p align="justify" style="font-size:18px"> <br> In this section the files generated during the development of the assignment will be available + to download. </p> + <p> <br> + <table class="table-data"> + <tr> + <td> <a href="files/Week_11/ds18b20.sch" download> + <img src="img/ico/Sch.jpg" width="100px" > + </a> </td> + <td> <a href="files/Week_11/ds18b20.brd" download> + <img src="img/ico/Brd.jpg" width="100px" > </a> + </td> + <td> <a href="files/Week_11/ds18b20.png" download> + <img src="img/ico/png.png" width="100px" > </a> + </td> + <td> + <a href="files/Week_11/Test_1.ino" download> + <img src="img/ico/arduino.jpg" width="100px" > </a> + </td> + </tr> + <tr> + <td> <a href="files/Week_11/ds18b20.sch" download> Week7.sch</a> </td> + <td> <a href="files/Week_11/ds18b20.brd" download> Week7.brd </a></td> + <td> <a href="files/Week_11/ds18b20.png" download> Week7.png </a></td> + <td> <a href="files/Week_11/Test_1.ino" download> Test_1.ino</a> </td> + </tr> + + </table> + + </p> + </div> + + + </div> + + </div> + </section> + + + + <!-- <div class="row"> + <div class="col-lg-12 col-lg-offset-1"> + <p align="justify"> Wait for it!!</p> + </div> + <div class="col-lg-5"> + <p align="justify"></p> + </div> + </div> --> + + <!-- Imagen y modal arduino --> + + + + + + + + + + </div> + </section> - <!-- End Modals--> +<!-- End Modals--> <!-- Footer --> <footer class="text-center"> diff --git a/Week_12.html b/Week_12.html index 8b876b4e80523e88b1225e736cbd65a3d27e860e..814ab0275af691441c5bb11188f6fce9b0df3564 100644 --- a/Week_12.html +++ b/Week_12.html @@ -97,238 +97,391 @@ </ol> </div> - <div class="col-lg-6 "> - - <p align="justify" padding-top="20px" style="font-size:24px; color:#91aac3" > <em><u> Group Assignment </u></em></p> - <ol style="font-size:18px"> - <li>Measure the power consumption of an output device</li> - </ol> - </div> <div class="col-lg-12 text-center"> <h1> <ins> </ins> </h1> - <!-- <hr class="star-light-blue"> --> + <p align="justify" style="font-size:18px" >For this assignment I choose to work whit a RGB LED due to the relation + with my <a href="Final_project.html">final project</a>. An RGB LED means red, blue and green LED’s in one package. One of thee advantages of + these LEDs is that not only have those three colors, but also can give combinations of this colors (Figure 1). There’s + two kinds of RGB LEDs: Common Cathode (-) or Common Anode (+). The difference is explained in Figure 2. + </p> </div> </div> + <div class="col-lg-12"> + <!-- Imagen y modal color-mixing --> + + <div class="col-lg-offset-1 col-lg-3"> + <section class="images" id="images"> + <img src="img/Week_12/color-mixing.png" class="img-responsive" alt="Atom"> + <figcaption> Fig 1 - Colo r Mixign in RGB LED </figcaption> + </section> + </div> - <!-- Imagen y modal Img_1 --> + <!-- Imagen y modal rgb-led --> - <div class="col-lg-6"> - <section class="images" id="images"> - <div class="portfolio-item"> - <a href="#Img_1Modal" class="portfolio-link" data-toggle="modal"> - <div class="caption"> - <div class="caption-content"> - <i class="fa fa-2x"> Click to Enlarge </i> + <div class="col-lg-offset-2 col-lg-5"> + <section class="images" id="images"> + <br> <br> + <img src="img/Week_12/rgb-led.png" class="img-responsive" alt="Atom"> + <figcaption> Fig 2 - Common anode and common cathode RGB LEDs </figcaption> + </section> + </div> + </div> + + <div class="col-lg-12"> + <p align="left" style="font-size:25px"><u> <br> PCB Design and production </u> </p> + + <p class="text-justify"> The Design of the PCB was just a redesign of the <a href="http://academy.cba.mit.edu/classes/output_devices/RGB/hello.RGB.45.png"> RGB Board </a> + presented by Neil during class. The MCU used in this case is an <a href="http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-2586-AVR-8-bit-Microcontroller-ATtiny25-ATtiny45-ATtiny85_Datasheet.pdf"> Attiny45 </a>. + The board has ISP headers and a two-pin header for Vcc and GND. The design process was very similar to the ones described in Week 7 and Week 11. The schematics and the board are shown in Figure 3 and 4. The PCB Traces image is in Figure 5 and the Finished PCB is in Figure 6.</p> + </div> + + + <div class="col-lg-12"> + + <!-- Imagen y modal Eagle_2 --> + + <div class="col-lg-6"> + <section class="images" id="images"> + <div class="portfolio-item"> + <a href="#Eagle_2Modal" class="portfolio-link" data-toggle="modal"> + <div class="caption"> + <div class="caption-content"> + <i class="fa fa-2x"> Click to Enlarge </i> + </div> + </div> + <img src="img/Week_12/Eagle_2.PNG" class="img-responsive" alt="Atom"> + <figcaption> Fig 3 - RGB PCB Schematic file </figcaption> + </a> + </div> + </section> </div> - </div> - <img src="img/Week_12/Img_1.jpg" class="img-responsive" alt="Atom"> - <figcaption> </figcaption> - </a> - </div> - </section> - </div> -<div class="portfolio-modal modal fade" id="Img_1Modal" tabindex="-1" role="dialog" aria-hidden="true"> - <div class="modal-content"> - <div class="close-modal" data-dismiss="modal"> - <div class="lr"> - <div class="rl"> - </div> - </div> - </div> - <div class="container"> - <div class="row"> - <div class="col-lg-12 col-md-10"> - <div class="modal-body"> - <img src="img/Week_12/Img_1.jpg" class="img-responsive" alt="Atom" style="width:100%; height:auto"> - <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> + <div class="portfolio-modal modal fade" id="Eagle_2Modal" tabindex="-1" role="dialog" aria-hidden="true"> + <div class="modal-content"> + <div class="close-modal" data-dismiss="modal"> + <div class="lr"> + <div class="rl"> + </div> + </div> + </div> + <div class="container"> + <div class="row"> + <div class="col-lg-12 col-md-10"> + <div class="modal-body"> + <img src="img/Week_12/Eagle_2.PNG" class="img-responsive" alt="Atom" style="width:100%; height:auto"> + <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> + </div> + </div> + </div> + </div> + </div> + </div> + + <!-- END Imagen y modal Eagle_2 --> + + <!-- Imagen y modal Eagle_1 --> + + <div class="col-lg-6"> + <section class="images" id="images"> + <div class="portfolio-item"> + <a href="#Eagle_1Modal" class="portfolio-link" data-toggle="modal"> + <div class="caption"> + <div class="caption-content"> + <i class="fa fa-2x"> Click to Enlarge </i> + </div> + </div> + <img src="img/Week_12/Eagle_1.PNG" class="img-responsive" alt="Atom"> + <figcaption> Fig 4 - RGB PCB board file </figcaption> + </a> + </div> + </section> + </div> + + + + + <div class="portfolio-modal modal fade" id="Eagle_1Modal" tabindex="-1" role="dialog" aria-hidden="true"> + <div class="modal-content"> + <div class="close-modal" data-dismiss="modal"> + <div class="lr"> + <div class="rl"> + </div> + </div> </div> - </div> - </div> - </div> - </div> - </div> - -<!-- END Imagen y modal Img_1 --> -<!-- Imagen y modal Img_2 --> - - <div class="col-lg-6"> - <section class="images" id="images"> - <div class="portfolio-item"> - <a href="#Img_2Modal" class="portfolio-link" data-toggle="modal"> - <div class="caption"> - <div class="caption-content"> - <i class="fa fa-2x"> Click to Enlarge </i> + <div class="container"> + <div class="row"> + <div class="col-lg-12 col-md-10"> + <div class="modal-body"> + <img src="img/Week_12/Eagle_1.PNG" class="img-responsive" alt="Atom" style="width:100%; height:auto"> + <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> + </div> + </div> + </div> + </div> + </div> </div> - </div> - <img src="img/Week_12/Img_2.jpg" class="img-responsive" alt="Atom"> - <figcaption> </figcaption> - </a> - </div> - </section> - </div> + <!-- END Imagen y modal Eagle_1 --> + </div> -<div class="portfolio-modal modal fade" id="Img_2Modal" tabindex="-1" role="dialog" aria-hidden="true"> - <div class="modal-content"> - <div class="close-modal" data-dismiss="modal"> - <div class="lr"> - <div class="rl"> - </div> - </div> - </div> - <div class="container"> - <div class="row"> - <div class="col-lg-12 col-md-10"> - <div class="modal-body"> - <img src="img/Week_12/Img_2.jpg" class="img-responsive" alt="Atom" style="width:100%; height:auto"> - <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> - </div> - </div> - </div> - </div> - </div> - </div> - -<!-- END Imagen y modal Img_2 --> -<!-- Imagen y modal RGB_LED --> - - <div class="col-lg-6"> - <section class="images" id="images"> - <div class="portfolio-item"> - <a href="#RGB_LEDModal" class="portfolio-link" data-toggle="modal"> - <div class="caption"> - <div class="caption-content"> - <i class="fa fa-2x"> Click to Enlarge </i> - </div> - </div> - <img src="img/Week_12/RGB_LED.jpg" class="img-responsive" alt="Atom"> - <figcaption> </figcaption> - </a> - </div> - </section> - </div> + <!-- Imagen y modal RGB_traces --> + <div class="col-lg-offset-1 col-lg-5"> + <section class="images" id="images"> + <div class="portfolio-item"> + <a href="#RGB_tracesModal" class="portfolio-link" data-toggle="modal"> + <div class="caption"> + <div class="caption-content"> + <i class="fa fa-2x"> Click to Enlarge </i> + </div> + </div> + <img src="img/Week_12/RGB_traces.png" class="img-responsive" alt="Atom"> + <figcaption> Fig 5 - PCB Traces for RGB LED </figcaption> + </a> + </div> + </section> + </div> -<div class="portfolio-modal modal fade" id="RGB_LEDModal" tabindex="-1" role="dialog" aria-hidden="true"> - <div class="modal-content"> - <div class="close-modal" data-dismiss="modal"> - <div class="lr"> - <div class="rl"> - </div> - </div> - </div> - <div class="container"> - <div class="row"> - <div class="col-lg-12 col-md-10"> - <div class="modal-body"> - <img src="img/Week_12/RGB_LED.jpg" class="img-responsive" alt="Atom" style="width:100%; height:auto"> - <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> + + <div class="portfolio-modal modal fade" id="RGB_tracesModal" tabindex="-1" role="dialog" aria-hidden="true"> + <div class="modal-content"> + <div class="close-modal" data-dismiss="modal"> + <div class="lr"> + <div class="rl"> + </div> + </div> </div> - </div> - </div> - </div> - </div> - </div> - -<!-- END Imagen y modal RGB_LED --> -<!-- Imagen y modal Screenshot_1 --> - - <div class="col-lg-6"> - <section class="images" id="images"> - <div class="portfolio-item"> - <a href="#Screenshot_1Modal" class="portfolio-link" data-toggle="modal"> - <div class="caption"> - <div class="caption-content"> - <i class="fa fa-2x"> Click to Enlarge </i> + <div class="container"> + <div class="row"> + <div class="col-lg-12 col-md-10"> + <div class="modal-body"> + <img src="img/Week_12/RGB_traces.png" class="img-responsive" alt="Atom" style="width:100%; height:auto"> + <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> + </div> + </div> + </div> + </div> + </div> </div> - </div> - <img src="img/Week_12/Screenshot_1.jpg" class="img-responsive" alt="Atom"> - <figcaption> </figcaption> - </a> - </div> - </section> - </div> + <!-- Imagen y modal RGB_Completa --> + + <div class="col-lg-6"> + <section class="images" id="images"> + <div class="portfolio-item"> + <a href="#RGB_CompletaModal" class="portfolio-link" data-toggle="modal"> + <div class="caption"> + <div class="caption-content"> + <i class="fa fa-2x"> Click to Enlarge </i> + </div> + </div> + <img src="img/Week_12/RGB_Completa.jpg" class="img-responsive" alt="Atom"> + <figcaption> Fig 6 - RGB LED PCB Complete </figcaption> + </a> + </div> + </section> + </div> + + + + + <div class="portfolio-modal modal fade" id="RGB_CompletaModal" tabindex="-1" role="dialog" aria-hidden="true"> + <div class="modal-content"> + <div class="close-modal" data-dismiss="modal"> + <div class="lr"> + <div class="rl"> + </div> + </div> + </div> + <div class="container"> + <div class="row"> + <div class="col-lg-12 col-md-10"> + <div class="modal-body"> + <img src="img/Week_12/RGB_Completa.jpg" class="img-responsive" alt="Atom" style="width:100%; height:auto"> + <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> + </div> + </div> + </div> + </div> + </div> + </div> + + <!-- END Imagen y modal RGB_Completa --> + + + <div class="col-lg-12"> + <p align="left" style="font-size:25px"><u> <br> PCB Programming </u> </p> + + <p class="text-justify">To program the board to do something <a href="https://www.microchip.com/mplab/avr-support/atmel-studio-7">Atmel Studio </a> + was used. <br> + The programming of the circuit is quite simple, but is necessary to understand how the RGB LED works. The LED use is a common anode + LED, so the Anode is connected to the Vcc Line. And the three colors are linked to three different pin in the Attiny45. In my PCB the + network is: + </p> + <ul style="font-size:18px"> + <li> Red - PB2 </li> + <li> Blue - PB1 </li> + <li> Green - PB0 </li> + </ul> + <p class="text-justify"> + So if I wanted to light the green color the PB0 pin must be high, or the blue color the PB2 pin must be high or send a signal. <br> <br> + The programming was made using the process describe in Week 9 (Link), with the ATMEL-ICE Programmer, and in this case the Arduino + Uno board just to give power to the PCB (Figure 7). I start with a simple program just to create blink in each color. In this point + I realize thar the red color doesn’t work; after checked the joints and the tracks didn’t find any error, so it’s possible that the + RGB component is broken. However, I was able to keep programming with the other two colors. In the video the results of the programs + I tried is showed </p> + </div> + + <!-- Imagen y modal Programming --> + + <div class="col-lg-6"> + <section class="images" id="images"> + <div class="portfolio-item"> + <a href="#ProgrammingModal" class="portfolio-link" data-toggle="modal"> + <div class="caption"> + <div class="caption-content"> + <i class="fa fa-2x"> Click to Enlarge </i> + </div> + </div> + <img src="img/Week_12/Programming.jpg" class="img-responsive" alt="Atom"> + <figcaption> Fig 7 - Connections to programmer and power source (Arduino) </figcaption> + </a> + </div> + </section> + </div> -<div class="portfolio-modal modal fade" id="Screenshot_1Modal" tabindex="-1" role="dialog" aria-hidden="true"> - <div class="modal-content"> - <div class="close-modal" data-dismiss="modal"> - <div class="lr"> - <div class="rl"> - </div> - </div> + + <div class="portfolio-modal modal fade" id="ProgrammingModal" tabindex="-1" role="dialog" aria-hidden="true"> + <div class="modal-content"> + <div class="close-modal" data-dismiss="modal"> + <div class="lr"> + <div class="rl"> + </div> + </div> + </div> + <div class="container"> + <div class="row"> + <div class="col-lg-12 col-md-10"> + <div class="modal-body"> + <img src="img/Week_12/Programming.jpg" class="img-responsive" alt="Atom" style="width:100%; height:auto"> + <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> + </div> + </div> + </div> + </div> + </div> </div> - <div class="container"> - <div class="row"> - <div class="col-lg-12 col-md-10"> - <div class="modal-body"> - <img src="img/Week_12/Screenshot_1.jpg" class="img-responsive" alt="Atom" style="width:100%; height:auto"> - <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> + + <!-- END Imagen y modal Programming --><!-------------------------> + + <!-- Imagen y modal Atmel_1 --> + + <div class="col-lg-6"> + <section class="images" id="images"> + <div class="portfolio-item"> + <a href="#Atmel_1Modal" class="portfolio-link" data-toggle="modal"> + <div class="caption"> + <div class="caption-content"> + <i class="fa fa-2x"> Click to Enlarge </i> </div> - </div> - </div> - </div> - </div> - </div> - -<!-- END Imagen y modal Screenshot_1 --> -<!-- Imagen y modal Screenshot_2 --> - - <div class="col-lg-6"> - <section class="images" id="images"> - <div class="portfolio-item"> - <a href="#Screenshot_2Modal" class="portfolio-link" data-toggle="modal"> - <div class="caption"> - <div class="caption-content"> - <i class="fa fa-2x"> Click to Enlarge </i> - </div> - </div> - <img src="img/Week_12/Screenshot_2.jpg" class="img-responsive" alt="Atom"> - <figcaption> </figcaption> - </a> - </div> - </section> - </div> + </div> + <img src="img/Week_12/Atmel_1.jpg" class="img-responsive" alt="Atom"> + <figcaption> Fig 8 - Atmel Studio with alternate color blink program </figcaption> + </a> + </div> + </section> + </div> -<div class="portfolio-modal modal fade" id="Screenshot_2Modal" tabindex="-1" role="dialog" aria-hidden="true"> - <div class="modal-content"> - <div class="close-modal" data-dismiss="modal"> - <div class="lr"> - <div class="rl"> - </div> - </div> - </div> - <div class="container"> - <div class="row"> - <div class="col-lg-12 col-md-10"> - <div class="modal-body"> - <img src="img/Week_12/Screenshot_2.jpg" class="img-responsive" alt="Atom" style="width:100%; height:auto"> - <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> - </div> - </div> - </div> + <div class="portfolio-modal modal fade" id="Atmel_1Modal" tabindex="-1" role="dialog" aria-hidden="true"> + <div class="modal-content"> + <div class="close-modal" data-dismiss="modal"> + <div class="lr"> + <div class="rl"> + </div> + </div> + </div> + <div class="container"> + <div class="row"> + <div class="col-lg-12 col-md-10"> + <div class="modal-body"> + <img src="img/Week_12/Atmel_1.jpg" class="img-responsive" alt="Atom" style="width:100%; height:auto"> + <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> + </div> + </div> + </div> + </div> + </div> </div> - </div> - </div> -<!-- END Imagen y modal Screenshot_2 --><!-------------------------> - </div> + <!-- END Imagen y modal Atmel_1 --> + + + + <!-- Video 1 ============================== --> + <div class="col-lg-offset-3 col-lg-6"> <br> + <iframe class="center-block" width="560" height="315" src="https://www.youtube.com/embed/u29e2anIUGQ" frameborder="0" allowfullscreen></iframe> + </div> + <!-- Video 1 ============================== --> + + + <!-- Files ------------------------> + + <div class="col-lg-12"> + <p align="center" style="font-size:25px"><u> <br> Files </u> </p> + <p align="justify" style="font-size:18px"> <br> In this section the files generated during the development of the assignment will be available + to download. </p> + <p> <br> + <table class="table-data"> + <tr> + <td> <a href="files/Week_12/RGB.sch" download> + <img src="img/ico/Sch.jpg" width="100px" > + </a> </td> + <td> <a href="files/Week_12/RGB.brd" download> + <img src="img/ico/Brd.jpg" width="100px" > </a> + </td> + <td> <a href="files/Week_12/RGB_traces.png" download> + <img src="img/ico/png.png" width="100px" > </a> + </td> + <td> + <a href="files/Week_12/one_color.c" download> + <img src="img/ico/C.jpg" width="100px" > </a> + </td> + <td> + <a href="files/Week_12/RGB_Blink.c" download> + <img src="img/ico/C.jpg" width="100px" > </a> + </td> + </tr> + <tr> + <td> <a href="files/Week_12/RGB.sch" download> RGB.sch</a> </td> + <td> <a href="files/Week_12/RGB.brd" download> RGB.brd </a></td> + <td> <a href="files/Week_12/RGB_traces.png" download> RGB_traces.png </a></td> + <td> <a href="files/Week_12/one_color.c" download> one_color.png </a></td> + <td> <a href="files/Week_12/RGB_Blink.c" download> RGB_Blink.c</a> </td> + </tr> + + </table> + + </p> + </div> + + + + </div> </section> diff --git a/Week_15.html b/Week_15.html index 605b89bd7e25052d23b023ee55737e9ecdcff07e..40a1f3b675a378336986e3476a4ba400cf6970b5 100644 --- a/Week_15.html +++ b/Week_15.html @@ -93,28 +93,50 @@ <p align="justify" padding-top="20px" style="font-size:24px; color:#91aac3" > <em><u> Assignment </u></em></p> <ol style="font-size:18px"> - <li>Design a manchine, including the end effector</li> - <li>Build the pasive parts and operate it manually</li> + <li>Design a manchiner</li> + <li>Build the mehcanical parts and operate it manually</li> </ol> </div> - <div class="col-lg-12 text-center"> - <h1> <ins> </ins> </h1> - <!-- <hr class="star-light-blue"> --> + <div class="col-lg-12 text-center"> <br> <br> + <p align="justify" style="font-size:18px"> The initial idea was a drawing machine using two stepper motor and a fixed pen; with the ability to interpret + a gcode file and replicate a drawing in a piece of paper. We decide to use two levels for the position of the stepper motors (lower level for x-axis and + upper level for y-axis) and the pencil attached to the upper level. <br> <br> + The design was very simple, the construction and the results can be seen in the next pictures. </p> </div> + + <!-- Imagenes 1, 2, 3 y 4 =================================== --> + + <div class="col-lg-6"> + <section class="images" id="images"> + <img src="img/Machine_design/Construction_1.jpg" class="img-responsive" alt="Atom"> + + </section> + </div> + <div class="col-lg-6"> + <section class="images" id="images"> + <img src="img/Machine_design/Construction_2.jpg" class="img-responsive" alt="Atom"> + + </section> + </div> + <div class="col-lg-6"> + <section class="images" id="images"> + <img src="img/Machine_design/Construction_3.jpg" class="img-responsive" alt="Atom"> + + </section> + </div> + <div class="col-lg-6"> + <section class="images" id="images"> + <img src="img/Machine_design/Construction_4.jpg" class="img-responsive" alt="Atom"> + + </section> + </div> + <!-- Imagenes 1, 2, 3 y 4 == =================================== --> + + + </div> - <div class="col-lg-12 text-center"> - <h1> <em>Wait for it!!</em> </h1> - <!-- <hr class="star-light-blue"> --> - </div> - <!-- <div class="row"> - <div class="col-lg-12 col-lg-offset-1"> - <p align="justify"> Wait for it!!</p> - </div> - <div class="col-lg-5"> - <p align="justify"></p> - </div> - </div> --> + </div> </section> diff --git a/Week_16.html b/Week_16.html index 0b0f2f24e9d0bb4b09aa63cfeb4e871c551eac08..49e1a89e58bed4737fa5dfd902d8e59f6eed8420 100644 --- a/Week_16.html +++ b/Week_16.html @@ -97,23 +97,100 @@ <li>Document the project</li> </ol> </div> - <div class="col-lg-12 text-center"> - <h1> <ins> </ins> </h1> - <!-- <hr class="star-light-blue"> --> + <div class="col-lg-12 text-center"> <br> <br> + <p align="justify" style="font-size:18px"> To control the stepper motors we use an <a href="https://cdn-learn.adafruit.com/downloads/pdf/adafruit-motor-shield.pdf"> L293D motor shield</a> for Arduino. + With this shield is necessary to use two libraries (<a href="https://github.com/adafruit/Adafruit-Motor-Shield-library">AFMotor</a> and <a href=" https://github.com/adafruit/AccelStepper">AccelStepper</a>). <br> + The first step was to understand the code and control the motors with simple commands. </p> </div> </div> - <div class="col-lg-12 text-center"> - <h1> <em>Wait for it!!</em> </h1> - <!-- <hr class="star-light-blue"> --> - </div> - <!-- <div class="row"> - <div class="col-lg-12 col-lg-offset-1"> - <p align="justify"> Wait for it!!</p> - </div> - <div class="col-lg-5"> - <p align="justify"></p> - </div> - </div> --> + + <!-- Imagenes 5, 6 == =================================== --> + <div class="col-lg-6"> + <section class="images" id="images"> + <img src="img/Machine_design/Shield_1.jpg" class="img-responsive" alt="Atom"> + + </section> + </div> + + <div class="col-lg-6"> + <section class="images" id="images"> + <img src="img/Machine_design/Shield_2.jpg" class="img-responsive" alt="Atom"> + + </section> + </div> + + <div class="col-lg-3"> + + </div> + + <div class="col-lg-6"> + <section class="images" id="images"> + <img src="img/Machine_design/Shield_3.jpg" class="img-responsive" alt="Atom"> + + </section> + </div> + + + <!-- Imagenes 5, 6 == =================================== --> + + <div class="col-lg-12"> + + + <p align="justify" style="font-size:18px">As a more user friendly control of the machine is necessary to start with a Serial reading inside IDE, this way the user can set two coordinates and move the motors and start drawing simple draws, + as straight lines, diagonal, squares, etc… </p> + + </div> + + <div class="col-lg-6"> + <section class="images" id="images"> + <img src="img/Machine_design/Draw_1.jpg" class="img-responsive" alt="Atom"> + + </section> + </div> + + <!-- Video 1 ============================== --> + <div class="col-lg-6"> <br> + + <iframe class="center-block" width="560" height="315" src="https://www.youtube.com/embed/jWzSnliqV08" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> + </div> + <!-- Video 1 ============================== --> + + + <div class="col-lg-12"> + <p align="justify" padding-top="20px" style="font-size:24px; color:#91aac3" > <em><u> To Do... </u></em></p> + <ol style="font-size:18px"> + <li> Improve the design to facilitate the movement of the stepper motors. </li> + <li> Calibrate the machine</li> + <li> Make a user interface</li> + <li> Read the gcode files to draw more complex sketches </li> + </ol> + </div> + + + <!-- Files ------------------------> + + <div class="col-lg-12"> + <p align="center" style="font-size:25px"><u> <br> Files </u> </p> + <p align="justify" style="font-size:18px"> <br> In this section the files generated during the development of the assignment will be available + to download. </p> + <p> <br> + <table class="table-data"> + <tr> + <td> + <a href="files/Week_16/Machine_control.ino" download> + <img src="img/ico/arduino.jpg" width="100px" > </a> + </td> + </tr> + <tr> + <td> <a href="files/Week_16/Machine_control.ino" download> Machine_control.ino</a> </td> + </tr> + + </table> + + </p> + </div> + + </div> </section> diff --git a/css/freelancer.css b/css/freelancer.css index 1f1f76e4aba246def835d0e8fc9dfd706426f279..4d64427b3ce974ea45417bef5597251155d83b84 100644 --- a/css/freelancer.css +++ b/css/freelancer.css @@ -751,13 +751,3 @@ section.success { ul { text-align: left; } - -#myProgress { - width: 100%; - background-color: grey; -} -#myBar { - width: 1%; - height: 30px; - background-color: green; -} diff --git a/files/Week_11/Test_1.ino b/files/Week_11/Test_1.ino new file mode 100644 index 0000000000000000000000000000000000000000..0ef3875dedc6d6dc7e15c010cc10fb299522d01f --- /dev/null +++ b/files/Week_11/Test_1.ino @@ -0,0 +1,32 @@ +#include <OneWire.h> +#include <DallasTemperature.h> + +// Pin with one Wire data +const int DQ = 9; + +// Instancia a las clases OneWire y DallasTemperature +OneWire myWire(DQ); +DallasTemperature sensor(&myWire); + +void setup() { + // Initiate serial communication + Serial.begin(9600); + // Initiate on wire communication + sensor.begin(); +} + +void loop() { + Serial.println("Reading"); + sensor.requestTemperatures(); + + // Reading values + Serial.print("Temperature in Celsius: "); + Serial.print(sensor.getTempCByIndex(0)); + Serial.println(" C"); + Serial.print("Temperature in Farenheit: "); + Serial.print(sensor.getTempFByIndex(0)); + Serial.println(" F"); + + delay(2000); +} + diff --git a/files/Week_11/ds18b20.brd b/files/Week_11/ds18b20.brd new file mode 100644 index 0000000000000000000000000000000000000000..ba62bfdf381c775659f64f30a07b01f2f2e9e651 --- /dev/null +++ b/files/Week_11/ds18b20.brd @@ -0,0 +1,573 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE eagle SYSTEM "eagle.dtd"> +<eagle version="8.6.3"> +<drawing> +<settings> +<setting alwaysvectorfont="no"/> +<setting verticaltext="up"/> +</settings> +<grid distance="50" unitdist="mil" unit="mil" style="lines" multiple="1" display="no" altdistance="2.5" altunitdist="mil" altunit="mil"/> +<layers> +<layer number="1" name="Top" color="4" fill="1" visible="yes" active="yes"/> +<layer number="2" name="Route2" color="1" fill="3" visible="no" active="no"/> +<layer number="3" name="Route3" color="4" fill="3" visible="no" active="no"/> +<layer number="4" name="Route4" color="1" fill="4" visible="no" active="no"/> +<layer number="5" name="Route5" color="4" fill="4" visible="no" active="no"/> +<layer number="6" name="Route6" color="1" fill="8" visible="no" active="no"/> +<layer number="7" name="Route7" color="4" fill="8" visible="no" active="no"/> +<layer number="8" name="Route8" color="1" fill="2" visible="no" active="no"/> +<layer number="9" name="Route9" color="4" fill="2" visible="no" active="no"/> +<layer number="10" name="Route10" color="1" fill="7" visible="no" active="no"/> +<layer number="11" name="Route11" color="4" fill="7" visible="no" active="no"/> +<layer number="12" name="Route12" color="1" fill="5" visible="no" active="no"/> +<layer number="13" name="Route13" color="4" fill="5" visible="no" active="no"/> +<layer number="14" name="Route14" color="1" fill="6" visible="no" active="no"/> +<layer number="15" name="Route15" color="4" fill="6" visible="no" active="no"/> +<layer number="16" name="Bottom" color="1" fill="1" visible="no" active="yes"/> +<layer number="17" name="Pads" color="2" fill="1" visible="no" active="yes"/> +<layer number="18" name="Vias" color="2" fill="1" visible="no" active="yes"/> +<layer number="19" name="Unrouted" color="6" fill="1" visible="yes" active="yes"/> +<layer number="20" name="Dimension" color="24" fill="1" visible="no" active="yes"/> +<layer number="21" name="tPlace" color="7" fill="1" visible="no" active="yes"/> +<layer number="22" name="bPlace" color="7" fill="1" visible="no" active="yes"/> +<layer number="23" name="tOrigins" color="15" fill="1" visible="no" active="yes"/> +<layer number="24" name="bOrigins" color="15" fill="1" visible="no" active="yes"/> +<layer number="25" name="tNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="26" name="bNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="27" name="tValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="28" name="bValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="29" name="tStop" color="7" fill="3" visible="no" active="yes"/> +<layer number="30" name="bStop" color="7" fill="6" visible="no" active="yes"/> +<layer number="31" name="tCream" color="7" fill="4" visible="no" active="yes"/> +<layer number="32" name="bCream" color="7" fill="5" visible="no" active="yes"/> +<layer number="33" name="tFinish" color="6" fill="3" visible="no" active="yes"/> +<layer number="34" name="bFinish" color="6" fill="6" visible="no" active="yes"/> +<layer number="35" name="tGlue" color="7" fill="4" visible="no" active="yes"/> +<layer number="36" name="bGlue" color="7" fill="5" visible="no" active="yes"/> +<layer number="37" name="tTest" color="7" fill="1" visible="no" active="yes"/> +<layer number="38" name="bTest" color="7" fill="1" visible="no" active="yes"/> +<layer number="39" name="tKeepout" color="4" fill="11" visible="no" active="yes"/> +<layer number="40" name="bKeepout" color="1" fill="11" visible="no" active="yes"/> +<layer number="41" name="tRestrict" color="4" fill="10" visible="no" active="yes"/> +<layer number="42" name="bRestrict" color="1" fill="10" visible="no" active="yes"/> +<layer number="43" name="vRestrict" color="2" fill="10" visible="no" active="yes"/> +<layer number="44" name="Drills" color="7" fill="1" visible="no" active="yes"/> +<layer number="45" name="Holes" color="7" fill="1" visible="no" active="yes"/> +<layer number="46" name="Milling" color="3" fill="1" visible="no" active="yes"/> +<layer number="47" name="Measures" color="7" fill="1" visible="no" active="yes"/> +<layer number="48" name="Document" color="7" fill="1" visible="no" active="yes"/> +<layer number="49" name="Reference" color="7" fill="1" visible="no" active="yes"/> +<layer number="50" name="dxf" color="7" fill="1" visible="no" active="no"/> +<layer number="51" name="tDocu" color="7" fill="1" visible="no" active="yes"/> +<layer number="52" name="bDocu" color="7" fill="1" visible="no" active="yes"/> +<layer number="53" name="tGND_GNDA" color="7" fill="9" visible="no" active="no"/> +<layer number="54" name="bGND_GNDA" color="1" fill="9" visible="no" active="no"/> +<layer number="56" name="wert" color="7" fill="1" visible="no" active="no"/> +<layer number="57" name="tCAD" color="7" fill="1" visible="no" active="no"/> +<layer number="59" name="tCarbon" color="7" fill="1" visible="no" active="no"/> +<layer number="60" name="bCarbon" color="7" fill="1" visible="no" active="no"/> +<layer number="88" name="SimResults" color="9" fill="1" visible="no" active="no"/> +<layer number="89" name="SimProbes" color="9" fill="1" visible="no" active="no"/> +<layer number="90" name="Modules" color="5" fill="1" visible="no" active="no"/> +<layer number="91" name="Nets" color="2" fill="1" visible="no" active="no"/> +<layer number="92" name="Busses" color="1" fill="1" visible="no" active="no"/> +<layer number="93" name="Pins" color="2" fill="1" visible="no" active="no"/> +<layer number="94" name="Symbols" color="4" fill="1" visible="no" active="no"/> +<layer number="95" name="Names" color="7" fill="1" visible="no" active="no"/> +<layer number="96" name="Values" color="7" fill="1" visible="no" active="no"/> +<layer number="97" name="Info" color="7" fill="1" visible="no" active="no"/> +<layer number="98" name="Guide" color="6" fill="1" visible="no" active="no"/> +<layer number="99" name="SpiceOrder" color="7" fill="1" visible="no" active="no"/> +<layer number="100" name="Muster" color="7" fill="1" visible="no" active="no"/> +<layer number="101" name="Patch_Top" color="12" fill="4" visible="no" active="yes"/> +<layer number="102" name="Vscore" color="7" fill="1" visible="no" active="yes"/> +<layer number="103" name="tMap" color="7" fill="1" visible="no" active="yes"/> +<layer number="104" name="Name" color="7" fill="1" visible="no" active="yes"/> +<layer number="105" name="tPlate" color="7" fill="1" visible="no" active="yes"/> +<layer number="106" name="bPlate" color="7" fill="1" visible="no" active="yes"/> +<layer number="107" name="Crop" color="7" fill="1" visible="no" active="yes"/> +<layer number="108" name="tplace-old" color="10" fill="1" visible="no" active="yes"/> +<layer number="109" name="ref-old" color="11" fill="1" visible="no" active="yes"/> +<layer number="110" name="fp0" color="7" fill="1" visible="no" active="yes"/> +<layer number="111" name="LPC17xx" color="7" fill="1" visible="no" active="yes"/> +<layer number="112" name="tSilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="113" name="IDFDebug" color="7" fill="1" visible="no" active="yes"/> +<layer number="114" name="Badge_Outline" color="7" fill="1" visible="yes" active="yes"/> +<layer number="115" name="ReferenceISLANDS" color="7" fill="1" visible="yes" active="yes"/> +<layer number="116" name="Patch_BOT" color="9" fill="4" visible="no" active="yes"/> +<layer number="118" name="Rect_Pads" color="7" fill="1" visible="no" active="yes"/> +<layer number="121" name="_tsilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="122" name="_bsilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="123" name="tTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="124" name="bTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="125" name="_tNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="126" name="_bNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="127" name="_tValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="128" name="_bValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="129" name="Mask" color="7" fill="1" visible="no" active="yes"/> +<layer number="131" name="tAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="132" name="bAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="144" name="Drill_legend" color="7" fill="1" visible="no" active="yes"/> +<layer number="150" name="Notes" color="7" fill="1" visible="no" active="yes"/> +<layer number="151" name="HeatSink" color="7" fill="1" visible="no" active="yes"/> +<layer number="152" name="_bDocu" color="7" fill="1" visible="no" active="yes"/> +<layer number="153" name="FabDoc1" color="7" fill="1" visible="no" active="yes"/> +<layer number="154" name="FabDoc2" color="7" fill="1" visible="no" active="yes"/> +<layer number="155" name="FabDoc3" color="7" fill="1" visible="no" active="yes"/> +<layer number="199" name="Contour" color="7" fill="1" visible="no" active="yes"/> +<layer number="200" name="200bmp" color="1" fill="10" visible="no" active="yes"/> +<layer number="201" name="201bmp" color="2" fill="10" visible="no" active="yes"/> +<layer number="202" name="202bmp" color="3" fill="10" visible="no" active="yes"/> +<layer number="203" name="203bmp" color="4" fill="10" visible="no" active="yes"/> +<layer number="204" name="204bmp" color="5" fill="10" visible="no" active="yes"/> +<layer number="205" name="205bmp" color="6" fill="10" visible="no" active="yes"/> +<layer number="206" name="206bmp" color="7" fill="10" visible="no" active="yes"/> +<layer number="207" name="207bmp" color="8" fill="10" visible="no" active="yes"/> +<layer number="208" name="208bmp" color="9" fill="10" visible="no" active="yes"/> +<layer number="209" name="209bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="210" name="210bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="211" name="211bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="212" name="212bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="213" name="213bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="214" name="214bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="215" name="215bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="216" name="216bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="217" name="217bmp" color="18" fill="1" visible="no" active="no"/> +<layer number="218" name="218bmp" color="19" fill="1" visible="no" active="no"/> +<layer number="219" name="219bmp" color="20" fill="1" visible="no" active="no"/> +<layer number="220" name="220bmp" color="21" fill="1" visible="no" active="no"/> +<layer number="221" name="221bmp" color="22" fill="1" visible="no" active="no"/> +<layer number="222" name="222bmp" color="23" fill="1" visible="no" active="no"/> +<layer number="223" name="223bmp" color="24" fill="1" visible="no" active="no"/> +<layer number="224" name="224bmp" color="25" fill="1" visible="no" active="no"/> +<layer number="225" name="225bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="226" name="226bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="227" name="227bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="228" name="228bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="229" name="229bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="230" name="230bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="231" name="231bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="248" name="Housing" color="7" fill="1" visible="no" active="yes"/> +<layer number="249" name="Edge" color="7" fill="1" visible="no" active="yes"/> +<layer number="250" name="Descript" color="3" fill="1" visible="no" active="no"/> +<layer number="251" name="SMDround" color="12" fill="11" visible="no" active="no"/> +<layer number="254" name="cooling" color="7" fill="1" visible="no" active="yes"/> +<layer number="255" name="routoute" color="7" fill="1" visible="no" active="yes"/> +</layers> +<board> +<plain> +<wire x1="-1.27" y1="2.54" x2="39.35" y2="2.54" width="0" layer="20"/> +<wire x1="39.35" y1="2.54" x2="39.35" y2="35.23" width="0" layer="20"/> +<wire x1="39.35" y1="35.23" x2="-1.27" y2="35.23" width="0" layer="20"/> +<wire x1="-1.27" y1="35.23" x2="-1.27" y2="2.54" width="0" layer="20"/> +<text x="5.08" y="31.75" size="1.778" layer="1" align="center">Temp +DS18B20</text> +<circle x="7.62" y="21.59" radius="2.83980625" width="0.6096" layer="1"/> +<rectangle x1="6.5405" y1="21.463" x2="7.1755" y2="22.86" layer="1"/> +<rectangle x1="8.0645" y1="21.3995" x2="8.6995" y2="22.7965" layer="1"/> +</plain> +<libraries> +<library name="fab"> +<packages> +<package name="SOIC8"> +<description><B>Wide Plastic Gull Wing Small Outline Package</B></description> +<wire x1="-2.6" y1="2.25" x2="-2.35" y2="2.5" width="0.1524" layer="21" curve="-90" cap="flat"/> +<wire x1="2.35" y1="2.5" x2="2.6" y2="2.25" width="0.1524" layer="21" curve="-90"/> +<wire x1="2.35" y1="-2.5" x2="2.6" y2="-2.25" width="0.1524" layer="21" curve="90" cap="flat"/> +<wire x1="-2.6" y1="-2.25" x2="-2.35" y2="-2.5" width="0.1524" layer="21" curve="90" cap="flat"/> +<wire x1="2.36" y1="-2.5" x2="-2.34" y2="-2.5" width="0.1524" layer="51"/> +<wire x1="-2.34" y1="2.5" x2="2.36" y2="2.5" width="0.1524" layer="51"/> +<wire x1="-2.21" y1="2.5" x2="-2.34" y2="2.5" width="0.1524" layer="21"/> +<wire x1="-1.59" y1="2.5" x2="-0.95" y2="2.5" width="0.1524" layer="21"/> +<wire x1="-0.32" y1="2.5" x2="0.32" y2="2.5" width="0.1524" layer="21"/> +<wire x1="0.95" y1="2.5" x2="1.59" y2="2.5" width="0.1524" layer="21"/> +<wire x1="2.21" y1="2.5" x2="2.36" y2="2.5" width="0.1524" layer="21"/> +<wire x1="2.2" y1="-2.5" x2="2.33" y2="-2.5" width="0.1524" layer="21"/> +<wire x1="1.59" y1="-2.5" x2="0.94" y2="-2.5" width="0.1524" layer="21"/> +<wire x1="0.32" y1="-2.5" x2="-0.33" y2="-2.5" width="0.1524" layer="21"/> +<wire x1="-0.95" y1="-2.5" x2="-1.59" y2="-2.5" width="0.1524" layer="21"/> +<wire x1="-2.21" y1="-2.5" x2="-2.34" y2="-2.5" width="0.1524" layer="21"/> +<wire x1="-2.6" y1="2.25" x2="-2.6" y2="-2.24" width="0.1524" layer="21"/> +<wire x1="2.6" y1="-2.25" x2="2.6" y2="2.25" width="0.1524" layer="21"/> +<circle x="-1.42" y="-1.115" radius="0.5" width="0.0508" layer="21"/> +<smd name="1" x="-1.905" y="-3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="2" x="-0.645" y="-3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="3" x="0.625" y="-3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="4" x="1.895" y="-3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="8" x="-1.905" y="3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="7" x="-0.635" y="3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="6" x="0.635" y="3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="5" x="1.905" y="3.154" dx="0.5" dy="2.2" layer="1"/> +<text x="-2.8575" y="-2.159" size="1.27" layer="25" ratio="10" rot="R90">>NAME</text> +<text x="4.064" y="-2.159" size="1.27" layer="27" ratio="10" rot="R90">>VALUE</text> +<rectangle x1="-2.08" y1="2.5" x2="-1.73" y2="3.4" layer="51"/> +<rectangle x1="-0.81" y1="2.5" x2="-0.46" y2="3.4" layer="51"/> +<rectangle x1="0.46" y1="2.5" x2="0.81" y2="3.4" layer="51"/> +<rectangle x1="1.73" y1="2.5" x2="2.08" y2="3.4" layer="51"/> +<rectangle x1="1.72" y1="-3.4" x2="2.07" y2="-2.5" layer="51"/> +<rectangle x1="0.45" y1="-3.4" x2="0.8" y2="-2.5" layer="51"/> +<rectangle x1="-0.82" y1="-3.4" x2="-0.47" y2="-2.5" layer="51"/> +<rectangle x1="-2.08" y1="-3.4" x2="-1.73" y2="-2.5" layer="51"/> +</package> +<package name="C1206FAB"> +<wire x1="-2.032" y1="1.016" x2="2.032" y2="1.016" width="0.127" layer="21"/> +<wire x1="2.032" y1="1.016" x2="2.032" y2="-1.016" width="0.127" layer="21"/> +<wire x1="2.032" y1="-1.016" x2="-2.032" y2="-1.016" width="0.127" layer="21"/> +<wire x1="-2.032" y1="-1.016" x2="-2.032" y2="1.016" width="0.127" layer="21"/> +<smd name="1" x="-1.651" y="0" dx="1.27" dy="1.905" layer="1"/> +<smd name="2" x="1.651" y="0" dx="1.27" dy="1.905" layer="1"/> +<text x="-1.778" y="1.27" size="1.016" layer="25" ratio="15">>NAME</text> +<text x="-1.778" y="-2.286" size="1.016" layer="27" ratio="15">>VALUE</text> +</package> +<package name="R1206FAB"> +<wire x1="-2.032" y1="1.016" x2="2.032" y2="1.016" width="0.127" layer="21"/> +<wire x1="2.032" y1="1.016" x2="2.032" y2="-1.016" width="0.127" layer="21"/> +<wire x1="2.032" y1="-1.016" x2="-2.032" y2="-1.016" width="0.127" layer="21"/> +<wire x1="-2.032" y1="-1.016" x2="-2.032" y2="1.016" width="0.127" layer="21"/> +<smd name="1" x="-1.651" y="0" dx="1.27" dy="1.905" layer="1"/> +<smd name="2" x="1.651" y="0" dx="1.27" dy="1.905" layer="1"/> +<text x="-1.778" y="1.27" size="1.016" layer="25" ratio="15">>NAME</text> +<text x="-1.778" y="-2.286" size="1.016" layer="27" ratio="15">>VALUE</text> +</package> +<package name="2X03SMD"> +<smd name="1" x="-2.54" y="2.54" dx="2.54" dy="1.27" layer="1"/> +<smd name="3" x="-2.54" y="0" dx="2.54" dy="1.27" layer="1"/> +<smd name="5" x="-2.54" y="-2.54" dx="2.54" dy="1.27" layer="1"/> +<smd name="2" x="2.92" y="2.54" dx="2.54" dy="1.27" layer="1"/> +<smd name="4" x="2.92" y="0" dx="2.54" dy="1.27" layer="1"/> +<smd name="6" x="2.92" y="-2.54" dx="2.54" dy="1.27" layer="1"/> +<text x="-5.08" y="2.54" size="1.27" layer="27">1</text> +<text x="-3.81" y="3.81" size="1.27" layer="25">>NAME</text> +<text x="-3.81" y="-5.08" size="1.27" layer="27">>VALUE</text> +</package> +<package name="1X06SMD"> +<smd name="1" x="0" y="6.35" dx="2.54" dy="1.27" layer="1"/> +<smd name="2" x="0" y="3.81" dx="2.54" dy="1.27" layer="1"/> +<smd name="3" x="0" y="1.27" dx="2.54" dy="1.27" layer="1"/> +<smd name="4" x="0" y="-1.27" dx="2.54" dy="1.27" layer="1"/> +<smd name="5" x="0" y="-3.81" dx="2.54" dy="1.27" layer="1"/> +<smd name="6" x="0" y="-6.35" dx="2.54" dy="1.27" layer="1"/> +<text x="-1.905" y="-3.175" size="1.27" layer="25" rot="R90">>NAME</text> +</package> +</packages> +</library> +</libraries> +<attributes> +</attributes> +<variantdefs> +</variantdefs> +<classes> +<class number="0" name="default" width="0" drill="0"> +</class> +</classes> +<designrules name="default"> +<description language="de"><b>EAGLE Design Rules</b> +<p> +Die Standard-Design-Rules sind so gewählt, dass sie für +die meisten Anwendungen passen. Sollte ihre Platine +besondere Anforderungen haben, treffen Sie die erforderlichen +Einstellungen hier und speichern die Design Rules unter +einem neuen Namen ab.</description> +<description language="en"><b>EAGLE Design Rules</b> +<p> +The default Design Rules have been set to cover +a wide range of applications. Your particular design +may have different requirements, so please make the +necessary adjustments and save your customized +design rules under a new name.</description> +<param name="layerSetup" value="(1*16)"/> +<param name="mtCopper" value="0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm"/> +<param name="mtIsolate" value="1.5mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm"/> +<param name="mdWireWire" value="6mil"/> +<param name="mdWirePad" value="6mil"/> +<param name="mdWireVia" value="6mil"/> +<param name="mdPadPad" value="6mil"/> +<param name="mdPadVia" value="6mil"/> +<param name="mdViaVia" value="6mil"/> +<param name="mdSmdPad" value="6mil"/> +<param name="mdSmdVia" value="6mil"/> +<param name="mdSmdSmd" value="6mil"/> +<param name="mdViaViaSameLayer" value="6mil"/> +<param name="mnLayersViaInSmd" value="2"/> +<param name="mdCopperDimension" value="40mil"/> +<param name="mdDrill" value="6mil"/> +<param name="mdSmdStop" value="0mil"/> +<param name="msWidth" value="6mil"/> +<param name="msDrill" value="0.35mm"/> +<param name="msMicroVia" value="9.99mm"/> +<param name="msBlindViaRatio" value="0.5"/> +<param name="rvPadTop" value="0.25"/> +<param name="rvPadInner" value="0.25"/> +<param name="rvPadBottom" value="0.25"/> +<param name="rvViaOuter" value="0.25"/> +<param name="rvViaInner" value="0.25"/> +<param name="rvMicroViaOuter" value="0.25"/> +<param name="rvMicroViaInner" value="0.25"/> +<param name="rlMinPadTop" value="10mil"/> +<param name="rlMaxPadTop" value="20mil"/> +<param name="rlMinPadInner" value="10mil"/> +<param name="rlMaxPadInner" value="20mil"/> +<param name="rlMinPadBottom" value="10mil"/> +<param name="rlMaxPadBottom" value="20mil"/> +<param name="rlMinViaOuter" value="8mil"/> +<param name="rlMaxViaOuter" value="20mil"/> +<param name="rlMinViaInner" value="8mil"/> +<param name="rlMaxViaInner" value="20mil"/> +<param name="rlMinMicroViaOuter" value="4mil"/> +<param name="rlMaxMicroViaOuter" value="20mil"/> +<param name="rlMinMicroViaInner" value="4mil"/> +<param name="rlMaxMicroViaInner" value="20mil"/> +<param name="psTop" value="-1"/> +<param name="psBottom" value="-1"/> +<param name="psFirst" value="-1"/> +<param name="psElongationLong" value="100"/> +<param name="psElongationOffset" value="100"/> +<param name="mvStopFrame" value="1"/> +<param name="mvCreamFrame" value="0"/> +<param name="mlMinStopFrame" value="4mil"/> +<param name="mlMaxStopFrame" value="4mil"/> +<param name="mlMinCreamFrame" value="0mil"/> +<param name="mlMaxCreamFrame" value="0mil"/> +<param name="mlViaStopLimit" value="0mil"/> +<param name="srRoundness" value="0"/> +<param name="srMinRoundness" value="0mil"/> +<param name="srMaxRoundness" value="0mil"/> +<param name="slThermalIsolate" value="10mil"/> +<param name="slThermalsForVias" value="0"/> +<param name="dpMaxLengthDifference" value="10mm"/> +<param name="dpGapFactor" value="2.5"/> +<param name="checkAngle" value="0"/> +<param name="checkFont" value="1"/> +<param name="checkRestrict" value="1"/> +<param name="checkStop" value="0"/> +<param name="checkValues" value="0"/> +<param name="useDiameter" value="13"/> +<param name="maxErrors" value="50"/> +</designrules> +<autorouter> +<pass name="Default"> +<param name="RoutingGrid" value="50mil"/> +<param name="AutoGrid" value="1"/> +<param name="Efforts" value="0"/> +<param name="TopRouterVariant" value="1"/> +<param name="tpViaShape" value="round"/> +<param name="PrefDir.1" value="a"/> +<param name="PrefDir.2" value="0"/> +<param name="PrefDir.3" value="0"/> +<param name="PrefDir.4" value="0"/> +<param name="PrefDir.5" value="0"/> +<param name="PrefDir.6" value="0"/> +<param name="PrefDir.7" value="0"/> +<param name="PrefDir.8" value="0"/> +<param name="PrefDir.9" value="0"/> +<param name="PrefDir.10" value="0"/> +<param name="PrefDir.11" value="0"/> +<param name="PrefDir.12" value="0"/> +<param name="PrefDir.13" value="0"/> +<param name="PrefDir.14" value="0"/> +<param name="PrefDir.15" value="0"/> +<param name="PrefDir.16" value="a"/> +<param name="cfVia" value="8"/> +<param name="cfNonPref" value="5"/> +<param name="cfChangeDir" value="2"/> +<param name="cfOrthStep" value="2"/> +<param name="cfDiagStep" value="3"/> +<param name="cfExtdStep" value="0"/> +<param name="cfBonusStep" value="1"/> +<param name="cfMalusStep" value="1"/> +<param name="cfPadImpact" value="4"/> +<param name="cfSmdImpact" value="4"/> +<param name="cfBusImpact" value="0"/> +<param name="cfHugging" value="3"/> +<param name="cfAvoid" value="4"/> +<param name="cfPolygon" value="10"/> +<param name="cfBase.1" value="0"/> +<param name="cfBase.2" value="1"/> +<param name="cfBase.3" value="1"/> +<param name="cfBase.4" value="1"/> +<param name="cfBase.5" value="1"/> +<param name="cfBase.6" value="1"/> +<param name="cfBase.7" value="1"/> +<param name="cfBase.8" value="1"/> +<param name="cfBase.9" value="1"/> +<param name="cfBase.10" value="1"/> +<param name="cfBase.11" value="1"/> +<param name="cfBase.12" value="1"/> +<param name="cfBase.13" value="1"/> +<param name="cfBase.14" value="1"/> +<param name="cfBase.15" value="1"/> +<param name="cfBase.16" value="0"/> +<param name="mnVias" value="20"/> +<param name="mnSegments" value="9999"/> +<param name="mnExtdSteps" value="9999"/> +<param name="mnRipupLevel" value="10"/> +<param name="mnRipupSteps" value="100"/> +<param name="mnRipupTotal" value="100"/> +</pass> +<pass name="Follow-me" refer="Default" active="yes"> +</pass> +<pass name="Busses" refer="Default" active="yes"> +<param name="cfNonPref" value="4"/> +<param name="cfBusImpact" value="4"/> +<param name="cfHugging" value="0"/> +<param name="mnVias" value="0"/> +</pass> +<pass name="Route" refer="Default" active="yes"> +</pass> +<pass name="Optimize1" refer="Default" active="yes"> +<param name="cfVia" value="99"/> +<param name="cfExtdStep" value="10"/> +<param name="cfHugging" value="1"/> +<param name="mnExtdSteps" value="1"/> +<param name="mnRipupLevel" value="0"/> +</pass> +<pass name="Optimize2" refer="Optimize1" active="yes"> +<param name="cfNonPref" value="0"/> +<param name="cfChangeDir" value="6"/> +<param name="cfExtdStep" value="0"/> +<param name="cfBonusStep" value="2"/> +<param name="cfMalusStep" value="2"/> +<param name="cfPadImpact" value="2"/> +<param name="cfSmdImpact" value="2"/> +<param name="cfHugging" value="0"/> +</pass> +<pass name="Optimize3" refer="Optimize2" active="yes"> +<param name="cfChangeDir" value="8"/> +<param name="cfPadImpact" value="0"/> +<param name="cfSmdImpact" value="0"/> +</pass> +<pass name="Optimize4" refer="Optimize3" active="yes"> +<param name="cfChangeDir" value="25"/> +</pass> +</autorouter> +<elements> +<element name="""" library="fab" package="SOIC8" value="" x="16.51" y="13.97" rot="R180"/> +<element name="C1" library="fab" package="C1206FAB" value="1 pF" x="27.94" y="13.589" rot="R90"/> +<element name="R1" library="fab" package="R1206FAB" value="10K" x="24.003" y="13.589" rot="R90"/> +<element name="R2" library="fab" package="R1206FAB" value="4.99K" x="22.9235" y="28.194" rot="R90"/> +<element name="SENSOR" library="fab" package="2X03SMD" value="" x="16.637" y="28.3845" rot="R90"/> +<element name="U$2" library="fab" package="1X06SMD" value="FTDI-SMD-HEADER" x="33.274" y="10.668"/> +<element name="U$3" library="fab" package="2X03SMD" value="AVRISPSMD" x="6.604" y="12.7" rot="R180"/> +</elements> +<signals> +<signal name="GND"> +<contactref element="""" pad="4"/> +<contactref element="U$3" pad="6"/> +<contactref element="C1" pad="2"/> +<contactref element="SENSOR" pad="3"/> +<contactref element="U$2" pad="1"/> +<wire x1="33.3375" y1="17.018" x2="33.274" y2="17.018" width="0.6096" layer="1"/> +<wire x1="16.51" y1="28.2575" x2="33.3375" y2="28.2575" width="0.6096" layer="1"/> +<wire x1="33.3375" y1="28.2575" x2="33.3375" y2="17.0815" width="0.6096" layer="1"/> +<wire x1="33.3375" y1="17.0815" x2="33.3375" y2="17.018" width="0.6096" layer="1"/> +<wire x1="27.94" y1="15.24" x2="27.94" y2="17.0815" width="0.6096" layer="1"/> +<wire x1="27.94" y1="17.0815" x2="33.3375" y2="17.0815" width="0.6096" layer="1"/> +<wire x1="16.637" y1="25.8445" x2="16.51" y2="25.8445" width="0.6096" layer="1"/> +<wire x1="16.51" y1="25.8445" x2="16.51" y2="28.2575" width="0.6096" layer="1"/> +<wire x1="3.684" y1="15.24" x2="3.684" y2="17.145" width="0.6096" layer="1"/> +<wire x1="3.684" y1="17.145" x2="3.6195" y2="17.145" width="0.6096" layer="1"/> +<wire x1="3.684" y1="17.145" x2="14.615" y2="17.145" width="0.6096" layer="1"/> +<wire x1="14.615" y1="17.145" x2="14.615" y2="17.124" width="0.6096" layer="1"/> +<wire x1="14.615" y1="17.124" x2="14.615" y2="22.2885" width="0.6096" layer="1"/> +<wire x1="16.7005" y1="25.8445" x2="16.637" y2="25.8445" width="0.6096" layer="1"/> +<wire x1="14.615" y1="22.2885" x2="16.7005" y2="22.2885" width="0.6096" layer="1"/> +<wire x1="16.7005" y1="22.2885" x2="16.7005" y2="25.8445" width="0.6096" layer="1"/> +</signal> +<signal name="N$2"> +<contactref element="""" pad="2"/> +<contactref element="R2" pad="1"/> +<contactref element="SENSOR" pad="5"/> +<wire x1="19.177" y1="25.8445" x2="19.177" y2="23.1775" width="0.6096" layer="1"/> +<wire x1="19.177" y1="23.1775" x2="22.9235" y2="23.1775" width="0.6096" layer="1"/> +<wire x1="22.987" y1="23.1775" x2="22.9235" y2="23.1775" width="0.6096" layer="1"/> +<wire x1="22.9235" y1="23.1775" x2="22.9235" y2="26.543" width="0.6096" layer="1"/> +<wire x1="17.145" y1="17.124" x2="17.155" y2="17.124" width="0.6096" layer="1"/> +<wire x1="17.155" y1="17.124" x2="17.155" y2="20.32" width="0.6096" layer="1"/> +<wire x1="17.155" y1="20.32" x2="19.177" y2="20.32" width="0.6096" layer="1"/> +<wire x1="19.177" y1="20.32" x2="19.177" y2="23.1775" width="0.6096" layer="1"/> +</signal> +<signal name="VCC"> +<contactref element="SENSOR" pad="1"/> +<contactref element="U$2" pad="3"/> +<contactref element="U$3" pad="2"/> +<contactref element="R2" pad="2"/> +<contactref element="""" pad="8"/> +<contactref element="R1" pad="1"/> +<contactref element="C1" pad="1"/> +<wire x1="24.003" y1="11.938" x2="27.94" y2="11.938" width="0.6096" layer="1"/> +<wire x1="27.94" y1="11.938" x2="33.02" y2="11.938" width="0.6096" layer="1"/> +<wire x1="33.02" y1="11.938" x2="33.274" y2="11.938" width="0.6096" layer="1"/> +<wire x1="18.415" y1="10.816" x2="18.415" y2="9.9695" width="0.6096" layer="1"/> +<wire x1="18.415" y1="9.9695" x2="23.9395" y2="9.9695" width="0.6096" layer="1"/> +<wire x1="23.9395" y1="9.9695" x2="23.9395" y2="11.938" width="0.6096" layer="1"/> +<wire x1="23.9395" y1="11.938" x2="24.003" y2="11.938" width="0.6096" layer="1"/> +<wire x1="3.684" y1="10.16" x2="1.3208" y2="10.16" width="0.6096" layer="1"/> +<wire x1="1.3208" y1="10.16" x2="1.3208" y2="25.8445" width="0.6096" layer="1"/> +<wire x1="1.3208" y1="25.8445" x2="14.097" y2="25.8445" width="0.6096" layer="1"/> +<wire x1="14.097" y1="25.8445" x2="14.097" y2="29.464" width="0.6096" layer="1"/> +<wire x1="22.9235" y1="29.464" x2="22.9235" y2="29.845" width="0.6096" layer="1"/> +<wire x1="14.097" y1="29.464" x2="22.9235" y2="29.464" width="0.6096" layer="1"/> +<wire x1="33.02" y1="12.0015" x2="33.02" y2="11.938" width="0.6096" layer="1"/> +<wire x1="22.9235" y1="29.845" x2="22.86" y2="29.845" width="0.6096" layer="1"/> +<wire x1="22.86" y1="29.845" x2="22.86" y2="31.75" width="0.6096" layer="1"/> +<wire x1="22.86" y1="31.75" x2="35.941" y2="31.75" width="0.6096" layer="1"/> +<wire x1="33.02" y1="12.065" x2="33.02" y2="12.0015" width="0.6096" layer="1"/> +<wire x1="35.941" y1="31.75" x2="35.941" y2="12.065" width="0.6096" layer="1"/> +<wire x1="35.941" y1="12.065" x2="33.02" y2="12.065" width="0.6096" layer="1"/> +</signal> +<signal name="N$5"> +<contactref element="""" pad="1"/> +<contactref element="U$3" pad="5"/> +<contactref element="R1" pad="2"/> +<wire x1="9.144" y1="15.24" x2="18.415" y2="15.24" width="0.6096" layer="1"/> +<wire x1="18.415" y1="15.24" x2="18.415" y2="17.124" width="0.6096" layer="1"/> +<wire x1="18.415" y1="15.24" x2="24.003" y2="15.24" width="0.6096" layer="1"/> +</signal> +<signal name="N$8"> +<contactref element="U$3" pad="1"/> +<contactref element="""" pad="6"/> +<wire x1="9.144" y1="10.16" x2="12.7" y2="10.16" width="0.6096" layer="1"/> +<wire x1="12.7" y1="10.16" x2="12.7" y2="12.3825" width="0.6096" layer="1"/> +<wire x1="12.954" y1="12.6365" x2="15.875" y2="12.6365" width="0.6096" layer="1"/> +<wire x1="15.875" y1="12.6365" x2="15.875" y2="10.816" width="0.6096" layer="1"/> +<wire x1="12.7" y1="12.3825" x2="12.954" y2="12.6365" width="0.6096" layer="1"/> +</signal> +<signal name="N$9"> +<contactref element="""" pad="5"/> +<contactref element="U$3" pad="4"/> +<wire x1="3.684" y1="12.7" x2="5.842" y2="12.7" width="0.6096" layer="1"/> +<wire x1="5.842" y1="12.7" x2="5.969" y2="12.573" width="0.6096" layer="1"/> +<wire x1="5.969" y1="12.573" x2="5.969" y2="7.62" width="0.6096" layer="1"/> +<wire x1="5.969" y1="7.62" x2="5.9055" y2="7.5565" width="0.6096" layer="1"/> +<wire x1="5.9055" y1="7.5565" x2="14.478" y2="7.5565" width="0.6096" layer="1"/> +<wire x1="14.478" y1="7.5565" x2="14.5415" y2="7.62" width="0.6096" layer="1"/> +<wire x1="14.5415" y1="7.62" x2="14.5415" y2="10.7525" width="0.6096" layer="1"/> +<wire x1="14.5415" y1="10.7525" x2="14.605" y2="10.816" width="0.6096" layer="1"/> +</signal> +<signal name="N$1"> +<contactref element="U$3" pad="3"/> +<contactref element="U$2" pad="5"/> +<contactref element="""" pad="7"/> +<wire x1="17.145" y1="10.816" x2="17.145" y2="6.985" width="0.6096" layer="1"/> +<wire x1="17.145" y1="6.985" x2="17.272" y2="6.858" width="0.6096" layer="1"/> +<wire x1="17.272" y1="6.858" x2="33.274" y2="6.858" width="0.6096" layer="1"/> +<wire x1="11.176" y1="12.7" x2="11.176" y2="12.6365" width="0.6096" layer="1"/> +<wire x1="11.176" y1="12.7" x2="11.176" y2="13.843" width="0.6096" layer="1"/> +<wire x1="17.2085" y1="13.843" x2="17.2085" y2="10.816" width="0.6096" layer="1"/> +<wire x1="17.2085" y1="10.816" x2="17.145" y2="10.816" width="0.6096" layer="1"/> +<wire x1="11.176" y1="13.843" x2="17.2085" y2="13.843" width="0.6096" layer="1"/> +<wire x1="9.144" y1="12.7" x2="11.176" y2="12.7" width="0.6096" layer="1"/> +</signal> +<signal name="N$3"> +<wire x1="8.89" y1="20.32" x2="6.35" y2="20.32" width="0.6096" layer="1" curve="-90"/> +</signal> +</signals> +</board> +</drawing> +<compatibility> +<note version="6.3" minversion="6.2.2" severity="warning"> +Since Version 6.2.2 text objects can contain more than one line, +which will not be processed correctly with this version. +</note> +</compatibility> +</eagle> diff --git a/files/Week_11/ds18b20.png b/files/Week_11/ds18b20.png new file mode 100644 index 0000000000000000000000000000000000000000..da298a4be46f764107e47758909b898adf6dce25 Binary files /dev/null and b/files/Week_11/ds18b20.png differ diff --git a/files/Week_11/ds18b20.sch b/files/Week_11/ds18b20.sch new file mode 100644 index 0000000000000000000000000000000000000000..76a7bebc6d553ccb18d9cbf2650b6e46014d3f4a --- /dev/null +++ b/files/Week_11/ds18b20.sch @@ -0,0 +1,851 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE eagle SYSTEM "eagle.dtd"> +<eagle version="8.6.3"> +<drawing> +<settings> +<setting alwaysvectorfont="no"/> +<setting verticaltext="up"/> +</settings> +<grid distance="0.1" unitdist="inch" unit="inch" style="lines" multiple="1" display="no" altdistance="0.01" altunitdist="inch" altunit="inch"/> +<layers> +<layer number="1" name="Top" color="4" fill="1" visible="no" active="no"/> +<layer number="2" name="Route2" color="1" fill="3" visible="no" active="no"/> +<layer number="3" name="Route3" color="4" fill="3" visible="no" active="no"/> +<layer number="4" name="Route4" color="1" fill="4" visible="no" active="no"/> +<layer number="5" name="Route5" color="4" fill="4" visible="no" active="no"/> +<layer number="6" name="Route6" color="1" fill="8" visible="no" active="no"/> +<layer number="7" name="Route7" color="4" fill="8" visible="no" active="no"/> +<layer number="8" name="Route8" color="1" fill="2" visible="no" active="no"/> +<layer number="9" name="Route9" color="4" fill="2" visible="no" active="no"/> +<layer number="10" name="Route10" color="1" fill="7" visible="no" active="no"/> +<layer number="11" name="Route11" color="4" fill="7" visible="no" active="no"/> +<layer number="12" name="Route12" color="1" fill="5" visible="no" active="no"/> +<layer number="13" name="Route13" color="4" fill="5" visible="no" active="no"/> +<layer number="14" name="Route14" color="1" fill="6" visible="no" active="no"/> +<layer number="15" name="Route15" color="4" fill="6" visible="no" active="no"/> +<layer number="16" name="Bottom" color="1" fill="1" visible="no" active="no"/> +<layer number="17" name="Pads" color="2" fill="1" visible="no" active="no"/> +<layer number="18" name="Vias" color="2" fill="1" visible="no" active="no"/> +<layer number="19" name="Unrouted" color="6" fill="1" visible="no" active="no"/> +<layer number="20" name="Dimension" color="15" fill="1" visible="no" active="no"/> +<layer number="21" name="tPlace" color="7" fill="1" visible="no" active="no"/> +<layer number="22" name="bPlace" color="7" fill="1" visible="no" active="no"/> +<layer number="23" name="tOrigins" color="15" fill="1" visible="no" active="no"/> +<layer number="24" name="bOrigins" color="15" fill="1" visible="no" active="no"/> +<layer number="25" name="tNames" color="7" fill="1" visible="no" active="no"/> +<layer number="26" name="bNames" color="7" fill="1" visible="no" active="no"/> +<layer number="27" name="tValues" color="7" fill="1" visible="no" active="no"/> +<layer number="28" name="bValues" color="7" fill="1" visible="no" active="no"/> +<layer number="29" name="tStop" color="7" fill="3" visible="no" active="no"/> +<layer number="30" name="bStop" color="7" fill="6" visible="no" active="no"/> +<layer number="31" name="tCream" color="7" fill="4" visible="no" active="no"/> +<layer number="32" name="bCream" color="7" fill="5" visible="no" active="no"/> +<layer number="33" name="tFinish" color="6" fill="3" visible="no" active="no"/> +<layer number="34" name="bFinish" color="6" fill="6" visible="no" active="no"/> +<layer number="35" name="tGlue" color="7" fill="4" visible="no" active="no"/> +<layer number="36" name="bGlue" color="7" fill="5" visible="no" active="no"/> +<layer number="37" name="tTest" color="7" fill="1" visible="no" active="no"/> +<layer number="38" name="bTest" color="7" fill="1" visible="no" active="no"/> +<layer number="39" name="tKeepout" color="4" fill="11" visible="no" active="no"/> +<layer number="40" name="bKeepout" color="1" fill="11" visible="no" active="no"/> +<layer number="41" name="tRestrict" color="4" fill="10" visible="no" active="no"/> +<layer number="42" name="bRestrict" color="1" fill="10" visible="no" active="no"/> +<layer number="43" name="vRestrict" color="2" fill="10" visible="no" active="no"/> +<layer number="44" name="Drills" color="7" fill="1" visible="no" active="no"/> +<layer number="45" name="Holes" color="7" fill="1" visible="no" active="no"/> +<layer number="46" name="Milling" color="3" fill="1" visible="no" active="no"/> +<layer number="47" name="Measures" color="7" fill="1" visible="no" active="no"/> +<layer number="48" name="Document" color="7" fill="1" visible="no" active="no"/> +<layer number="49" name="Reference" color="7" fill="1" visible="no" active="no"/> +<layer number="50" name="dxf" color="7" fill="1" visible="no" active="no"/> +<layer number="51" name="tDocu" color="7" fill="1" visible="no" active="no"/> +<layer number="52" name="bDocu" color="7" fill="1" visible="no" active="no"/> +<layer number="53" name="tGND_GNDA" color="7" fill="9" visible="no" active="no"/> +<layer number="54" name="bGND_GNDA" color="1" fill="9" visible="no" active="no"/> +<layer number="56" name="wert" color="7" fill="1" visible="no" active="no"/> +<layer number="57" name="tCAD" color="7" fill="1" visible="no" active="no"/> +<layer number="59" name="tCarbon" color="7" fill="1" visible="no" active="no"/> +<layer number="60" name="bCarbon" color="7" fill="1" visible="no" active="no"/> +<layer number="88" name="SimResults" color="9" fill="1" visible="yes" active="yes"/> +<layer number="89" name="SimProbes" color="9" fill="1" visible="yes" active="yes"/> +<layer number="90" name="Modules" color="5" fill="1" visible="yes" active="yes"/> +<layer number="91" name="Nets" color="2" fill="1" visible="yes" active="yes"/> +<layer number="92" name="Busses" color="1" fill="1" visible="yes" active="yes"/> +<layer number="93" name="Pins" color="2" fill="1" visible="no" active="yes"/> +<layer number="94" name="Symbols" color="4" fill="1" visible="yes" active="yes"/> +<layer number="95" name="Names" color="7" fill="1" visible="yes" active="yes"/> +<layer number="96" name="Values" color="7" fill="1" visible="yes" active="yes"/> +<layer number="97" name="Info" color="7" fill="1" visible="yes" active="yes"/> +<layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> +<layer number="99" name="SpiceOrder" color="7" fill="1" visible="yes" active="yes"/> +<layer number="100" name="Muster" color="7" fill="1" visible="no" active="no"/> +<layer number="101" name="Patch_Top" color="12" fill="4" visible="no" active="yes"/> +<layer number="102" name="Vscore" color="7" fill="1" visible="no" active="yes"/> +<layer number="103" name="tMap" color="7" fill="1" visible="no" active="yes"/> +<layer number="104" name="Name" color="7" fill="1" visible="no" active="yes"/> +<layer number="105" name="tPlate" color="7" fill="1" visible="no" active="yes"/> +<layer number="106" name="bPlate" color="7" fill="1" visible="no" active="yes"/> +<layer number="107" name="Crop" color="7" fill="1" visible="no" active="yes"/> +<layer number="108" name="tplace-old" color="10" fill="1" visible="no" active="yes"/> +<layer number="109" name="ref-old" color="11" fill="1" visible="no" active="yes"/> +<layer number="110" name="fp0" color="7" fill="1" visible="no" active="yes"/> +<layer number="111" name="LPC17xx" color="7" fill="1" visible="no" active="yes"/> +<layer number="112" name="tSilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="113" name="IDFDebug" color="7" fill="1" visible="no" active="yes"/> +<layer number="114" name="Badge_Outline" color="7" fill="1" visible="yes" active="yes"/> +<layer number="115" name="ReferenceISLANDS" color="7" fill="1" visible="yes" active="yes"/> +<layer number="116" name="Patch_BOT" color="9" fill="4" visible="no" active="yes"/> +<layer number="118" name="Rect_Pads" color="7" fill="1" visible="no" active="yes"/> +<layer number="121" name="_tsilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="122" name="_bsilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="123" name="tTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="124" name="bTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="125" name="_tNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="126" name="_bNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="127" name="_tValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="128" name="_bValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="129" name="Mask" color="7" fill="1" visible="no" active="yes"/> +<layer number="131" name="tAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="132" name="bAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="144" name="Drill_legend" color="7" fill="1" visible="no" active="yes"/> +<layer number="150" name="Notes" color="7" fill="1" visible="no" active="yes"/> +<layer number="151" name="HeatSink" color="7" fill="1" visible="no" active="yes"/> +<layer number="152" name="_bDocu" color="7" fill="1" visible="no" active="yes"/> +<layer number="153" name="FabDoc1" color="7" fill="1" visible="no" active="yes"/> +<layer number="154" name="FabDoc2" color="7" fill="1" visible="no" active="yes"/> +<layer number="155" name="FabDoc3" color="7" fill="1" visible="no" active="yes"/> +<layer number="199" name="Contour" color="7" fill="1" visible="no" active="yes"/> +<layer number="200" name="200bmp" color="1" fill="10" visible="no" active="yes"/> +<layer number="201" name="201bmp" color="2" fill="10" visible="no" active="yes"/> +<layer number="202" name="202bmp" color="3" fill="10" visible="no" active="yes"/> +<layer number="203" name="203bmp" color="4" fill="10" visible="no" active="yes"/> +<layer number="204" name="204bmp" color="5" fill="10" visible="no" active="yes"/> +<layer number="205" name="205bmp" color="6" fill="10" visible="no" active="yes"/> +<layer number="206" name="206bmp" color="7" fill="10" visible="no" active="yes"/> +<layer number="207" name="207bmp" color="8" fill="10" visible="no" active="yes"/> +<layer number="208" name="208bmp" color="9" fill="10" visible="no" active="yes"/> +<layer number="209" name="209bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="210" name="210bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="211" name="211bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="212" name="212bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="213" name="213bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="214" name="214bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="215" name="215bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="216" name="216bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="217" name="217bmp" color="18" fill="1" visible="no" active="no"/> +<layer number="218" name="218bmp" color="19" fill="1" visible="no" active="no"/> +<layer number="219" name="219bmp" color="20" fill="1" visible="no" active="no"/> +<layer number="220" name="220bmp" color="21" fill="1" visible="no" active="no"/> +<layer number="221" name="221bmp" color="22" fill="1" visible="no" active="no"/> +<layer number="222" name="222bmp" color="23" fill="1" visible="no" active="no"/> +<layer number="223" name="223bmp" color="24" fill="1" visible="no" active="no"/> +<layer number="224" name="224bmp" color="25" fill="1" visible="no" active="no"/> +<layer number="225" name="225bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="226" name="226bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="227" name="227bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="228" name="228bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="229" name="229bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="230" name="230bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="231" name="231bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="248" name="Housing" color="7" fill="1" visible="no" active="yes"/> +<layer number="249" name="Edge" color="7" fill="1" visible="no" active="yes"/> +<layer number="250" name="Descript" color="3" fill="1" visible="no" active="no"/> +<layer number="251" name="SMDround" color="12" fill="11" visible="no" active="no"/> +<layer number="254" name="cooling" color="7" fill="1" visible="no" active="yes"/> +<layer number="255" name="routoute" color="7" fill="1" visible="no" active="yes"/> +</layers> +<schematic xreflabel="%F%N/%S.%C%R" xrefpart="/%S.%C%R"> +<libraries> +<library name="fab"> +<packages> +<package name="SOIC8"> +<description><B>Wide Plastic Gull Wing Small Outline Package</B></description> +<wire x1="-2.6" y1="2.25" x2="-2.35" y2="2.5" width="0.1524" layer="21" curve="-90" cap="flat"/> +<wire x1="2.35" y1="2.5" x2="2.6" y2="2.25" width="0.1524" layer="21" curve="-90"/> +<wire x1="2.35" y1="-2.5" x2="2.6" y2="-2.25" width="0.1524" layer="21" curve="90" cap="flat"/> +<wire x1="-2.6" y1="-2.25" x2="-2.35" y2="-2.5" width="0.1524" layer="21" curve="90" cap="flat"/> +<wire x1="2.36" y1="-2.5" x2="-2.34" y2="-2.5" width="0.1524" layer="51"/> +<wire x1="-2.34" y1="2.5" x2="2.36" y2="2.5" width="0.1524" layer="51"/> +<wire x1="-2.21" y1="2.5" x2="-2.34" y2="2.5" width="0.1524" layer="21"/> +<wire x1="-1.59" y1="2.5" x2="-0.95" y2="2.5" width="0.1524" layer="21"/> +<wire x1="-0.32" y1="2.5" x2="0.32" y2="2.5" width="0.1524" layer="21"/> +<wire x1="0.95" y1="2.5" x2="1.59" y2="2.5" width="0.1524" layer="21"/> +<wire x1="2.21" y1="2.5" x2="2.36" y2="2.5" width="0.1524" layer="21"/> +<wire x1="2.2" y1="-2.5" x2="2.33" y2="-2.5" width="0.1524" layer="21"/> +<wire x1="1.59" y1="-2.5" x2="0.94" y2="-2.5" width="0.1524" layer="21"/> +<wire x1="0.32" y1="-2.5" x2="-0.33" y2="-2.5" width="0.1524" layer="21"/> +<wire x1="-0.95" y1="-2.5" x2="-1.59" y2="-2.5" width="0.1524" layer="21"/> +<wire x1="-2.21" y1="-2.5" x2="-2.34" y2="-2.5" width="0.1524" layer="21"/> +<wire x1="-2.6" y1="2.25" x2="-2.6" y2="-2.24" width="0.1524" layer="21"/> +<wire x1="2.6" y1="-2.25" x2="2.6" y2="2.25" width="0.1524" layer="21"/> +<circle x="-1.42" y="-1.115" radius="0.5" width="0.0508" layer="21"/> +<smd name="1" x="-1.905" y="-3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="2" x="-0.645" y="-3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="3" x="0.625" y="-3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="4" x="1.895" y="-3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="8" x="-1.905" y="3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="7" x="-0.635" y="3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="6" x="0.635" y="3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="5" x="1.905" y="3.154" dx="0.5" dy="2.2" layer="1"/> +<text x="-2.8575" y="-2.159" size="1.27" layer="25" ratio="10" rot="R90">>NAME</text> +<text x="4.064" y="-2.159" size="1.27" layer="27" ratio="10" rot="R90">>VALUE</text> +<rectangle x1="-2.08" y1="2.5" x2="-1.73" y2="3.4" layer="51"/> +<rectangle x1="-0.81" y1="2.5" x2="-0.46" y2="3.4" layer="51"/> +<rectangle x1="0.46" y1="2.5" x2="0.81" y2="3.4" layer="51"/> +<rectangle x1="1.73" y1="2.5" x2="2.08" y2="3.4" layer="51"/> +<rectangle x1="1.72" y1="-3.4" x2="2.07" y2="-2.5" layer="51"/> +<rectangle x1="0.45" y1="-3.4" x2="0.8" y2="-2.5" layer="51"/> +<rectangle x1="-0.82" y1="-3.4" x2="-0.47" y2="-2.5" layer="51"/> +<rectangle x1="-2.08" y1="-3.4" x2="-1.73" y2="-2.5" layer="51"/> +</package> +<package name="R1206"> +<description><b>RESISTOR</b></description> +<wire x1="0.9525" y1="-0.8128" x2="-0.9652" y2="-0.8128" width="0.1524" layer="51"/> +<wire x1="0.9525" y1="0.8128" x2="-0.9652" y2="0.8128" width="0.1524" layer="51"/> +<wire x1="-2.473" y1="0.983" x2="2.473" y2="0.983" width="0.0508" layer="39"/> +<wire x1="2.473" y1="0.983" x2="2.473" y2="-0.983" width="0.0508" layer="39"/> +<wire x1="2.473" y1="-0.983" x2="-2.473" y2="-0.983" width="0.0508" layer="39"/> +<wire x1="-2.473" y1="-0.983" x2="-2.473" y2="0.983" width="0.0508" layer="39"/> +<smd name="2" x="1.422" y="0" dx="1.6" dy="1.803" layer="1"/> +<smd name="1" x="-1.422" y="0" dx="1.6" dy="1.803" layer="1"/> +<text x="-1.27" y="1.27" size="1.27" layer="25">>NAME</text> +<text x="-1.27" y="-2.54" size="1.27" layer="27">>VALUE</text> +<rectangle x1="-1.6891" y1="-0.8763" x2="-0.9525" y2="0.8763" layer="51"/> +<rectangle x1="0.9525" y1="-0.8763" x2="1.6891" y2="0.8763" layer="51"/> +<rectangle x1="-0.3" y1="-0.7" x2="0.3" y2="0.7" layer="35"/> +</package> +<package name="R1206W"> +<description><b>RESISTOR</b><p> +wave soldering</description> +<wire x1="-0.913" y1="0.8" x2="0.888" y2="0.8" width="0.1524" layer="51"/> +<wire x1="-0.913" y1="-0.8" x2="0.888" y2="-0.8" width="0.1524" layer="51"/> +<wire x1="-2.473" y1="0.983" x2="2.473" y2="0.983" width="0.0508" layer="39"/> +<wire x1="2.473" y1="0.983" x2="2.473" y2="-0.983" width="0.0508" layer="39"/> +<wire x1="2.473" y1="-0.983" x2="-2.473" y2="-0.983" width="0.0508" layer="39"/> +<wire x1="-2.473" y1="-0.983" x2="-2.473" y2="0.983" width="0.0508" layer="39"/> +<smd name="1" x="-1.499" y="0" dx="1.8" dy="1.2" layer="1"/> +<smd name="2" x="1.499" y="0" dx="1.8" dy="1.2" layer="1"/> +<text x="-1.905" y="1.27" size="1.27" layer="25">>NAME</text> +<text x="-1.905" y="-2.54" size="1.27" layer="27">>VALUE</text> +<rectangle x1="-1.651" y1="-0.8763" x2="-0.9009" y2="0.8738" layer="51"/> +<rectangle x1="0.889" y1="-0.8763" x2="1.6391" y2="0.8738" layer="51"/> +<rectangle x1="-0.3" y1="-0.7" x2="0.3" y2="0.7" layer="35"/> +</package> +<package name="R1206FAB"> +<wire x1="-2.032" y1="1.016" x2="2.032" y2="1.016" width="0.127" layer="21"/> +<wire x1="2.032" y1="1.016" x2="2.032" y2="-1.016" width="0.127" layer="21"/> +<wire x1="2.032" y1="-1.016" x2="-2.032" y2="-1.016" width="0.127" layer="21"/> +<wire x1="-2.032" y1="-1.016" x2="-2.032" y2="1.016" width="0.127" layer="21"/> +<smd name="1" x="-1.651" y="0" dx="1.27" dy="1.905" layer="1"/> +<smd name="2" x="1.651" y="0" dx="1.27" dy="1.905" layer="1"/> +<text x="-1.778" y="1.27" size="1.016" layer="25" ratio="15">>NAME</text> +<text x="-1.778" y="-2.286" size="1.016" layer="27" ratio="15">>VALUE</text> +</package> +<package name="C1206"> +<description><b>CAPACITOR</b></description> +<wire x1="-2.473" y1="0.983" x2="2.473" y2="0.983" width="0.0508" layer="39"/> +<wire x1="2.473" y1="-0.983" x2="-2.473" y2="-0.983" width="0.0508" layer="39"/> +<wire x1="-2.473" y1="-0.983" x2="-2.473" y2="0.983" width="0.0508" layer="39"/> +<wire x1="2.473" y1="0.983" x2="2.473" y2="-0.983" width="0.0508" layer="39"/> +<wire x1="-0.965" y1="0.787" x2="0.965" y2="0.787" width="0.1016" layer="51"/> +<wire x1="-0.965" y1="-0.787" x2="0.965" y2="-0.787" width="0.1016" layer="51"/> +<smd name="1" x="-1.4" y="0" dx="1.6" dy="1.8" layer="1"/> +<smd name="2" x="1.4" y="0" dx="1.6" dy="1.8" layer="1"/> +<text x="-1.27" y="1.27" size="1.27" layer="25">>NAME</text> +<text x="-1.27" y="-2.54" size="1.27" layer="27">>VALUE</text> +<rectangle x1="-1.7018" y1="-0.8509" x2="-0.9517" y2="0.8491" layer="51"/> +<rectangle x1="0.9517" y1="-0.8491" x2="1.7018" y2="0.8509" layer="51"/> +<rectangle x1="-0.1999" y1="-0.4001" x2="0.1999" y2="0.4001" layer="35"/> +</package> +<package name="C1206FAB"> +<wire x1="-2.032" y1="1.016" x2="2.032" y2="1.016" width="0.127" layer="21"/> +<wire x1="2.032" y1="1.016" x2="2.032" y2="-1.016" width="0.127" layer="21"/> +<wire x1="2.032" y1="-1.016" x2="-2.032" y2="-1.016" width="0.127" layer="21"/> +<wire x1="-2.032" y1="-1.016" x2="-2.032" y2="1.016" width="0.127" layer="21"/> +<smd name="1" x="-1.651" y="0" dx="1.27" dy="1.905" layer="1"/> +<smd name="2" x="1.651" y="0" dx="1.27" dy="1.905" layer="1"/> +<text x="-1.778" y="1.27" size="1.016" layer="25" ratio="15">>NAME</text> +<text x="-1.778" y="-2.286" size="1.016" layer="27" ratio="15">>VALUE</text> +</package> +<package name="1X06SMD"> +<smd name="1" x="0" y="6.35" dx="2.54" dy="1.27" layer="1"/> +<smd name="2" x="0" y="3.81" dx="2.54" dy="1.27" layer="1"/> +<smd name="3" x="0" y="1.27" dx="2.54" dy="1.27" layer="1"/> +<smd name="4" x="0" y="-1.27" dx="2.54" dy="1.27" layer="1"/> +<smd name="5" x="0" y="-3.81" dx="2.54" dy="1.27" layer="1"/> +<smd name="6" x="0" y="-6.35" dx="2.54" dy="1.27" layer="1"/> +<text x="-1.905" y="-3.175" size="1.27" layer="25" rot="R90">>NAME</text> +</package> +<package name="2X03SMD"> +<smd name="1" x="-2.54" y="2.54" dx="2.54" dy="1.27" layer="1"/> +<smd name="3" x="-2.54" y="0" dx="2.54" dy="1.27" layer="1"/> +<smd name="5" x="-2.54" y="-2.54" dx="2.54" dy="1.27" layer="1"/> +<smd name="2" x="2.92" y="2.54" dx="2.54" dy="1.27" layer="1"/> +<smd name="4" x="2.92" y="0" dx="2.54" dy="1.27" layer="1"/> +<smd name="6" x="2.92" y="-2.54" dx="2.54" dy="1.27" layer="1"/> +<text x="-5.08" y="2.54" size="1.27" layer="27">1</text> +<text x="-3.81" y="3.81" size="1.27" layer="25">>NAME</text> +<text x="-3.81" y="-5.08" size="1.27" layer="27">>VALUE</text> +</package> +<package name="2X03"> +<description><b>PIN HEADER</b></description> +<wire x1="-3.81" y1="-1.905" x2="-3.175" y2="-2.54" width="0.1524" layer="21"/> +<wire x1="-1.905" y1="-2.54" x2="-1.27" y2="-1.905" width="0.1524" layer="21"/> +<wire x1="-1.27" y1="-1.905" x2="-0.635" y2="-2.54" width="0.1524" layer="21"/> +<wire x1="0.635" y1="-2.54" x2="1.27" y2="-1.905" width="0.1524" layer="21"/> +<wire x1="-3.81" y1="-1.905" x2="-3.81" y2="1.905" width="0.1524" layer="21"/> +<wire x1="-3.81" y1="1.905" x2="-3.175" y2="2.54" width="0.1524" layer="21"/> +<wire x1="-3.175" y1="2.54" x2="-1.905" y2="2.54" width="0.1524" layer="21"/> +<wire x1="-1.905" y1="2.54" x2="-1.27" y2="1.905" width="0.1524" layer="21"/> +<wire x1="-1.27" y1="1.905" x2="-0.635" y2="2.54" width="0.1524" layer="21"/> +<wire x1="-0.635" y1="2.54" x2="0.635" y2="2.54" width="0.1524" layer="21"/> +<wire x1="0.635" y1="2.54" x2="1.27" y2="1.905" width="0.1524" layer="21"/> +<wire x1="-1.27" y1="1.905" x2="-1.27" y2="-1.905" width="0.1524" layer="21"/> +<wire x1="1.27" y1="1.905" x2="1.27" y2="-1.905" width="0.1524" layer="21"/> +<wire x1="-0.635" y1="-2.54" x2="0.635" y2="-2.54" width="0.1524" layer="21"/> +<wire x1="-3.175" y1="-2.54" x2="-1.905" y2="-2.54" width="0.1524" layer="21"/> +<wire x1="1.27" y1="-1.905" x2="1.905" y2="-2.54" width="0.1524" layer="21"/> +<wire x1="3.175" y1="-2.54" x2="3.81" y2="-1.905" width="0.1524" layer="21"/> +<wire x1="1.27" y1="1.905" x2="1.905" y2="2.54" width="0.1524" layer="21"/> +<wire x1="1.905" y1="2.54" x2="3.175" y2="2.54" width="0.1524" layer="21"/> +<wire x1="3.175" y1="2.54" x2="3.81" y2="1.905" width="0.1524" layer="21"/> +<wire x1="3.81" y1="1.905" x2="3.81" y2="-1.905" width="0.1524" layer="21"/> +<wire x1="1.905" y1="-2.54" x2="3.175" y2="-2.54" width="0.1524" layer="21"/> +<wire x1="-3.175" y1="-2.921" x2="-1.905" y2="-2.921" width="0.127" layer="21"/> +<pad name="1" x="-2.54" y="-1.27" drill="1.016" shape="square"/> +<pad name="2" x="-2.54" y="1.27" drill="1.016" shape="octagon"/> +<pad name="3" x="0" y="-1.27" drill="1.016" shape="octagon"/> +<pad name="4" x="0" y="1.27" drill="1.016" shape="octagon"/> +<pad name="5" x="2.54" y="-1.27" drill="1.016" shape="octagon"/> +<pad name="6" x="2.54" y="1.27" drill="1.016" shape="octagon"/> +<text x="-3.81" y="3.175" size="1.27" layer="25" ratio="10">>NAME</text> +<text x="-3.81" y="-4.445" size="1.27" layer="27">>VALUE</text> +<text x="-5.08" y="-2.54" size="1.27" layer="21">1</text> +<rectangle x1="-2.794" y1="-1.524" x2="-2.286" y2="-1.016" layer="51"/> +<rectangle x1="-2.794" y1="1.016" x2="-2.286" y2="1.524" layer="51"/> +<rectangle x1="-0.254" y1="1.016" x2="0.254" y2="1.524" layer="51"/> +<rectangle x1="-0.254" y1="-1.524" x2="0.254" y2="-1.016" layer="51"/> +<rectangle x1="2.286" y1="1.016" x2="2.794" y2="1.524" layer="51"/> +<rectangle x1="2.286" y1="-1.524" x2="2.794" y2="-1.016" layer="51"/> +</package> +</packages> +<symbols> +<symbol name="ATTINY45"> +<wire x1="-52.07" y1="7.493" x2="-52.07" y2="5.08" width="0.4064" layer="94"/> +<wire x1="-52.07" y1="5.08" x2="-52.07" y2="2.54" width="0.4064" layer="94"/> +<wire x1="-52.07" y1="2.54" x2="-52.07" y2="0" width="0.4064" layer="94"/> +<wire x1="-52.07" y1="0" x2="-52.07" y2="-2.54" width="0.4064" layer="94"/> +<wire x1="-52.07" y1="-2.54" x2="-52.07" y2="-5.08" width="0.4064" layer="94"/> +<wire x1="-52.07" y1="-5.08" x2="34.29" y2="-5.08" width="0.4064" layer="94"/> +<wire x1="34.29" y1="-5.08" x2="34.29" y2="-2.54" width="0.4064" layer="94"/> +<wire x1="34.29" y1="-2.54" x2="34.29" y2="0" width="0.4064" layer="94"/> +<wire x1="34.29" y1="0" x2="34.29" y2="2.54" width="0.4064" layer="94"/> +<wire x1="34.29" y1="2.54" x2="34.29" y2="5.08" width="0.4064" layer="94"/> +<wire x1="34.29" y1="5.08" x2="34.29" y2="7.493" width="0.4064" layer="94"/> +<wire x1="34.29" y1="7.493" x2="-52.07" y2="7.493" width="0.4064" layer="94"/> +<wire x1="-53.34" y1="5.08" x2="-52.07" y2="5.08" width="0.254" layer="94"/> +<wire x1="-53.34" y1="2.54" x2="-52.07" y2="2.54" width="0.254" layer="94"/> +<wire x1="-53.34" y1="0" x2="-52.07" y2="0" width="0.254" layer="94"/> +<wire x1="-53.34" y1="-2.54" x2="-52.07" y2="-2.54" width="0.254" layer="94"/> +<wire x1="34.29" y1="5.08" x2="35.56" y2="5.08" width="0.254" layer="94"/> +<wire x1="34.29" y1="2.54" x2="35.56" y2="2.54" width="0.254" layer="94"/> +<wire x1="34.29" y1="0" x2="35.56" y2="0" width="0.254" layer="94"/> +<wire x1="34.29" y1="-2.54" x2="35.56" y2="-2.54" width="0.254" layer="94"/> +<text x="5.08" y="-7.62" size="1.778" layer="95">>NAME</text> +<text x="-31.75" y="-7.62" size="1.778" layer="96">ATtiny45</text> +<rectangle x1="-51.816" y1="5.969" x2="-50.546" y2="7.239" layer="94"/> +<pin name="GND" x="-53.34" y="-2.54" length="point"/> +<pin name="PB5/PCINT5/-RESET/ADC0/DW" x="-53.34" y="5.08" length="point"/> +<pin name="PB3/PCINT3/XTAL1/CLKI/-OC1B/ADC3" x="-53.34" y="2.54" length="point"/> +<pin name="PB4/PCINT4/XTAL2/CLKO/OC1B/ADC2" x="-53.34" y="0" length="point"/> +<pin name="VCC" x="35.56" y="5.08" length="point" rot="R180"/> +<pin name="SCK/USCK/SCL/ADC1/T0/INT0/PCINT2/PB2" x="35.56" y="2.54" length="point" rot="R180"/> +<pin name="MISO/DO/AIN1/OC0B/OC1A/PCINT1/PB1" x="35.56" y="0" length="point" rot="R180"/> +<pin name="MOSI/DI/SDA/AIN0/OC0A/-OC1A/AREF/PCINT0/PB0" x="35.56" y="-2.54" length="point" rot="R180"/> +</symbol> +<symbol name="R-US"> +<wire x1="-2.54" y1="0" x2="-2.159" y2="1.016" width="0.2032" layer="94"/> +<wire x1="-2.159" y1="1.016" x2="-1.524" y2="-1.016" width="0.2032" layer="94"/> +<wire x1="-1.524" y1="-1.016" x2="-0.889" y2="1.016" width="0.2032" layer="94"/> +<wire x1="-0.889" y1="1.016" x2="-0.254" y2="-1.016" width="0.2032" layer="94"/> +<wire x1="-0.254" y1="-1.016" x2="0.381" y2="1.016" width="0.2032" layer="94"/> +<wire x1="0.381" y1="1.016" x2="1.016" y2="-1.016" width="0.2032" layer="94"/> +<wire x1="1.016" y1="-1.016" x2="1.651" y2="1.016" width="0.2032" layer="94"/> +<wire x1="1.651" y1="1.016" x2="2.286" y2="-1.016" width="0.2032" layer="94"/> +<wire x1="2.286" y1="-1.016" x2="2.54" y2="0" width="0.2032" layer="94"/> +<text x="-3.81" y="1.4986" size="1.778" layer="95">>NAME</text> +<text x="-3.81" y="-3.302" size="1.778" layer="96">>VALUE</text> +<pin name="2" x="5.08" y="0" visible="off" length="short" direction="pas" swaplevel="1" rot="R180"/> +<pin name="1" x="-5.08" y="0" visible="off" length="short" direction="pas" swaplevel="1"/> +</symbol> +<symbol name="CAP-NONPOLARIZED"> +<description>non-polarized capacitor</description> +<wire x1="-1.778" y1="1.524" x2="-1.778" y2="0" width="0.254" layer="94"/> +<wire x1="-1.778" y1="0" x2="-1.778" y2="-1.524" width="0.254" layer="94"/> +<wire x1="-0.762" y1="1.524" x2="-0.762" y2="0" width="0.254" layer="94"/> +<wire x1="-0.762" y1="0" x2="-0.762" y2="-1.524" width="0.254" layer="94"/> +<wire x1="-2.54" y1="0" x2="-1.778" y2="0" width="0.1524" layer="94"/> +<wire x1="-0.762" y1="0" x2="0" y2="0" width="0.1524" layer="94"/> +<text x="-3.81" y="2.54" size="1.778" layer="95">>NAME</text> +<text x="-3.81" y="-3.81" size="1.778" layer="96">>VALUE</text> +<pin name="1" x="-5.08" y="0" visible="off" length="short" direction="pas" swaplevel="1"/> +<pin name="2" x="2.54" y="0" visible="off" length="short" direction="pas" swaplevel="1" rot="R180"/> +</symbol> +<symbol name="FTDI"> +<pin name="GND" x="0" y="12.7" length="middle"/> +<pin name="CTS" x="0" y="10.16" length="middle"/> +<pin name="VCC" x="0" y="7.62" length="middle"/> +<pin name="TXD" x="0" y="5.08" length="middle"/> +<pin name="RXD" x="0" y="2.54" length="middle"/> +<wire x1="12.7" y1="17.018" x2="2.54" y2="17.018" width="0.254" layer="94"/> +<wire x1="2.54" y1="17.018" x2="2.54" y2="-4.064" width="0.254" layer="94"/> +<wire x1="2.54" y1="-4.064" x2="12.7" y2="-4.064" width="0.254" layer="94"/> +<wire x1="12.7" y1="-4.064" x2="12.7" y2="17.018" width="0.254" layer="94"/> +<pin name="RTS" x="0" y="0" length="middle"/> +<text x="3.81" y="14.478" size="1.778" layer="95">(Black)</text> +<text x="3.302" y="-3.048" size="1.778" layer="95">(Green)</text> +</symbol> +<symbol name="AVRISP"> +<wire x1="-6.35" y1="-5.08" x2="8.89" y2="-5.08" width="0.4064" layer="94"/> +<wire x1="8.89" y1="-5.08" x2="8.89" y2="5.08" width="0.4064" layer="94"/> +<wire x1="8.89" y1="5.08" x2="-6.35" y2="5.08" width="0.4064" layer="94"/> +<wire x1="-6.35" y1="5.08" x2="-6.35" y2="-5.08" width="0.4064" layer="94"/> +<text x="-6.35" y="5.715" size="1.778" layer="95">>NAME</text> +<text x="-6.35" y="-7.62" size="1.778" layer="96">>VALUE</text> +<text x="-5.08" y="3.175" size="1.27" layer="95">MISO</text> +<text x="-5.08" y="0.635" size="1.27" layer="95">SCK</text> +<text x="-5.08" y="-1.905" size="1.27" layer="95">RST</text> +<text x="7.62" y="3.175" size="1.27" layer="95" rot="MR0">VCC</text> +<text x="7.62" y="0.635" size="1.27" layer="95" rot="MR0">MOSI</text> +<text x="7.62" y="-1.905" size="1.27" layer="95" rot="MR0">GND</text> +<pin name="MISO" x="-2.54" y="2.54" visible="off" length="short" direction="pas" function="dot"/> +<pin name="VCC" x="5.08" y="2.54" visible="off" length="short" direction="pas" function="dot" rot="R180"/> +<pin name="SCK" x="-2.54" y="0" visible="off" length="short" direction="pas" function="dot"/> +<pin name="MOSI" x="5.08" y="0" visible="off" length="short" direction="pas" function="dot" rot="R180"/> +<pin name="RST" x="-2.54" y="-2.54" visible="off" length="short" direction="pas" function="dot"/> +<pin name="GND" x="5.08" y="-2.54" visible="off" length="short" direction="pas" function="dot" rot="R180"/> +</symbol> +<symbol name="PINH2X3"> +<wire x1="-6.35" y1="-5.08" x2="8.89" y2="-5.08" width="0.4064" layer="94"/> +<wire x1="8.89" y1="-5.08" x2="8.89" y2="5.08" width="0.4064" layer="94"/> +<wire x1="8.89" y1="5.08" x2="-6.35" y2="5.08" width="0.4064" layer="94"/> +<wire x1="-6.35" y1="5.08" x2="-6.35" y2="-5.08" width="0.4064" layer="94"/> +<text x="-6.35" y="5.715" size="1.778" layer="95">>NAME</text> +<text x="-6.35" y="-7.62" size="1.778" layer="96">>VALUE</text> +<pin name="1" x="-2.54" y="2.54" visible="pad" length="short" direction="pas" function="dot"/> +<pin name="2" x="5.08" y="2.54" visible="pad" length="short" direction="pas" function="dot" rot="R180"/> +<pin name="3" x="-2.54" y="0" visible="pad" length="short" direction="pas" function="dot"/> +<pin name="4" x="5.08" y="0" visible="pad" length="short" direction="pas" function="dot" rot="R180"/> +<pin name="5" x="-2.54" y="-2.54" visible="pad" length="short" direction="pas" function="dot"/> +<pin name="6" x="5.08" y="-2.54" visible="pad" length="short" direction="pas" function="dot" rot="R180"/> +</symbol> +</symbols> +<devicesets> +<deviceset name="ATTINY45"> +<gates> +<gate name="G$1" symbol="ATTINY45" x="10.16" y="0"/> +</gates> +<devices> +<device name="SI" package="SOIC8"> +<connects> +<connect gate="G$1" pin="GND" pad="4"/> +<connect gate="G$1" pin="MISO/DO/AIN1/OC0B/OC1A/PCINT1/PB1" pad="6"/> +<connect gate="G$1" pin="MOSI/DI/SDA/AIN0/OC0A/-OC1A/AREF/PCINT0/PB0" pad="5"/> +<connect gate="G$1" pin="PB3/PCINT3/XTAL1/CLKI/-OC1B/ADC3" pad="2"/> +<connect gate="G$1" pin="PB4/PCINT4/XTAL2/CLKO/OC1B/ADC2" pad="3"/> +<connect gate="G$1" pin="PB5/PCINT5/-RESET/ADC0/DW" pad="1"/> +<connect gate="G$1" pin="SCK/USCK/SCL/ADC1/T0/INT0/PCINT2/PB2" pad="7"/> +<connect gate="G$1" pin="VCC" pad="8"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +<deviceset name="RES-US" prefix="R" uservalue="yes"> +<description><b>Resistor (US Symbol)</b> +<p> +Variants with postfix FAB are widened to allow the routing of internal traces</description> +<gates> +<gate name="G$1" symbol="R-US" x="0" y="0"/> +</gates> +<devices> +<device name="1206" package="R1206"> +<connects> +<connect gate="G$1" pin="1" pad="1"/> +<connect gate="G$1" pin="2" pad="2"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +<device name="1206W" package="R1206W"> +<connects> +<connect gate="G$1" pin="1" pad="1"/> +<connect gate="G$1" pin="2" pad="2"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +<device name="1206FAB" package="R1206FAB"> +<connects> +<connect gate="G$1" pin="1" pad="1"/> +<connect gate="G$1" pin="2" pad="2"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +<deviceset name="CAP-UNPOLARIZED" prefix="C" uservalue="yes"> +<gates> +<gate name=">NAME" symbol="CAP-NONPOLARIZED" x="0" y="0"/> +</gates> +<devices> +<device name="" package="C1206"> +<connects> +<connect gate=">NAME" pin="1" pad="1"/> +<connect gate=">NAME" pin="2" pad="2"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +<device name="FAB" package="C1206FAB"> +<connects> +<connect gate=">NAME" pin="1" pad="1"/> +<connect gate=">NAME" pin="2" pad="2"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +<deviceset name="FTDI-SMD-HEADER"> +<gates> +<gate name="G$1" symbol="FTDI" x="-7.62" y="-5.08"/> +</gates> +<devices> +<device name="" package="1X06SMD"> +<connects> +<connect gate="G$1" pin="CTS" pad="2"/> +<connect gate="G$1" pin="GND" pad="1"/> +<connect gate="G$1" pin="RTS" pad="6"/> +<connect gate="G$1" pin="RXD" pad="5"/> +<connect gate="G$1" pin="TXD" pad="4"/> +<connect gate="G$1" pin="VCC" pad="3"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +<deviceset name="AVRISP"> +<gates> +<gate name="G$1" symbol="AVRISP" x="0" y="0"/> +</gates> +<devices> +<device name="SMD" package="2X03SMD"> +<connects> +<connect gate="G$1" pin="GND" pad="6"/> +<connect gate="G$1" pin="MISO" pad="1"/> +<connect gate="G$1" pin="MOSI" pad="4"/> +<connect gate="G$1" pin="RST" pad="5"/> +<connect gate="G$1" pin="SCK" pad="3"/> +<connect gate="G$1" pin="VCC" pad="2"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +<device name="" package="2X03"> +<connects> +<connect gate="G$1" pin="GND" pad="6"/> +<connect gate="G$1" pin="MISO" pad="1"/> +<connect gate="G$1" pin="MOSI" pad="4"/> +<connect gate="G$1" pin="RST" pad="5"/> +<connect gate="G$1" pin="SCK" pad="3"/> +<connect gate="G$1" pin="VCC" pad="2"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +<deviceset name="PINHD-2X3-SMD" prefix="JP" uservalue="yes"> +<description><b>PIN HEADER</b></description> +<gates> +<gate name="A" symbol="PINH2X3" x="0" y="0"/> +</gates> +<devices> +<device name="" package="2X03SMD"> +<connects> +<connect gate="A" pin="1" pad="1"/> +<connect gate="A" pin="2" pad="2"/> +<connect gate="A" pin="3" pad="3"/> +<connect gate="A" pin="4" pad="4"/> +<connect gate="A" pin="5" pad="5"/> +<connect gate="A" pin="6" pad="6"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> +<library name="supply1" urn="urn:adsk.eagle:library:371"> +<description><b>Supply Symbols</b><p> + GND, VCC, 0V, +5V, -5V, etc.<p> + Please keep in mind, that these devices are necessary for the + automatic wiring of the supply signals.<p> + The pin name defined in the symbol is identical to the net which is to be wired automatically.<p> + In this library the device names are the same as the pin names of the symbols, therefore the correct signal names appear next to the supply symbols in the schematic.<p> + <author>Created by librarian@cadsoft.de</author></description> +<packages> +</packages> +<symbols> +<symbol name="GND" urn="urn:adsk.eagle:symbol:26925/1" library_version="1"> +<wire x1="-1.905" y1="0" x2="1.905" y2="0" width="0.254" layer="94"/> +<text x="-2.54" y="-2.54" size="1.778" layer="96">>VALUE</text> +<pin name="GND" x="0" y="2.54" visible="off" length="short" direction="sup" rot="R270"/> +</symbol> +<symbol name="VCC" urn="urn:adsk.eagle:symbol:26928/1" library_version="1"> +<wire x1="1.27" y1="-1.905" x2="0" y2="0" width="0.254" layer="94"/> +<wire x1="0" y1="0" x2="-1.27" y2="-1.905" width="0.254" layer="94"/> +<text x="-2.54" y="-2.54" size="1.778" layer="96" rot="R90">>VALUE</text> +<pin name="VCC" x="0" y="-2.54" visible="off" length="short" direction="sup" rot="R90"/> +</symbol> +</symbols> +<devicesets> +<deviceset name="GND" urn="urn:adsk.eagle:component:26954/1" prefix="GND" library_version="1"> +<description><b>SUPPLY SYMBOL</b></description> +<gates> +<gate name="1" symbol="GND" x="0" y="0"/> +</gates> +<devices> +<device name=""> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +<deviceset name="VCC" urn="urn:adsk.eagle:component:26957/1" prefix="P+" library_version="1"> +<description><b>SUPPLY SYMBOL</b></description> +<gates> +<gate name="VCC" symbol="VCC" x="0" y="0"/> +</gates> +<devices> +<device name=""> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> +</libraries> +<attributes> +</attributes> +<variantdefs> +</variantdefs> +<classes> +<class number="0" name="default" width="0" drill="0"> +</class> +</classes> +<parts> +<part name="""" library="fab" deviceset="ATTINY45" device="SI" value=""/> +<part name="R1" library="fab" deviceset="RES-US" device="1206FAB" value="10K"/> +<part name="R2" library="fab" deviceset="RES-US" device="1206FAB" value="4.99K"/> +<part name="C1" library="fab" deviceset="CAP-UNPOLARIZED" device="FAB" value="1 pF"/> +<part name="U$2" library="fab" deviceset="FTDI-SMD-HEADER" device=""/> +<part name="U$3" library="fab" deviceset="AVRISP" device="SMD"/> +<part name="SENSOR" library="fab" deviceset="PINHD-2X3-SMD" device=""/> +<part name="GND1" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="GND" device=""/> +<part name="GND2" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="GND" device=""/> +<part name="GND3" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="GND" device=""/> +<part name="P+1" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="VCC" device=""/> +<part name="P+2" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="VCC" device=""/> +<part name="GND4" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="GND" device=""/> +<part name="P+4" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="VCC" device=""/> +<part name="P+3" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="VCC" device=""/> +<part name="P+5" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="VCC" device=""/> +</parts> +<sheets> +<sheet> +<plain> +</plain> +<instances> +<instance part="""" gate="G$1" x="53.34" y="63.5"/> +<instance part="R1" gate="G$1" x="99.06" y="76.2" rot="R90"/> +<instance part="R2" gate="G$1" x="-10.16" y="81.28" rot="R90"/> +<instance part="C1" gate=">NAME" x="111.76" y="76.2" rot="R90"/> +<instance part="U$2" gate="G$1" x="35.56" y="45.72" rot="R270"/> +<instance part="U$3" gate="G$1" x="101.6" y="48.26"/> +<instance part="SENSOR" gate="A" x="43.18" y="78.74"/> +<instance part="GND1" gate="1" x="-17.78" y="60.96" rot="R270"/> +<instance part="GND2" gate="1" x="129.54" y="45.72" rot="R90"/> +<instance part="GND3" gate="1" x="12.7" y="81.28" rot="R180"/> +<instance part="P+1" gate="VCC" x="27.94" y="86.36"/> +<instance part="P+2" gate="VCC" x="114.3" y="50.8" rot="R270"/> +<instance part="GND4" gate="1" x="48.26" y="50.8" rot="R180"/> +<instance part="P+4" gate="VCC" x="43.18" y="50.8"/> +<instance part="P+3" gate="VCC" x="-10.16" y="88.9"/> +<instance part="P+5" gate="VCC" x="116.84" y="68.58" rot="R270"/> +</instances> +<busses> +</busses> +<nets> +<net name="GND" class="0"> +<segment> +<pinref part="""" gate="G$1" pin="GND"/> +<pinref part="GND1" gate="1" pin="GND"/> +<wire x1="-15.24" y1="60.96" x2="0" y2="60.96" width="0.1524" layer="91"/> +</segment> +<segment> +<pinref part="U$3" gate="G$1" pin="GND"/> +<wire x1="127" y1="45.72" x2="124.46" y2="45.72" width="0.1524" layer="91"/> +<pinref part="GND2" gate="1" pin="GND"/> +<pinref part="C1" gate=">NAME" pin="2"/> +<wire x1="124.46" y1="45.72" x2="106.68" y2="45.72" width="0.1524" layer="91"/> +<wire x1="111.76" y1="78.74" x2="111.76" y2="81.28" width="0.1524" layer="91"/> +<wire x1="111.76" y1="81.28" x2="124.46" y2="81.28" width="0.1524" layer="91"/> +<wire x1="124.46" y1="81.28" x2="124.46" y2="45.72" width="0.1524" layer="91"/> +<junction x="124.46" y="45.72"/> +</segment> +<segment> +<pinref part="SENSOR" gate="A" pin="3"/> +<pinref part="GND3" gate="1" pin="GND"/> +<wire x1="12.7" y1="78.74" x2="40.64" y2="78.74" width="0.1524" layer="91"/> +</segment> +<segment> +<pinref part="U$2" gate="G$1" pin="GND"/> +<pinref part="GND4" gate="1" pin="GND"/> +<wire x1="48.26" y1="48.26" x2="48.26" y2="45.72" width="0.1524" layer="91"/> +</segment> +</net> +<net name="N$2" class="0"> +<segment> +<pinref part="""" gate="G$1" pin="PB3/PCINT3/XTAL1/CLKI/-OC1B/ADC3"/> +<wire x1="0" y1="66.04" x2="-10.16" y2="66.04" width="0.1524" layer="91"/> +<pinref part="R2" gate="G$1" pin="1"/> +<wire x1="-10.16" y1="66.04" x2="-10.16" y2="76.2" width="0.1524" layer="91"/> +<wire x1="-10.16" y1="76.2" x2="40.64" y2="76.2" width="0.1524" layer="91"/> +<junction x="-10.16" y="76.2"/> +<pinref part="SENSOR" gate="A" pin="5"/> +</segment> +</net> +<net name="VCC" class="0"> +<segment> +<pinref part="SENSOR" gate="A" pin="1"/> +<wire x1="40.64" y1="81.28" x2="27.94" y2="81.28" width="0.1524" layer="91"/> +<pinref part="P+1" gate="VCC" pin="VCC"/> +<wire x1="27.94" y1="81.28" x2="27.94" y2="83.82" width="0.1524" layer="91"/> +</segment> +<segment> +<pinref part="U$2" gate="G$1" pin="VCC"/> +<pinref part="P+4" gate="VCC" pin="VCC"/> +<wire x1="43.18" y1="48.26" x2="43.18" y2="45.72" width="0.1524" layer="91"/> +</segment> +<segment> +<pinref part="U$3" gate="G$1" pin="VCC"/> +<pinref part="P+2" gate="VCC" pin="VCC"/> +<wire x1="111.76" y1="50.8" x2="106.68" y2="50.8" width="0.1524" layer="91"/> +</segment> +<segment> +<pinref part="R2" gate="G$1" pin="2"/> +<pinref part="P+3" gate="VCC" pin="VCC"/> +</segment> +<segment> +<pinref part="""" gate="G$1" pin="VCC"/> +<wire x1="88.9" y1="68.58" x2="99.06" y2="68.58" width="0.1524" layer="91"/> +<pinref part="P+5" gate="VCC" pin="VCC"/> +<pinref part="R1" gate="G$1" pin="1"/> +<wire x1="99.06" y1="68.58" x2="111.76" y2="68.58" width="0.1524" layer="91"/> +<wire x1="111.76" y1="68.58" x2="114.3" y2="68.58" width="0.1524" layer="91"/> +<wire x1="99.06" y1="71.12" x2="99.06" y2="68.58" width="0.1524" layer="91"/> +<junction x="99.06" y="68.58"/> +<pinref part="C1" gate=">NAME" pin="1"/> +<wire x1="111.76" y1="71.12" x2="111.76" y2="68.58" width="0.1524" layer="91"/> +<junction x="111.76" y="68.58"/> +</segment> +</net> +<net name="N$5" class="0"> +<segment> +<wire x1="-5.08" y1="91.44" x2="-5.08" y2="68.58" width="0.1524" layer="91"/> +<pinref part="""" gate="G$1" pin="PB5/PCINT5/-RESET/ADC0/DW"/> +<wire x1="-5.08" y1="68.58" x2="0" y2="68.58" width="0.1524" layer="91"/> +<junction x="-5.08" y="68.58"/> +<wire x1="-5.08" y1="68.58" x2="-5.08" y2="27.94" width="0.1524" layer="91"/> +<wire x1="-5.08" y1="27.94" x2="88.9" y2="27.94" width="0.1524" layer="91"/> +<wire x1="88.9" y1="27.94" x2="88.9" y2="45.72" width="0.1524" layer="91"/> +<pinref part="U$3" gate="G$1" pin="RST"/> +<wire x1="88.9" y1="45.72" x2="99.06" y2="45.72" width="0.1524" layer="91"/> +<pinref part="R1" gate="G$1" pin="2"/> +<wire x1="99.06" y1="81.28" x2="99.06" y2="91.44" width="0.1524" layer="91"/> +<wire x1="-5.08" y1="91.44" x2="99.06" y2="91.44" width="0.1524" layer="91"/> +</segment> +</net> +<net name="N$8" class="0"> +<segment> +<pinref part="U$3" gate="G$1" pin="MISO"/> +<wire x1="99.06" y1="50.8" x2="91.44" y2="50.8" width="0.1524" layer="91"/> +<wire x1="91.44" y1="50.8" x2="91.44" y2="63.5" width="0.1524" layer="91"/> +<pinref part="""" gate="G$1" pin="MISO/DO/AIN1/OC0B/OC1A/PCINT1/PB1"/> +<wire x1="91.44" y1="63.5" x2="88.9" y2="63.5" width="0.1524" layer="91"/> +</segment> +</net> +<net name="N$9" class="0"> +<segment> +<pinref part="""" gate="G$1" pin="MOSI/DI/SDA/AIN0/OC0A/-OC1A/AREF/PCINT0/PB0"/> +<wire x1="88.9" y1="60.96" x2="116.84" y2="60.96" width="0.1524" layer="91"/> +<wire x1="116.84" y1="60.96" x2="116.84" y2="48.26" width="0.1524" layer="91"/> +<pinref part="U$3" gate="G$1" pin="MOSI"/> +<wire x1="116.84" y1="48.26" x2="106.68" y2="48.26" width="0.1524" layer="91"/> +</segment> +</net> +<net name="N$1" class="0"> +<segment> +<pinref part="U$3" gate="G$1" pin="SCK"/> +<wire x1="76.2" y1="48.26" x2="99.06" y2="48.26" width="0.1524" layer="91"/> +<pinref part="U$2" gate="G$1" pin="RXD"/> +<wire x1="38.1" y1="45.72" x2="38.1" y2="55.88" width="0.1524" layer="91"/> +<wire x1="38.1" y1="55.88" x2="76.2" y2="55.88" width="0.1524" layer="91"/> +<wire x1="76.2" y1="55.88" x2="93.98" y2="55.88" width="0.1524" layer="91"/> +<wire x1="93.98" y1="55.88" x2="93.98" y2="66.04" width="0.1524" layer="91"/> +<pinref part="""" gate="G$1" pin="SCK/USCK/SCL/ADC1/T0/INT0/PCINT2/PB2"/> +<wire x1="93.98" y1="66.04" x2="88.9" y2="66.04" width="0.1524" layer="91"/> +<wire x1="76.2" y1="48.26" x2="76.2" y2="55.88" width="0.1524" layer="91"/> +<junction x="76.2" y="55.88"/> +</segment> +</net> +</nets> +</sheet> +</sheets> +<errors> +<approved hash="113,1,44.4077,80.2361,SENSOR,,,,,"/> +</errors> +</schematic> +</drawing> +<compatibility> +<note version="8.2" severity="warning"> +Since Version 8.2, EAGLE supports online libraries. The ids +of those online libraries will not be understood (or retained) +with this version. +</note> +<note version="8.3" severity="warning"> +Since Version 8.3, EAGLE supports URNs for individual library +assets (packages, symbols, and devices). The URNs of those assets +will not be understood (or retained) with this version. +</note> +</compatibility> +</eagle> diff --git a/files/Week_12/RGB.brd b/files/Week_12/RGB.brd new file mode 100644 index 0000000000000000000000000000000000000000..a676aa62de3564c07ee68c623eb7510c9bfa0861 --- /dev/null +++ b/files/Week_12/RGB.brd @@ -0,0 +1,650 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE eagle SYSTEM "eagle.dtd"> +<eagle version="8.6.3"> +<drawing> +<settings> +<setting alwaysvectorfont="no"/> +<setting verticaltext="up"/> +</settings> +<grid distance="50" unitdist="mil" unit="mil" style="lines" multiple="1" display="no" altdistance="1" altunitdist="mil" altunit="mil"/> +<layers> +<layer number="1" name="Top" color="4" fill="1" visible="yes" active="yes"/> +<layer number="2" name="Route2" color="1" fill="3" visible="no" active="no"/> +<layer number="3" name="Route3" color="4" fill="3" visible="no" active="no"/> +<layer number="4" name="Route4" color="1" fill="4" visible="no" active="no"/> +<layer number="5" name="Route5" color="4" fill="4" visible="no" active="no"/> +<layer number="6" name="Route6" color="1" fill="8" visible="no" active="no"/> +<layer number="7" name="Route7" color="4" fill="8" visible="no" active="no"/> +<layer number="8" name="Route8" color="1" fill="2" visible="no" active="no"/> +<layer number="9" name="Route9" color="4" fill="2" visible="no" active="no"/> +<layer number="10" name="Route10" color="1" fill="7" visible="no" active="no"/> +<layer number="11" name="Route11" color="4" fill="7" visible="no" active="no"/> +<layer number="12" name="Route12" color="1" fill="5" visible="no" active="no"/> +<layer number="13" name="Route13" color="4" fill="5" visible="no" active="no"/> +<layer number="14" name="Route14" color="1" fill="6" visible="no" active="no"/> +<layer number="15" name="Route15" color="4" fill="6" visible="no" active="no"/> +<layer number="16" name="Bottom" color="1" fill="1" visible="no" active="yes"/> +<layer number="17" name="Pads" color="2" fill="1" visible="no" active="yes"/> +<layer number="18" name="Vias" color="2" fill="1" visible="no" active="yes"/> +<layer number="19" name="Unrouted" color="6" fill="1" visible="yes" active="yes"/> +<layer number="20" name="Dimension" color="24" fill="1" visible="yes" active="yes"/> +<layer number="21" name="tPlace" color="7" fill="1" visible="no" active="yes"/> +<layer number="22" name="bPlace" color="7" fill="1" visible="no" active="yes"/> +<layer number="23" name="tOrigins" color="15" fill="1" visible="no" active="yes"/> +<layer number="24" name="bOrigins" color="15" fill="1" visible="no" active="yes"/> +<layer number="25" name="tNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="26" name="bNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="27" name="tValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="28" name="bValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="29" name="tStop" color="7" fill="3" visible="no" active="yes"/> +<layer number="30" name="bStop" color="7" fill="6" visible="no" active="yes"/> +<layer number="31" name="tCream" color="7" fill="4" visible="no" active="yes"/> +<layer number="32" name="bCream" color="7" fill="5" visible="no" active="yes"/> +<layer number="33" name="tFinish" color="6" fill="3" visible="no" active="yes"/> +<layer number="34" name="bFinish" color="6" fill="6" visible="no" active="yes"/> +<layer number="35" name="tGlue" color="7" fill="4" visible="no" active="yes"/> +<layer number="36" name="bGlue" color="7" fill="5" visible="no" active="yes"/> +<layer number="37" name="tTest" color="7" fill="1" visible="no" active="yes"/> +<layer number="38" name="bTest" color="7" fill="1" visible="no" active="yes"/> +<layer number="39" name="tKeepout" color="4" fill="11" visible="yes" active="yes"/> +<layer number="40" name="bKeepout" color="1" fill="11" visible="yes" active="yes"/> +<layer number="41" name="tRestrict" color="4" fill="10" visible="yes" active="yes"/> +<layer number="42" name="bRestrict" color="1" fill="10" visible="yes" active="yes"/> +<layer number="43" name="vRestrict" color="2" fill="10" visible="yes" active="yes"/> +<layer number="44" name="Drills" color="7" fill="1" visible="no" active="yes"/> +<layer number="45" name="Holes" color="7" fill="1" visible="no" active="yes"/> +<layer number="46" name="Milling" color="3" fill="1" visible="no" active="yes"/> +<layer number="47" name="Measures" color="7" fill="1" visible="no" active="yes"/> +<layer number="48" name="Document" color="7" fill="1" visible="yes" active="yes"/> +<layer number="49" name="Reference" color="7" fill="1" visible="yes" active="yes"/> +<layer number="50" name="dxf" color="7" fill="1" visible="no" active="no"/> +<layer number="51" name="tDocu" color="7" fill="1" visible="no" active="yes"/> +<layer number="52" name="bDocu" color="7" fill="1" visible="yes" active="yes"/> +<layer number="53" name="tGND_GNDA" color="7" fill="9" visible="no" active="no"/> +<layer number="54" name="bGND_GNDA" color="1" fill="9" visible="no" active="no"/> +<layer number="56" name="wert" color="7" fill="1" visible="no" active="no"/> +<layer number="57" name="tCAD" color="7" fill="1" visible="no" active="no"/> +<layer number="59" name="tCarbon" color="7" fill="1" visible="no" active="no"/> +<layer number="60" name="bCarbon" color="7" fill="1" visible="no" active="no"/> +<layer number="88" name="SimResults" color="9" fill="1" visible="no" active="no"/> +<layer number="89" name="SimProbes" color="9" fill="1" visible="no" active="no"/> +<layer number="90" name="Modules" color="5" fill="1" visible="no" active="no"/> +<layer number="91" name="Nets" color="2" fill="1" visible="no" active="no"/> +<layer number="92" name="Busses" color="1" fill="1" visible="no" active="no"/> +<layer number="93" name="Pins" color="2" fill="1" visible="no" active="no"/> +<layer number="94" name="Symbols" color="4" fill="1" visible="no" active="no"/> +<layer number="95" name="Names" color="7" fill="1" visible="no" active="no"/> +<layer number="96" name="Values" color="7" fill="1" visible="no" active="no"/> +<layer number="97" name="Info" color="7" fill="1" visible="no" active="no"/> +<layer number="98" name="Guide" color="6" fill="1" visible="no" active="no"/> +<layer number="99" name="SpiceOrder" color="7" fill="1" visible="no" active="no"/> +<layer number="100" name="Muster" color="7" fill="1" visible="no" active="no"/> +<layer number="101" name="Patch_Top" color="12" fill="4" visible="no" active="yes"/> +<layer number="102" name="Vscore" color="7" fill="1" visible="no" active="yes"/> +<layer number="103" name="tMap" color="7" fill="1" visible="no" active="yes"/> +<layer number="104" name="Name" color="7" fill="1" visible="no" active="yes"/> +<layer number="105" name="tPlate" color="7" fill="1" visible="no" active="yes"/> +<layer number="106" name="bPlate" color="7" fill="1" visible="no" active="yes"/> +<layer number="107" name="Crop" color="7" fill="1" visible="no" active="yes"/> +<layer number="108" name="tplace-old" color="10" fill="1" visible="no" active="yes"/> +<layer number="109" name="ref-old" color="11" fill="1" visible="no" active="yes"/> +<layer number="110" name="fp0" color="7" fill="1" visible="no" active="yes"/> +<layer number="111" name="LPC17xx" color="7" fill="1" visible="no" active="yes"/> +<layer number="112" name="tSilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="113" name="IDFDebug" color="7" fill="1" visible="no" active="yes"/> +<layer number="114" name="Badge_Outline" color="7" fill="1" visible="yes" active="yes"/> +<layer number="115" name="ReferenceISLANDS" color="7" fill="1" visible="yes" active="yes"/> +<layer number="116" name="Patch_BOT" color="9" fill="4" visible="no" active="yes"/> +<layer number="118" name="Rect_Pads" color="7" fill="1" visible="no" active="yes"/> +<layer number="121" name="_tsilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="122" name="_bsilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="123" name="tTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="124" name="bTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="125" name="_tNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="126" name="_bNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="127" name="_tValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="128" name="_bValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="129" name="Mask" color="7" fill="1" visible="no" active="yes"/> +<layer number="131" name="tAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="132" name="bAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="144" name="Drill_legend" color="7" fill="1" visible="no" active="yes"/> +<layer number="150" name="Notes" color="7" fill="1" visible="no" active="yes"/> +<layer number="151" name="HeatSink" color="7" fill="1" visible="no" active="yes"/> +<layer number="152" name="_bDocu" color="7" fill="1" visible="no" active="yes"/> +<layer number="153" name="FabDoc1" color="7" fill="1" visible="no" active="yes"/> +<layer number="154" name="FabDoc2" color="7" fill="1" visible="no" active="yes"/> +<layer number="155" name="FabDoc3" color="7" fill="1" visible="no" active="yes"/> +<layer number="199" name="Contour" color="7" fill="1" visible="no" active="yes"/> +<layer number="200" name="200bmp" color="1" fill="10" visible="no" active="yes"/> +<layer number="201" name="201bmp" color="2" fill="10" visible="no" active="yes"/> +<layer number="202" name="202bmp" color="3" fill="10" visible="no" active="yes"/> +<layer number="203" name="203bmp" color="4" fill="10" visible="no" active="yes"/> +<layer number="204" name="204bmp" color="5" fill="10" visible="no" active="yes"/> +<layer number="205" name="205bmp" color="6" fill="10" visible="no" active="yes"/> +<layer number="206" name="206bmp" color="7" fill="10" visible="no" active="yes"/> +<layer number="207" name="207bmp" color="8" fill="10" visible="no" active="yes"/> +<layer number="208" name="208bmp" color="9" fill="10" visible="no" active="yes"/> +<layer number="209" name="209bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="210" name="210bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="211" name="211bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="212" name="212bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="213" name="213bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="214" name="214bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="215" name="215bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="216" name="216bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="217" name="217bmp" color="18" fill="1" visible="no" active="no"/> +<layer number="218" name="218bmp" color="19" fill="1" visible="no" active="no"/> +<layer number="219" name="219bmp" color="20" fill="1" visible="no" active="no"/> +<layer number="220" name="220bmp" color="21" fill="1" visible="no" active="no"/> +<layer number="221" name="221bmp" color="22" fill="1" visible="no" active="no"/> +<layer number="222" name="222bmp" color="23" fill="1" visible="no" active="no"/> +<layer number="223" name="223bmp" color="24" fill="1" visible="no" active="no"/> +<layer number="224" name="224bmp" color="25" fill="1" visible="no" active="no"/> +<layer number="225" name="225bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="226" name="226bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="227" name="227bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="228" name="228bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="229" name="229bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="230" name="230bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="231" name="231bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="248" name="Housing" color="7" fill="1" visible="no" active="yes"/> +<layer number="249" name="Edge" color="7" fill="1" visible="no" active="yes"/> +<layer number="250" name="Descript" color="3" fill="1" visible="no" active="no"/> +<layer number="251" name="SMDround" color="12" fill="11" visible="no" active="no"/> +<layer number="254" name="cooling" color="7" fill="1" visible="no" active="yes"/> +<layer number="255" name="routoute" color="7" fill="1" visible="no" active="yes"/> +</layers> +<board> +<plain> +<wire x1="0" y1="3.81" x2="33" y2="3.7846" width="0" layer="20"/> +<wire x1="33" y1="3.7846" x2="33" y2="32.944" width="0" layer="20"/> +<wire x1="33" y1="32.944" x2="-0.1524" y2="32.817" width="0" layer="20"/> +<wire x1="-0.1524" y1="32.817" x2="0" y2="3.81" width="0" layer="20"/> +<text x="28.3718" y="10.0584" size="2.54" layer="1" font="vector" rot="R90" align="bottom-center">RGB</text> +<rectangle x1="29.21" y1="3.81" x2="33.02" y2="25.4" layer="1"/> +</plain> +<libraries> +<library name="fab"> +<packages> +<package name="C1206FAB"> +<wire x1="-2.032" y1="1.016" x2="2.032" y2="1.016" width="0.127" layer="21"/> +<wire x1="2.032" y1="1.016" x2="2.032" y2="-1.016" width="0.127" layer="21"/> +<wire x1="2.032" y1="-1.016" x2="-2.032" y2="-1.016" width="0.127" layer="21"/> +<wire x1="-2.032" y1="-1.016" x2="-2.032" y2="1.016" width="0.127" layer="21"/> +<smd name="1" x="-1.651" y="0" dx="1.27" dy="1.905" layer="1"/> +<smd name="2" x="1.651" y="0" dx="1.27" dy="1.905" layer="1"/> +<text x="-1.778" y="1.27" size="1.016" layer="25" ratio="15">>NAME</text> +<text x="-1.778" y="-2.286" size="1.016" layer="27" ratio="15">>VALUE</text> +</package> +<package name="SOT23"> +<description><b>SOT 23</b></description> +<wire x1="1.4224" y1="0.6604" x2="1.4224" y2="-0.6604" width="0.1524" layer="51"/> +<wire x1="1.4224" y1="-0.6604" x2="-1.4224" y2="-0.6604" width="0.1524" layer="51"/> +<wire x1="-1.4224" y1="-0.6604" x2="-1.4224" y2="0.6604" width="0.1524" layer="51"/> +<wire x1="-1.4224" y1="0.6604" x2="1.4224" y2="0.6604" width="0.1524" layer="51"/> +<wire x1="-1.4224" y1="-0.1524" x2="-1.4224" y2="0.6604" width="0.1524" layer="21"/> +<wire x1="-1.4224" y1="0.6604" x2="-0.8636" y2="0.6604" width="0.1524" layer="21"/> +<wire x1="1.4224" y1="0.6604" x2="1.4224" y2="-0.1524" width="0.1524" layer="21"/> +<wire x1="0.8636" y1="0.6604" x2="1.4224" y2="0.6604" width="0.1524" layer="21"/> +<smd name="3" x="0" y="1.1" dx="1" dy="1.4" layer="1"/> +<smd name="2" x="0.95" y="-1.1" dx="1" dy="1.4" layer="1"/> +<smd name="1" x="-0.95" y="-1.1" dx="1" dy="1.4" layer="1"/> +<text x="-1.905" y="1.905" size="1.27" layer="25">>NAME</text> +<text x="-1.905" y="-3.175" size="1.27" layer="27">>VALUE</text> +<rectangle x1="-0.2286" y1="0.7112" x2="0.2286" y2="1.2954" layer="51"/> +<rectangle x1="0.7112" y1="-1.2954" x2="1.1684" y2="-0.7112" layer="51"/> +<rectangle x1="-1.1684" y1="-1.2954" x2="-0.7112" y2="-0.7112" layer="51"/> +</package> +<package name="P-LCC-4-3"> +<description><b>Hyper TOPLED® </b><p> +Source: http://www.osram.convergy.de/</description> +<wire x1="-1.4" y1="-1.05" x2="-1.4" y2="-1.6" width="0.2032" layer="51"/> +<wire x1="-1.4" y1="-1.6" x2="-1" y2="-1.6" width="0.2032" layer="51"/> +<wire x1="-1" y1="-1.6" x2="-0.85" y2="-1.6" width="0.2032" layer="51"/> +<wire x1="-0.85" y1="-1.6" x2="1" y2="-1.6" width="0.2032" layer="51"/> +<wire x1="1" y1="-1.6" x2="1.4" y2="-1.6" width="0.2032" layer="51"/> +<wire x1="1.4" y1="-1.6" x2="1.4" y2="1.6" width="0.2032" layer="51"/> +<wire x1="1.4" y1="1.6" x2="1.1" y2="1.6" width="0.2032" layer="51"/> +<wire x1="1.1" y1="1.6" x2="-1" y2="1.6" width="0.2032" layer="51"/> +<wire x1="-1" y1="1.6" x2="-1.4" y2="1.6" width="0.2032" layer="51"/> +<wire x1="-1" y1="1.6" x2="-1" y2="1.8" width="0.1016" layer="51"/> +<wire x1="-1" y1="1.8" x2="-0.5" y2="1.8" width="0.1016" layer="51"/> +<wire x1="-0.5" y1="1.8" x2="-0.5" y2="1.65" width="0.1016" layer="51"/> +<wire x1="0.5" y1="1.65" x2="0.5" y2="1.8" width="0.1016" layer="51"/> +<wire x1="0.5" y1="1.8" x2="1.1" y2="1.8" width="0.1016" layer="51"/> +<wire x1="1.1" y1="1.8" x2="1.1" y2="1.6" width="0.1016" layer="51"/> +<wire x1="-1" y1="-1.6" x2="-1" y2="-1.8" width="0.1016" layer="51"/> +<wire x1="-1" y1="-1.8" x2="-0.5" y2="-1.8" width="0.1016" layer="51"/> +<wire x1="-0.5" y1="-1.8" x2="-0.5" y2="-1.65" width="0.1016" layer="51"/> +<wire x1="0.5" y1="-1.65" x2="0.5" y2="-1.8" width="0.1016" layer="51"/> +<wire x1="0.5" y1="-1.8" x2="1" y2="-1.8" width="0.1016" layer="51"/> +<wire x1="1" y1="-1.8" x2="1" y2="-1.6" width="0.1016" layer="51"/> +<wire x1="-0.85" y1="-1.6" x2="-1.4" y2="-1.05" width="0.2032" layer="51"/> +<wire x1="-1.4" y1="1.6" x2="-1.4" y2="-1.05" width="0.2032" layer="51"/> +<circle x="0" y="0" radius="1.1" width="0.2032" layer="51"/> +<smd name="A" x="-0.8" y="1.5" dx="1.1" dy="1.5" layer="1" stop="no" cream="no"/> +<smd name="B" x="0.8" y="1.5" dx="1.1" dy="1.5" layer="1" stop="no" cream="no"/> +<smd name="G" x="0.8" y="-1.5" dx="1.1" dy="1.5" layer="1" stop="no" cream="no"/> +<smd name="R" x="-0.8" y="-1.5" dx="1.1" dy="1.5" layer="1" stop="no" cream="no"/> +<text x="-2.54" y="-2.54" size="1.27" layer="25" rot="R90">>NAME</text> +<text x="3.81" y="-2.54" size="1.27" layer="27" rot="R90">>VALUE</text> +<text x="-1.27" y="-3.81" size="1.27" layer="21">R</text> +<text x="-1.27" y="2.54" size="1.27" layer="21">A</text> +<text x="0.635" y="2.54" size="1.27" layer="21">B</text> +<text x="0.635" y="-3.81" size="1.27" layer="21">G</text> +<rectangle x1="-1.15" y1="0.75" x2="-0.35" y2="1.85" layer="29"/> +<rectangle x1="0.35" y1="0.75" x2="1.15" y2="1.85" layer="29"/> +<rectangle x1="0.35" y1="-1.85" x2="1.15" y2="-0.75" layer="29"/> +<rectangle x1="-1.15" y1="-1.85" x2="-0.35" y2="-0.75" layer="29"/> +<rectangle x1="-1.1" y1="-1.8" x2="-0.4" y2="-0.8" layer="31"/> +<rectangle x1="0.4" y1="-1.8" x2="1.1" y2="-0.8" layer="31"/> +<rectangle x1="0.4" y1="0.8" x2="1.1" y2="1.8" layer="31"/> +<rectangle x1="-1.1" y1="0.8" x2="-0.4" y2="1.8" layer="31"/> +<rectangle x1="0.1" y1="0.1" x2="0.5" y2="0.5" layer="21"/> +<rectangle x1="0.1" y1="-0.5" x2="0.5" y2="-0.1" layer="21"/> +<rectangle x1="-0.5" y1="-0.5" x2="-0.1" y2="-0.1" layer="21"/> +</package> +<package name="R1206FAB"> +<wire x1="-2.032" y1="1.016" x2="2.032" y2="1.016" width="0.127" layer="21"/> +<wire x1="2.032" y1="1.016" x2="2.032" y2="-1.016" width="0.127" layer="21"/> +<wire x1="2.032" y1="-1.016" x2="-2.032" y2="-1.016" width="0.127" layer="21"/> +<wire x1="-2.032" y1="-1.016" x2="-2.032" y2="1.016" width="0.127" layer="21"/> +<smd name="1" x="-1.651" y="0" dx="1.27" dy="1.905" layer="1"/> +<smd name="2" x="1.651" y="0" dx="1.27" dy="1.905" layer="1"/> +<text x="-1.778" y="1.27" size="1.016" layer="25" ratio="15">>NAME</text> +<text x="-1.778" y="-2.286" size="1.016" layer="27" ratio="15">>VALUE</text> +</package> +<package name="SOIC8"> +<description><B>Wide Plastic Gull Wing Small Outline Package</B></description> +<wire x1="-2.6" y1="2.25" x2="-2.35" y2="2.5" width="0.1524" layer="21" curve="-90" cap="flat"/> +<wire x1="2.35" y1="2.5" x2="2.6" y2="2.25" width="0.1524" layer="21" curve="-90"/> +<wire x1="2.35" y1="-2.5" x2="2.6" y2="-2.25" width="0.1524" layer="21" curve="90" cap="flat"/> +<wire x1="-2.6" y1="-2.25" x2="-2.35" y2="-2.5" width="0.1524" layer="21" curve="90" cap="flat"/> +<wire x1="2.36" y1="-2.5" x2="-2.34" y2="-2.5" width="0.1524" layer="51"/> +<wire x1="-2.34" y1="2.5" x2="2.36" y2="2.5" width="0.1524" layer="51"/> +<wire x1="-2.21" y1="2.5" x2="-2.34" y2="2.5" width="0.1524" layer="21"/> +<wire x1="-1.59" y1="2.5" x2="-0.95" y2="2.5" width="0.1524" layer="21"/> +<wire x1="-0.32" y1="2.5" x2="0.32" y2="2.5" width="0.1524" layer="21"/> +<wire x1="0.95" y1="2.5" x2="1.59" y2="2.5" width="0.1524" layer="21"/> +<wire x1="2.21" y1="2.5" x2="2.36" y2="2.5" width="0.1524" layer="21"/> +<wire x1="2.2" y1="-2.5" x2="2.33" y2="-2.5" width="0.1524" layer="21"/> +<wire x1="1.59" y1="-2.5" x2="0.94" y2="-2.5" width="0.1524" layer="21"/> +<wire x1="0.32" y1="-2.5" x2="-0.33" y2="-2.5" width="0.1524" layer="21"/> +<wire x1="-0.95" y1="-2.5" x2="-1.59" y2="-2.5" width="0.1524" layer="21"/> +<wire x1="-2.21" y1="-2.5" x2="-2.34" y2="-2.5" width="0.1524" layer="21"/> +<wire x1="-2.6" y1="2.25" x2="-2.6" y2="-2.24" width="0.1524" layer="21"/> +<wire x1="2.6" y1="-2.25" x2="2.6" y2="2.25" width="0.1524" layer="21"/> +<circle x="-1.42" y="-1.115" radius="0.5" width="0.0508" layer="21"/> +<smd name="1" x="-1.905" y="-3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="2" x="-0.645" y="-3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="3" x="0.625" y="-3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="4" x="1.895" y="-3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="8" x="-1.905" y="3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="7" x="-0.635" y="3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="6" x="0.635" y="3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="5" x="1.905" y="3.154" dx="0.5" dy="2.2" layer="1"/> +<text x="-2.8575" y="-2.159" size="1.27" layer="25" ratio="10" rot="R90">>NAME</text> +<text x="4.064" y="-2.159" size="1.27" layer="27" ratio="10" rot="R90">>VALUE</text> +<rectangle x1="-2.08" y1="2.5" x2="-1.73" y2="3.4" layer="51"/> +<rectangle x1="-0.81" y1="2.5" x2="-0.46" y2="3.4" layer="51"/> +<rectangle x1="0.46" y1="2.5" x2="0.81" y2="3.4" layer="51"/> +<rectangle x1="1.73" y1="2.5" x2="2.08" y2="3.4" layer="51"/> +<rectangle x1="1.72" y1="-3.4" x2="2.07" y2="-2.5" layer="51"/> +<rectangle x1="0.45" y1="-3.4" x2="0.8" y2="-2.5" layer="51"/> +<rectangle x1="-0.82" y1="-3.4" x2="-0.47" y2="-2.5" layer="51"/> +<rectangle x1="-2.08" y1="-3.4" x2="-1.73" y2="-2.5" layer="51"/> +</package> +<package name="2X03SMD"> +<smd name="1" x="-2.54" y="2.54" dx="2.54" dy="1.27" layer="1"/> +<smd name="3" x="-2.54" y="0" dx="2.54" dy="1.27" layer="1"/> +<smd name="5" x="-2.54" y="-2.54" dx="2.54" dy="1.27" layer="1"/> +<smd name="2" x="2.92" y="2.54" dx="2.54" dy="1.27" layer="1"/> +<smd name="4" x="2.92" y="0" dx="2.54" dy="1.27" layer="1"/> +<smd name="6" x="2.92" y="-2.54" dx="2.54" dy="1.27" layer="1"/> +<text x="-5.08" y="2.54" size="1.27" layer="27">1</text> +<text x="-3.81" y="3.81" size="1.27" layer="25">>NAME</text> +<text x="-3.81" y="-5.08" size="1.27" layer="27">>VALUE</text> +</package> +<package name="2X02SMD"> +<smd name="1" x="-2.54" y="1.27" dx="2.54" dy="1.27" layer="1"/> +<smd name="3" x="-2.54" y="-1.27" dx="2.54" dy="1.27" layer="1"/> +<smd name="2" x="2.92" y="1.27" dx="2.54" dy="1.27" layer="1"/> +<smd name="4" x="2.92" y="-1.27" dx="2.54" dy="1.27" layer="1"/> +<text x="-5.08" y="1.27" size="1.27" layer="27">1</text> +<text x="-3.81" y="2.54" size="1.27" layer="21">>NAME</text> +<text x="-3.81" y="-3.81" size="1.27" layer="21">>VALUE</text> +</package> +</packages> +</library> +</libraries> +<attributes> +</attributes> +<variantdefs> +</variantdefs> +<classes> +<class number="0" name="default" width="0" drill="0"> +</class> +</classes> +<designrules name="default"> +<description language="de"><b>EAGLE Design Rules</b> +<p> +Die Standard-Design-Rules sind so gewählt, dass sie für +die meisten Anwendungen passen. Sollte ihre Platine +besondere Anforderungen haben, treffen Sie die erforderlichen +Einstellungen hier und speichern die Design Rules unter +einem neuen Namen ab.</description> +<description language="en"><b>EAGLE Design Rules</b> +<p> +The default Design Rules have been set to cover +a wide range of applications. Your particular design +may have different requirements, so please make the +necessary adjustments and save your customized +design rules under a new name.</description> +<param name="layerSetup" value="(1*16)"/> +<param name="mtCopper" value="0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm"/> +<param name="mtIsolate" value="1.5mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm"/> +<param name="mdWireWire" value="6mil"/> +<param name="mdWirePad" value="6mil"/> +<param name="mdWireVia" value="6mil"/> +<param name="mdPadPad" value="6mil"/> +<param name="mdPadVia" value="6mil"/> +<param name="mdViaVia" value="6mil"/> +<param name="mdSmdPad" value="6mil"/> +<param name="mdSmdVia" value="6mil"/> +<param name="mdSmdSmd" value="6mil"/> +<param name="mdViaViaSameLayer" value="6mil"/> +<param name="mnLayersViaInSmd" value="2"/> +<param name="mdCopperDimension" value="40mil"/> +<param name="mdDrill" value="6mil"/> +<param name="mdSmdStop" value="0mil"/> +<param name="msWidth" value="6mil"/> +<param name="msDrill" value="0.35mm"/> +<param name="msMicroVia" value="9.99mm"/> +<param name="msBlindViaRatio" value="0.5"/> +<param name="rvPadTop" value="0.25"/> +<param name="rvPadInner" value="0.25"/> +<param name="rvPadBottom" value="0.25"/> +<param name="rvViaOuter" value="0.25"/> +<param name="rvViaInner" value="0.25"/> +<param name="rvMicroViaOuter" value="0.25"/> +<param name="rvMicroViaInner" value="0.25"/> +<param name="rlMinPadTop" value="10mil"/> +<param name="rlMaxPadTop" value="20mil"/> +<param name="rlMinPadInner" value="10mil"/> +<param name="rlMaxPadInner" value="20mil"/> +<param name="rlMinPadBottom" value="10mil"/> +<param name="rlMaxPadBottom" value="20mil"/> +<param name="rlMinViaOuter" value="8mil"/> +<param name="rlMaxViaOuter" value="20mil"/> +<param name="rlMinViaInner" value="8mil"/> +<param name="rlMaxViaInner" value="20mil"/> +<param name="rlMinMicroViaOuter" value="4mil"/> +<param name="rlMaxMicroViaOuter" value="20mil"/> +<param name="rlMinMicroViaInner" value="4mil"/> +<param name="rlMaxMicroViaInner" value="20mil"/> +<param name="psTop" value="-1"/> +<param name="psBottom" value="-1"/> +<param name="psFirst" value="-1"/> +<param name="psElongationLong" value="100"/> +<param name="psElongationOffset" value="100"/> +<param name="mvStopFrame" value="1"/> +<param name="mvCreamFrame" value="0"/> +<param name="mlMinStopFrame" value="4mil"/> +<param name="mlMaxStopFrame" value="4mil"/> +<param name="mlMinCreamFrame" value="0mil"/> +<param name="mlMaxCreamFrame" value="0mil"/> +<param name="mlViaStopLimit" value="0mil"/> +<param name="srRoundness" value="0"/> +<param name="srMinRoundness" value="0mil"/> +<param name="srMaxRoundness" value="0mil"/> +<param name="slThermalIsolate" value="10mil"/> +<param name="slThermalsForVias" value="0"/> +<param name="dpMaxLengthDifference" value="10mm"/> +<param name="dpGapFactor" value="2.5"/> +<param name="checkAngle" value="0"/> +<param name="checkFont" value="1"/> +<param name="checkRestrict" value="1"/> +<param name="checkStop" value="0"/> +<param name="checkValues" value="0"/> +<param name="useDiameter" value="13"/> +<param name="maxErrors" value="50"/> +</designrules> +<autorouter> +<pass name="Default"> +<param name="RoutingGrid" value="50mil"/> +<param name="AutoGrid" value="1"/> +<param name="Efforts" value="2"/> +<param name="TopRouterVariant" value="1"/> +<param name="tpViaShape" value="round"/> +<param name="PrefDir.1" value="a"/> +<param name="PrefDir.2" value="0"/> +<param name="PrefDir.3" value="0"/> +<param name="PrefDir.4" value="a"/> +<param name="PrefDir.5" value="0"/> +<param name="PrefDir.6" value="0"/> +<param name="PrefDir.7" value="0"/> +<param name="PrefDir.8" value="0"/> +<param name="PrefDir.9" value="0"/> +<param name="PrefDir.10" value="0"/> +<param name="PrefDir.11" value="0"/> +<param name="PrefDir.12" value="0"/> +<param name="PrefDir.13" value="0"/> +<param name="PrefDir.14" value="0"/> +<param name="PrefDir.15" value="0"/> +<param name="PrefDir.16" value="0"/> +<param name="cfVia" value="8"/> +<param name="cfNonPref" value="5"/> +<param name="cfChangeDir" value="2"/> +<param name="cfOrthStep" value="2"/> +<param name="cfDiagStep" value="3"/> +<param name="cfExtdStep" value="0"/> +<param name="cfBonusStep" value="1"/> +<param name="cfMalusStep" value="1"/> +<param name="cfPadImpact" value="4"/> +<param name="cfSmdImpact" value="4"/> +<param name="cfBusImpact" value="0"/> +<param name="cfHugging" value="3"/> +<param name="cfAvoid" value="4"/> +<param name="cfPolygon" value="10"/> +<param name="cfBase.1" value="0"/> +<param name="cfBase.2" value="1"/> +<param name="cfBase.3" value="1"/> +<param name="cfBase.4" value="1"/> +<param name="cfBase.5" value="1"/> +<param name="cfBase.6" value="1"/> +<param name="cfBase.7" value="1"/> +<param name="cfBase.8" value="1"/> +<param name="cfBase.9" value="1"/> +<param name="cfBase.10" value="1"/> +<param name="cfBase.11" value="1"/> +<param name="cfBase.12" value="1"/> +<param name="cfBase.13" value="1"/> +<param name="cfBase.14" value="1"/> +<param name="cfBase.15" value="1"/> +<param name="cfBase.16" value="0"/> +<param name="mnVias" value="20"/> +<param name="mnSegments" value="9999"/> +<param name="mnExtdSteps" value="9999"/> +<param name="mnRipupLevel" value="10"/> +<param name="mnRipupSteps" value="100"/> +<param name="mnRipupTotal" value="100"/> +</pass> +<pass name="Follow-me" refer="Default" active="yes"> +</pass> +<pass name="Busses" refer="Default" active="yes"> +<param name="cfNonPref" value="4"/> +<param name="cfBusImpact" value="4"/> +<param name="cfHugging" value="0"/> +<param name="mnVias" value="0"/> +</pass> +<pass name="Route" refer="Default" active="yes"> +</pass> +<pass name="Optimize1" refer="Default" active="yes"> +<param name="cfVia" value="99"/> +<param name="cfExtdStep" value="10"/> +<param name="cfHugging" value="1"/> +<param name="mnExtdSteps" value="1"/> +<param name="mnRipupLevel" value="0"/> +</pass> +<pass name="Optimize2" refer="Optimize1" active="yes"> +<param name="cfNonPref" value="0"/> +<param name="cfChangeDir" value="6"/> +<param name="cfExtdStep" value="0"/> +<param name="cfBonusStep" value="2"/> +<param name="cfMalusStep" value="2"/> +<param name="cfPadImpact" value="2"/> +<param name="cfSmdImpact" value="2"/> +<param name="cfHugging" value="0"/> +</pass> +<pass name="Optimize3" refer="Optimize2" active="yes"> +<param name="cfChangeDir" value="8"/> +<param name="cfPadImpact" value="0"/> +<param name="cfSmdImpact" value="0"/> +</pass> +<pass name="Optimize4" refer="Optimize3" active="yes"> +<param name="cfChangeDir" value="25"/> +</pass> +</autorouter> +<elements> +<element name="C1" library="fab" package="C1206FAB" value="1 uF" x="11.43" y="29.21" rot="R90"/> +<element name="IC1" library="fab" package="SOT23" value="5 V" x="25.0444" y="21.6408" rot="R90"/> +<element name="LED1" library="fab" package="P-LCC-4-3" value="" x="22.86" y="10.16"/> +<element name="R1" library="fab" package="R1206FAB" value="10 k" x="18.415" y="29.1338" rot="R270"/> +<element name="R2" library="fab" package="R1206FAB" value="499" x="15.24" y="10.16" rot="R180"/> +<element name="R3" library="fab" package="R1206FAB" value="1 k" x="9.4234" y="11.3792" rot="R90"/> +<element name="R4" library="fab" package="R1206FAB" value="1 k" x="3.81" y="11.43" rot="R90"/> +<element name="ATTINY45" library="fab" package="SOIC8" value="-" x="16.51" y="20.32" rot="R180"/> +<element name="J1" library="fab" package="2X03SMD" value="ISP" x="6.8834" y="19.5326" rot="R180"/> +<element name="J2" library="fab" package="2X02SMD" value="Power" x="27.5844" y="27.9146"/> +</elements> +<signals> +<signal name="N$1"> +<contactref element="ATTINY45" pad="6"/> +<contactref element="J1" pad="1"/> +<contactref element="R3" pad="2"/> +<wire x1="15.875" y1="17.166" x2="15.875" y2="15.24" width="0.6096" layer="1"/> +<wire x1="15.875" y1="15.24" x2="9.4234" y2="15.24" width="0.6096" layer="1"/> +<wire x1="9.4234" y1="15.24" x2="9.4234" y2="16.9926" width="0.6096" layer="1"/> +<wire x1="9.4234" y1="15.24" x2="9.4234" y2="13.0302" width="0.6096" layer="1"/> +</signal> +<signal name="N$2"> +<contactref element="ATTINY45" pad="5"/> +<contactref element="J1" pad="4"/> +<contactref element="R4" pad="2"/> +<wire x1="6.35" y1="18.2626" x2="6.35" y2="13.081" width="0.6096" layer="1"/> +<wire x1="6.35" y1="13.081" x2="3.81" y2="13.081" width="0.6096" layer="1"/> +<wire x1="3.9634" y1="19.5326" x2="6.3246" y2="19.5326" width="0.6096" layer="1"/> +<wire x1="6.3246" y1="18.2626" x2="6.3246" y2="19.5326" width="0.6096" layer="1"/> +<wire x1="6.35" y1="18.2626" x2="6.3246" y2="18.2626" width="0.6096" layer="1"/> +<wire x1="6.35" y1="18.2626" x2="14.5542" y2="18.2626" width="0.508" layer="1"/> +<wire x1="14.5542" y1="18.2626" x2="14.5796" y2="18.288" width="0.508" layer="1"/> +<wire x1="14.5796" y1="18.288" x2="14.605" y2="18.2626" width="0.508" layer="1"/> +<wire x1="14.605" y1="18.2626" x2="14.605" y2="17.166" width="0.508" layer="1"/> +</signal> +<signal name="N$3"> +<contactref element="ATTINY45" pad="7"/> +<contactref element="J1" pad="3"/> +<contactref element="R2" pad="2"/> +<wire x1="17.1958" y1="19.2278" x2="17.1958" y2="19.05" width="0.6096" layer="1"/> +<wire x1="17.1958" y1="19.05" x2="17.1958" y2="17.166" width="0.6096" layer="1"/> +<wire x1="17.1958" y1="17.166" x2="17.145" y2="17.166" width="0.6096" layer="1"/> +<wire x1="17.145" y1="17.166" x2="17.145" y2="12.7" width="0.6096" layer="1"/> +<wire x1="13.5636" y1="12.7" x2="13.5636" y2="10.16" width="0.6096" layer="1"/> +<wire x1="13.5636" y1="10.16" x2="13.589" y2="10.16" width="0.6096" layer="1"/> +<wire x1="17.145" y1="12.7" x2="13.5636" y2="12.7" width="0.6096" layer="1"/> +<wire x1="17.1958" y1="19.2278" x2="17.1958" y2="19.5326" width="0.6096" layer="1"/> +<wire x1="17.1958" y1="19.5326" x2="9.4234" y2="19.5326" width="0.6096" layer="1"/> +</signal> +<signal name="N$8"> +<contactref element="R2" pad="1"/> +<contactref element="LED1" pad="B"/> +<wire x1="16.891" y1="10.16" x2="23.6728" y2="10.16" width="0.6096" layer="1"/> +<wire x1="23.6728" y1="10.16" x2="23.6728" y2="11.66" width="0.6096" layer="1"/> +<wire x1="23.6728" y1="11.66" x2="23.66" y2="11.66" width="0.6096" layer="1"/> +</signal> +<signal name="N$9"> +<contactref element="R3" pad="1"/> +<contactref element="LED1" pad="R"/> +<wire x1="9.4234" y1="9.7282" x2="9.4234" y2="7.1628" width="0.6096" layer="1"/> +<wire x1="22.1234" y1="7.1628" x2="22.1234" y2="7.0866" width="0.6096" layer="1"/> +<wire x1="22.1234" y1="7.1628" x2="22.1234" y2="8.66" width="0.6096" layer="1"/> +<wire x1="22.1234" y1="8.66" x2="22.06" y2="8.66" width="0.6096" layer="1"/> +<wire x1="9.4234" y1="7.1628" x2="22.1234" y2="7.1628" width="0.6096" layer="1"/> +</signal> +<signal name="N$10"> +<contactref element="R4" pad="1"/> +<contactref element="LED1" pad="G"/> +<wire x1="3.81" y1="9.779" x2="3.81" y2="5.3848" width="0.6096" layer="1"/> +<wire x1="23.7744" y1="8.66" x2="23.66" y2="8.66" width="0.6096" layer="1"/> +<wire x1="3.81" y1="5.3848" x2="23.7744" y2="5.3848" width="0.6096" layer="1"/> +<wire x1="23.7744" y1="5.3848" x2="23.7744" y2="8.66" width="0.6096" layer="1"/> +</signal> +<signal name="N$6"> +<contactref element="ATTINY45" pad="1"/> +<contactref element="R1" pad="2"/> +<contactref element="J1" pad="5"/> +<wire x1="18.415" y1="27.4828" x2="18.415" y2="23.474" width="0.6096" layer="1"/> +<wire x1="18.415" y1="23.474" x2="18.415" y2="21.6916" width="0.6096" layer="1"/> +<wire x1="18.415" y1="21.6916" x2="9.4234" y2="21.6916" width="0.6096" layer="1"/> +<wire x1="9.4234" y1="21.6916" x2="9.4234" y2="22.0726" width="0.6096" layer="1"/> +</signal> +<signal name="VCC"> +<contactref element="ATTINY45" pad="8"/> +<contactref element="J1" pad="2"/> +<contactref element="R1" pad="1"/> +<contactref element="LED1" pad="A"/> +<contactref element="IC1" pad="1"/> +<contactref element="C1" pad="2"/> +<wire x1="3.9634" y1="16.9926" x2="1.7018" y2="16.9926" width="0.6096" layer="1"/> +<wire x1="11.43" y1="30.861" x2="11.43" y2="30.9372" width="0.6096" layer="1"/> +<wire x1="1.7018" y1="16.9926" x2="1.7018" y2="30.861" width="0.6096" layer="1"/> +<wire x1="1.7018" y1="30.861" x2="11.43" y2="30.861" width="0.6096" layer="1"/> +<wire x1="11.43" y1="30.861" x2="18.415" y2="30.861" width="0.6096" layer="1"/> +<wire x1="18.415" y1="30.861" x2="18.415" y2="30.7848" width="0.6096" layer="1"/> +<wire x1="21.971" y1="11.66" x2="22.06" y2="11.66" width="0.6096" layer="1"/> +<wire x1="21.971" y1="16.3068" x2="21.971" y2="11.66" width="0.6096" layer="1"/> +<wire x1="21.971" y1="16.3068" x2="18.3896" y2="16.3068" width="0.6096" layer="1"/> +<wire x1="18.3896" y1="16.3068" x2="18.3896" y2="17.166" width="0.6096" layer="1"/> +<wire x1="18.3896" y1="17.166" x2="18.415" y2="17.166" width="0.6096" layer="1"/> +<wire x1="18.415" y1="30.7848" x2="27.94" y2="30.7848" width="0.6096" layer="1"/> +<wire x1="27.94" y1="30.7848" x2="27.94" y2="30.48" width="0.6096" layer="1"/> +<wire x1="27.94" y1="30.48" x2="27.9908" y2="30.48" width="0.6096" layer="1"/> +<wire x1="27.9908" y1="30.48" x2="27.9908" y2="20.7264" width="0.6096" layer="1"/> +<wire x1="27.9654" y1="20.7264" x2="26.1444" y2="20.7264" width="0.6096" layer="1"/> +<wire x1="26.1444" y1="20.7264" x2="26.1444" y2="20.6908" width="0.6096" layer="1"/> +<wire x1="21.971" y1="16.3068" x2="27.9654" y2="16.3068" width="0.6096" layer="1"/> +<wire x1="27.9654" y1="20.7264" x2="27.9908" y2="20.7264" width="0.6096" layer="1"/> +<wire x1="27.9654" y1="16.3068" x2="27.9654" y2="20.7264" width="0.6096" layer="1"/> +</signal> +<signal name="GND"> +<contactref element="ATTINY45" pad="4"/> +<contactref element="J1" pad="6"/> +<wire x1="3.9634" y1="22.0726" x2="3.9634" y2="25.4" width="0.6096" layer="1"/> +<wire x1="3.9634" y1="25.4" x2="11.43" y2="25.4" width="0.6096" layer="1"/> +<wire x1="14.615" y1="25.4" x2="14.615" y2="29.21" width="0.6096" layer="1"/> +<wire x1="11.43" y1="25.4" x2="14.615" y2="25.4" width="0.6096" layer="1"/> +<contactref element="C1" pad="1"/> +<contactref element="IC1" pad="3"/> +<contactref element="J2" pad="1"/> +<wire x1="11.43" y1="27.559" x2="11.43" y2="25.4" width="0.6096" layer="1"/> +<wire x1="14.615" y1="29.21" x2="20.828" y2="29.21" width="0.6096" layer="1"/> +<wire x1="20.828" y1="29.21" x2="20.828" y2="29.2608" width="0.6096" layer="1"/> +<wire x1="14.615" y1="23.474" x2="14.615" y2="25.4" width="0.6096" layer="1"/> +<wire x1="25.0444" y1="29.1846" x2="25.0444" y2="29.21" width="0.6096" layer="1"/> +<wire x1="25.0444" y1="29.21" x2="21.59" y2="29.21" width="0.6096" layer="1"/> +<wire x1="21.59" y1="29.21" x2="20.828" y2="29.21" width="0.6096" layer="1"/> +<wire x1="21.59" y1="29.21" x2="21.59" y2="21.6408" width="0.6096" layer="1"/> +<wire x1="21.59" y1="21.6408" x2="23.9444" y2="21.6408" width="0.6096" layer="1"/> +</signal> +<signal name="N$4"> +<contactref element="IC1" pad="2"/> +<contactref element="J2" pad="3"/> +<wire x1="25.0444" y1="26.6446" x2="24.9428" y2="26.924" width="0.6096" layer="1"/> +<wire x1="24.9428" y1="26.924" x2="26.0604" y2="26.924" width="0.6096" layer="1"/> +<wire x1="26.0604" y1="26.924" x2="26.0604" y2="22.5908" width="0.6096" layer="1"/> +<wire x1="26.0604" y1="22.5908" x2="26.1444" y2="22.5908" width="0.6096" layer="1"/> +</signal> +</signals> +</board> +</drawing> +</eagle> diff --git a/files/Week_12/RGB.sch b/files/Week_12/RGB.sch new file mode 100644 index 0000000000000000000000000000000000000000..0d5392d54e8b1c3163b5b754a9e70ecdb33675d1 --- /dev/null +++ b/files/Week_12/RGB.sch @@ -0,0 +1,1042 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE eagle SYSTEM "eagle.dtd"> +<eagle version="8.6.3"> +<drawing> +<settings> +<setting alwaysvectorfont="no"/> +<setting verticaltext="up"/> +</settings> +<grid distance="0.1" unitdist="inch" unit="inch" style="lines" multiple="1" display="no" altdistance="0.01" altunitdist="inch" altunit="inch"/> +<layers> +<layer number="1" name="Top" color="4" fill="1" visible="no" active="no"/> +<layer number="2" name="Route2" color="1" fill="3" visible="no" active="no"/> +<layer number="3" name="Route3" color="4" fill="3" visible="no" active="no"/> +<layer number="4" name="Route4" color="1" fill="4" visible="no" active="no"/> +<layer number="5" name="Route5" color="4" fill="4" visible="no" active="no"/> +<layer number="6" name="Route6" color="1" fill="8" visible="no" active="no"/> +<layer number="7" name="Route7" color="4" fill="8" visible="no" active="no"/> +<layer number="8" name="Route8" color="1" fill="2" visible="no" active="no"/> +<layer number="9" name="Route9" color="4" fill="2" visible="no" active="no"/> +<layer number="10" name="Route10" color="1" fill="7" visible="no" active="no"/> +<layer number="11" name="Route11" color="4" fill="7" visible="no" active="no"/> +<layer number="12" name="Route12" color="1" fill="5" visible="no" active="no"/> +<layer number="13" name="Route13" color="4" fill="5" visible="no" active="no"/> +<layer number="14" name="Route14" color="1" fill="6" visible="no" active="no"/> +<layer number="15" name="Route15" color="4" fill="6" visible="no" active="no"/> +<layer number="16" name="Bottom" color="1" fill="1" visible="no" active="no"/> +<layer number="17" name="Pads" color="2" fill="1" visible="no" active="no"/> +<layer number="18" name="Vias" color="2" fill="1" visible="no" active="no"/> +<layer number="19" name="Unrouted" color="6" fill="1" visible="no" active="no"/> +<layer number="20" name="Dimension" color="15" fill="1" visible="no" active="no"/> +<layer number="21" name="tPlace" color="7" fill="1" visible="no" active="no"/> +<layer number="22" name="bPlace" color="7" fill="1" visible="no" active="no"/> +<layer number="23" name="tOrigins" color="15" fill="1" visible="no" active="no"/> +<layer number="24" name="bOrigins" color="15" fill="1" visible="no" active="no"/> +<layer number="25" name="tNames" color="7" fill="1" visible="no" active="no"/> +<layer number="26" name="bNames" color="7" fill="1" visible="no" active="no"/> +<layer number="27" name="tValues" color="7" fill="1" visible="no" active="no"/> +<layer number="28" name="bValues" color="7" fill="1" visible="no" active="no"/> +<layer number="29" name="tStop" color="7" fill="3" visible="no" active="no"/> +<layer number="30" name="bStop" color="7" fill="6" visible="no" active="no"/> +<layer number="31" name="tCream" color="7" fill="4" visible="no" active="no"/> +<layer number="32" name="bCream" color="7" fill="5" visible="no" active="no"/> +<layer number="33" name="tFinish" color="6" fill="3" visible="no" active="no"/> +<layer number="34" name="bFinish" color="6" fill="6" visible="no" active="no"/> +<layer number="35" name="tGlue" color="7" fill="4" visible="no" active="no"/> +<layer number="36" name="bGlue" color="7" fill="5" visible="no" active="no"/> +<layer number="37" name="tTest" color="7" fill="1" visible="no" active="no"/> +<layer number="38" name="bTest" color="7" fill="1" visible="no" active="no"/> +<layer number="39" name="tKeepout" color="4" fill="11" visible="no" active="no"/> +<layer number="40" name="bKeepout" color="1" fill="11" visible="no" active="no"/> +<layer number="41" name="tRestrict" color="4" fill="10" visible="no" active="no"/> +<layer number="42" name="bRestrict" color="1" fill="10" visible="no" active="no"/> +<layer number="43" name="vRestrict" color="2" fill="10" visible="no" active="no"/> +<layer number="44" name="Drills" color="7" fill="1" visible="no" active="no"/> +<layer number="45" name="Holes" color="7" fill="1" visible="no" active="no"/> +<layer number="46" name="Milling" color="3" fill="1" visible="no" active="no"/> +<layer number="47" name="Measures" color="7" fill="1" visible="no" active="no"/> +<layer number="48" name="Document" color="7" fill="1" visible="no" active="no"/> +<layer number="49" name="Reference" color="7" fill="1" visible="no" active="no"/> +<layer number="50" name="dxf" color="7" fill="1" visible="no" active="no"/> +<layer number="51" name="tDocu" color="7" fill="1" visible="no" active="no"/> +<layer number="52" name="bDocu" color="7" fill="1" visible="no" active="no"/> +<layer number="53" name="tGND_GNDA" color="7" fill="9" visible="no" active="no"/> +<layer number="54" name="bGND_GNDA" color="1" fill="9" visible="no" active="no"/> +<layer number="56" name="wert" color="7" fill="1" visible="no" active="no"/> +<layer number="57" name="tCAD" color="7" fill="1" visible="no" active="no"/> +<layer number="59" name="tCarbon" color="7" fill="1" visible="no" active="no"/> +<layer number="60" name="bCarbon" color="7" fill="1" visible="no" active="no"/> +<layer number="88" name="SimResults" color="9" fill="1" visible="yes" active="yes"/> +<layer number="89" name="SimProbes" color="9" fill="1" visible="yes" active="yes"/> +<layer number="90" name="Modules" color="5" fill="1" visible="yes" active="yes"/> +<layer number="91" name="Nets" color="2" fill="1" visible="yes" active="yes"/> +<layer number="92" name="Busses" color="1" fill="1" visible="yes" active="yes"/> +<layer number="93" name="Pins" color="2" fill="1" visible="no" active="yes"/> +<layer number="94" name="Symbols" color="4" fill="1" visible="yes" active="yes"/> +<layer number="95" name="Names" color="7" fill="1" visible="yes" active="yes"/> +<layer number="96" name="Values" color="7" fill="1" visible="yes" active="yes"/> +<layer number="97" name="Info" color="7" fill="1" visible="yes" active="yes"/> +<layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> +<layer number="99" name="SpiceOrder" color="7" fill="1" visible="yes" active="yes"/> +<layer number="100" name="Muster" color="7" fill="1" visible="no" active="no"/> +<layer number="101" name="Patch_Top" color="12" fill="4" visible="no" active="yes"/> +<layer number="102" name="Vscore" color="7" fill="1" visible="no" active="yes"/> +<layer number="103" name="tMap" color="7" fill="1" visible="no" active="yes"/> +<layer number="104" name="Name" color="7" fill="1" visible="no" active="yes"/> +<layer number="105" name="tPlate" color="7" fill="1" visible="no" active="yes"/> +<layer number="106" name="bPlate" color="7" fill="1" visible="no" active="yes"/> +<layer number="107" name="Crop" color="7" fill="1" visible="no" active="yes"/> +<layer number="108" name="tplace-old" color="10" fill="1" visible="no" active="yes"/> +<layer number="109" name="ref-old" color="11" fill="1" visible="no" active="yes"/> +<layer number="110" name="fp0" color="7" fill="1" visible="no" active="yes"/> +<layer number="111" name="LPC17xx" color="7" fill="1" visible="no" active="yes"/> +<layer number="112" name="tSilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="113" name="IDFDebug" color="7" fill="1" visible="no" active="yes"/> +<layer number="114" name="Badge_Outline" color="7" fill="1" visible="yes" active="yes"/> +<layer number="115" name="ReferenceISLANDS" color="7" fill="1" visible="yes" active="yes"/> +<layer number="116" name="Patch_BOT" color="9" fill="4" visible="no" active="yes"/> +<layer number="118" name="Rect_Pads" color="7" fill="1" visible="no" active="yes"/> +<layer number="121" name="_tsilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="122" name="_bsilk" color="7" fill="1" visible="no" active="yes"/> +<layer number="123" name="tTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="124" name="bTestmark" color="7" fill="1" visible="no" active="yes"/> +<layer number="125" name="_tNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="126" name="_bNames" color="7" fill="1" visible="no" active="yes"/> +<layer number="127" name="_tValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="128" name="_bValues" color="7" fill="1" visible="no" active="yes"/> +<layer number="129" name="Mask" color="7" fill="1" visible="no" active="yes"/> +<layer number="131" name="tAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="132" name="bAdjust" color="7" fill="1" visible="no" active="yes"/> +<layer number="144" name="Drill_legend" color="7" fill="1" visible="no" active="yes"/> +<layer number="150" name="Notes" color="7" fill="1" visible="no" active="yes"/> +<layer number="151" name="HeatSink" color="7" fill="1" visible="no" active="yes"/> +<layer number="152" name="_bDocu" color="7" fill="1" visible="no" active="yes"/> +<layer number="153" name="FabDoc1" color="7" fill="1" visible="no" active="yes"/> +<layer number="154" name="FabDoc2" color="7" fill="1" visible="no" active="yes"/> +<layer number="155" name="FabDoc3" color="7" fill="1" visible="no" active="yes"/> +<layer number="199" name="Contour" color="7" fill="1" visible="no" active="yes"/> +<layer number="200" name="200bmp" color="1" fill="10" visible="no" active="yes"/> +<layer number="201" name="201bmp" color="2" fill="10" visible="no" active="yes"/> +<layer number="202" name="202bmp" color="3" fill="10" visible="no" active="yes"/> +<layer number="203" name="203bmp" color="4" fill="10" visible="no" active="yes"/> +<layer number="204" name="204bmp" color="5" fill="10" visible="no" active="yes"/> +<layer number="205" name="205bmp" color="6" fill="10" visible="no" active="yes"/> +<layer number="206" name="206bmp" color="7" fill="10" visible="no" active="yes"/> +<layer number="207" name="207bmp" color="8" fill="10" visible="no" active="yes"/> +<layer number="208" name="208bmp" color="9" fill="10" visible="no" active="yes"/> +<layer number="209" name="209bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="210" name="210bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="211" name="211bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="212" name="212bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="213" name="213bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="214" name="214bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="215" name="215bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="216" name="216bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="217" name="217bmp" color="18" fill="1" visible="no" active="no"/> +<layer number="218" name="218bmp" color="19" fill="1" visible="no" active="no"/> +<layer number="219" name="219bmp" color="20" fill="1" visible="no" active="no"/> +<layer number="220" name="220bmp" color="21" fill="1" visible="no" active="no"/> +<layer number="221" name="221bmp" color="22" fill="1" visible="no" active="no"/> +<layer number="222" name="222bmp" color="23" fill="1" visible="no" active="no"/> +<layer number="223" name="223bmp" color="24" fill="1" visible="no" active="no"/> +<layer number="224" name="224bmp" color="25" fill="1" visible="no" active="no"/> +<layer number="225" name="225bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="226" name="226bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="227" name="227bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="228" name="228bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="229" name="229bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="230" name="230bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="231" name="231bmp" color="7" fill="1" visible="no" active="yes"/> +<layer number="248" name="Housing" color="7" fill="1" visible="no" active="yes"/> +<layer number="249" name="Edge" color="7" fill="1" visible="no" active="yes"/> +<layer number="250" name="Descript" color="3" fill="1" visible="no" active="no"/> +<layer number="251" name="SMDround" color="12" fill="11" visible="no" active="no"/> +<layer number="254" name="cooling" color="7" fill="1" visible="no" active="yes"/> +<layer number="255" name="routoute" color="7" fill="1" visible="no" active="yes"/> +</layers> +<schematic xreflabel="%F%N/%S.%C%R" xrefpart="/%S.%C%R"> +<libraries> +<library name="fab"> +<packages> +<package name="SOIC8"> +<description><B>Wide Plastic Gull Wing Small Outline Package</B></description> +<wire x1="-2.6" y1="2.25" x2="-2.35" y2="2.5" width="0.1524" layer="21" curve="-90" cap="flat"/> +<wire x1="2.35" y1="2.5" x2="2.6" y2="2.25" width="0.1524" layer="21" curve="-90"/> +<wire x1="2.35" y1="-2.5" x2="2.6" y2="-2.25" width="0.1524" layer="21" curve="90" cap="flat"/> +<wire x1="-2.6" y1="-2.25" x2="-2.35" y2="-2.5" width="0.1524" layer="21" curve="90" cap="flat"/> +<wire x1="2.36" y1="-2.5" x2="-2.34" y2="-2.5" width="0.1524" layer="51"/> +<wire x1="-2.34" y1="2.5" x2="2.36" y2="2.5" width="0.1524" layer="51"/> +<wire x1="-2.21" y1="2.5" x2="-2.34" y2="2.5" width="0.1524" layer="21"/> +<wire x1="-1.59" y1="2.5" x2="-0.95" y2="2.5" width="0.1524" layer="21"/> +<wire x1="-0.32" y1="2.5" x2="0.32" y2="2.5" width="0.1524" layer="21"/> +<wire x1="0.95" y1="2.5" x2="1.59" y2="2.5" width="0.1524" layer="21"/> +<wire x1="2.21" y1="2.5" x2="2.36" y2="2.5" width="0.1524" layer="21"/> +<wire x1="2.2" y1="-2.5" x2="2.33" y2="-2.5" width="0.1524" layer="21"/> +<wire x1="1.59" y1="-2.5" x2="0.94" y2="-2.5" width="0.1524" layer="21"/> +<wire x1="0.32" y1="-2.5" x2="-0.33" y2="-2.5" width="0.1524" layer="21"/> +<wire x1="-0.95" y1="-2.5" x2="-1.59" y2="-2.5" width="0.1524" layer="21"/> +<wire x1="-2.21" y1="-2.5" x2="-2.34" y2="-2.5" width="0.1524" layer="21"/> +<wire x1="-2.6" y1="2.25" x2="-2.6" y2="-2.24" width="0.1524" layer="21"/> +<wire x1="2.6" y1="-2.25" x2="2.6" y2="2.25" width="0.1524" layer="21"/> +<circle x="-1.42" y="-1.115" radius="0.5" width="0.0508" layer="21"/> +<smd name="1" x="-1.905" y="-3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="2" x="-0.645" y="-3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="3" x="0.625" y="-3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="4" x="1.895" y="-3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="8" x="-1.905" y="3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="7" x="-0.635" y="3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="6" x="0.635" y="3.154" dx="0.5" dy="2.2" layer="1"/> +<smd name="5" x="1.905" y="3.154" dx="0.5" dy="2.2" layer="1"/> +<text x="-2.8575" y="-2.159" size="1.27" layer="25" ratio="10" rot="R90">>NAME</text> +<text x="4.064" y="-2.159" size="1.27" layer="27" ratio="10" rot="R90">>VALUE</text> +<rectangle x1="-2.08" y1="2.5" x2="-1.73" y2="3.4" layer="51"/> +<rectangle x1="-0.81" y1="2.5" x2="-0.46" y2="3.4" layer="51"/> +<rectangle x1="0.46" y1="2.5" x2="0.81" y2="3.4" layer="51"/> +<rectangle x1="1.73" y1="2.5" x2="2.08" y2="3.4" layer="51"/> +<rectangle x1="1.72" y1="-3.4" x2="2.07" y2="-2.5" layer="51"/> +<rectangle x1="0.45" y1="-3.4" x2="0.8" y2="-2.5" layer="51"/> +<rectangle x1="-0.82" y1="-3.4" x2="-0.47" y2="-2.5" layer="51"/> +<rectangle x1="-2.08" y1="-3.4" x2="-1.73" y2="-2.5" layer="51"/> +</package> +<package name="2X03SMD"> +<smd name="1" x="-2.54" y="2.54" dx="2.54" dy="1.27" layer="1"/> +<smd name="3" x="-2.54" y="0" dx="2.54" dy="1.27" layer="1"/> +<smd name="5" x="-2.54" y="-2.54" dx="2.54" dy="1.27" layer="1"/> +<smd name="2" x="2.92" y="2.54" dx="2.54" dy="1.27" layer="1"/> +<smd name="4" x="2.92" y="0" dx="2.54" dy="1.27" layer="1"/> +<smd name="6" x="2.92" y="-2.54" dx="2.54" dy="1.27" layer="1"/> +<text x="-5.08" y="2.54" size="1.27" layer="27">1</text> +<text x="-3.81" y="3.81" size="1.27" layer="25">>NAME</text> +<text x="-3.81" y="-5.08" size="1.27" layer="27">>VALUE</text> +</package> +<package name="2X03"> +<description><b>PIN HEADER</b></description> +<wire x1="-3.81" y1="-1.905" x2="-3.175" y2="-2.54" width="0.1524" layer="21"/> +<wire x1="-1.905" y1="-2.54" x2="-1.27" y2="-1.905" width="0.1524" layer="21"/> +<wire x1="-1.27" y1="-1.905" x2="-0.635" y2="-2.54" width="0.1524" layer="21"/> +<wire x1="0.635" y1="-2.54" x2="1.27" y2="-1.905" width="0.1524" layer="21"/> +<wire x1="-3.81" y1="-1.905" x2="-3.81" y2="1.905" width="0.1524" layer="21"/> +<wire x1="-3.81" y1="1.905" x2="-3.175" y2="2.54" width="0.1524" layer="21"/> +<wire x1="-3.175" y1="2.54" x2="-1.905" y2="2.54" width="0.1524" layer="21"/> +<wire x1="-1.905" y1="2.54" x2="-1.27" y2="1.905" width="0.1524" layer="21"/> +<wire x1="-1.27" y1="1.905" x2="-0.635" y2="2.54" width="0.1524" layer="21"/> +<wire x1="-0.635" y1="2.54" x2="0.635" y2="2.54" width="0.1524" layer="21"/> +<wire x1="0.635" y1="2.54" x2="1.27" y2="1.905" width="0.1524" layer="21"/> +<wire x1="-1.27" y1="1.905" x2="-1.27" y2="-1.905" width="0.1524" layer="21"/> +<wire x1="1.27" y1="1.905" x2="1.27" y2="-1.905" width="0.1524" layer="21"/> +<wire x1="-0.635" y1="-2.54" x2="0.635" y2="-2.54" width="0.1524" layer="21"/> +<wire x1="-3.175" y1="-2.54" x2="-1.905" y2="-2.54" width="0.1524" layer="21"/> +<wire x1="1.27" y1="-1.905" x2="1.905" y2="-2.54" width="0.1524" layer="21"/> +<wire x1="3.175" y1="-2.54" x2="3.81" y2="-1.905" width="0.1524" layer="21"/> +<wire x1="1.27" y1="1.905" x2="1.905" y2="2.54" width="0.1524" layer="21"/> +<wire x1="1.905" y1="2.54" x2="3.175" y2="2.54" width="0.1524" layer="21"/> +<wire x1="3.175" y1="2.54" x2="3.81" y2="1.905" width="0.1524" layer="21"/> +<wire x1="3.81" y1="1.905" x2="3.81" y2="-1.905" width="0.1524" layer="21"/> +<wire x1="1.905" y1="-2.54" x2="3.175" y2="-2.54" width="0.1524" layer="21"/> +<wire x1="-3.175" y1="-2.921" x2="-1.905" y2="-2.921" width="0.127" layer="21"/> +<pad name="1" x="-2.54" y="-1.27" drill="1.016" shape="square"/> +<pad name="2" x="-2.54" y="1.27" drill="1.016" shape="octagon"/> +<pad name="3" x="0" y="-1.27" drill="1.016" shape="octagon"/> +<pad name="4" x="0" y="1.27" drill="1.016" shape="octagon"/> +<pad name="5" x="2.54" y="-1.27" drill="1.016" shape="octagon"/> +<pad name="6" x="2.54" y="1.27" drill="1.016" shape="octagon"/> +<text x="-3.81" y="3.175" size="1.27" layer="25" ratio="10">>NAME</text> +<text x="-3.81" y="-4.445" size="1.27" layer="27">>VALUE</text> +<text x="-5.08" y="-2.54" size="1.27" layer="21">1</text> +<rectangle x1="-2.794" y1="-1.524" x2="-2.286" y2="-1.016" layer="51"/> +<rectangle x1="-2.794" y1="1.016" x2="-2.286" y2="1.524" layer="51"/> +<rectangle x1="-0.254" y1="1.016" x2="0.254" y2="1.524" layer="51"/> +<rectangle x1="-0.254" y1="-1.524" x2="0.254" y2="-1.016" layer="51"/> +<rectangle x1="2.286" y1="1.016" x2="2.794" y2="1.524" layer="51"/> +<rectangle x1="2.286" y1="-1.524" x2="2.794" y2="-1.016" layer="51"/> +</package> +<package name="C1206"> +<description><b>CAPACITOR</b></description> +<wire x1="-2.473" y1="0.983" x2="2.473" y2="0.983" width="0.0508" layer="39"/> +<wire x1="2.473" y1="-0.983" x2="-2.473" y2="-0.983" width="0.0508" layer="39"/> +<wire x1="-2.473" y1="-0.983" x2="-2.473" y2="0.983" width="0.0508" layer="39"/> +<wire x1="2.473" y1="0.983" x2="2.473" y2="-0.983" width="0.0508" layer="39"/> +<wire x1="-0.965" y1="0.787" x2="0.965" y2="0.787" width="0.1016" layer="51"/> +<wire x1="-0.965" y1="-0.787" x2="0.965" y2="-0.787" width="0.1016" layer="51"/> +<smd name="1" x="-1.4" y="0" dx="1.6" dy="1.8" layer="1"/> +<smd name="2" x="1.4" y="0" dx="1.6" dy="1.8" layer="1"/> +<text x="-1.27" y="1.27" size="1.27" layer="25">>NAME</text> +<text x="-1.27" y="-2.54" size="1.27" layer="27">>VALUE</text> +<rectangle x1="-1.7018" y1="-0.8509" x2="-0.9517" y2="0.8491" layer="51"/> +<rectangle x1="0.9517" y1="-0.8491" x2="1.7018" y2="0.8509" layer="51"/> +<rectangle x1="-0.1999" y1="-0.4001" x2="0.1999" y2="0.4001" layer="35"/> +</package> +<package name="C1206FAB"> +<wire x1="-2.032" y1="1.016" x2="2.032" y2="1.016" width="0.127" layer="21"/> +<wire x1="2.032" y1="1.016" x2="2.032" y2="-1.016" width="0.127" layer="21"/> +<wire x1="2.032" y1="-1.016" x2="-2.032" y2="-1.016" width="0.127" layer="21"/> +<wire x1="-2.032" y1="-1.016" x2="-2.032" y2="1.016" width="0.127" layer="21"/> +<smd name="1" x="-1.651" y="0" dx="1.27" dy="1.905" layer="1"/> +<smd name="2" x="1.651" y="0" dx="1.27" dy="1.905" layer="1"/> +<text x="-1.778" y="1.27" size="1.016" layer="25" ratio="15">>NAME</text> +<text x="-1.778" y="-2.286" size="1.016" layer="27" ratio="15">>VALUE</text> +</package> +<package name="R1206"> +<description><b>RESISTOR</b></description> +<wire x1="0.9525" y1="-0.8128" x2="-0.9652" y2="-0.8128" width="0.1524" layer="51"/> +<wire x1="0.9525" y1="0.8128" x2="-0.9652" y2="0.8128" width="0.1524" layer="51"/> +<wire x1="-2.473" y1="0.983" x2="2.473" y2="0.983" width="0.0508" layer="39"/> +<wire x1="2.473" y1="0.983" x2="2.473" y2="-0.983" width="0.0508" layer="39"/> +<wire x1="2.473" y1="-0.983" x2="-2.473" y2="-0.983" width="0.0508" layer="39"/> +<wire x1="-2.473" y1="-0.983" x2="-2.473" y2="0.983" width="0.0508" layer="39"/> +<smd name="2" x="1.422" y="0" dx="1.6" dy="1.803" layer="1"/> +<smd name="1" x="-1.422" y="0" dx="1.6" dy="1.803" layer="1"/> +<text x="-1.27" y="1.27" size="1.27" layer="25">>NAME</text> +<text x="-1.27" y="-2.54" size="1.27" layer="27">>VALUE</text> +<rectangle x1="-1.6891" y1="-0.8763" x2="-0.9525" y2="0.8763" layer="51"/> +<rectangle x1="0.9525" y1="-0.8763" x2="1.6891" y2="0.8763" layer="51"/> +<rectangle x1="-0.3" y1="-0.7" x2="0.3" y2="0.7" layer="35"/> +</package> +<package name="R1206W"> +<description><b>RESISTOR</b><p> +wave soldering</description> +<wire x1="-0.913" y1="0.8" x2="0.888" y2="0.8" width="0.1524" layer="51"/> +<wire x1="-0.913" y1="-0.8" x2="0.888" y2="-0.8" width="0.1524" layer="51"/> +<wire x1="-2.473" y1="0.983" x2="2.473" y2="0.983" width="0.0508" layer="39"/> +<wire x1="2.473" y1="0.983" x2="2.473" y2="-0.983" width="0.0508" layer="39"/> +<wire x1="2.473" y1="-0.983" x2="-2.473" y2="-0.983" width="0.0508" layer="39"/> +<wire x1="-2.473" y1="-0.983" x2="-2.473" y2="0.983" width="0.0508" layer="39"/> +<smd name="1" x="-1.499" y="0" dx="1.8" dy="1.2" layer="1"/> +<smd name="2" x="1.499" y="0" dx="1.8" dy="1.2" layer="1"/> +<text x="-1.905" y="1.27" size="1.27" layer="25">>NAME</text> +<text x="-1.905" y="-2.54" size="1.27" layer="27">>VALUE</text> +<rectangle x1="-1.651" y1="-0.8763" x2="-0.9009" y2="0.8738" layer="51"/> +<rectangle x1="0.889" y1="-0.8763" x2="1.6391" y2="0.8738" layer="51"/> +<rectangle x1="-0.3" y1="-0.7" x2="0.3" y2="0.7" layer="35"/> +</package> +<package name="R1206FAB"> +<wire x1="-2.032" y1="1.016" x2="2.032" y2="1.016" width="0.127" layer="21"/> +<wire x1="2.032" y1="1.016" x2="2.032" y2="-1.016" width="0.127" layer="21"/> +<wire x1="2.032" y1="-1.016" x2="-2.032" y2="-1.016" width="0.127" layer="21"/> +<wire x1="-2.032" y1="-1.016" x2="-2.032" y2="1.016" width="0.127" layer="21"/> +<smd name="1" x="-1.651" y="0" dx="1.27" dy="1.905" layer="1"/> +<smd name="2" x="1.651" y="0" dx="1.27" dy="1.905" layer="1"/> +<text x="-1.778" y="1.27" size="1.016" layer="25" ratio="15">>NAME</text> +<text x="-1.778" y="-2.286" size="1.016" layer="27" ratio="15">>VALUE</text> +</package> +<package name="P-LCC-4-3"> +<description><b>Hyper TOPLED® </b><p> +Source: http://www.osram.convergy.de/</description> +<wire x1="-1.4" y1="-1.05" x2="-1.4" y2="-1.6" width="0.2032" layer="51"/> +<wire x1="-1.4" y1="-1.6" x2="-1" y2="-1.6" width="0.2032" layer="51"/> +<wire x1="-1" y1="-1.6" x2="-0.85" y2="-1.6" width="0.2032" layer="51"/> +<wire x1="-0.85" y1="-1.6" x2="1" y2="-1.6" width="0.2032" layer="51"/> +<wire x1="1" y1="-1.6" x2="1.4" y2="-1.6" width="0.2032" layer="51"/> +<wire x1="1.4" y1="-1.6" x2="1.4" y2="1.6" width="0.2032" layer="51"/> +<wire x1="1.4" y1="1.6" x2="1.1" y2="1.6" width="0.2032" layer="51"/> +<wire x1="1.1" y1="1.6" x2="-1" y2="1.6" width="0.2032" layer="51"/> +<wire x1="-1" y1="1.6" x2="-1.4" y2="1.6" width="0.2032" layer="51"/> +<wire x1="-1" y1="1.6" x2="-1" y2="1.8" width="0.1016" layer="51"/> +<wire x1="-1" y1="1.8" x2="-0.5" y2="1.8" width="0.1016" layer="51"/> +<wire x1="-0.5" y1="1.8" x2="-0.5" y2="1.65" width="0.1016" layer="51"/> +<wire x1="0.5" y1="1.65" x2="0.5" y2="1.8" width="0.1016" layer="51"/> +<wire x1="0.5" y1="1.8" x2="1.1" y2="1.8" width="0.1016" layer="51"/> +<wire x1="1.1" y1="1.8" x2="1.1" y2="1.6" width="0.1016" layer="51"/> +<wire x1="-1" y1="-1.6" x2="-1" y2="-1.8" width="0.1016" layer="51"/> +<wire x1="-1" y1="-1.8" x2="-0.5" y2="-1.8" width="0.1016" layer="51"/> +<wire x1="-0.5" y1="-1.8" x2="-0.5" y2="-1.65" width="0.1016" layer="51"/> +<wire x1="0.5" y1="-1.65" x2="0.5" y2="-1.8" width="0.1016" layer="51"/> +<wire x1="0.5" y1="-1.8" x2="1" y2="-1.8" width="0.1016" layer="51"/> +<wire x1="1" y1="-1.8" x2="1" y2="-1.6" width="0.1016" layer="51"/> +<wire x1="-0.85" y1="-1.6" x2="-1.4" y2="-1.05" width="0.2032" layer="51"/> +<wire x1="-1.4" y1="1.6" x2="-1.4" y2="-1.05" width="0.2032" layer="51"/> +<circle x="0" y="0" radius="1.1" width="0.2032" layer="51"/> +<smd name="A" x="-0.8" y="1.5" dx="1.1" dy="1.5" layer="1" stop="no" cream="no"/> +<smd name="B" x="0.8" y="1.5" dx="1.1" dy="1.5" layer="1" stop="no" cream="no"/> +<smd name="G" x="0.8" y="-1.5" dx="1.1" dy="1.5" layer="1" stop="no" cream="no"/> +<smd name="R" x="-0.8" y="-1.5" dx="1.1" dy="1.5" layer="1" stop="no" cream="no"/> +<text x="-2.54" y="-2.54" size="1.27" layer="25" rot="R90">>NAME</text> +<text x="3.81" y="-2.54" size="1.27" layer="27" rot="R90">>VALUE</text> +<text x="-1.27" y="-3.81" size="1.27" layer="21">R</text> +<text x="-1.27" y="2.54" size="1.27" layer="21">A</text> +<text x="0.635" y="2.54" size="1.27" layer="21">B</text> +<text x="0.635" y="-3.81" size="1.27" layer="21">G</text> +<rectangle x1="-1.15" y1="0.75" x2="-0.35" y2="1.85" layer="29"/> +<rectangle x1="0.35" y1="0.75" x2="1.15" y2="1.85" layer="29"/> +<rectangle x1="0.35" y1="-1.85" x2="1.15" y2="-0.75" layer="29"/> +<rectangle x1="-1.15" y1="-1.85" x2="-0.35" y2="-0.75" layer="29"/> +<rectangle x1="-1.1" y1="-1.8" x2="-0.4" y2="-0.8" layer="31"/> +<rectangle x1="0.4" y1="-1.8" x2="1.1" y2="-0.8" layer="31"/> +<rectangle x1="0.4" y1="0.8" x2="1.1" y2="1.8" layer="31"/> +<rectangle x1="-1.1" y1="0.8" x2="-0.4" y2="1.8" layer="31"/> +<rectangle x1="0.1" y1="0.1" x2="0.5" y2="0.5" layer="21"/> +<rectangle x1="0.1" y1="-0.5" x2="0.5" y2="-0.1" layer="21"/> +<rectangle x1="-0.5" y1="-0.5" x2="-0.1" y2="-0.1" layer="21"/> +</package> +<package name="2X02SMD"> +<smd name="1" x="-2.54" y="1.27" dx="2.54" dy="1.27" layer="1"/> +<smd name="3" x="-2.54" y="-1.27" dx="2.54" dy="1.27" layer="1"/> +<smd name="2" x="2.92" y="1.27" dx="2.54" dy="1.27" layer="1"/> +<smd name="4" x="2.92" y="-1.27" dx="2.54" dy="1.27" layer="1"/> +<text x="-5.08" y="1.27" size="1.27" layer="27">1</text> +<text x="-3.81" y="2.54" size="1.27" layer="21">>NAME</text> +<text x="-3.81" y="-3.81" size="1.27" layer="21">>VALUE</text> +</package> +<package name="SOT23"> +<description><b>SOT 23</b></description> +<wire x1="1.4224" y1="0.6604" x2="1.4224" y2="-0.6604" width="0.1524" layer="51"/> +<wire x1="1.4224" y1="-0.6604" x2="-1.4224" y2="-0.6604" width="0.1524" layer="51"/> +<wire x1="-1.4224" y1="-0.6604" x2="-1.4224" y2="0.6604" width="0.1524" layer="51"/> +<wire x1="-1.4224" y1="0.6604" x2="1.4224" y2="0.6604" width="0.1524" layer="51"/> +<wire x1="-1.4224" y1="-0.1524" x2="-1.4224" y2="0.6604" width="0.1524" layer="21"/> +<wire x1="-1.4224" y1="0.6604" x2="-0.8636" y2="0.6604" width="0.1524" layer="21"/> +<wire x1="1.4224" y1="0.6604" x2="1.4224" y2="-0.1524" width="0.1524" layer="21"/> +<wire x1="0.8636" y1="0.6604" x2="1.4224" y2="0.6604" width="0.1524" layer="21"/> +<smd name="3" x="0" y="1.1" dx="1" dy="1.4" layer="1"/> +<smd name="2" x="0.95" y="-1.1" dx="1" dy="1.4" layer="1"/> +<smd name="1" x="-0.95" y="-1.1" dx="1" dy="1.4" layer="1"/> +<text x="-1.905" y="1.905" size="1.27" layer="25">>NAME</text> +<text x="-1.905" y="-3.175" size="1.27" layer="27">>VALUE</text> +<rectangle x1="-0.2286" y1="0.7112" x2="0.2286" y2="1.2954" layer="51"/> +<rectangle x1="0.7112" y1="-1.2954" x2="1.1684" y2="-0.7112" layer="51"/> +<rectangle x1="-1.1684" y1="-1.2954" x2="-0.7112" y2="-0.7112" layer="51"/> +</package> +</packages> +<symbols> +<symbol name="ATTINY45"> +<wire x1="-52.07" y1="7.493" x2="-52.07" y2="5.08" width="0.4064" layer="94"/> +<wire x1="-52.07" y1="5.08" x2="-52.07" y2="2.54" width="0.4064" layer="94"/> +<wire x1="-52.07" y1="2.54" x2="-52.07" y2="0" width="0.4064" layer="94"/> +<wire x1="-52.07" y1="0" x2="-52.07" y2="-2.54" width="0.4064" layer="94"/> +<wire x1="-52.07" y1="-2.54" x2="-52.07" y2="-5.08" width="0.4064" layer="94"/> +<wire x1="-52.07" y1="-5.08" x2="34.29" y2="-5.08" width="0.4064" layer="94"/> +<wire x1="34.29" y1="-5.08" x2="34.29" y2="-2.54" width="0.4064" layer="94"/> +<wire x1="34.29" y1="-2.54" x2="34.29" y2="0" width="0.4064" layer="94"/> +<wire x1="34.29" y1="0" x2="34.29" y2="2.54" width="0.4064" layer="94"/> +<wire x1="34.29" y1="2.54" x2="34.29" y2="5.08" width="0.4064" layer="94"/> +<wire x1="34.29" y1="5.08" x2="34.29" y2="7.493" width="0.4064" layer="94"/> +<wire x1="34.29" y1="7.493" x2="-52.07" y2="7.493" width="0.4064" layer="94"/> +<wire x1="-53.34" y1="5.08" x2="-52.07" y2="5.08" width="0.254" layer="94"/> +<wire x1="-53.34" y1="2.54" x2="-52.07" y2="2.54" width="0.254" layer="94"/> +<wire x1="-53.34" y1="0" x2="-52.07" y2="0" width="0.254" layer="94"/> +<wire x1="-53.34" y1="-2.54" x2="-52.07" y2="-2.54" width="0.254" layer="94"/> +<wire x1="34.29" y1="5.08" x2="35.56" y2="5.08" width="0.254" layer="94"/> +<wire x1="34.29" y1="2.54" x2="35.56" y2="2.54" width="0.254" layer="94"/> +<wire x1="34.29" y1="0" x2="35.56" y2="0" width="0.254" layer="94"/> +<wire x1="34.29" y1="-2.54" x2="35.56" y2="-2.54" width="0.254" layer="94"/> +<text x="5.08" y="-7.62" size="1.778" layer="95">>NAME</text> +<text x="-31.75" y="-7.62" size="1.778" layer="96">ATtiny45</text> +<rectangle x1="-51.816" y1="5.969" x2="-50.546" y2="7.239" layer="94"/> +<pin name="GND" x="-53.34" y="-2.54" length="point"/> +<pin name="PB5/PCINT5/-RESET/ADC0/DW" x="-53.34" y="5.08" length="point"/> +<pin name="PB3/PCINT3/XTAL1/CLKI/-OC1B/ADC3" x="-53.34" y="2.54" length="point"/> +<pin name="PB4/PCINT4/XTAL2/CLKO/OC1B/ADC2" x="-53.34" y="0" length="point"/> +<pin name="VCC" x="35.56" y="5.08" length="point" rot="R180"/> +<pin name="SCK/USCK/SCL/ADC1/T0/INT0/PCINT2/PB2" x="35.56" y="2.54" length="point" rot="R180"/> +<pin name="MISO/DO/AIN1/OC0B/OC1A/PCINT1/PB1" x="35.56" y="0" length="point" rot="R180"/> +<pin name="MOSI/DI/SDA/AIN0/OC0A/-OC1A/AREF/PCINT0/PB0" x="35.56" y="-2.54" length="point" rot="R180"/> +</symbol> +<symbol name="AVRISP"> +<wire x1="-6.35" y1="-5.08" x2="8.89" y2="-5.08" width="0.4064" layer="94"/> +<wire x1="8.89" y1="-5.08" x2="8.89" y2="5.08" width="0.4064" layer="94"/> +<wire x1="8.89" y1="5.08" x2="-6.35" y2="5.08" width="0.4064" layer="94"/> +<wire x1="-6.35" y1="5.08" x2="-6.35" y2="-5.08" width="0.4064" layer="94"/> +<text x="-6.35" y="5.715" size="1.778" layer="95">>NAME</text> +<text x="-6.35" y="-7.62" size="1.778" layer="96">>VALUE</text> +<text x="-5.08" y="3.175" size="1.27" layer="95">MISO</text> +<text x="-5.08" y="0.635" size="1.27" layer="95">SCK</text> +<text x="-5.08" y="-1.905" size="1.27" layer="95">RST</text> +<text x="7.62" y="3.175" size="1.27" layer="95" rot="MR0">VCC</text> +<text x="7.62" y="0.635" size="1.27" layer="95" rot="MR0">MOSI</text> +<text x="7.62" y="-1.905" size="1.27" layer="95" rot="MR0">GND</text> +<pin name="MISO" x="-2.54" y="2.54" visible="off" length="short" direction="pas" function="dot"/> +<pin name="VCC" x="5.08" y="2.54" visible="off" length="short" direction="pas" function="dot" rot="R180"/> +<pin name="SCK" x="-2.54" y="0" visible="off" length="short" direction="pas" function="dot"/> +<pin name="MOSI" x="5.08" y="0" visible="off" length="short" direction="pas" function="dot" rot="R180"/> +<pin name="RST" x="-2.54" y="-2.54" visible="off" length="short" direction="pas" function="dot"/> +<pin name="GND" x="5.08" y="-2.54" visible="off" length="short" direction="pas" function="dot" rot="R180"/> +</symbol> +<symbol name="CAP-NONPOLARIZED"> +<description>non-polarized capacitor</description> +<wire x1="-1.778" y1="1.524" x2="-1.778" y2="0" width="0.254" layer="94"/> +<wire x1="-1.778" y1="0" x2="-1.778" y2="-1.524" width="0.254" layer="94"/> +<wire x1="-0.762" y1="1.524" x2="-0.762" y2="0" width="0.254" layer="94"/> +<wire x1="-0.762" y1="0" x2="-0.762" y2="-1.524" width="0.254" layer="94"/> +<wire x1="-2.54" y1="0" x2="-1.778" y2="0" width="0.1524" layer="94"/> +<wire x1="-0.762" y1="0" x2="0" y2="0" width="0.1524" layer="94"/> +<text x="-3.81" y="2.54" size="1.778" layer="95">>NAME</text> +<text x="-3.81" y="-3.81" size="1.778" layer="96">>VALUE</text> +<pin name="1" x="-5.08" y="0" visible="off" length="short" direction="pas" swaplevel="1"/> +<pin name="2" x="2.54" y="0" visible="off" length="short" direction="pas" swaplevel="1" rot="R180"/> +</symbol> +<symbol name="R-US"> +<wire x1="-2.54" y1="0" x2="-2.159" y2="1.016" width="0.2032" layer="94"/> +<wire x1="-2.159" y1="1.016" x2="-1.524" y2="-1.016" width="0.2032" layer="94"/> +<wire x1="-1.524" y1="-1.016" x2="-0.889" y2="1.016" width="0.2032" layer="94"/> +<wire x1="-0.889" y1="1.016" x2="-0.254" y2="-1.016" width="0.2032" layer="94"/> +<wire x1="-0.254" y1="-1.016" x2="0.381" y2="1.016" width="0.2032" layer="94"/> +<wire x1="0.381" y1="1.016" x2="1.016" y2="-1.016" width="0.2032" layer="94"/> +<wire x1="1.016" y1="-1.016" x2="1.651" y2="1.016" width="0.2032" layer="94"/> +<wire x1="1.651" y1="1.016" x2="2.286" y2="-1.016" width="0.2032" layer="94"/> +<wire x1="2.286" y1="-1.016" x2="2.54" y2="0" width="0.2032" layer="94"/> +<text x="-3.81" y="1.4986" size="1.778" layer="95">>NAME</text> +<text x="-3.81" y="-3.302" size="1.778" layer="96">>VALUE</text> +<pin name="2" x="5.08" y="0" visible="off" length="short" direction="pas" swaplevel="1" rot="R180"/> +<pin name="1" x="-5.08" y="0" visible="off" length="short" direction="pas" swaplevel="1"/> +</symbol> +<symbol name="LED-RGB"> +<wire x1="6.35" y1="1.778" x2="5.08" y2="-0.254" width="0.254" layer="94"/> +<wire x1="5.08" y1="-0.254" x2="3.81" y2="1.778" width="0.254" layer="94"/> +<wire x1="6.35" y1="-0.254" x2="5.08" y2="-0.254" width="0.254" layer="94"/> +<wire x1="5.08" y1="-0.254" x2="3.81" y2="-0.254" width="0.254" layer="94"/> +<wire x1="6.35" y1="1.778" x2="3.81" y2="1.778" width="0.254" layer="94"/> +<wire x1="3.048" y1="1.524" x2="2.159" y2="0.635" width="0.1524" layer="94"/> +<wire x1="3.81" y1="0.762" x2="2.921" y2="-0.127" width="0.1524" layer="94"/> +<wire x1="1.27" y1="1.778" x2="0" y2="-0.254" width="0.254" layer="94"/> +<wire x1="0" y1="-0.254" x2="-1.27" y2="1.778" width="0.254" layer="94"/> +<wire x1="1.27" y1="-0.254" x2="0" y2="-0.254" width="0.254" layer="94"/> +<wire x1="0" y1="-0.254" x2="-1.27" y2="-0.254" width="0.254" layer="94"/> +<wire x1="1.27" y1="1.778" x2="-1.27" y2="1.778" width="0.254" layer="94"/> +<wire x1="-2.032" y1="1.524" x2="-2.921" y2="0.635" width="0.1524" layer="94"/> +<wire x1="-1.27" y1="0.762" x2="-2.159" y2="-0.127" width="0.1524" layer="94"/> +<wire x1="-3.81" y1="1.778" x2="-5.08" y2="-0.254" width="0.254" layer="94"/> +<wire x1="-5.08" y1="-0.254" x2="-6.35" y2="1.778" width="0.254" layer="94"/> +<wire x1="-3.81" y1="-0.254" x2="-5.08" y2="-0.254" width="0.254" layer="94"/> +<wire x1="-5.08" y1="-0.254" x2="-6.35" y2="-0.254" width="0.254" layer="94"/> +<wire x1="-3.81" y1="1.778" x2="-6.35" y2="1.778" width="0.254" layer="94"/> +<wire x1="-7.112" y1="1.524" x2="-8.001" y2="0.635" width="0.1524" layer="94"/> +<wire x1="-6.35" y1="0.762" x2="-7.239" y2="-0.127" width="0.1524" layer="94"/> +<wire x1="-5.08" y1="2.54" x2="0" y2="2.54" width="0.1524" layer="94"/> +<wire x1="0" y1="2.54" x2="0" y2="0" width="0.1524" layer="94"/> +<wire x1="0" y1="2.54" x2="5.08" y2="2.54" width="0.1524" layer="94"/> +<wire x1="5.08" y1="2.54" x2="5.08" y2="0" width="0.1524" layer="94"/> +<circle x="-5.08" y="2.54" radius="0.1796" width="0.254" layer="94"/> +<circle x="0" y="2.54" radius="0.1796" width="0.254" layer="94"/> +<text x="-2.54" y="3.302" size="1.778" layer="95">>NAME</text> +<text x="-2.54" y="5.461" size="1.778" layer="96">>VALUE</text> +<pin name="CGREEN" x="5.08" y="-2.54" visible="pad" length="short" direction="pas" rot="R90"/> +<pin name="CBLUE" x="0" y="-2.54" visible="pad" length="short" direction="pas" rot="R90"/> +<pin name="CRED" x="-5.08" y="-2.54" visible="pad" length="short" direction="pas" rot="R90"/> +<pin name="A2" x="-5.08" y="5.08" visible="pad" length="middle" direction="pas" rot="R270"/> +<polygon width="0.1524" layer="94"> +<vertex x="2.032" y="1.016"/> +<vertex x="1.778" y="0.254"/> +<vertex x="2.54" y="0.508"/> +</polygon> +<polygon width="0.1524" layer="94"> +<vertex x="2.794" y="0.254"/> +<vertex x="2.54" y="-0.508"/> +<vertex x="3.302" y="-0.254"/> +</polygon> +<polygon width="0.1524" layer="94"> +<vertex x="-3.048" y="1.016"/> +<vertex x="-3.302" y="0.254"/> +<vertex x="-2.54" y="0.508"/> +</polygon> +<polygon width="0.1524" layer="94"> +<vertex x="-2.286" y="0.254"/> +<vertex x="-2.54" y="-0.508"/> +<vertex x="-1.778" y="-0.254"/> +</polygon> +<polygon width="0.1524" layer="94"> +<vertex x="-8.128" y="1.016"/> +<vertex x="-8.382" y="0.254"/> +<vertex x="-7.62" y="0.508"/> +</polygon> +<polygon width="0.1524" layer="94"> +<vertex x="-7.366" y="0.254"/> +<vertex x="-7.62" y="-0.508"/> +<vertex x="-6.858" y="-0.254"/> +</polygon> +</symbol> +<symbol name="PINH2X2"> +<wire x1="-8.89" y1="-2.54" x2="6.35" y2="-2.54" width="0.4064" layer="94"/> +<wire x1="6.35" y1="-2.54" x2="6.35" y2="5.08" width="0.4064" layer="94"/> +<wire x1="6.35" y1="5.08" x2="-8.89" y2="5.08" width="0.4064" layer="94"/> +<wire x1="-8.89" y1="5.08" x2="-8.89" y2="-2.54" width="0.4064" layer="94"/> +<text x="-8.89" y="5.715" size="1.778" layer="95">>NAME</text> +<text x="-8.89" y="-5.08" size="1.778" layer="96">>VALUE</text> +<pin name="1" x="-5.08" y="2.54" visible="pad" length="short" direction="pas" function="dot"/> +<pin name="2" x="2.54" y="2.54" visible="pad" length="short" direction="pas" function="dot" rot="R180"/> +<pin name="3" x="-5.08" y="0" visible="pad" length="short" direction="pas" function="dot"/> +<pin name="4" x="2.54" y="0" visible="pad" length="short" direction="pas" function="dot" rot="R180"/> +</symbol> +<symbol name="REGULATOR"> +<wire x1="-6.35" y1="5.08" x2="-6.35" y2="2.54" width="0.4064" layer="94"/> +<wire x1="-6.35" y1="2.54" x2="-6.35" y2="-1.27" width="0.4064" layer="94"/> +<wire x1="-6.35" y1="-1.27" x2="0" y2="-1.27" width="0.4064" layer="94"/> +<wire x1="0" y1="-1.27" x2="6.35" y2="-1.27" width="0.4064" layer="94"/> +<wire x1="6.35" y1="-1.27" x2="6.35" y2="2.54" width="0.4064" layer="94"/> +<wire x1="6.35" y1="2.54" x2="6.35" y2="5.08" width="0.4064" layer="94"/> +<wire x1="6.35" y1="5.08" x2="-6.35" y2="5.08" width="0.4064" layer="94"/> +<wire x1="-7.62" y1="2.54" x2="-6.35" y2="2.54" width="0.254" layer="94"/> +<wire x1="0" y1="-1.27" x2="0" y2="-2.54" width="0.254" layer="94"/> +<wire x1="6.35" y1="2.54" x2="7.62" y2="2.54" width="0.254" layer="94"/> +<text x="-6.35" y="-3.81" size="1.27" layer="95">>NAME</text> +<text x="1.27" y="-3.81" size="1.27" layer="96">>VALUE</text> +<pin name="IN" x="-7.62" y="2.54" length="point"/> +<pin name="GND" x="0" y="-2.54" length="point" rot="R90"/> +<pin name="OUT" x="7.62" y="2.54" length="point" rot="R180"/> +</symbol> +</symbols> +<devicesets> +<deviceset name="ATTINY45"> +<gates> +<gate name="G$1" symbol="ATTINY45" x="10.16" y="0"/> +</gates> +<devices> +<device name="SI" package="SOIC8"> +<connects> +<connect gate="G$1" pin="GND" pad="4"/> +<connect gate="G$1" pin="MISO/DO/AIN1/OC0B/OC1A/PCINT1/PB1" pad="6"/> +<connect gate="G$1" pin="MOSI/DI/SDA/AIN0/OC0A/-OC1A/AREF/PCINT0/PB0" pad="5"/> +<connect gate="G$1" pin="PB3/PCINT3/XTAL1/CLKI/-OC1B/ADC3" pad="2"/> +<connect gate="G$1" pin="PB4/PCINT4/XTAL2/CLKO/OC1B/ADC2" pad="3"/> +<connect gate="G$1" pin="PB5/PCINT5/-RESET/ADC0/DW" pad="1"/> +<connect gate="G$1" pin="SCK/USCK/SCL/ADC1/T0/INT0/PCINT2/PB2" pad="7"/> +<connect gate="G$1" pin="VCC" pad="8"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +<deviceset name="AVRISP"> +<gates> +<gate name="G$1" symbol="AVRISP" x="0" y="0"/> +</gates> +<devices> +<device name="SMD" package="2X03SMD"> +<connects> +<connect gate="G$1" pin="GND" pad="6"/> +<connect gate="G$1" pin="MISO" pad="1"/> +<connect gate="G$1" pin="MOSI" pad="4"/> +<connect gate="G$1" pin="RST" pad="5"/> +<connect gate="G$1" pin="SCK" pad="3"/> +<connect gate="G$1" pin="VCC" pad="2"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +<device name="" package="2X03"> +<connects> +<connect gate="G$1" pin="GND" pad="6"/> +<connect gate="G$1" pin="MISO" pad="1"/> +<connect gate="G$1" pin="MOSI" pad="4"/> +<connect gate="G$1" pin="RST" pad="5"/> +<connect gate="G$1" pin="SCK" pad="3"/> +<connect gate="G$1" pin="VCC" pad="2"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +<deviceset name="CAP-UNPOLARIZED" prefix="C" uservalue="yes"> +<gates> +<gate name=">NAME" symbol="CAP-NONPOLARIZED" x="0" y="0"/> +</gates> +<devices> +<device name="" package="C1206"> +<connects> +<connect gate=">NAME" pin="1" pad="1"/> +<connect gate=">NAME" pin="2" pad="2"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +<device name="FAB" package="C1206FAB"> +<connects> +<connect gate=">NAME" pin="1" pad="1"/> +<connect gate=">NAME" pin="2" pad="2"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +<deviceset name="RES-US" prefix="R" uservalue="yes"> +<description><b>Resistor (US Symbol)</b> +<p> +Variants with postfix FAB are widened to allow the routing of internal traces</description> +<gates> +<gate name="G$1" symbol="R-US" x="0" y="0"/> +</gates> +<devices> +<device name="1206" package="R1206"> +<connects> +<connect gate="G$1" pin="1" pad="1"/> +<connect gate="G$1" pin="2" pad="2"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +<device name="1206W" package="R1206W"> +<connects> +<connect gate="G$1" pin="1" pad="1"/> +<connect gate="G$1" pin="2" pad="2"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +<device name="1206FAB" package="R1206FAB"> +<connects> +<connect gate="G$1" pin="1" pad="1"/> +<connect gate="G$1" pin="2" pad="2"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +<deviceset name="LEDRGBOLD" prefix="LED" uservalue="yes"> +<description><b>OSRAM</b><p> +<u>Hyper Multi TOPLED® Hyper-Bright LED</u><br> +LATB T686<br> + +<p> +Source: http://www.osram.convergy.de/</description> +<gates> +<gate name="G$1" symbol="LED-RGB" x="0" y="0"/> +</gates> +<devices> +<device name="" package="P-LCC-4-3"> +<connects> +<connect gate="G$1" pin="A2" pad="A"/> +<connect gate="G$1" pin="CBLUE" pad="B"/> +<connect gate="G$1" pin="CGREEN" pad="G"/> +<connect gate="G$1" pin="CRED" pad="R"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +<deviceset name="PINHD-2X2-SMD"> +<gates> +<gate name="G$1" symbol="PINH2X2" x="2.54" y="0"/> +</gates> +<devices> +<device name="" package="2X02SMD"> +<connects> +<connect gate="G$1" pin="1" pad="1"/> +<connect gate="G$1" pin="2" pad="2"/> +<connect gate="G$1" pin="3" pad="3"/> +<connect gate="G$1" pin="4" pad="4"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +<deviceset name="REGULATOR" prefix="IC" uservalue="yes"> +<gates> +<gate name="G$1" symbol="REGULATOR" x="0" y="0"/> +</gates> +<devices> +<device name="SOT23" package="SOT23"> +<connects> +<connect gate="G$1" pin="GND" pad="3"/> +<connect gate="G$1" pin="IN" pad="2"/> +<connect gate="G$1" pin="OUT" pad="1"/> +</connects> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> +<library name="supply1" urn="urn:adsk.eagle:library:371"> +<description><b>Supply Symbols</b><p> + GND, VCC, 0V, +5V, -5V, etc.<p> + Please keep in mind, that these devices are necessary for the + automatic wiring of the supply signals.<p> + The pin name defined in the symbol is identical to the net which is to be wired automatically.<p> + In this library the device names are the same as the pin names of the symbols, therefore the correct signal names appear next to the supply symbols in the schematic.<p> + <author>Created by librarian@cadsoft.de</author></description> +<packages> +</packages> +<symbols> +<symbol name="VCC" urn="urn:adsk.eagle:symbol:26928/1" library_version="1"> +<wire x1="1.27" y1="-1.905" x2="0" y2="0" width="0.254" layer="94"/> +<wire x1="0" y1="0" x2="-1.27" y2="-1.905" width="0.254" layer="94"/> +<text x="-2.54" y="-2.54" size="1.778" layer="96" rot="R90">>VALUE</text> +<pin name="VCC" x="0" y="-2.54" visible="off" length="short" direction="sup" rot="R90"/> +</symbol> +<symbol name="GND" urn="urn:adsk.eagle:symbol:26925/1" library_version="1"> +<wire x1="-1.905" y1="0" x2="1.905" y2="0" width="0.254" layer="94"/> +<text x="-2.54" y="-2.54" size="1.778" layer="96">>VALUE</text> +<pin name="GND" x="0" y="2.54" visible="off" length="short" direction="sup" rot="R270"/> +</symbol> +</symbols> +<devicesets> +<deviceset name="VCC" urn="urn:adsk.eagle:component:26957/1" prefix="P+" library_version="1"> +<description><b>SUPPLY SYMBOL</b></description> +<gates> +<gate name="VCC" symbol="VCC" x="0" y="0"/> +</gates> +<devices> +<device name=""> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +<deviceset name="GND" urn="urn:adsk.eagle:component:26954/1" prefix="GND" library_version="1"> +<description><b>SUPPLY SYMBOL</b></description> +<gates> +<gate name="1" symbol="GND" x="0" y="0"/> +</gates> +<devices> +<device name=""> +<technologies> +<technology name=""/> +</technologies> +</device> +</devices> +</deviceset> +</devicesets> +</library> +</libraries> +<attributes> +</attributes> +<variantdefs> +</variantdefs> +<classes> +<class number="0" name="default" width="0" drill="0"> +</class> +</classes> +<parts> +<part name="ATTINY45" library="fab" deviceset="ATTINY45" device="SI" value="-"/> +<part name="J1" library="fab" deviceset="AVRISP" device="SMD" value="ISP"/> +<part name="C1" library="fab" deviceset="CAP-UNPOLARIZED" device="FAB" value="1 uF"/> +<part name="R1" library="fab" deviceset="RES-US" device="1206FAB" value="10 k"/> +<part name="R2" library="fab" deviceset="RES-US" device="1206FAB" value="499"/> +<part name="R3" library="fab" deviceset="RES-US" device="1206FAB" value="1 k"/> +<part name="R4" library="fab" deviceset="RES-US" device="1206FAB" value="1 k"/> +<part name="LED1" library="fab" deviceset="LEDRGBOLD" device=""/> +<part name="J2" library="fab" deviceset="PINHD-2X2-SMD" device="" value="Power"/> +<part name="IC1" library="fab" deviceset="REGULATOR" device="SOT23" value="5 V"/> +<part name="P+1" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="VCC" device=""/> +<part name="P+2" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="VCC" device=""/> +<part name="P+3" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="VCC" device=""/> +<part name="GND1" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="GND" device=""/> +<part name="GND2" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="GND" device=""/> +<part name="GND3" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="GND" device=""/> +<part name="GND4" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="GND" device=""/> +<part name="P+4" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="VCC" device=""/> +<part name="P+5" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="VCC" device=""/> +<part name="P+6" library="supply1" library_urn="urn:adsk.eagle:library:371" deviceset="VCC" device=""/> +</parts> +<sheets> +<sheet> +<plain> +</plain> +<instances> +<instance part="ATTINY45" gate="G$1" x="53.34" y="40.64"/> +<instance part="J1" gate="G$1" x="147.32" y="50.8"/> +<instance part="C1" gate=">NAME" x="35.56" y="83.82" rot="R90"/> +<instance part="R1" gate="G$1" x="15.24" y="73.66" rot="R270"/> +<instance part="R2" gate="G$1" x="88.9" y="58.42"/> +<instance part="R3" gate="G$1" x="66.04" y="76.2" rot="R90"/> +<instance part="R4" gate="G$1" x="78.74" y="76.2" rot="R90"/> +<instance part="LED1" gate="G$1" x="66.04" y="58.42"/> +<instance part="J2" gate="G$1" x="149.86" y="73.66"/> +<instance part="IC1" gate="G$1" x="119.38" y="76.2" rot="R90"/> +<instance part="P+1" gate="VCC" x="93.98" y="45.72" rot="R270"/> +<instance part="P+2" gate="VCC" x="167.64" y="53.34" rot="R270"/> +<instance part="P+3" gate="VCC" x="15.24" y="86.36"/> +<instance part="GND1" gate="1" x="-7.62" y="38.1" rot="R270"/> +<instance part="GND2" gate="1" x="167.64" y="48.26" rot="R90"/> +<instance part="GND3" gate="1" x="132.08" y="88.9" rot="R180"/> +<instance part="GND4" gate="1" x="35.56" y="73.66"/> +<instance part="P+4" gate="VCC" x="35.56" y="91.44"/> +<instance part="P+5" gate="VCC" x="60.96" y="81.28"/> +<instance part="P+6" gate="VCC" x="116.84" y="88.9"/> +</instances> +<busses> +</busses> +<nets> +<net name="N$1" class="0"> +<segment> +<pinref part="ATTINY45" gate="G$1" pin="MISO/DO/AIN1/OC0B/OC1A/PCINT1/PB1"/> +<wire x1="88.9" y1="40.64" x2="104.14" y2="40.64" width="0.1524" layer="91"/> +<wire x1="104.14" y1="40.64" x2="137.16" y2="40.64" width="0.1524" layer="91"/> +<wire x1="137.16" y1="40.64" x2="137.16" y2="53.34" width="0.1524" layer="91"/> +<pinref part="J1" gate="G$1" pin="MISO"/> +<wire x1="137.16" y1="53.34" x2="144.78" y2="53.34" width="0.1524" layer="91"/> +<wire x1="104.14" y1="40.64" x2="104.14" y2="83.82" width="0.1524" layer="91"/> +<junction x="104.14" y="40.64"/> +<pinref part="R3" gate="G$1" pin="2"/> +<wire x1="104.14" y1="83.82" x2="66.04" y2="83.82" width="0.1524" layer="91"/> +<wire x1="66.04" y1="83.82" x2="66.04" y2="81.28" width="0.1524" layer="91"/> +</segment> +</net> +<net name="N$2" class="0"> +<segment> +<pinref part="ATTINY45" gate="G$1" pin="MOSI/DI/SDA/AIN0/OC0A/-OC1A/AREF/PCINT0/PB0"/> +<wire x1="88.9" y1="38.1" x2="109.22" y2="38.1" width="0.1524" layer="91"/> +<wire x1="109.22" y1="38.1" x2="160.02" y2="38.1" width="0.1524" layer="91"/> +<wire x1="160.02" y1="38.1" x2="160.02" y2="50.8" width="0.1524" layer="91"/> +<pinref part="J1" gate="G$1" pin="MOSI"/> +<wire x1="160.02" y1="50.8" x2="152.4" y2="50.8" width="0.1524" layer="91"/> +<wire x1="109.22" y1="38.1" x2="109.22" y2="81.28" width="0.1524" layer="91"/> +<junction x="109.22" y="38.1"/> +<pinref part="R4" gate="G$1" pin="2"/> +<wire x1="109.22" y1="81.28" x2="78.74" y2="81.28" width="0.1524" layer="91"/> +</segment> +</net> +<net name="N$3" class="0"> +<segment> +<pinref part="ATTINY45" gate="G$1" pin="SCK/USCK/SCL/ADC1/T0/INT0/PCINT2/PB2"/> +<wire x1="88.9" y1="43.18" x2="101.6" y2="43.18" width="0.1524" layer="91"/> +<wire x1="101.6" y1="43.18" x2="134.62" y2="43.18" width="0.1524" layer="91"/> +<wire x1="134.62" y1="43.18" x2="134.62" y2="50.8" width="0.1524" layer="91"/> +<pinref part="J1" gate="G$1" pin="SCK"/> +<wire x1="134.62" y1="50.8" x2="144.78" y2="50.8" width="0.1524" layer="91"/> +<wire x1="101.6" y1="43.18" x2="101.6" y2="58.42" width="0.1524" layer="91"/> +<junction x="101.6" y="43.18"/> +<pinref part="R2" gate="G$1" pin="2"/> +<wire x1="101.6" y1="58.42" x2="93.98" y2="58.42" width="0.1524" layer="91"/> +</segment> +</net> +<net name="N$8" class="0"> +<segment> +<pinref part="R2" gate="G$1" pin="1"/> +<wire x1="83.82" y1="58.42" x2="81.28" y2="58.42" width="0.1524" layer="91"/> +<wire x1="81.28" y1="58.42" x2="81.28" y2="50.8" width="0.1524" layer="91"/> +<wire x1="81.28" y1="50.8" x2="66.04" y2="50.8" width="0.1524" layer="91"/> +<pinref part="LED1" gate="G$1" pin="CBLUE"/> +<wire x1="66.04" y1="50.8" x2="66.04" y2="55.88" width="0.1524" layer="91"/> +</segment> +</net> +<net name="N$9" class="0"> +<segment> +<pinref part="R3" gate="G$1" pin="1"/> +<wire x1="66.04" y1="71.12" x2="55.88" y2="71.12" width="0.1524" layer="91"/> +<wire x1="55.88" y1="71.12" x2="55.88" y2="53.34" width="0.1524" layer="91"/> +<wire x1="55.88" y1="53.34" x2="60.96" y2="53.34" width="0.1524" layer="91"/> +<pinref part="LED1" gate="G$1" pin="CRED"/> +<wire x1="60.96" y1="53.34" x2="60.96" y2="55.88" width="0.1524" layer="91"/> +</segment> +</net> +<net name="N$10" class="0"> +<segment> +<pinref part="R4" gate="G$1" pin="1"/> +<wire x1="78.74" y1="71.12" x2="78.74" y2="53.34" width="0.1524" layer="91"/> +<pinref part="LED1" gate="G$1" pin="CGREEN"/> +<wire x1="78.74" y1="53.34" x2="71.12" y2="53.34" width="0.1524" layer="91"/> +<wire x1="71.12" y1="53.34" x2="71.12" y2="55.88" width="0.1524" layer="91"/> +</segment> +</net> +<net name="N$6" class="0"> +<segment> +<pinref part="ATTINY45" gate="G$1" pin="PB5/PCINT5/-RESET/ADC0/DW"/> +<wire x1="0" y1="45.72" x2="-5.08" y2="45.72" width="0.1524" layer="91"/> +<wire x1="-5.08" y1="45.72" x2="-5.08" y2="66.04" width="0.1524" layer="91"/> +<wire x1="-5.08" y1="66.04" x2="15.24" y2="66.04" width="0.1524" layer="91"/> +<pinref part="R1" gate="G$1" pin="2"/> +<wire x1="15.24" y1="66.04" x2="15.24" y2="68.58" width="0.1524" layer="91"/> +<wire x1="15.24" y1="66.04" x2="111.76" y2="66.04" width="0.1524" layer="91"/> +<junction x="15.24" y="66.04"/> +<wire x1="111.76" y1="66.04" x2="111.76" y2="48.26" width="0.1524" layer="91"/> +<pinref part="J1" gate="G$1" pin="RST"/> +<wire x1="111.76" y1="48.26" x2="144.78" y2="48.26" width="0.1524" layer="91"/> +</segment> +</net> +<net name="VCC" class="0"> +<segment> +<pinref part="ATTINY45" gate="G$1" pin="VCC"/> +<pinref part="P+1" gate="VCC" pin="VCC"/> +<wire x1="91.44" y1="45.72" x2="88.9" y2="45.72" width="0.1524" layer="91"/> +</segment> +<segment> +<pinref part="J1" gate="G$1" pin="VCC"/> +<pinref part="P+2" gate="VCC" pin="VCC"/> +<wire x1="165.1" y1="53.34" x2="152.4" y2="53.34" width="0.1524" layer="91"/> +</segment> +<segment> +<pinref part="R1" gate="G$1" pin="1"/> +<pinref part="P+3" gate="VCC" pin="VCC"/> +<wire x1="15.24" y1="83.82" x2="15.24" y2="78.74" width="0.1524" layer="91"/> +</segment> +<segment> +<pinref part="LED1" gate="G$1" pin="A2"/> +<pinref part="P+5" gate="VCC" pin="VCC"/> +<wire x1="60.96" y1="78.74" x2="60.96" y2="63.5" width="0.1524" layer="91"/> +</segment> +<segment> +<pinref part="IC1" gate="G$1" pin="OUT"/> +<pinref part="P+6" gate="VCC" pin="VCC"/> +<wire x1="116.84" y1="86.36" x2="116.84" y2="83.82" width="0.1524" layer="91"/> +</segment> +<segment> +<pinref part="C1" gate=">NAME" pin="2"/> +<wire x1="35.56" y1="86.36" x2="35.56" y2="88.9" width="0.1524" layer="91"/> +<pinref part="P+4" gate="VCC" pin="VCC"/> +</segment> +</net> +<net name="GND" class="0"> +<segment> +<pinref part="ATTINY45" gate="G$1" pin="GND"/> +<pinref part="GND1" gate="1" pin="GND"/> +<wire x1="-5.08" y1="38.1" x2="0" y2="38.1" width="0.1524" layer="91"/> +</segment> +<segment> +<pinref part="J1" gate="G$1" pin="GND"/> +<pinref part="GND2" gate="1" pin="GND"/> +<wire x1="165.1" y1="48.26" x2="152.4" y2="48.26" width="0.1524" layer="91"/> +</segment> +<segment> +<pinref part="C1" gate=">NAME" pin="1"/> +<pinref part="GND4" gate="1" pin="GND"/> +<wire x1="35.56" y1="76.2" x2="35.56" y2="78.74" width="0.1524" layer="91"/> +</segment> +<segment> +<pinref part="IC1" gate="G$1" pin="GND"/> +<pinref part="J2" gate="G$1" pin="1"/> +<wire x1="121.92" y1="76.2" x2="132.08" y2="76.2" width="0.1524" layer="91"/> +<pinref part="GND3" gate="1" pin="GND"/> +<wire x1="132.08" y1="76.2" x2="144.78" y2="76.2" width="0.1524" layer="91"/> +<wire x1="132.08" y1="86.36" x2="132.08" y2="76.2" width="0.1524" layer="91"/> +<junction x="132.08" y="76.2"/> +</segment> +</net> +<net name="N$4" class="0"> +<segment> +<pinref part="IC1" gate="G$1" pin="IN"/> +<wire x1="116.84" y1="68.58" x2="137.16" y2="68.58" width="0.1524" layer="91"/> +<wire x1="137.16" y1="68.58" x2="137.16" y2="73.66" width="0.1524" layer="91"/> +<pinref part="J2" gate="G$1" pin="3"/> +<wire x1="137.16" y1="73.66" x2="144.78" y2="73.66" width="0.1524" layer="91"/> +</segment> +</net> +</nets> +</sheet> +</sheets> +<errors> +<approved hash="113,1,65.2907,59.69,LED1,,,,,"/> +</errors> +</schematic> +</drawing> +<compatibility> +<note version="8.2" severity="warning"> +Since Version 8.2, EAGLE supports online libraries. The ids +of those online libraries will not be understood (or retained) +with this version. +</note> +<note version="8.3" severity="warning"> +Since Version 8.3, EAGLE supports URNs for individual library +assets (packages, symbols, and devices). The URNs of those assets +will not be understood (or retained) with this version. +</note> +</compatibility> +</eagle> diff --git a/files/Week_12/RGB_Blink.c b/files/Week_12/RGB_Blink.c new file mode 100644 index 0000000000000000000000000000000000000000..b19b23b917a192c02997c684582af572db105827 --- /dev/null +++ b/files/Week_12/RGB_Blink.c @@ -0,0 +1,34 @@ +/* + * Blink_RGB.c + * + * Created: 17/05/2018 05:43:24 p. m. + * Author : Christian + */ + +#include <avr/io.h> +#include <util/delay.h> +#define F_CPU 1000000UL // 1 MHz + + +int main(void) +{ + DDRB |= (1<<DDB0) | (1<<DDB1) | (1<<DDB2); // set PB0, PB1 AND PB2 as output + PORTB &= ~(1<<PB0) | (1<<PB1) | (1<<PB2); // inician todos abajo + /* Replace with your application code */ + while (1) + { + PINB ^= (1<<PB0); + PINB &= ~(1<<PB1); + PINB &= ~(1<<PB2); + _delay_ms(1000); + PINB ^= (1<<PB1); + _delay_ms(1000); + PINB ^= (1<<PB2); + _delay_ms(1000); + /*PINB &= ~(1<<PB0); + PINB &= ~(1<<PB1); + PINB ^= (1<<PB2); + _delay_ms(500);*/ + } +} + diff --git a/files/Week_12/RGB_traces.png b/files/Week_12/RGB_traces.png new file mode 100644 index 0000000000000000000000000000000000000000..5bbf7f48dbb0991fade9ce0b200a556ce406e89f Binary files /dev/null and b/files/Week_12/RGB_traces.png differ diff --git a/files/Week_12/one_color.c b/files/Week_12/one_color.c new file mode 100644 index 0000000000000000000000000000000000000000..1ea842093ea6f0c96c884e014dd3f14f0ffd2fd0 --- /dev/null +++ b/files/Week_12/one_color.c @@ -0,0 +1,23 @@ +/* + * RGB.c + * + * Created: 17/05/2018 03:31:42 p. m. + * Author : Christian + */ + +#include <avr/io.h> +#define F_CPU 1000000UL // 1 MHz +#include <util/delay.h> + +int main(void) +{ + DDRB |= (1<<DDB1); // PB0 set as output + + /* Replace with your application code */ + while (1) + { + PINB = (1<<PINB1); + _delay_ms(500); + } +} + diff --git a/files/Week_16/Machine_control.ino b/files/Week_16/Machine_control.ino new file mode 100644 index 0000000000000000000000000000000000000000..a3d1ba930ea9ef1d62a8c3899bcd0d9567498e46 --- /dev/null +++ b/files/Week_16/Machine_control.ino @@ -0,0 +1,89 @@ +#include <AccelStepper.h> +#include <AFMotor.h> + +AF_Stepper motor1(200, 1); // Port 2 = M3 and M4 +AF_Stepper motor2(200, 2); // Port 1 = M1 and M2 + +long distx; +long disty; +int move_finished=1; // Test if the movement is done +long stepsx; +long stepsy; + + +// you can change these to DOUBLE or INTERLEAVE or MICROSTEP! +// motor in x +void forwardstep1() { + motor1.onestep(BACKWARD, SINGLE); +} +void backwardstep1() { + motor1.onestep(FORWARD, SINGLE); +} +// motor in y +void forwardstep2() { + motor2.onestep(FORWARD, SINGLE); +} +void backwardstep2() { + motor2.onestep(BACKWARD, SINGLE); +} + +// Motor shield has two motor ports, now we'll wrap them in an AccelStepper object +AccelStepper motorx(forwardstep1, backwardstep1); +AccelStepper motory(forwardstep2, backwardstep2); + +void setup() +{ + Serial.begin(9600); + Serial.println("Enter end coordinates separated by a comma: X,Y "); + Serial.print("Enter coordinates values: "); + + motorx.setMaxSpeed(200.0); + motorx.setAcceleration(100.0); + //stepper1.moveTo(motor1dist); + + motory.setMaxSpeed(200.0); + motory.setAcceleration(100.0); + //stepper2.moveTo(motor2dist); + +} + +void loop() +{ + while (Serial.available()>0) { + + move_finished=0; // For checking move of the Steppers + + distx= Serial.parseInt(); // X coordinate + Serial.print(distx); + Serial.print(" X Travel , "); + stepsx = stepsx + distx; + + disty= Serial.parseInt(); // Y coordinate + Serial.print(disty); + Serial.println(" Y Travel "); + stepsy = stepsy + disty; + + motorx.moveTo(distx); // Set move to x coordinate + motory.moveTo(disty); // Set move to y coordinate + + delay(1000); + Serial.print("Moving Steppers into position..."); + + } + + if ((motorx.distanceToGo() != 0) || (motory.distanceToGo() !=0)) { + + motorx.run(); // Move motor X to new coordinate + motory.run(); // Move motor Y to new coordinate + + } + + if ((move_finished == 0) && (motorx.distanceToGo() == 0) && (motory.distanceToGo() == 0)) { + Serial.println("COMPLETED!"); + Serial.println(""); + Serial.println(stepsx); + Serial.println(stepsy); + Serial.println("Enter next coordinates (0,0 to return at first position): "); + move_finished=1; // Reset move variable + } +} diff --git a/img/Week_11/Atmel_1.jpg b/img/Week_11/Atmel_1.jpg new file mode 100644 index 0000000000000000000000000000000000000000..bc2fc5c5853e0c98772560e5cdb34277f4bb20a0 Binary files /dev/null and b/img/Week_11/Atmel_1.jpg differ diff --git a/img/Week_11/Atmel_2.jpg b/img/Week_11/Atmel_2.jpg new file mode 100644 index 0000000000000000000000000000000000000000..481b5fdada264e1eeba78dc4d357a6cab329869f Binary files /dev/null and b/img/Week_11/Atmel_2.jpg differ diff --git a/img/Week_11/Eagle_1.jpg b/img/Week_11/Eagle_1.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2c0ca4a6821a361dec47847a9589355960973c0e Binary files /dev/null and b/img/Week_11/Eagle_1.jpg differ diff --git a/img/Week_11/Eagle_2.jpg b/img/Week_11/Eagle_2.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a63b9839938097e4c78e1ab97b0885113d389d6d Binary files /dev/null and b/img/Week_11/Eagle_2.jpg differ diff --git a/img/Week_11/PBC_2.png b/img/Week_11/PBC_2.png index da298a4be46f764107e47758909b898adf6dce25..96ea357e26b4366e6dab0dba6f39b103a255a7f2 100644 Binary files a/img/Week_11/PBC_2.png and b/img/Week_11/PBC_2.png differ diff --git a/img/Week_11/Roland.jpg b/img/Week_11/Roland.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c1c0408409c18937f7e6859a452b4880a8c2cdc9 Binary files /dev/null and b/img/Week_11/Roland.jpg differ diff --git a/img/Week_11/arduino.jpg b/img/Week_11/arduino.jpg index c88a824e4541d68dd47da7a9a5881bfb8ce31a4c..9f26357a379ba6291b31381e85e661b9d6c25816 100644 Binary files a/img/Week_11/arduino.jpg and b/img/Week_11/arduino.jpg differ diff --git a/img/Week_11/arduino_2.jpg b/img/Week_11/arduino_2.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b1d8707fff701fb9edd594d906f13fd7a693d66a Binary files /dev/null and b/img/Week_11/arduino_2.jpg differ diff --git a/img/Week_11/arduino_3.jpg b/img/Week_11/arduino_3.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f4680d196845208348e52a277185af71c0104052 Binary files /dev/null and b/img/Week_11/arduino_3.jpg differ diff --git a/img/Week_11/arduino_4.jpg b/img/Week_11/arduino_4.jpg new file mode 100644 index 0000000000000000000000000000000000000000..39d6c4b141747bd3ef22f36a89ae03187e619667 Binary files /dev/null and b/img/Week_11/arduino_4.jpg differ diff --git a/img/Week_11/arduino_5.jpg b/img/Week_11/arduino_5.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b0c472810ba2353addeef1889fcc94fc89d2dcd7 Binary files /dev/null and b/img/Week_11/arduino_5.jpg differ diff --git a/img/Week_11/board-soldada.jpg b/img/Week_11/board-soldada.jpg index 84013dbf75631175daf363c23bdbec79ca0c7675..bc8ccb34cb2ee8c3ef3680f5f38469046587ec1e 100644 Binary files a/img/Week_11/board-soldada.jpg and b/img/Week_11/board-soldada.jpg differ diff --git a/img/Week_11/files.png b/img/Week_11/files.png index 532f28395d1a4004b7815ad4d2e9fe0e8eb9bd75..47ce4ba52c5ffeb03f2e608816b38b512c1419f2 100644 Binary files a/img/Week_11/files.png and b/img/Week_11/files.png differ diff --git a/img/Week_12/Atmel_1.jpg b/img/Week_12/Atmel_1.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9d04f4612139892a7bdae6238773dc248fc12d18 Binary files /dev/null and b/img/Week_12/Atmel_1.jpg differ diff --git a/img/Week_12/Eagle_1.PNG b/img/Week_12/Eagle_1.PNG new file mode 100644 index 0000000000000000000000000000000000000000..850801215cd63e0f8b988e49b62b3a8b3f44b53d Binary files /dev/null and b/img/Week_12/Eagle_1.PNG differ diff --git a/img/Week_12/Eagle_2.PNG b/img/Week_12/Eagle_2.PNG new file mode 100644 index 0000000000000000000000000000000000000000..26f224427b06bc9fc74aeac4901a48d02755db8b Binary files /dev/null and b/img/Week_12/Eagle_2.PNG differ diff --git a/img/Week_12/Programming.jpg b/img/Week_12/Programming.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ed4ef0168609ea30f8e57dcc06bffe9db158efc9 Binary files /dev/null and b/img/Week_12/Programming.jpg differ diff --git a/img/Week_12/RGB_Completa.jpg b/img/Week_12/RGB_Completa.jpg new file mode 100644 index 0000000000000000000000000000000000000000..8f1a9f78bc1a7d95474b2a2098062d15f9a32cfb Binary files /dev/null and b/img/Week_12/RGB_Completa.jpg differ diff --git a/img/Week_12/RGB_traces.png b/img/Week_12/RGB_traces.png new file mode 100644 index 0000000000000000000000000000000000000000..dfb94f71ab2a7d82d1ac21cb6e45d0ce66b5094a Binary files /dev/null and b/img/Week_12/RGB_traces.png differ diff --git a/img/Week_12/color-mixing.png b/img/Week_12/color-mixing.png new file mode 100644 index 0000000000000000000000000000000000000000..342feebef6e50dd727a5a75e1d43357c82fa62eb Binary files /dev/null and b/img/Week_12/color-mixing.png differ diff --git a/img/Week_12/rgb-led.png b/img/Week_12/rgb-led.png new file mode 100644 index 0000000000000000000000000000000000000000..7a2fcd5b084698c8b35ad9ca922eb9860ff1738a Binary files /dev/null and b/img/Week_12/rgb-led.png differ diff --git a/img/Week_8/Router1.jpg b/img/Week_8/Router1.jpg index b326bbaeba0889d2c11fd03b919b5dab0e9d639e..9fc89f04c74067b24ec01a1e6c2724db334b3966 100644 Binary files a/img/Week_8/Router1.jpg and b/img/Week_8/Router1.jpg differ diff --git a/img/Week_8/Router2.jpg b/img/Week_8/Router2.jpg index 9a679dc15fba0eeb22719df2cf4b6fa0d5e07d5d..a12ac57b0f52c0716ee8699c1ccbe260b1fd6e25 100644 Binary files a/img/Week_8/Router2.jpg and b/img/Week_8/Router2.jpg differ diff --git a/img/Week_8/Router3.jpg b/img/Week_8/Router3.jpg index da1fd7089131b5dec708318429b5d7ed0eb205ac..3c986875c1d70c4492a8ca6dfe763d64b4fef648 100644 Binary files a/img/Week_8/Router3.jpg and b/img/Week_8/Router3.jpg differ diff --git a/img/Week_8/Router4.jpg b/img/Week_8/Router4.jpg index 8d714e6f9733428b5bc7b5a13bec8038c9dcdc61..ec39f91392d6b7449c740a7b45fc880ce4825cdb 100644 Binary files a/img/Week_8/Router4.jpg and b/img/Week_8/Router4.jpg differ diff --git a/img/Week_8/Table1.jpg b/img/Week_8/Table1.jpg index e12b4416d0355c2106c00d9d7f96107d28605851..451335852c8d303d4da8884072ad5e1e693d3c32 100644 Binary files a/img/Week_8/Table1.jpg and b/img/Week_8/Table1.jpg differ diff --git a/img/Week_8/Table2.jpg b/img/Week_8/Table2.jpg index 6984b580dc7b9bc69d2849080aee0ce1de25dc7d..3a30c0861196630a34f48fef843571744a61b1bf 100644 Binary files a/img/Week_8/Table2.jpg and b/img/Week_8/Table2.jpg differ diff --git a/img/Week_8/Table3.jpg b/img/Week_8/Table3.jpg index 03918d2b408b50ca53467b4099e053caf88006bd..a8ab9c3e411d7f42838039954dc94b351d11a7b7 100644 Binary files a/img/Week_8/Table3.jpg and b/img/Week_8/Table3.jpg differ diff --git a/img/ico/C.jpg b/img/ico/C.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a9df4d90351635143ab15c3135c0979797b81819 Binary files /dev/null and b/img/ico/C.jpg differ diff --git a/img/ico/arduino.jpg b/img/ico/arduino.jpg new file mode 100644 index 0000000000000000000000000000000000000000..810208cf17912624fbae4dcd7172d6056e86b8fd Binary files /dev/null and b/img/ico/arduino.jpg differ diff --git a/index.html b/index.html index 5a60ada1bd16855190e3188e28edb61a57beb644..e12e6ff704709a23bcf2b0ce0816462159d19f9e 100644 --- a/index.html +++ b/index.html @@ -85,10 +85,10 @@ </div> </div> <div class="row"> - <div class="col-lg-12 text-center"> + <!-- <div class="col-lg-12 text-center"> <a href="Machine Design.html"> <h2>Machine Design</h2></a> <hr class="star-light"> - </div> + </div> --> </div> </div> </header>