Comments: Photon Remote Water Level Sensor
Looking for answers to technical questions?
We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.
If you've found an issue with this tutorial content, please send us your feedback!
Newbie question. I want to build an ultrasonic tank level monitor. No WiFi close so would somebody experienced comment if using the particle electron would be a good idea for this build? Also I just need the level and not the motor relay and other functions listed. Would this still be a good build for me to follow or would someone recommend me going a different route?
Hi there, it sounds like you are looking for technical assistance. Please use the link in the banner above, to get started with posting a topic in our forums. Our technical support team will do their best to assist you.
That being said... unless you live outside the US, you'll need to adapt the project to the new Photon Boron board. However, depending on your experience level in coding:
There is a discrepancy between the telemetry code here and in GitHub. In the main loop, the first IF statement should look like this: if (waitForUpdate || millis() - bootupStartTime < communicationTimeout || batterySOC > 75.0 || pumpOn) The comparison operator is backwards in the code in the tutorial. This sends the Photon right to sleep in the "else" portion.
I would recommend a pressure based tank level transmitter. You can get one for around $40. I know that might be more expensive than some would like to spend but it will be a LOT more reliable.
Indeed, that's the plan, but I haven't had time to implement it. You can actually get pressure transducers for about $10 if you know where to look ;)