Optical sensors have been widely available and used in medical applications and industries for decades. Its design comes in a wide range of varieties where each are tailored based on its type, use, size, nature of investigated materials etc. In this work, we focus on the development and investigation of an optical sensing module, which uses Light Emitting Diode (LED) as the light source and LED photosensor as detector. This sensor is to measure the velocity of a solid particle in a gas flow inside a closed pipe. Various factors such as power dissipation, wavelength of the light source, switching time and cost are considered in the design process of this sensor. The cross correlation technique is used to determine the flow rate where small particles were introduced in a natural gas flow and they went through two distanced sets of sensor module. The LED beam source in the first set of sensor will be scattered when the particle crosses it then the corresponding photodetector will collect the light signal received and generates a pulse signal. The second pulse signal is generated when the particle crosses the second set of sensor after an interval of time. The time interval measured is used to calculate the velocity of the flow. An analysis of the received pulse signals is made to determine the best configurations of the sensors. At the end of this study, we were able to develop a simple, working, and cost effective sensing module.