https://github.com/psp515/micropico
Raspberry Pi Pico Fun!
https://github.com/psp515/micropico
Last synced: 3 months ago
JSON representation
Raspberry Pi Pico Fun!
- Host: GitHub
- URL: https://github.com/psp515/micropico
- Owner: psp515
- License: mit
- Created: 2022-12-03T13:52:20.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-15T11:23:07.000Z (over 2 years ago)
- Last Synced: 2025-04-04T10:58:00.705Z (6 months ago)
- Language: Python
- Size: 1.69 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### About The Project
Project is created in order to get acquainted with microcontrollers programming and some basics IOT.
This repository will contain code with usage exaples (with example connections) for different elements (lcd, keyboards, etc.).
Most examples will be created with micropython, yet examples with c/c++ might occur.
Also each example contains short element and example description.Also in futre I am planning to create few project based on knowledge gained here. (Links will be added when they appear)
Used boards:
### Built With
### Getting Started
To use this project simply download the [ThonnyIDE](https://thonny.org/) and this repository.
Of course you need to have any Raspberry Pi Pico board (with micropython) and element you want to check.
(In order to use it on Raspberry Pi some functions may need some slight fixes)With thonny IDE open Micropico project and upload src folder and micropico.py to your raspberry pi pico, and you are ready to run some examples.
### Roadmap
Roadmap shows elements to be added / that are ready to use with usage examples. Elements split in 2 categories Pooling and Interrupts (I thinks most elements could be in both category but for some elements it is worthless).
#### Pooling
Polling periodically checks if device needs attention. This can be done in a sequential manner or in a priority-based manner (if some devices are more important).
Element | Lib Code | Example | Schema | Tested
:-: | :-: | :-: | :-: | :-:
Led | ✅ | ✅ | ✅ | ✅
RGB Led | ✅ | ✅ | ✅ | ✅
Keypad | ✅ | ✅ | ✅ |✅
PIR / IR Break Sensor | ✅ | ✅ | ✅ | ✅
Button | ✅ | ✅ | ✅ | ✅
Potentiometer | ✅ | ✅ | ✅ | ✅
Photoresistor | ✅ | ✅ | ✅ | ✅
Ultrasonic | ✅ | ✅ | ✅ | ✅
DHT11 | ✅ | ✅ | ✅ | ✅
Rotary Encoder | ✅ | ✅ | ✅ | ✅#### Interrupts
Interrupts alert CPU when a device needs attention, causing the CPU to pause its current task, handle the interrupt request, and then resume the original task.
Element | Lib Code | Example | Schema | Tested
:-: | :-: | :-: | :-: | :-:
Button | ✅ | ✅ | ✅ | ✅
PIR / IR Break Sensor | ✅ | ✅ | ✅ | ✅
NEC IR | ✅ | ✅ | ✅ | ✅See the [open issues](https://github.com/psp515/MicroPico/issues) for a full list of tasks (and known issues).
### License
Distributed under the MIT License. See `LICENSE.txt` for more information.
### Contact