week11 grupal

parent 28c32623
Pipeline #87226 passed with stage
in 17 seconds
#include <SoftwareSerial.h>
SoftwareSerial mySerial(0, 1);
void setup() {
// put your setup code here, to run once:
mySerial.begin(9600);
pinMode (3,INPUT_PULLUP);
}
void loop() {
if (digitalRead(3)==LOW){
mySerial.println("Hola");
delay(100);
}
}
#include <SoftwareSerial.h>
int hall=A2;
SoftwareSerial mySerial(0, 1);
void setup() {
// put your setup code here, to run once:
mySerial.begin(9600);
pinMode (hall,INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
int lectura=analogRead(hall);
float outputV = lectura * 5.0 / 1023;
mySerial.println(outputV);
delay(100);
}
images/week11/traces.png

9.71 KB | W: | H:

images/week11/traces.png

9.94 KB | W: | H:

images/week11/traces.png
images/week11/traces.png
images/week11/traces.png
images/week11/traces.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -28,7 +28,7 @@
<h1>Input devices.</h1>
</header>
<p>
For the assignment of the 11th week: Inputs devices, it will be divided into 5 parts: Sensors, Board, Programming, Problems and Download.
For the assignment of the 11th week: Inputs devices, it will be divided into 6 parts: Sensors, Board, Programming, Problems, Group and Download.
</p>
<p>
......@@ -157,8 +157,13 @@ temp = reading*100.0;</code></pre>
In programming the temperature sensor, I used some work codes from years past of various fabacademy students, but when using the software, I always had problems with memory space, as seen in the picture.
<a title="Temperature error"><img class="image center" src="images/week11/temperror.jpg"></a>
That was the main reason to investigate various codes to get one that approximates the actual temperature. For my project I will use other types of more commercial sensors, which has a simpler measurement as well as a conversion formula easier to interpret and modify.
<p>
<br><h2>Group</h2>
The group task of the week is to measure the consumption values ​​of the inputs board.
As a personal contribution of the group work I made the design of the group board, as shown in the picture.
<a title="Grupal Board"><img class="image center" src="images/week11/grupalbrd.jpg"></a>
From this design, we proceed to make the consumption measures, as shown in the following picture.
<a title="Measure Board"><img class="image center" src="images/week11/measuregrupal.jpg"></a>
To see all the documentation of the group work, you can visit the <a href="http://fabacademy.org/2019/labs/cit/">CIT page.</a>
<h2>Download files</h2>
You can download files Here: <br>
Code<br>
......@@ -174,6 +179,13 @@ temp = reading*100.0;</code></pre>
Atmega328 version 2<br>
<a href="images/week11/fabedwinv2.sch" download>Schematic design</a><br>
<a href="images/week11/fabedwinv2.brd" download>Board design</a><br>
Grupal<br>
<a href="images/week11/grupal.sch" download>Schematic design</a><br>
<a href="images/week11/grupal.brd" download>Board design</a><br>
<a href="images/week11/grupaltraces.png" download>Traces</a><br>
<a href="images/week11/grupaloutTraces.png" download>Out</a><br>
<a href="images/week11/hall.ino" download>Sensor Hall code</a><br>
<a href="images/week11/boton.ino" download>Button code</a><br>
</p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment