Initialize connection and enable sensor. Not working properly.