i am making a fpga project in which i am tryin to control a motor via a wireless link..plse see the diagram. now i want to have a feedback bak on the master computer as to how much motor has moved.for that i am using a slotted circular disc and IR sensors as n wen slots come light is sensed n in other matters it is blocked so i get a high low train.
my question is how do i make the pin high or low in fpga as n wen the sensor produces 0v and 5v. and how will i connect the output of ir sensor to fpga pins?
my question is how do i make the pin high or low in fpga as n wen the sensor produces 0v and 5v. and how will i connect the output of ir sensor to fpga pins?