https://github.com/timhanewich/micropython-collection
A collection of MicroPython scripts and resources, mostly to be used with the Raspberry Pi Pico or Raspberry Pi Pico W
https://github.com/timhanewich/micropython-collection
Last synced: about 1 year ago
JSON representation
A collection of MicroPython scripts and resources, mostly to be used with the Raspberry Pi Pico or Raspberry Pi Pico W
- Host: GitHub
- URL: https://github.com/timhanewich/micropython-collection
- Owner: TimHanewich
- License: mit
- Created: 2022-10-12T13:46:19.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-08-25T19:07:49.000Z (almost 2 years ago)
- Last Synced: 2024-08-25T20:25:15.979Z (almost 2 years ago)
- Language: Python
- Homepage:
- Size: 181 KB
- Stars: 10
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# Tim's MicroPython Collection
This repository contains a collection of reusable and protable MicroPython code. I've developed these modules for many of my Raspberry Pi Pico/Pico W projects and am hosting them in a centralized location here.
None of these modules are in PyPi. If you wish to use any of them, copy and paste them into your project!
## In this Collection
- [Voltage Sensor](./voltage-sensor/) for reading battery voltages from [a voltage detection sensor terminal](https://www.amazon.com/gp/product/B07L81QJ75/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1).
- [BatteryMonitor.py](./BatteryMonitor/) - Simple class for translating a battery's voltage to a State-of-Charge percentage reading.
- [colors.py](./colors/) - A toolkit for working with and manipulating RGB colors.
- [HCSR04](./HCSR04/) - Module for measuring distance with an HCSR04 ultrasonic range finder.
- [wlan_helper](./wlan_helper/) - a helper module for connecting to a WLAN (wifi) in MicroPython using the *network* module.
- [request_tools](./request_tools/) - Helper module for parsing an incoming HTTP request (received from a socket in a web server type scenario)
- [Weighted Average Calculator](./WeightedAverageCalculator/) - simple class for passing a continuous stream of values (i.e. from a sensor) through an averaging filter.