Skip to content
Snippets Groups Projects
Commit 89758343 authored by AmyB's avatar AmyB
Browse files

update input and output week

parent be2494af
Branches
No related tags found
No related merge requests found
Pipeline #
......@@ -83,14 +83,10 @@
<p>
<ul>
<a href="#Title1">2013 project</a><br>
<!-- <a href="#Title2">Group assignment</a><br>-->
<a href="#Title2">2019 project</a><br>
<a href="#Title3">Final project progress</a><br>
<a href="#Title5">The code</a><br>
<a href="#Title3">Final project progress</a><br>
<a href="#Title5">The code</a><br>
<a href="#Title6">Hero shot</a><br>
<a href="#Title7"></a><br>
<a href="#Title8"></a><br>-->
<a href="#Title10">Manuals and Files</a><br>
</ul>
</p>
......@@ -157,9 +153,7 @@
<p>This one was interesting, and I didn't anticipate it until I started going though my eagle libraries to find the right component. But so far, the kit exists out of 3 different packages.
<ul>
<li>1206</li>
<li>1806</li>This however gave me a nice opportunity to figure out where the numbers are standing for - apart from the package. <a href="https://en.wikipedia.org/wiki/Surface-mount_technology">Wikipedia</a>
came to my help (and Benny). To explain me more into detail how the numbers on the SMD's work.
<li>1806</li>
<li>through hole: the tilt switch</li>
</ul>
</p>
......@@ -237,9 +231,9 @@
<p>As you noticed after deciding what needed to come onto the board, I kinda left this assignment for what it was and moved on to other assignments. The result is that the input and
output week got integrated into the other assignments and final project. I seem to have liked to put all the electronics in one big assignment</p>
<p>The idea is still the same, LED's, tilt swiches, but now connected to interfaces and networking. Anyway, at some point I needed to come back to this assignment and finish it up. </p>
<p>The idea is still the same, LED's, tilt switches, but now connected to interfaces and networking. Anyway, at some point I needed to come back to this assignment and finish it up. </p>
<p>I made the final board before finishing up the input and output week, but that didn't mean that I didn' - well let's say it cruel - fuck it up. The board is easy enough, but the soldering
<p>I made the final board before finishing up the input and output week, but that didn't mean that I didn't - well let's say it cruel - fuck it up. The board is easy enough, but the soldering
isn't. Note for the students next year: psst, reflow oven.</p>
<p><b>The problems</b> started when I wanted to solder the 330R resistor. I hit one of the other layers and seem to have soldered them together. The same happened with 2 pins of the
......@@ -254,11 +248,24 @@
<h2 id="Title5" class="section-heading">The code</h2>
<p>
The code for this assignment was made - as usual - in Blockly. In the code you'll find the part where I declare the push button and what it needs to do. But basically what it does
is the same as in the hello world board. If you push the button, the lights go on. The special part that got added is the part where the tiltswitch comes in. My input sensor.
is the same as in the hello world board. If you push the button, the lights go on. The special part that got added is the part where the tilt switch comes in. My input sensor.
The tilt switch only goes on when you... tilt the board to one side or the other. Inside the switch (it are old) is a small ball that makes contact or doesn't make contact.
</p>
<h3>In summary</h3>
<p>The board of the input week does 2 things:
<ul>
<li>If you push the button, the 2 LED's start burning </li>
<p>The in put here is the push button, and output the LED's</p>
<li>If you tilt the board a third LED starts burning</li>
<p>As extra input I used a tilt switch, but made it like that that you can change the input sensor. If you tilt the switch the little ball inside the switch goes rolling and
puts a LED high or low. I specifically used an old tilt switch because those are the easiest for kids to understand.</p>
<li>Fidget spinner and final project got merged</li>
<p>As you noticed, I started talking about a figdet spinner and how to develop that one myself, and then I went on to the final project. Somewhere along the way both projects got merged.
Reading the input even happens in the networking week. </p>
</ul></p>
<hr>
<h2 id="Title6" class="section-heading">Hero shot</h2>
<p>
......@@ -267,7 +274,7 @@
</p>
<hr>
......
......@@ -83,14 +83,10 @@
<p>
<ul>
<a href="#Title1">2013 project</a><br>
<!-- <a href="#Title2">Group assignment</a><br>-->
<a href="#Title2">2019 project</a><br>
<a href="#Title3">Final project progress</a><br>
<a href="#Title5">The code</a><br>
<a href="#Title3">Final project progress</a><br>
<a href="#Title5">The code</a><br>
<a href="#Title6">Hero shot</a><br>
<a href="#Title7"></a><br>
<a href="#Title8"></a><br>-->
<a href="#Title10">Manuals and Files</a><br>
</ul>
</p>
......@@ -157,9 +153,7 @@
<p>This one was interesting, and I didn't anticipate it until I started going though my eagle libraries to find the right component. But so far, the kit exists out of 3 different packages.
<ul>
<li>1206</li>
<li>1806</li>This however gave me a nice opportunity to figure out where the numbers are standing for - apart from the package. <a href="https://en.wikipedia.org/wiki/Surface-mount_technology">Wikipedia</a>
came to my help (and Benny). To explain me more into detail how the numbers on the SMD's work.
<li>1806</li>
<li>through hole: the tilt switch</li>
</ul>
</p>
......@@ -237,9 +231,9 @@
<p>As you noticed after deciding what needed to come onto the board, I kinda left this assignment for what it was and moved on to other assignments. The result is that the input and
output week got integrated into the other assignments and final project. I seem to have liked to put all the electronics in one big assignment</p>
<p>The idea is still the same, LED's, tilt swiches, but now connected to interfaces and networking. Anyway, at some point I needed to come back to this assignment and finish it up. </p>
<p>The idea is still the same, LED's, tilt switches, but now connected to interfaces and networking. Anyway, at some point I needed to come back to this assignment and finish it up. </p>
<p>I made the final board before finishing up the input and output week, but that didn't mean that I didn' - well let's say it cruel - fuck it up. The board is easy enough, but the soldering
<p>I made the final board before finishing up the input and output week, but that didn't mean that I didn't - well let's say it cruel - fuck it up. The board is easy enough, but the soldering
isn't. Note for the students next year: psst, reflow oven.</p>
<p><b>The problems</b> started when I wanted to solder the 330R resistor. I hit one of the other layers and seem to have soldered them together. The same happened with 2 pins of the
......@@ -254,11 +248,24 @@
<h2 id="Title5" class="section-heading">The code</h2>
<p>
The code for this assignment was made - as usual - in Blockly. In the code you'll find the part where I declare the push button and what it needs to do. But basically what it does
is the same as in the hello world board. If you push the button, the lights go on. The special part that got added is the part where the tiltswitch comes in. My input sensor.
is the same as in the hello world board. If you push the button, the lights go on. The special part that got added is the part where the tilt switch comes in. My input sensor.
The tilt switch only goes on when you... tilt the board to one side or the other. Inside the switch (it are old) is a small ball that makes contact or doesntt make contact.
The tilt switch only goes on when you... tilt the board to one side or the other. Inside the switch (it are old) is a small ball that makes contact or doesn't make contact.
</p>
<h3>In summary</h3>
<p>The board of the input week does 2 things:
<ul>
<li>If you push the button, the 2 LED's start burning </li>
<p>The in put here is the push button, and output the LED's</p>
<li>If you tilt the board a third LED starts burning</li>
<p>As extra input I used a tilt switch, but made it like that that you can change the input sensor. If you tilt the switch the little ball inside the switch goes rolling and
puts a LED high or low. I specifically used an old tilt switch because those are the easiest for kids to understand.</p>
<li>Fidget spinner and final project got merged</li>
<p>As you noticed, I started talking about a figdet spinner and how to develop that one myself, and then I went on to the final project. Somewhere along the way both projects got merged.
Reading the input even happens in the networking week. </p>
</ul></p>
<hr>
<h2 id="Title6" class="section-heading">Hero shot</h2>
<p>
......@@ -275,8 +282,8 @@
<h2 id="Title10" class="section-heading">Manuals and files</h2>
<p>
<p><a href="../img/week11/input_output" download>Eagle files for input - output week</a></p>
</p>
<p><a href="../img/week11/input-output" download>Code files for input - output week</a></p>
</p>
<hr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment