avana LLC

Input Devices

26_04 to 03_05 2017

Assignment:
Measure something: add a sensor to a microcontroller board that you have designed and read it

Academy files

13_Week work:

Sofware:
Eagly, Arduino, Art cam

Machines:
Mac, Mini CNC Machine.

Components:
Reflective Infrared Optical Sensor TCRT5000 1 Resistor 499 ohm, 1 Resistor 1k, 2 Pines 2x1, Pin 3x1

Drive files:
Download week work

Archive files:
input.brd/ input.sch/ input.png/ input_infrared.ino/ mot_duino.brd/ mot_duino.sch/ mot_duino.png/

Reflective Optical Sensor:
I choose use a Reflective Optical Sensor, I would try this kind of sensor to apply it to my final project for detection of reflective materia such a body human. The TCRT5000L has a compact construction where emitting-light source and the detector arte arranged in the same direction to sense the presence of an object by using the reflective IR beam from the object. The detector consist of a phototransistor.

Testing with arduino:
Before designing the board, I did some testing with the arduino to understand the components I was going to need and the type of connections. Use Arduino one and jumpers, and two resistors to do the test.

Board 1, Failured:
After introducing the components in the eagle, designing and routing and soldering the board, I realized that I had forgotten to put the pins for the connection with the Arduino. So to do a test on the components I decided to solder the jumpers directly to the board. Obviously the results were not effective, so I had to repeat the entire design process of the board, to be able to program the input.

Board 2, Success:
Second chance, again I did the design on the Eagle, including the three pins needed for the board programs. Also improve the accuracy of the holes to insert the Reflective Infrared Optical Sensor TCRT5000

Infrared Optical Sensor TCRT5000 + fabduino + power regulator:
To final teste the Reflective Infrared Optical Sensor TCRT5000 I use an fab duino modified, (the process of fabrication can be reviewed inAssignment 4) To power both modules, use the power regulator since the battery is 9v and the sensor needs a power of 3v. The output of the sensor is directed to pin A0, of the fabduino where it emits the data that we receive in the arduino software.

Programming:
To teste the Reflective Infrared Optical Sensor TCRT5000 I use an arduino digital exemple Analogin out serial for sense the data of the infrared sensor. The sensor have diferents applications, but my interest for them, is the data for the interaction with the body.