Electronics
We changed to a Infrared Obstacle Avoidance Sensor

- Is it a sensor
It works how the image is showing below. One of the LED is emitting infrared and on is receiving it. It will only send a digital signal of 1 or a 0. You can change the sensitivity by turning the distance adjuster with a screwdriver.
















- Datasheet and link to a supplier
supplier: https://www.banggood.com/Infrared-Obstacle-Avoidance-Sensor-For-Arduino-Smart-Car-Robot-p-72965.html?cur_warehouse=CN
Datasheet: https://www.rhydolabz.com/documents/26/IR_line_obstacle_detection.pdf

- Fritzing schematic of the working circuit
We made a circuit with a lamp so the lamp will switch when you are closeby. You can use the sensor for different things.

- Links to tutorials used
https://www.youtube.com/watch?v=yLC_j87qfpQ
https://www.youtube.com/watch?v=A2Yyab2VGyc

- Working, annotated Arduino code for this component
see code to the right
or use the link: https://github.com/elisavanderburg/electronics-Infrared-Obstacle-Avoidance-Sensor

- Common use case as well as less common use case that especially interests you
1. cleaning robot
2. intruder ditecter

- Problems encountered, solutions found
It was to sensitive so we changed the sensitivity with a screwdriver
Also the sensor needs 5V which was not really obvious on the board were it is. there is in the corner of the board (VN) which almost gives 5V
First we tried a PIR

- Is it a sensor
- Problems encountered, solutions found
It was too sesitive it always stayed on even when changing the sensitivity and the time. On advice of Sirley we changed to a different one
PIR
Infrared Obstacle Avoidance Sensor
5V
WITH-OUT LIGHT
WITH LIGHT
Getting familiar with electronics. changing resistors and measuring the Ampere, volt and Ohm. Did you know that even an apple has a little voltage going through it.
Feedback given:
Asle
- There is no info when the actuator of sensor is or does and how it works. It would be nice to have.
- tilt sensor sometimes doesn't work (not your fault)
- Had some difficulty setting up the motor in your fritzing schematic it said pin D2 but in the code it said D1
Feedback recieved:
Asle
- Fritzing schematic is hard to read (I redid it in photoshop)
- Put the code up with github (later did it)
First time soldering electronics was exciting and scary. It was sad that we didn't get to use the part we soldered.
Neza and I worked together this week. Info on the sensor down below info on the actuator (neopixelmatrix) on Neza site: https://nezapraprotnik.hotglue.me/?week6-Electronics