Diesel engines are the main power source for medium and heavy duty on road vehicles. With the rising standards for mileage of vehicles set by the Corporate Average Fuel Economy and the Environmental Protection Agency, diesel engines should soon be considered in lieu of gas engines. Despite advantages of diesel engines, diesel emissions include harmful gasses like carbon monoxide, nitrogen oxides and particulate matter. Selective Catalytic Reduction (SCR) systems have long been used to reduce diesel emissions from medium to heavy-duty diesel engines. Primary focus of this research effort is the implementation and improvement of a SCR system on light diesel engines. To improve efficiency we implemented a control law to limit the emissions within bounds ensuring low emissions for varied drive cycles. We developed a controller network using user datagram protocol to collect engine data using Arduino. The controller network establishes communication link between sensor data collection and a raspberry pi controller to enable full control over the test station