28. Lessons learned
• Have proper tools available
• Have backup components available
• Spent to much time making the box
• Use breadboard to connect components
• The lid of the well is really heavy
torsdag 17 oktober 13
29. Prototype 2
• Upgrade software to log values every 15
minutes
• Need to calculate timestamps for values
• Need to be able to set time on startup
torsdag 17 oktober 13
34. Lessons learned
• Connecting Arduino to USB resets it
• Data transfer by pen and paper
• Button bounce
• Usability for limited UI
• I have no clue how water depth varies in a
well like ours
torsdag 17 oktober 13
35. Prototype 3 & 4
• Read values every second
• Log values every 5 minutes (min, max and
avg)
• Store value in EEPROM (1kb available)
• Use serial monitor to transfer data to
computer
torsdag 17 oktober 13
37. Lessons learned
• Still no clue of what I need to log and how
to analyze it
• I need more data per day to see more
variations
• Connecting Arduino to same outlet as the
pump cause loss of power and Arduino
restart
torsdag 17 oktober 13
38. Prototype 5
• Real Time Clock module for correct
timestamps
• SD card module for log a lot of data
• I2C for LCD, RTC and mem card
• Log every minute (1440 values per day)
torsdag 17 oktober 13
43. Let it run for 12 days
• 17125 values to analyze
• Imported into MySQL database
• First approach: calculate min and max per
day show in a diagram
torsdag 17 oktober 13
46. Lessons learned
• Only need to log min and max per day
• Water level decreases constant,
independent of how much we use
• Adafruit now sells a data logger shield
(RTC + SD card + protoboard)
• Not all FAT32 libraries worked for me
• I talk the talk, but don’t blog the blog
torsdag 17 oktober 13
50. Prototype Next
• RPI with WiFi or Arduino Yún to connect
to wireless router in the house
• Use smaller ultra sonic sensor
• Make sensor case smaller so it can be
installed through ventilation pipe
• Battery backup
torsdag 17 oktober 13