Skip to content

Instantly share code, notes, and snippets.

View askpatrickw's full-sized avatar
🏠
Working from main

Patrick askpatrickw

🏠
Working from main
View GitHub Profile
@askpatrickw
askpatrickw / ESP32S2-Camera-Interface-Research.md
Last active March 18, 2024 09:49
Research about the ESP32-S2 Camera Interface

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

@askpatrickw
askpatrickw / refresh_cp_environment.md
Last active October 23, 2020 22:34
CP Build Issue Checklist

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

@askpatrickw
askpatrickw / CircuitPython_Secrets.MD
Last active March 15, 2024 21:27
CircuitPython Secrets

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 / CircuitPython_Packages.MD
Last active January 11, 2022 09:54
Thoughts on Package Management for CircuitPython

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 / networkinit.py
Last active March 6, 2021 02:50
My network init which I use for all the CircuitPython things...
import rtc
import socketpool
import ssl
import time
import wifi
import adafruit_requests
def set_system_time():
@askpatrickw
askpatrickw / CircuitPython_2022.md
Last active December 11, 2023 20:39
Thoughts on things I'd like to see in CP or I am exploring building with CP in 2022

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