Development of a Low Cost Power Meter Based on A Digital Signal Controller