I know your're busy! I got a couple main.cpp questions about the Dallas temperature sensor section. Please respond only when you have time. You have two declared DallasTemperatureSensors* dts = new DallasTemperatureSensors(pin) statements in your code (17, 16). Does that code compile cleanly? I built two boards to connect five DS18B20 sensors to each board, for testing purposes. Each sensor connection has a 4.7 ohm resistor, as they should. All sensors connected run through one data line from the board to one data pin on the ESP32. I use uint8_t pin = 15 statement with all data running to GPIO15. I've had 5 sensors working but not consistently. Only two read consistently. Can you tell me issues you had in testing your sensors and code? If I can only get two sensors running on one board, I may have to add two Esp32 boards in my engine compartment. Have you ever used two esp32 boards with SignalK? Thank you in advance for your response. And, thank you for your patience.
Hi, Sorry i did reply but lost internet and it looks like it didn't post. Yeah, that code has complied ok and it should work. Just check the pin layout and the number of pins you have to use and you should be ok. If you want to drop us an email from our website, i'm happy to take a look at your code. You can share a picture then also and we can try and get to the bottom of it. Its also good to add one sensor at a time, even if you have added more in your code, it just work through them then 1 by 1.
But if i connect it to my van's battery and leave it there while I'm working 8 hours, it's not gonna spend all my battery's energy? 🤔 I just got my first van and I'm terrible about cables batteries and stuff 😅
Hi, no it won't do that. It uses so little power you won't even know it's connected. It also drops down further when it detects no movement. As soon as you start your van it would be charged back up in minutes.
I know your're busy! I got a couple main.cpp questions about the Dallas temperature sensor section. Please respond only when you have time. You have two declared DallasTemperatureSensors* dts = new DallasTemperatureSensors(pin) statements in your code (17, 16). Does that code compile cleanly? I built two boards to connect five DS18B20 sensors to each board, for testing purposes. Each sensor connection has a 4.7 ohm resistor, as they should. All sensors connected run through one data line from the board to one data pin on the ESP32. I use
uint8_t pin = 15 statement with all data running to GPIO15. I've had 5 sensors working but not consistently. Only two read consistently. Can you tell me issues you had in testing your sensors and code? If I can only get two sensors running on one board, I may have to add two Esp32 boards in my engine compartment. Have you ever used two esp32 boards with SignalK? Thank you in advance for your response. And, thank you for your patience.
Hi, Sorry i did reply but lost internet and it looks like it didn't post. Yeah, that code has complied ok and it should work. Just check the pin layout and the number of pins you have to use and you should be ok. If you want to drop us an email from our website, i'm happy to take a look at your code. You can share a picture then also and we can try and get to the bottom of it. Its also good to add one sensor at a time, even if you have added more in your code, it just work through them then 1 by 1.
But if i connect it to my van's battery and leave it there while I'm working 8 hours, it's not gonna spend all my battery's energy? 🤔 I just got my first van and I'm terrible about cables batteries and stuff 😅
Hi, no it won't do that. It uses so little power you won't even know it's connected. It also drops down further when it detects no movement. As soon as you start your van it would be charged back up in minutes.
@@BoatingwiththeBaileys thank you so much, finally someone explained simply! 😅