Skip to content
Snippets Groups Projects
Commit 928eacc5 authored by Adrián Torres's avatar Adrián Torres
Browse files

Adrianino

parent 9aea1c09
Branches
No related tags found
No related merge requests found
Pipeline #184410 passed
Showing
with 199 additions and 4 deletions
File added
docs/assignments/week06/Adrianino_v2_interior.png

6.03 KiB

docs/assignments/week06/Adrianino_v2_traces.png

11.8 KiB

File added
docs/assignments/week06/New_UPDI_interior.png

1.1 KiB

docs/assignments/week06/New_UPDI_traces.png

1.19 KiB

docs/images/week06/week06.37.jpg

147 KiB

docs/images/week06/week06.38.jpg

252 KiB

docs/images/week06/week06.39.jpg

262 KiB

docs/images/week06/week06.40.jpg

229 KiB

docs/images/week06/week06.41.jpg

90.3 KiB

docs/images/week06/week06.42.jpg

40.7 KiB

docs/images/week06/week06.43.jpg

264 KiB

......@@ -158,7 +158,7 @@
<p><img src="images/week05/week05.50.jpg" width="80%"; max-width="700" /></p>
<p>During the months of confinement, I considered buying a printer. The quality of Prusa is incredible, and during my visit to the Maker Faire Roma I saw the new Prusa Mini. It was awesome. So I decided to order it, and it wouldn't arrive until September. But she came ahead shehe, for my birthday. Another Prusa for every birthday. 🤣🤣</p>
<p>During the months of confinement, I considered buying a printer. The quality of Prusa is incredible, and during my visit to the Maker Faire Roma I saw the new Prusa Mini. It was awesome. So I decided to order it, and it wouldn't arrive until September. But she came ahead hehe, for my <b>birthday</b>. Another Prusa for every birthday. 🤣🤣</p>
<p>These are its <b>Specifications:</b></p>
<ul><li><b>Type:</b> Fused Depositon Modeling (FDM).
......@@ -171,6 +171,7 @@
<li><b>Build volume:</b> 180 x 180 x 180 mm
<li>Automatic Mesh Bed Leveling, Completely Open Source, Removable Magnetic Bed, Orange-ness </ul>
<p>An improvement that I have made to the Prusa Mini, is to print the orange piece (below the bed) that I found in PrusaPrinters to help remove the flexible sheet from the bed. Here is the <a href="https://www.prusaprinters.org/prints/36339"><b>link.</b></a></p>
<h1>The design rules for the printers</h1>
......
......@@ -336,7 +336,192 @@ void loop() {
<h2>Upverter</h2>
<p>My friend Marta Verde has shown me another PCB design program that can be interesting. <a href="https://upverter.com/"><b>Upverter</b></a></p>
<h1><a id="adrianino"></a>Adrianino</h1>
<h2>08/09/2020</h2>
<p>Although I have already finished my Fab Academy, I am still researching. Speaking with my instructors Nuria and Pablo, I told them that I wanted to continue working on the <a href="https://gitlab.fabcloud.org/pub/helloworld/index"><b>Hello World project,</b></a> but I was not satisfied with making a board for each sensor or actuator.</p>
<p>So I decided to make a board with the ATtiny1614, where I could use the maximum pins for the inputs or outputs; that had external power; I2C connection. The idea is that a student can test as many sensors as possible, become familiar with electronics and programming little by little. And the <a href="#adrianino"><b>Adrianino</b></a> was born.</p>
<p>Furthermore, I wanted to go one step further and place a VCC pin next to the UPDI programming pins, which I will explain later on how it works.</p>
<p><img src="images/week06/week06.37.jpg" width="80%"; max-width="700" /></p>
<h2>Features</h2>
<ul><li> This board has FTDI and <b>UPDI + VCC</b> connection to program it without the need for external power (or the FTDI).
<li> It contains a voltage regulator to power the board with a <b>power supply</b> (9V battery).
<li> It has another 9V power connection to for example power a DC motor driver.
<li> Then there are 4 outputs or inputs with VCC and GND on each side to be able to connect different inputs or outputs.
<li> On the left there is an <b>I2C</b> connection to connect an LCD, OLED or a sensor that uses this communication.
<li> There are 3 outputs or inputs at the bottom and with a GND pinout.
<li> There is an LED and an integrated button, which will help us to test that the microcontroller works with a simple program.
<li> Through the FTDI connection we can read the data from the different sensors through the Serial.
</ul>
<h2>BOM and Schematic</h2>
<p>This is the schematic where you can see all the components.</p>
<p><img src="images/week06/week06.38.jpg" width="80%"; max-width="700" /></p>
<style>
table {
font-family: arial, sans-serif;
border-collapse: collapse;
width: 100%;
}
td, th {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
}
tr:nth-child(even) {
background-color: #dddddd;
}
</style>
<table>
<tr>
<td><h3><b>Adrianino</b></h3></td>
<td>Where to buy?</td>
<td>Amount</td>
<td>Price</td>
<td>Total price</td>
</tr>
<tr>
<td><a href="https://www.digikey.es/product-detail/es/bantam-tools/MT1004/1932-1038-ND/8567212">Proto Board FR1</a></td>
<td>Digikey</td>
<td>1/4 board</td>
<td>1,24 €/unit</td>
<td>0,31 €</td>
</tr>
<tr>
<td><a href="https://www.digikey.es/product-detail/es/microchip-technology/ATTINY1614-SSNR/ATTINY1614-SSNRCT-ND/7354424">ATtiny1614</a></td>
<td>Digikey</td>
<td>1</td>
<td>0,64 €/unit</td>
<td>0,64 €</td>
</tr>
<tr>
<td><a href="https://www.digikey.es/product-detail/es/samsung-electro-mechanics/CL31F105ZBFNNNE/1276-1204-1-ND/3889290">1uF capacitor 50V</a></td>
<td>Digikey</td>
<td>1</td>
<td>0,18 €/unit</td>
<td>0,18 €</td>
</tr>
<tr>
<td><a href="https://www.digikey.es/products/es?keywords=311-4.99KFRCT-ND">4,99kΩ resistor</a></td>
<td>Digikey</td>
<td>2</td>
<td>0,09 €/unit</td>
<td>0,18 €</td>
</tr>
<tr>
<td><a href="https://www.digikey.es/product-detail/es/yageo/RC1206FR-07499RL/311-499FRCT-ND/731891">499 Ω resistor</a></td>
<td>Digikey</td>
<td>1</td>
<td>0,09 €/unit</td>
<td>0,09 €</td>
</tr>
<tr>
<td><a href="https://www.digikey.es/products/es?keywords=NCP1117ST50T3GOSCT-ND">IC Regulator 5V 1A SOT223</a></td>
<td>Digikey</td>
<td>1</td>
<td>0,43 €/unit</td>
<td>0,43 €</td>
</tr>
<tr>
<td><a href="https://www.digikey.es/products/es?keywords=311-1.00KFRCT-ND">1kΩ resistor</a></td>
<td>Digikey</td>
<td>1</td>
<td>0,09 €/unit</td>
<td>0,09 €</td>
</tr>
<tr>
<td><a href="https://www.digikey.es/product-detail/es/lite-on-inc/LTST-C150TBKT/160-1643-1-ND/573584">LED</a></td>
<td>Digikey</td>
<td>1</td>
<td>0,35 €/unit</td>
<td>0,35 €</td>
</tr>
<tr>
<td><a href="https://www.digikey.com/product-detail/es/omron-electronics-inc-emc-div/B3SN-3112P/SW262CT-ND/60835">Button</a></td>
<td>Digikey</td>
<td>1</td>
<td>1,00 €/unit</td>
<td>1,00 €</td>
</tr>
<tr>
<td><a href="https://www.digikey.com/product-detail/es/sullins-connector-solutions/GBC36SGSN-M89/S1143E-36-ND/862355">SMT RT Angle Male Header 0.1" (36pos)</a></td>
<td>Digikey</td>
<td>9</td>
<td>0,15 €/unit</td>
<td>1,35 €</td>
</tr>
<tr>
<td><a href="https://www.digikey.com/product-detail/es/gct/BG300-02-A-L-A/2073-BG300-02-A-L-ACT-ND/9859663">Female 1 row horizontal header</a></td>
<td>Digikey</td>
<td>14</td>
<td>0,15 €/unit</td>
<td>2,10 €</td>
</tr>
<tr>
<td><a href="https://www.digikey.com/product-detail/en/amphenol-icc-fci/95278-801A04LF/609-5160-1-ND/5967721">Male 2 row vertical header</a></td>
<td>Digikey</td>
<td>3</td>
<td>0,20 €/unit</td>
<td>0,60 €</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td><b>Total cost</b></td>
<td><b>7,32 €</b></td>
</tr>
</table>
<h2>Board design</h2>
<p>In the files section you can download the Eagle files and the PNG's. Here is a sample of the PNG's, traces and cutting lines.</p>
<span class="image main"><img src="images/week06/week06.39.jpg" alt="" /></span>
<h2>Programming</h2>
<p>The new generation of ATtiny's are programmed through <b>UPDI</b>, for more information on the process you can follow my documentation of the week <a href="week08.html"><b>Embedded Programming.</b></a></p>
<h1>UPDI + VCC module</h1>
<p>At the time of programming, until now I used the Hello USB-serial.FT230X + Hello serial-UPDI.FT230X and also the power supply of the board with an FTDI (which later helps us to read through the Serial).</p>
<p>With this adapter we have the Serial + UPDI + VCC adding a higher pin, without the need to use another FTDI to power the board.</p>
<span class="image main"><img src="images/week06/week06.40.jpg" alt="" /></span>
<h2>Schematic and board design</h2>
<p>The design is the same as the one <a href="http://academy.cba.mit.edu/classes/embedded_programming/UPDI/FTDI-UPDI.png"><b>Neil uses,</b></a> except that I add the Vcc pin to power the board that we programmed.</p>
<p><img src="images/week06/week06.41.jpg" width="30%"; max-width="700" /></p>
<p>In the Files section you will find the PNG's and the Eagle file to download them.</p>
<p><img src="images/week06/week06.42.jpg" width="70%"; max-width="700" /></p>
<h2>Operation</h2>
<p>The connection is very simple, we only need the FTDI-USB and we connect the UPDI + VCC module to the board, in this case to the Adrianino that has the three pins (UPDI + GND + VCC).</p>
<p><img src="images/week06/week06.43.jpg" width="70%"; max-width="700" /></p>
<p>In the following video you can see the programming process of the Adrianino and an LCD.</p>
<p><iframe src="https://player.vimeo.com/video/457496735" width="100%" height="360" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe></p>
<h2>Conclusions</h2>
<p>With this evolution, we managed to program through UPDI without the need for external power from another FTDI.</p>
<h1>Files</h1>
<p>Find below the files that I made for this assignment.</p>
<ul><li><a href="assignments/week06/Hello%20Train.zip"><b>Hello Train Schematic + Board</b></a>
......@@ -346,7 +531,16 @@ void loop() {
<li><a href="assignments/week04/case%20ftdi%20usb.stl"> <b>Case USB-Serial-FT230X</b></a>
<li><a href="assignments/week06/carcasa%20conversor%20updi-ftdi.stl"> <b>Serial-UPDI.FT230X</b></a>
<li><a href="assignments/week06/Hello_signal_EasyEDA.zip"> <b>Hello Signal EasyEDA</b></a></li>
</ul>
</ul>
<ul><li><a href="assignments/week06/Adrianino_Hello_1614.zip"><b>Adrianino Schematic + Board</b></a>
<li><a href="assignments/week06/Adrianino_v2_traces.png"><b>Adrianino Traces</b></a>
<li><a href="assignments/week06/Adrianino_v2_interior.png"><b>Adrianino Interior</b></a>
<li><a href="assignments/week06/New_UPDI.zip"><b>UPDI + Vcc Schematic + Board</b></a>
<li><a href="assignments/week06/New_UPDI_traces.png"><b>UPDI + Vcc traces</b></a>
<li><a href="assignments/week06/New_UPDI_interior.png"><b>UPDI + Vcc Interior</b></a>
</ul>
......
......@@ -545,7 +545,7 @@ void loop() {
<p>The next step is to connect the <b>phototransistor</b> to the board. With the sensor connected I want to map the values and at a certain value it will show to turn the light on or off. 😅</p>
<p>Using the following code, I initialize the LCD, map the sensor values and write to the LCD.</p>
<p>Using the following code, I initialize the LCD, map the sensor values and write to the LCD. I was inspired by the code with the following project that I found on the Arduino page, here is the <a href="https://create.arduino.cc/projecthub/Guitarman1/displaying-sensor-values-on-lcd-c0c44f"><b>link.</b></a> </p>
<pre><code>//Adrián Torres Fab Academy 2020
//Fab Lab León
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment