Skip to content

Europython 2021 Talk: DIY Home automation with Microcontrollers and CircuitPython

Notifications You must be signed in to change notification settings

mjmolina/europython2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Europython 2021: DIY Home automation with Microcontrollers and CircuitPython 🌱 🤖 🐍

Talk description

When learning and using Python for automation, we usually write applications that can help us on computer related tasks, like downloading things, open programs, generating documents, etc, but Python gives us the opportunity to automate things beyond our computers.

For many years, people have been filling their home with devices that are based on Microcontrollers, like virtual assistants, smart fridges, washing machines, security systems, and many others that can be either programmable, or even replicated with a couple of boards and our Python knowledge.

During this talk, we will start exploring CircuitPython without the need of a physical device, using a microcontroller emulator. If you are new to the microcontroller world, don’t worry, we will have an introduction to the main concepts, so we have the base knowledge to start doing little experiments by ourselves.

After the introduction, you will be able to start programming microcontrollers using the emulator, and later you will see a couple of real projects (with real devices!) that could easily be replicated by yourself: a movement-detector, a low-cost robot cleaner, and a plant watering and monitoring system.

Outline

[Introduction] Basic concepts

  • Talk motivation
  • Introduction to Microcontrollers and CircuitPython.
  • How to use an emulator for hardware programming.

[Home automation examples] Using the code on real devices.

  • Low-cost robot cleaner.
  • Watering plant system.

Note: This emulator allows to program 3 different microcontrollers. This talk is focused on the Circuit Playground Express (CPX) and the same microcontroller is used for automation examples.

Setup

For the simulator, please check the installation guide, and then the using simulator tutorial to get your code working.

Previous projects

One of the ideas of this project is the starting project called "Plantaris Solar" which is a follow up of the two previous projects I have been working on, check them out:

About

Europython 2021 Talk: DIY Home automation with Microcontrollers and CircuitPython

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages