How Does a Digital Scale Work?