Real-time, low-cost, and portable ECG Device