Sensore di prossimità con led IR e fotodiodo


ciao tutti, sto costruendo un piccolo robot 2wd con arduino, e voglio aggiungere un sensore per rilevare la presenza del pavimento sotto il robot per evitare che cada dalle scale o da un tavolo.
ho disposizione un led ir da 5mm 940nm e un fototransistor tops-050 (datasheet: http://www.taydaelectronics.com/datasheets/a-1542.pdf ).
come posso collegare il fotodiodo per avere la più grande "escursione" dei valori analogici?
ho trovato questo articolo http://startrobotics.blogspot.it/2013/05/how-to-use-ir-led-and-photodiode-with-arduino.html , ma non capisco perchè alimenta il fotodiodo dal pin 2 e non direttamente dai 5v.
grazie in anticipo.



Arduino Forum > International > Italiano > Hardware (Moderator: leo72) > Sensore di prossimità con led IR e fotodiodo


arduino

Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support