Infrared Encoder - An Introduction To Sensors - PyroEDU

  Рет қаралды 57,407

PyroElectro

PyroElectro

Күн бұрын

More Information: www.pyroelectro...
To join this course, please visit any of the following free open-access education sites:
Ureddit: / 128165
P2PU: p2pu.org/en/co...

Пікірлер: 18
@OsmanyPereira
@OsmanyPereira 8 жыл бұрын
Thank you for this video. Very instructive and easy to follow. It definitively helps people like me who are starting with arduino. I tried your code and found that I had to replace the line const sensorPin = 7; with const sensorPin = A7; for the programme to work on my nano board; see video at minute 3.26. Although you mentioned in your video analog pin 7, the code refers to digital pin 7, which made me think that my phototransistor was broken or that I had done something incorrectly in the schematics, since my readings did not make any sense. After I made the change my readings started making sense and I could move to the next step. I hope this can help others who might want to use the code for their projects. Thank you again and keep posting such videos, which I follow very often.
@renecouture3719
@renecouture3719 8 жыл бұрын
that was a really well made tutorial, good job.
@manikjang1815
@manikjang1815 7 жыл бұрын
Hi this is awesome and powerful. Just a quick question, what is the distance unit and how the sensor calculates the distance? I'm trying to control the revolution of geared D.C. motor. Thanks a lot
@charimuvilla8693
@charimuvilla8693 5 жыл бұрын
Wait so can I made the black and white stripes as small as possible? Did you test how accurate you can make this?
@bobyla13
@bobyla13 4 жыл бұрын
the color's comment in definition contradicts the one in loop definition : black=0 , white =1 loop : black=1, white =0
@wisdom_wellness365
@wisdom_wellness365 7 жыл бұрын
Awesome!!!!
@bobyla13
@bobyla13 4 жыл бұрын
your code says: IF ( we read a value above the threshold value) we toggle the current_color & we increment distance ELSE IF ( we read a value below the threshold value) we toggle the current_color & we increment distance..no sens wrong code because of the wrong braces..there are 2 closed braces before ELSE , you should remove one.
@TheRogerx3
@TheRogerx3 9 жыл бұрын
Thank You.
@sergioisaacpuentesto
@sergioisaacpuentesto 8 жыл бұрын
One question please..If I want to make an encoder of 3 bits of resolution, how do I do it?
@mmdnaderi7183
@mmdnaderi7183 5 жыл бұрын
This thing is good but it has a problem ? or maybe my lack of knowledge ، Can it encode the motor in night or where there isnt good light ?
@bobyla13
@bobyla13 4 жыл бұрын
yes, they are infrared components. you can watch the video below to get an idea. kzbin.info/www/bejne/jnq4o6GIbcd_d6s
@MattBaker1965
@MattBaker1965 9 жыл бұрын
IR led wrong way round @ 3:13 ?
@Pyroelectro
@Pyroelectro 9 жыл бұрын
Matt Baker Yea. Rookie mistake >_
@MattBaker1965
@MattBaker1965 9 жыл бұрын
PyroElectro I feel bad as I love your tutorials :)
@Pyroelectro
@Pyroelectro 9 жыл бұрын
Matt Baker Don't feel bad, feel great. Your comment will help many others from getting confused until we can get things updated. We love getting feedback & thanks for the nice words.
@jeffbeck6501
@jeffbeck6501 7 жыл бұрын
Also, the A7 pin should be on the other side of the photo transistor. That's a big mistake, and that is 2 mistakes on this important circuit, and that makes me wonder. There is so much disinfo out there when it comes to electronic circuilts, and computer code. It is always wrong. Most of it. It is statistically impossible for it to be that way in a real world. Our world is not real at all. But even with the mistakes, intentional or not, it is still a good video in that he tackles the problem we are all trying to solve on the cheap, and there are no really any other videos out there like this one that really lays things out well. One keys is knowing to use an IR LED and a phototransitor and not a regular LED with a photoresistor. ...although that still may work. But not as well, and it would be harder to control the light. An IR LED is a great idea. And it teaches you that you can match the IR LED with the photoresistor. To build the housing for the IR LED and phototransistor will be a bit tricky though.
@juncolins6157
@juncolins6157 9 жыл бұрын
Good evening sir ! can I ask a question ? can I use different board like Gizduino board instead of using arduino nano on these sensor projects ? because me as a student is practically for me to use Gizduino. I have my project on our school performing sensor projects using Gizduino. I hope you understand my situation. Thank you very much sir ! :)
@danoneill8751
@danoneill8751 Жыл бұрын
Turrets on tanks... only an american would come up with two examples, one of which is a gun!
Sound Sensor - An Introduction To Sensors - PyroEDU
6:44
PyroElectro
Рет қаралды 6 М.
Temperature Sensor - An Introduction To Sensors - PyroEDU
10:35
PyroElectro
Рет қаралды 39 М.
How Strong is Tin Foil? 💪
00:26
Preston
Рет қаралды 153 МЛН
iPhone or Chocolate??
00:16
Hungry FAM
Рет қаралды 50 МЛН
How to use rotary encoders
14:12
FriendlyWire
Рет қаралды 37 М.
IR Proximity Sensor - An Introduction To Sensors - PyroEDU
8:40
PyroElectro
Рет қаралды 11 М.
HACKED!: Using an HDD Motor as a Rotary Encoder?!
8:21
GreatScott!
Рет қаралды 1,5 МЛН
Transmissive optical sensors from old printers and scanners
10:32
6 Horribly Common PCB Design Mistakes
10:40
Predictable Designs
Рет қаралды 204 М.
Magnetic Sensor - An Introduction To Sensors - PyroEDU
6:38
PyroElectro
Рет қаралды 19 М.
Combinatorial Logic - An Introduction To FPGA And CPLD - PyroEDU
10:53