Introduction
In slack world, everyone can generate own bot service.
And here is the Sparki(powered by Arduino). Sparki is a robot.
Let's combine the services. You can control Sparki from slack.
On this project, i made him a Coffee delivery robot.
He gets all your orders, responds to your questions and deliver a coffee to your place, gently.
It's working
- New order comes from my boss! Sparki responds.
TODO: Movie
- Sparki arrived at a pot, and calls me. I cook a coffee and give him.
TODO: Movie
- Now Sparki is delivering a coffee to my boss. I hope my boss is patient...
TODO: Movie - My boss seems to be inpatient... He asked Sparki what he's doing right now.
TODO: Movie - Phew! It was long way! Here is your coffee. I'm going to back home. Bye!
TODO: Movie - I arrived at home now. Waiting next order.
TODO: Movie
Ingredients
-
Sparki
- Five Infrared sensors for line following
- Ultrasonic sensor for detecting whether robot has a coffee
- Beep for notifying that robot reaches each terminals.
- Sparki arms for hodling a coffee cup
- Serial Communication via Bluetooth
- slack
- Node.js Server (Mac OS X)
- Serial Communication via Bluetooth
- Kicking Slack Bot API
- State management/Control for Sparki
Recipe
- Create a sample project that Sparki and Node.js can communicate via Bluetooth.
- Create a sample project that slack and Node.js can communicate via slack API.
- Mix 1. and 2.
You can download all sources from here.
References
TODO: from dev memo