Jupyter Notebooks for Arduino Serial Data

Job ID: 37950713

Budget: $30 – $250 USD

As an individual operating Arduino, I need a proficient freelancer who can code in Jupyter Notebooks to read ASCII data from a serial port. The data read should then be able to be used for data analysis. I have prepared code already for review.

Key requirements:
- Experience in working with Arduino
- Ability to work with Jupyter Notebooks
- Proficiency in reading ASCII data from serial ports
- Strong skills in analyzing data

With thorough knowledge in these areas, the ideal freelancer can look forward to consistent engagement. They would be dealing with an exciting project that pushes bounds in interfacing hardware and software.

code:

import serial
from serial import Serial
import matplotlib.pyplot as plt
import numpy as np
from datetime import datetime
import pandas as pd
import time
import re
import matplotlib.animation as animation
from matplotlib import style

x = []
y = []
z = []
w = []
i = 0
n = 15
PollingRate = 1
byte = 32

ser = serial.Serial('COM9',9600)
Time0 = datetime.now()
TimeInitial = Time0.hour*3600+Time0.minute*60+Time0.second

for i in range(n):
z = ser.readline(byte).decode('ASCII')
z = z.replace('\r', '')
z = z.replace('\n', '')
z = z.replace('G', '')
z = z.replace('?', '')
z = z.replace(' ', '')
z = z.replace('.', '')
z = z.lstrip('0')

y.append(z)
Time = datetime.now()
x.append(Time.hour*3600+Time.minute*60+Time.second - TimeInitial)
w.append(i)
print(z)
time.sleep(PollingRate)