Sorry if the links didnt work for you. Here are some better ones of the
components I have here:
My phototransistors:
http://www.datasheetcatalog.org/datasheet/siemens/BP103BF-2.pdfhttp://pdf1.alldatasheet.com/datasheet-pdf/view/143177/ETC1/BPW42.htmlMy IR LED:
http://www.datasheetcatalog.org/datasheet/siemens/LD274.pdfhttp://www.datasheetcatalog.org/datasheets/37/486544_DS.pdf1. Is it possible to build a barrier sensor just with these components without external
ICs etc. (Of course resistors)?
2. Is it possible to modulate a beam just with eg. PWM of the arduino?
Could someone provide a very small code example just as a hint? It would be nice to read
the state of the IR barrier sensor as simple as this little sample:
if(digitalRead(IRSensorPin) == LOW){
Serial.Print("Alarm!!!")
}
3. The link you provided needed some other components too. Is it because the serial data
transfer (btw thats really cool...

)? I just want to detect if the beam is disconnected
because of an object so can it be simpler?
Thanks you so much!
