====== SONAR Pmod controler ====== The module described here makes it possible to retreive the distance detected by the proximity detector PmodSONAR. {{ :en202:pmodsonar_symbol.png?direct&600 |}} ({{:en202:pmodsonar_symbol.vsd | figure source}}) ---- This module constantly outputs the distance measured by the SONAR Pmod. The output value (//data_out//) roughly changes each 49//ms// and is always valid. It represents the distance beween the SONAR Pmod and the closest obstacle expressed in //inches// (2.54//cm//). //data_out// is 8 bits unsigned, so the maximal measurable distance is 255//in//. If the obstacle is closer than 6//in//, the Pmod output is unstable and meaningless (generally equal to 5 or 6) * {{ en202:pmod_SONAR_ctrl.vhd | controler module}} * {{ https://www.digilentinc.com/Data/Products/PMOD-MAXSONAR/PmodMAXSONAR_rm2.pdf | Pmod Datasheet }}