Writes Data to Database from Serial Monitors