Commit 69b664dd authored by Camilo Ortiz's avatar Camilo Ortiz
Browse files

camilo w10

parent 9d67b05f
......@@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Week 9</title>
<title>Week 10</title>
<!-- Bootstrap Core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Theme CSS -->
......@@ -113,6 +113,34 @@
<a href="" target="_blank">INPUTS</a>
<h3>Camilo Ortiz</h3>
This week I decide to use the Attiny45 and a <a href=""> TCRT5000 Module</a> which have an IR emitter and a phototransistor incorporated
and can be use for some applications as detect white and black color (commonly used in line follower robot) distance detection (short distances), position sensor for shaft encoder and more.
This module have an analog output and digital output so it's perfect to test and read from the same sensor both kind of signals.
</p> <br>
<img height=200em src="img/w10/PinoutT45.jpg" alt="">
Connecting the module pins, vcc, gnd and digital, analog signals to the board and the Tx, Rx pins from the board to Arduino, everything ready to read the values.
This module have a potenciometer to calibrate the sensitivity of the digital signal to change from one to zero. This can be usefull if you don't need to map the analog values,
in other words, show data to the user to be read as distance. It's also important to notice using analog signal will be always more precise than a potenciometer calibration
in this module and could be cases is needed to detect different positions of an object and not just care obout a "border line" in this cases will be convinient read an analog
<img height=250em src="img/w10/sensor.jpg" alt="">
<img height=250em src="img/w10/sensor1.jpg" alt="">
<h2>Serial Read</h2><br>
Once everything is programmed and connected it's time to read the values
<video width="620" controls>
<source src="img/w10/SensorSerialRead.mp4" type="video/mp4">
You can find the original files and more details on my personal <a href="">Week 10 Assigment page</a>
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