KegKong: Automated Keg System, presented at the Flatiron School

525 views

Published on

This automated keg system was built at the Flatiron School, using Ruby, Arduino, a Raspberry Pi and most importantly: our trusty keg.

Creators are: Jordan Trevino, Joe Giralt, Chris Gonzales

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
525
On SlideShare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

KegKong: Automated Keg System, presented at the Flatiron School

  1. 1. KegKong: Automated Keg System Grumpycat Productions Joe Giralt Chris Gonzales Jordán Treviño Friday, July 12, 13 @joegiralt @chrisgonzgonz @jordangtrevino
  2. 2. Friday, July 12, 13
  3. 3. Friday, July 12, 13
  4. 4. Enter the KegKong • Approach and Tools ➡ Web app ➡ Hardware ➡ Process • Challenges Friday, July 12, 13
  5. 5. Approach and tools • Ways of approach ‣ Weigh keg ‣ Measure beer leaving keg • The toolset ‣ Hardware: Arduino, Raspberry Pi, Flowmeter ‣ Software: Sinatra Webapp, Ruby script to read frim flowmeter Friday, July 12, 13
  6. 6. Sinatra webapp • Sinatra web framework • ActiveRecord • Ruby script • Twitter Bootstrap • JavaScript • Mailer Gem Friday, July 12, 13 Languages involved in the project ✓ Ruby ✓ HTML/CSS/JavaScript ✓ Sql ✓ Arduino (from C++) ✓ Python ✓ Bash scripts ✓ Cron DSL
  7. 7. Friday, July 12, 13
  8. 8. Keg has_many Measurements Friday, July 12, 13
  9. 9. Friday, July 12, 13
  10. 10. Charting and Serial • Chris Friday, July 12, 13
  11. 11. Friday, July 12, 13
  12. 12. Hardware issues • Why Arduino and Raspberry Pi? • Wiring up • Setting-up flowmeter Friday, July 12, 13
  13. 13. Friday, July 12, 13
  14. 14. Friday, July 12, 13
  15. 15. Friday, July 12, 13
  16. 16. • Arduino “Hello World” test • Flowmeter sink test • Local-network server • SSH into Raspberry Pi • Git to share code • Dual access to database Friday, July 12, 13
  17. 17. Challenges • Setting-up hardware • Communicating to Arduino via Serialport • Dual-access to database • Testing environment • Deployment to production Friday, July 12, 13
  18. 18. What’s next? • First-time in Ruby • Open-source project • Contributions welcome! • Stay tuned • Thanks for the support! Friday, July 12, 13
  19. 19. Friday, July 12, 13

×