Tying It All Together - An IoT Christmas Tree

Welcome to our final chapter! We will round out this book by pulling together various topics and ideas from earlier chapters to build a multifaceted IoT program. Specifically, we will be building an internet-controllable Christmas tree, an IoTree, if you don't mind the pun!

Our approach in this chapter will be to reuse two circuits from previous chapters to create Christmas tree lighting (using an APA102 LED strip) and a rocking mechanism to make the tree shake (we will use a servo) and jingle (well, it'll jingle as it shakes if you decorate the tree with bells!). We will then revisit and adapt our learning about RESTful APIs and MQTT to create two ways in which we can control the lighting and ...

Get Practical Python Programming for IoT now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.