Communication with arduino through serial