An embedded system for pollution control in automobiles by Using a MEMS accelerometer Signal