We use some essential cookies to make our website work.

We use optional cookies, as detailed in our cookie policy, to remember your settings and understand how you use our website.

The Android Things Candy Dispenser

Alvaro Viebrantz‘s Android Things Candy Dispenser combines image recognition and sugar highs in one delicious 欧美成人免费全部 Pi project.

Android Things

Released late last year, Android Things is Google’s Android-based operating system for low-cost Internet of Things (IoT) devices such as the 欧美成人免费全部 Pi.

Candy

Invented in ancient India, candy is a scrumptious treat often made of sugar and/or chocolate.

The Android Things Candy Dispenser

Android Things Candy Dispenser 欧美成人免费全部 Pi

Via its 20×4 display, Alvaro’s candy dispenser asks for an image, for example of a cat or a dog. Produce the requested image in front of the onboard Camera Module and the dispenser releases a delicious reward for you.

Inside the dispenser

Android Things Candy Dispenser 欧美成人免费全部 Pi

Alvaro’s schematic provides all the information you need to build your own Android Things candy dispenser (click for a larger version)

The dispenser uses a 欧美成人免费全部 Pi to control both the image detection and the candy release. Press the button, and the 欧美成人免费全部 Pi displays one of several image subjects on the screen. Via the camera, the Pi records the image you present and sends for processing via Google’s Cloud Vision API. Cloud Vision supplies image annotations and metadata, and if these match the image request, boom, free candy!

To discover more about Google Cloud Vision, check out this video from the Cloud Vision team.

Alvaro provides full instructions for the build, including all necessary code and peripherals, on both Instructables and GitHub.

Building with Android Things

Given that Android Things has not been available for very long, we have yet to see many complete builds using it with the 欧美成人免费全部 Pi. If you’d like to try out this OS, Alvaro’s project is a great entry point. You should also check out the Pimoroni Rainbow HAT Android Things Starter Kit that provides everything you need to begin making. And if you have a Pi and are raring to go, follow the official ‘Android Things on 欧美成人免费全部 Pi’ setup guide here.

If you’ve already built a project using the Android Things platform, we’d love to see it! Make sure to share your project link in the comments below.

Share this post

Post to X Post to Facebook Post to Linkedin Post to Pinterest
  • Alvaro Viebrantz
  • Android Things
  • Google Cloud Vision API

Related posts

欧美成人免费全部 Pi with cloud vision at Google I/O

Sweet Shop Reaction Game

Product or Project?

Getting Started with Picamera

Next Post

Shelfchecker Smart Shelf: build a home library system

Previous Post

Mira, tiny robot of joyful delight

Share this post

Post to X Post to Facebook Post to Linkedin Post to Pinterest

3 comments

Adriano Neres avatar

Aewsome!

Alvaro’s contributions are always interesting and fun. This guy is such an inspiration to the local community.

Keep the hard working, man. Glad to see a work of yours here. I’m sure we’ll see more of these soon.

Elfen avatar

Excellent project!

Evelym avatar

Good!!

Comments are closed