update voltage divider equation and add support to serial console