Thanks for coming to my talk, An Introduction To IoT (Internet of Toilets π½); Or How I Built an IoT Kitty Litter Box Using JavaScript, and here you will find all the resources discussed during the talk.
About the Internet of Toilets
My favorite things in life are cats π, computers π₯ and crappy ideas π©, and so I decided to combine all three and make an IoT (Internet of Things) litter box using a Raspberry Pi and JavaScript! If you have ever wanted to get build your own IoT project, but didnβt know how to start, then this is the project for you. Turns out that IoT and JS are awesome!
This project will help track your feline friend’s health by measuring its weight every time it sets foot on the litter tray and monitors its urination patterns. The equipment can be connected to a companion smartphone app that displays the relevant data in an easy-to-understand graph format, so that cat parents can quickly spot symptoms of unusual weight loss.
Together, we will go through how I set up my IoT Litter Box from start to finish. Including how to set up Node.js on a Raspberry Pi and how to connect sensors to a Raspberry Pi and how to read the sensor inputs with Node.js.
Video
Internet of Toilets Slides
Schematics
IoT Kitty Litter Box Source Code
https://github.com/JoeKarlsson/iot-kitty-litter-box
Talk Outline:
- Introduction/What the heck is IoT?
- IoT and JS – Why/How does that work?
- Easy to update over a network
- The internet already speaks JS
- Tons of exisiting libraries/plugins/APIs
- Cylon.js & Johnny-Five
- JS is great at handling event-driven apps
- Project Demo: Internet of Toilets π½: IoT Kitty Litter Box
- Review required materials and why we need them
- Raspberry Pi
- Breadboard
- etcβ¦
- We will cover the motivation and insights from the project
- We will focus on the most simple component, the switch
- What is the GPIO and how do we interact with it?
- How do we save/anlyze/act on this data?
- Demo saving the data to MongoDB database
- Review required materials and why we need them
- Future of IoT
- Smaller and more powerful devices
- JS with a smaller footprint
- Better hardware support
- Batteries will soon be the bottleneck for IoT work
- Recap
- Questions
- End!
You can view a complete list of my past and upcoming talks with video on my website https://joekarlsson.com/speaking.
Related Links
- [Blog] An Introduction to IoT (Internet of Toilets)
- Want to learn more? Check out MongoDB University
- Want to be inspired by cool projects? MongoDB Developer Hub
- Stuck? Be sure to ask your questions on the MongoDB Community Forums
- IoT Cat Litter Box (with ESP32, Arduino IDE, Thingspeak and 3D Printing)(Major inspiration)
- IoT Reference Architecture
- Time Series Data and MongoDB: Best Practices Guide