Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHi,
this is a two step process.. First you have to ensure the signals from the sensor can be connected to the FPGA, second is to write the verilog module "decoding" the information sent by the sensor. I'm not familar with the sensor, but if the sensor has a RS-232 compliant interface, this first defines the physical interface (level, timing, ...) and the coding of the data as serial datastream... Thus, having the signals connected to the FPGA you need something like an UART or you have to implement the decoding of the serial datastream by yourself (it's no rocketscience - see RS-232 defintion e.g. at wikipedia)... I did some RS-232 interface already but I'm programming in VHDL... There is another thread (if I recall) dealing with (same?) sensor, stating the signals are coded as defined by RS-232 but not +/- voltage. If those are 0 to VCC, the sensor can be connected directly to the FPGA - but this needs to be checked first. Regards...