r/circuitpython • • Aug 04 '26

CircuitPython v2 extension for VS Code 1.131.0

4 Upvotes

Code updated to 1.131.0 with Electron 4.7.0 on 7/28. The extension had been working and still works with Code 1.124.0 / Electron 4.2.0. The failure is on SUSE Leap 16. I found some discussion from 2021 where the same problem of attempting to select the board, open the serial port, etc failed and the feeling was it might be related to Electron.

The board is an older Playground Express but it had been working prior to the Code update.


r/circuitpython • • Jul 28 '26

CircuitPython Day will be August 21, 2026

Post image
7 Upvotes

It’s that time of year! Adafruit has determined that August 21, 2025 is the snakiest day of the year and designated it CircuitPython Day!

Adafruit will have special shows and more throughout the day. Stay tuned to this post for the schedule as it develops.

Are you working with CircuitPython? Tag your projects #CircuitPythonDay2026 on social media and Adafruit will look to highlight them.


r/circuitpython • • Jul 28 '26

ICYMI Python on Microcontrollers Newsletter: Python on Microcontrollers Newsletter: Catch Your ISP Cheating, New CircuitPython, A Python Coding Bot and More!

Post image
2 Upvotes

If you missed this week’s Python on Microcontrollers Newsletter, here is the ICYMI (in case you missed it) version.

To never miss another issue, subscribe now! – You’ll get a terrific newsletter each Monday (which is out before this post). 12,375 subscribers worldwide!

The next newsletter goes out Monday morning and subscribing is the best way to keep up with all things Python for hardware. No ads or spam, no selling lists, leave any time.

See it on the free Adafruit blog at https://blog.adafruit.com/2026/07/28/icymi-python-on-microcontrollers-newsletter-python-on-microcontrollers-newsletter-catch-your-isp-cheating-new-circuitpython-a-python-coding-bot-and-more/


r/circuitpython • • Jul 28 '26

The Python on Microcontrollers Newsletter: subscribe for free

Post image
1 Upvotes

The Python for Microcontrollers Newsletter is the place for the latest news involving Python on hardware (microcontrollers AND single board computers like Raspberry Pi).

This ad-free, spam-free weekly email is filled with CircuitPython, MicroPython, and Python information that you may have missed, all in one place!

You get a summary of all the software, events, projects, and the latest hardware worldwide once a week, no ads! You can cancel anytime.

It arrives about 11 am Monday (US Eastern time) with all the week’s happenings.

And please tell your friends, colleagues, students, etc.

Please sign up > > > adafruitdaily.com


r/circuitpython • • Jul 27 '26

I made an interactive website that help people learn the basics of CircuitPython

Thumbnail
keepeverythingyours.com
9 Upvotes

I have worked with a few people to teach them the basics of how to get started with CircuitPython. I took some of the lessons I learned from that and made a tutorial on my website to teach the lesson better. The page has a built in code editor and instructions from getting your first board to blinking your first LED. I plan to add more lessons in the future and would love to hear any feedback about what they should be. Feedback on the content and presentation of the tutorials would also be greatly appreciated!


r/circuitpython • • Jul 26 '26

Which coding language to use

1 Upvotes

Hopefully this is an appropriate place to ask this.

For a cosplay project I'm doing, I'm creating a system on Pi 4 that involves taking live feed from two cameras and combining them to create stereoscopic feed, as well as feed from two other cameras in a picture-in-picture window with on a custom made HUD, in addition to information from multiple sensors including a rangefinder and digital thermometer/hygrometer.

What language should I use to code all of this? I have experience with the basics of Python, but I've heard that C++ is much faster.


r/circuitpython • • Jul 21 '26

ICYMI Python on Microcontrollers Newsletter: MicroPython in a Eurorack and on Super Nintendo, Plus More!

Post image
1 Upvotes

If you missed this week’s Python on Microcontrollers Newsletter, here is the ICYMI (in case you missed it) version.

To never miss another issue, subscribe now! – You’ll get a terrific newsletter each Monday (which is out before this post). 12,353 subscribers worldwide!

The next newsletter goes out Monday morning and subscribing is the best way to keep up with all things Python for hardware. No ads or spam, no selling lists, leave any time.

Read it free on the Adafruit Blog - direct link https://blog.adafruit.com/2026/07/21/icymi-python-on-microcontrollers-newsletter-micropython-in-a-eurorack-and-on-super-nintendo-plus-more/


r/circuitpython • • Jul 21 '26

The Python on Microcontrollers Newsletter: subscribe for free

Post image
1 Upvotes

The Python for Microcontrollers Newsletter is the place for the latest news involving Python on hardware (microcontrollers AND single board computers like Raspberry Pi).

This ad-free, spam-free weekly email is filled with CircuitPython, MicroPython, and Python information that you may have missed, all in one place!

You get a summary of all the software, events, projects, and the latest hardware worldwide once a week, no ads! You can cancel anytime.

It arrives about 11 am Monday (US Eastern time) with all the week’s happenings.

And please tell your friends, colleagues, students, etc.

Please sign up > > > adafruitdaily.com


r/circuitpython • • Jul 14 '26

ICYMI Python on Microcontrollers Newsletter: CircuitPython and MicroPython IDEs Grow, Kattni Rembor Chairing PyCon US and More!

Post image
2 Upvotes

If you missed this week’s Python on Microcontrollers Newsletter, here is the ICYMI (in case you missed it) version.

To never miss another issue, subscribe now! – You’ll get a terrific newsletter each Monday (which is out before this post). 12,366 subscribers worldwide!

The next newsletter goes out Monday morning and subscribing is the best way to keep up with all things Python for hardware. No ads or spam, no selling lists, leave any time.

Read it free on the Adafruit Blog - direct link https://blog.adafruit.com/2026/07/14/icymi-python-on-microcontrollers-newsletter-circuitpython-and-micropython-ides-grow-kattni-rembor-chairing-pycon-us-and-more/


r/circuitpython • • Jul 07 '26

ICYMI Python on Microcontrollers Newsletter: ScrollKit for your LED Matrices, AI Tools, Device Security and More!

Post image
1 Upvotes

If you missed this week’s Python on Microcontrollers Newsletter, here is the ICYMI (in case you missed it) version.

To never miss another issue, subscribe now! – You’ll get a terrific newsletter each Monday (which is out before this post). 12,366 subscribers worldwide!

The next newsletter goes out Monday morning and subscribing is the best way to keep up with all things Python for hardware. No ads or spam, no selling lists, leave any time.

Read it free on the Adafruit Blog - direct link https://blog.adafruit.com/2026/07/07/icymi-python-on-microcontrollers-newsletter-scrollkit-for-your-led-matrices-ai-tools-device-security-and-more/


r/circuitpython • • Jun 25 '26

Custom PCB- unable to initialize fuel gauge and accelerometer

1 Upvotes

Hi all,

I had custom PCBs designed and fabricated using an ESP32-S3-WROOM-1 and various Adafruit components. However, I'm getting errors when trying to initialize the fuel gauge (MAX17048G+T10) and accelerometer (LSM6DS3TR):

"Gauge Init Failed: No I2C device at address: 0x36

IMU Init Hard Fail: Failed to find LSM6DS3 - check your wiring!"

I'm using CircuitPython 10.2.1. I will attach some schematic screenshots and my initialization code. I've tried adjusting the I2C frequency and using bitbangio with no luck. The RTC seems to be working fine. Can anyone tell me if this is a software issue, or if the hardware is defective?

Thanks!

import
 gc
import
 struct
import
 array
import
 microcontroller
import
 board
import
 displayio
import
 time
import
 math
import
 random
import
 terminalio
import
 digitalio
import
 pwmio
import
 neopixel
import
 touchio
import
 busio
import
 adafruit_st7789
from
 adafruit_display_text 
import
 label
from
 adafruit_lsm6ds.lsm6ds3 
import
 LSM6DS3
import
 adafruit_ds3231
import
 adafruit_max1704x
from
 micropython 
import
 const



try
:
    i2c 
=
 busio.I2C(I2C_SCL, I2C_SDA, 
frequency
=
50000)
    print("I2C bus initialized successfully.")
except
 
Exception
 
as
 e:
    print("I2C Bus Init Error:", e)
    i2c 
=
 None


# Pre-define variables
battery_monitor 
=
 None
imu 
=
 None
ds3231 
=
 None


if
 i2c:
    # --- Battery Gauge ---
    
try
:
        battery_monitor 
=
 adafruit_max1704x.MAX17048(i2c)
    
except
 
Exception
 
as
 e:
        print("Gauge Init Failed:", e)


    # --- RTC ---
    
try
:
        ds3231 
=
 adafruit_ds3231.DS3231(i2c)
    
except
 
Exception
 
as
 e:
        print("RTC Init Failed:", e)


    # --- IMU (Strict Locked Access & Soft Reset) ---
    
try
:
        
while
 
not
 i2c.try_lock():
            
pass
        # Soft Reset
        i2c.writeto(
0x
6A, 
bytes
([
0x
12, 
0x
01]))
        time.sleep(0.2)
        # Wake-up
        i2c.writeto(
0x
6A, 
bytes
([
0x
10, 
0x
40])) 
        i2c.unlock()
        time.sleep(0.1)
        # Initialize
        imu 
=
 LSM6DS3(i2c, 
address
=
0x
6A)
        print("IMU Initialized Successfully!")
    
except
 
Exception
 
as
 e:
        
try
: i2c.unlock()
        
except
: 
pass
        print("IMU Init Hard Fail:", e)
        imu 
=
 None
else
:
    print("Skipping peripherals: I2C bus failed.")

r/circuitpython • • Jun 23 '26

ICYMI Python on Microcontrollers Newsletter: Code Like Hemingway, CircuitPython MCP, MicroPython Editor and More!

Post image
2 Upvotes

If you missed this week’s Python on Microcontrollers Newsletter, here is the ICYMI (in case you missed it) version.

To never miss another issue, subscribe now! – You’ll get a terrific newsletter each Monday (which is out before this post). 12,361 subscribers worldwide!

The next newsletter goes out Monday morning and subscribing is the best way to keep up with all things Python for hardware. No ads or spam, no selling lists, leave any time.

Read it free on the Adafruit Blog - direct link https://blog.adafruit.com/2026/06/23/icymi-python-on-microcontrollers-newsletter-code-like-hemingway-circuitpython-mcp-micropython-editor-and-more/


r/circuitpython • • Jun 16 '26

The Python on Microcontrollers Newsletter: subscribe for free

Post image
3 Upvotes

The Python for Microcontrollers Newsletter is the place for the latest news involving Python on hardware (microcontrollers AND single board computers like Raspberry Pi).

This ad-free, spam-free weekly email is filled with CircuitPython, MicroPython, and Python information that you may have missed, all in one place!

You get a summary of all the software, events, projects, and the latest hardware worldwide once a week, no ads! You can cancel anytime.

It arrives about 11 am Monday (US Eastern time) with all the week’s happenings.

And please tell your friends, colleagues, students, etc.

Please sign up > > > adafruitdaily.com


r/circuitpython • • Jun 16 '26

ICYMI Python on Microcontrollers Newsletter: Is JIT Python in Trouble? MicroPython in a WASM Sandbox and More!

Post image
2 Upvotes

If you missed this week’s Python on Microcontrollers Newsletter, here is the ICYMI (in case you missed it) version.

To never miss another issue, subscribe now! – You’ll get a terrific newsletter each Monday (which is out before this post). 12,361 subscribers worldwide!

The next newsletter goes out Monday morning and subscribing is the best way to keep up with all things Python for hardware. No ads or spam, no selling lists, leave any time.

Read it free on the Adafruit Blog - direct link https://blog.adafruit.com/2026/06/16/icymi-python-on-microcontrollers-newsletter-is-jit-python-in-trouble-micropython-in-a-wasm-sandbox-and-more/


r/circuitpython • • Jun 09 '26

I made a very small Volume and Playback Controller for my PC

12 Upvotes

A few days ago I made a Macro Pad button version of the same device but I found that a rotary encoder has the same footprint as the button so I was able to use it as a drop in replacement. It is programmed using circuit python. I can control volume and play pause my music and its small enough to fit anywhere on my desk! More info about how to make your own is available here!


r/circuitpython • • Jun 09 '26

ICYMI Python on Microcontrollers Newsletter: New Python Projects Book, A Real ESP32-S31 Board, Meatdryer and More!

Post image
1 Upvotes

If you missed this week’s Python on Microcontrollers Newsletter, here is the ICYMI (in case you missed it) version.

To never miss another issue, subscribe now! – You’ll get a terrific newsletter each Monday (which is out before this post). 12,360 subscribers worldwide!

The next newsletter goes out Monday morning and subscribing is the best way to keep up with all things Python for hardware. No ads or spam, no selling lists, leave any time.

Read it free on the Adafruit Blog - direct link https://blog.adafruit.com/2026/06/09/icymi-python-on-microcontrollers-newsletter-new-python-projects-book-a-real-esp32-s31-board-meatdryer-and-more/


r/circuitpython • • Jun 08 '26

The Python on Microcontrollers Newsletter: subscribe for free

Post image
3 Upvotes

r/circuitpython • • Jun 06 '26

I challenged myself to make the smallest macro pad I could and this is what I came up with!

Thumbnail
gallery
22 Upvotes

Let me know what you think and if you have made one smaller! This macro pad is based around an rp2040 zero board with the button soldered directly to it. If you want the 3d print files they are available here.


r/circuitpython • • Jun 02 '26

ICYMI Python on Microcontrollers Newsletter: A New CircuitPython Editor, AI On The Edge, and Projects Galore! (June 1, 2026)

Post image
4 Upvotes

If you missed this week’s Python on Microcontrollers Newsletter, here is the ICYMI (in case you missed it) version.

To never miss another issue, subscribe now! – You’ll get a terrific newsletter each Monday (which is out before this post). 12,364 subscribers worldwide!

The next newsletter goes out Monday morning and subscribing is the best way to keep up with all things Python for hardware. No ads or spam, no selling lists, leave any time.

Read it free on the Adafruit Blog - direct link https://blog.adafruit.com/2026/06/02/icymi-python-on-microcontrollers-newsletter-a-new-circuitpython-editor-ai-on-the-edge-and-projects-galore/


r/circuitpython • • Jun 01 '26

The Python on Microcontrollers Newsletter: subscribe for free

Post image
4 Upvotes

The Python for Microcontrollers Newsletter is the place for the latest news involving Python on hardware (microcontrollers AND single board computers like Raspberry Pi).

This ad-free, spam-free weekly email is filled with CircuitPython, MicroPython, and Python information that you may have missed, all in one place!

You get a summary of all the software, events, projects, and the latest hardware worldwide once a week, no ads! You can cancel anytime.

It arrives about 11 am Monday (US Eastern time) with all the week’s happenings.

And please tell your friends, colleagues, students, etc.

Please sign up > > > adafruitdaily.com


r/circuitpython • • May 31 '26

Hey everyone i built picodesk a desktop companion station

2 Upvotes

hey everyone i know that i am inconsistent , i saw that everyone makes a cyberdeck with raspberry pi but i have no raspberry pi as i am 3rd yr electrical undergraduate

so i take some a break for exams and built picodesk a desktop companion station that sits next to my laptop.

OLED 1 shows live clock (NTP synced), date, and real time weather pulled from OpenWeatherMap API.

OLED 2 is the fun one animated eyes that blink and look around randomly. Every 2 minutes, hearts fall down the screen. And when I need to focus, I can switch it to a todo list from my phone and laptop browser no app install, just open the IP and it works.

The whole thing runs on MicroPython. Pico 2W hosts a tiny web server so I can control everything from my phone on the same WiFi.

Tech stack: - Raspberry Pi Pico 2W , 2x SSD1306 OLED (I2C0 + I2C1) ,MicroPython , OpenWeatherMap free API ,HTML/CSS/JS web app

Full source code on github https://github.com/kritishmohapatra/PicoDesk

100 days 100 iot projects series :- https://github.com/kritishmohapatra/100_Days_100_IoT_Projects


r/circuitpython • • May 27 '26

I built "TheDeck", an open-source, touchscreen driven StreamDeck alternative running CircuitPython

2 Upvotes

Hey everyone,

I wanted a macro pad that felt more dynamic and customizable than a fixed grid of physical mechanical buttons, so I built TheDeck. Instead of static keys, it uses a 2.8" Adafruit touchscreen to create a flexible, ever changing interface that swaps between different functional layouts.

The hardware runs on a Seeed Studio XIAO RP2040. Because the XIAO has a fairly minimal pinout, I integrated an MCP23017 I2C port expander to give myself enough IO pins to route everything, including a rotary encoder for media control and two Cherry MX tactile switches (for instant play/pause/stop actions).

The entire firmware is written in Python using CircuitPython libraries. I’m running an internal UI engine with custom widget rendering (progress bars, arc widgets, animations, and transitions) that handles multiple screens like an App Launcher, Pomodoro Timer, and a "Now Playing" media screen.

For the "Now Playing" functionality, I wrote a lightweight Windows companion app using the WinSDK that grabs active media data from my PC and streams it over serial. The RP2040 parses it over UART and live-updates the screen layout.

Everything is open source (schematics, EasyEDA PCB files, 3D CAD files for the enclosure, and the CircuitPython firmware).

GitHub Repo: https://github.com/ItsAkshatSh/thedeck

Shoutout to Hack Club for supporting this project! I would love to hear your thoughts on the design, or any suggestions on the custom UI rendering in CircuitPython.

psst star it if you like it :)


r/circuitpython • • May 26 '26

The Python on Microcontrollers Newsletter: subscribe for free

Post image
3 Upvotes

The Python for Microcontrollers Newsletter is the place for the latest news involving Python on hardware (microcontrollers AND single board computers like Raspberry Pi).

This ad-free, spam-free weekly email is filled with CircuitPython, MicroPython, and Python information that you may have missed, all in one place!

You get a summary of all the software, events, projects, and the latest hardware worldwide once a week, no ads! You can cancel anytime.

It arrives about 11 am Monday (US Eastern time) with all the week’s happenings.

And please tell your friends, colleagues, students, etc.

Please sign up > > > adafruitdaily.com


r/circuitpython • • May 26 '26

ICYMI Python on Microcontrollers Newsletter: Web Serial Comes to Firefox, Python Guidelines on AI Updated and More!

Post image
3 Upvotes

If you missed this week’s Python on Microcontrollers Newsletter, here is the ICYMI (in case you missed it) version.

To never miss another issue, subscribe now! – You’ll get a terrific newsletter each Monday (which is out before this post). 12,370 subscribers worldwide!

The next newsletter goes out Monday morning and subscribing is the best way to keep up with all things Python for hardware. No ads or spam, no selling lists, leave any time.

See it on the Adafruit Blog for free at https://blog.adafruit.com/2026/05/26/icymi-python-on-microcontrollers-newsletter-web-serial-comes-to-firefox-python-guidelines-on-ai-updated-and-more/ .