Filter results by

ARTIK Modules

ARTIK Cloud

Developer

Forums

IoT Marketplace

Build a network of Smart Trash Cans with ARTIK

At CES 2016, we showcased a few tools that anyone can leverage for fast development on ARTIK boards. Here on the blog, we’ll walk you through those presentations in more detail. First up is our demo of Smart Trash Cans powered by ARTIK.

For those new to the platform, we are introducing SAMI (we like to call it “ARTIK’s Cloud”), Temboo, and the Arduino library for ARTIK.

SAMI is Samsung’s own cloud service. It is an open, cloud-based data exchange platform that eases IoT development.

Temboo provides integration with hundreds of web services, and it can auto-generate code for the ARTIK platform.

Arduino is an open-source prototyping platform which has gained popularity among millions of developers and users. As ARTIK is now Arduino-compatible, our users can take advantage of Arduino’s developer platform and community resources.

For our first demo, we have three Smart Trash Cans connected to a network. Each trash can has a distance sensor hooked up underneath its lid that detects the trash levels inside the can. An ARTIK powers each trash can and acts as an edge device. Meanwhile, all of these ARTIK edge devices communicate with an ARTIK gateway device using the MQTT messaging protocol.

Once a trash can is full, a Zendesk customer service ticket is created to notify a facility manager that it is time to empty the trash can. Because ARTIK edge devices talk to an ARTIK gateway device, they can easily determine the trash levels of the other cans in the same network. In case every trash can is full, a facility manager will get a call alert that the trash cans must be emptied immediately. When a trash can is emptied, the date and time will be marked in Google Calendar.

In this demo, we integrated three web service APIs with our application: Zendesk customer service ticketing API, Nexmo Voice API, and Google Calendar API. As a developer, you know that writing and integrating all this code yourself can easily take weeks. By using Temboo, we can auto-generate the code for ARTIK in minutes. If you are new to Temboo, please take a minute to check their online tutorial and our blog post.

For MQTT communication, ARTIK boards are pre-loaded with the popular MQTT broker mosquitto, so you only need to launch mosquitto in the background on the ARTIK gateway board. On the ARTIK edge devices, we used the open source Eclipse-Paho APIs for MQTT client integration.

Yes! Connect me with Samsung IoT partners to hear more about their products and services. *

* By checking either box, you may receive notifications by phone, email, text, and/or other electronic means from Samsung Semiconductor, Inc. and its affiliates. If you choose to receive partner notifications, we may forward your contact information to ourpartners. You may unsubscribe from these services at any time by clicking on the unsubscribe link in our communications or by submitting a request here. Please see our Privacy Policy and Terms of Use for more information about how your data is stored and used.