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 connect the PWM output to de2 board. which pin i have to use on de2 board. is de2 board has pwm input?
thanks.. regards, faizul1 Reply
- Altera_Forum
Honored Contributor
pwm 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.