https://github.com/mjmolina/pyladiesbcn_circuitpython_workshop
CircuitPython and microcontrollers workshop with PyladiesBCN: "Home and cleaning automation with Microcontrollers and CircuitPython"
https://github.com/mjmolina/pyladiesbcn_circuitpython_workshop
circuitpython distance-detection microcontrollers python robotics sensors
Last synced: 6 months ago
JSON representation
CircuitPython and microcontrollers workshop with PyladiesBCN: "Home and cleaning automation with Microcontrollers and CircuitPython"
- Host: GitHub
- URL: https://github.com/mjmolina/pyladiesbcn_circuitpython_workshop
- Owner: mjmolina
- Created: 2021-05-09T21:10:10.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-24T22:45:31.000Z (over 4 years ago)
- Last Synced: 2025-08-04T01:13:50.599Z (6 months ago)
- Topics: circuitpython, distance-detection, microcontrollers, python, robotics, sensors
- Language: Python
- Homepage:
- Size: 13 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Home and cleaning automation with Microcontrollers and CircuitPython ๐๐ค

[Link to the Meetup event](https://www.meetup.com/PyLadies-BCN/events/278238384) ๐
### Workshop 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 activity, we will start exploring [CircuitPython](https://circuitpython.org/) 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.
`[Practical part]` Letโs code with a CircuitPlayground Express, using an emulator
in VS Code.
- lights-Neopixels.
- Temperature sensor.
- Light sensor.
`[Experiments]` Using the code on real devices.
`[Demo time]` In this section we will see how we can use all this knowledge to
help automating our home. You will see how we can build:
- Low-cost robot cleaner.
- Watering and monitoring plant system.
> The Practical and Experimental parts, will probably be mixed
> for a more dynamic approach. This will depend on the group size.
**Note:** This emulator allows to program 3 different microcontrollers.
We will program the [Adafruit Circuit Playground Express (CPX)](https://learn.adafruit.com/adafruit-circuit-playground-express/overview)
and the same microcontroller will be used for the experimental and demo part.