How it works

Lata Wata Data uses an Arduino Uno and an Ethernet shield for communication through the Internet and with an API created using Ruby on Rails and Postgresql. The water moisture sensor detects the resistance between the rods and displays the resistance as numerical data from 0 (highest resistance) to 1023 (no resistance or touching). The average resistance is around 100 - 300.

Challenges I ran into

We were going to create an iOS app as well but we had no experience using Swift parsing JSON using Swift. In the end, we couldn't do it in time to display location of the sensor and we couldn't poll the server easily and create push notifications. However, we did have a Google Map set up and started GET requests on the JSON data.

Accomplishments that I'm proud of

Jesse is surprised that he did something or even wrote a single line of code due to this event being his first ever hackathon. Devin is proud of spending around $20 for Arduino parts around down town and learning more about Swift and Arduino.

What I learned

Jesse learned how to debugish with a rubber duck, build a basic Swift application, and write a small part of a Rails application, and Devin learned a bit about Swift through debugging Jesse's applications and realizing that the Android emulator sucks and is really slow and buggy. We also learned how to solder and not kill anyone by accident or get lead poisoning (we think).

What's next for Lata Wata Data

Next, we're planning on making a sprinkler to connect with the API and poll for dryness in the soil and then automate the sprinkler to only turn on for the dry plants.

Built With

Share this project: