Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from main

Patrick askpatrickw

🏠
Working from main
View GitHub Profile
@askpatrickw
askpatrickw / CircuitPython_2022.md
Last active Feb 19, 2022
Thoughts on things I'd like to see in CP or I am exploring building with CP in 2022
View CircuitPython_2022.md

CircuitPython 2022

2022_1: Snakes in the #%*$& Van

Goal: Layout the requirements and design of a system to use CircuitPython as a basis for a Camper Van (or RV or Boat) monitoring, tracking and alerting system.

NOTE: This may never be built on CP but I'd like to go through the thought experiment.

2022_2: 3D Mouse Project

@askpatrickw
askpatrickw / networkinit.py
Last active Mar 6, 2021
My network init which I use for all the CircuitPython things...
View networkinit.py
import rtc
import socketpool
import ssl
import time
import wifi
import adafruit_requests
def set_system_time():
@askpatrickw
askpatrickw / CircuitPython_Packages.MD
Last active Jan 11, 2022
Thoughts on Package Management for CircuitPython
View CircuitPython_Packages.MD

Package Management for CircuitPython

Nothing formal written up on this yet, but I think we're seeing the download the zip file approach start to become brittle. Already there are two different bundles. My initial thought is why not have a cpip (or modify circup) and use PyPi. One thing I like about this is that it teaches new programmers things they need to learn if they also do Python programming. I've not done any real research into the technical parts of this yet, but in an ideal world, a fork of pip or some modular components of pip could be used to drive the core logic of version checking and install and the CP specific parts that deal with the board would be the

@askpatrickw
askpatrickw / CircuitPython_Secrets.MD
Last active Feb 22, 2022
CircuitPython Secrets
View CircuitPython_Secrets.MD

CircuitPython Secrets

This are some notes around the use of secrets.py in CircuitPython.

Current Events

Today CP examples suggest a secrets.py files for storing passwords, SSIDs, keys, etc as a dictionary.

File: secrets.py

@askpatrickw
askpatrickw / refresh_cp_environment.md
Last active Oct 23, 2020
CP Build Issue Checklist
View refresh_cp_environment.md

Ensure CP is up to date

git pull adafruit main
git submodule sync --quiet --recursive
git submodule update --init

Ensure IDF is up to date

View ESP32-S2-CircuitPython-Getting-Started.md
@askpatrickw
askpatrickw / ESP32S2-Camera-Interface-Research.md
Last active Jul 12, 2022
Research about the ESP32-S2 Camera Interface
View ESP32S2-Camera-Interface-Research.md

Research about the ESP32-S2 Camera Interface

I am very interested in the ESP32-S2's camera port and the possibility of using it for a variety of MicroPython\CircuitPython projects. My hope is that the ESP32-S2 will the ability to do do things similiar to what is possible on the Raspberry Pi. Today there is no ESP32-S2 board available which exposes this port, and no camera modeles, but I wanted to understand the hardware capabilities to understand what might be possible and just as important, what is not.

This write up is based on solely on a morning's worth of research. If there are errors