Forum Discussion
Altera_Forum
Honored Contributor
13 years agopwm input
hi, i'm using an ultrasonic sensor for my project where the sensor has PWM output. i would like to connect the sensor to de2 board. i'm already done the programming part. can anyone helps me how to c...
Altera_Forum
Honored Contributor
13 years agopwm is a digital signal, so you can connect to any fpga i/o pin: actual pwm signal processing is done inside fpga, then you'll freely code it with hdl.
The important point you must consider is signal levels: fpga I/Os on de2 board use 3.3V LVTTL standard; if your sensor output is 5V or 24V you definitely need a voltage level translator.