I have a question that I am sure many have come across before. I am currently using 3 DS18B20 temperature sensors with the OneWire library to log some temperatures into a database. When using 5V USB connecting the temperature sensors to either VIN or 3.3V works great. Moving to the 3.7V LiPo battery supplied does not provide any readings. Any suggestions? I would rather not power the electron with an external USB power pack or a AA battery pack.
I am using a 4.7KΩ pullup resistor. The DS18B20 uses this for both 3.3V and 5V operation (from my understanding): https://www.maximintegrated.com/en/support/faqs/ds18b20-faq.html. The DS18B20 operates at a voltage range of 3V to 5.5V and does not need a level translator so I am not sure what I am doing wrong.