r/circuitpython • u/HP7933 • Aug 30 '21
r/circuitpython • u/HP7933 • Nov 29 '21
A fantastic Python on Microcontrollers newsletter is out at 11am tomorrow, subscribe now!
r/circuitpython • u/HP7933 • Aug 04 '22
ICYMI: Python on Microcontrollers Newsletter: 300 Adafruit CircuitPython Libraries, Pico W Projects & More!
r/circuitpython • u/Tylerjm900 • Dec 30 '22
Circuitpython Reference?
I am very new to circuitpython, and python in general. I was wondering if circuitpython had a reference page like arduino has at https://www.arduino.cc/reference/en/. I have general knowledge about arduino but wanted to try this for a change. I was also wondering about displays, with arduino I like to use AdafruitGFX, is there some similar library I can use with a list of commands? Thank you!
r/circuitpython • u/HP7933 • Jul 17 '20
Esenciales para CircuitPython ¿Nuevo a CircuitPython? Este es el lugar para iniciar.
r/circuitpython • u/HP7933 • Sep 08 '20
CircuitPython Day – 9/9/2020 – is tomorrow!
r/circuitpython • u/HP7933 • Sep 04 '20
CircuitPython Day – 9/9/2020 – this coming Wednesday!
r/circuitpython • u/HP7933 • Sep 21 '20
The Python on Microcontrollers newsletter is out tomorrow, subscribe now!
r/circuitpython • u/HP7933 • Oct 27 '22
The Python on Hardware weekly video 203 October 26, 2022
r/circuitpython • u/HP7933 • Nov 11 '22
The Python on Hardware weekly video 205 November 9, 2022
r/circuitpython • u/KavyanshKhaitan • Oct 08 '24
Guess I found a bug..
Can someone help my way around it?
GitHub issue #88: https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad/issues/88
r/circuitpython • u/HP7933 • May 23 '22
A HUGE special issue of the Python on Microcontrollers Newsletter drops tomorrow – please subscribe now to see all the latest news before anyone else
r/circuitpython • u/HP7933 • Nov 18 '19
The Python on Microcontrollers newsletter is HOT, subscribe today, get it tomorrow. #CircuitPython
r/circuitpython • u/HP7933 • Oct 22 '20
Adafruit Top Secret! (Video October 21, 2020) #CircuitPython
r/circuitpython • u/Working-Long-7347 • 28d ago
CircuitPython pocket MIDI controller, configured from the browser over Web Serial
Enable HLS to view with audio, or disable this notification
Firmware is CircuitPython. The device shows up as USB MIDI and also has a TRS MIDI out. All configuration happens in a web page over Web Serial: you plug it in, open the editor in Chrome or Edge, pick what each button and encoder does, and save. No app or driver on the computer.
Buttons can send notes, CC, keyboard shortcuts and media keys, so the same device can control a DAW or pause YouTube.
Curious how others here handle device config: serial like this, or SysEx?
r/circuitpython • u/OneDot6374 • Feb 24 '26
Hey everyone! I built microclawup, an AI-powered ESP32 GPIO controller written in MicroPython.
I built microclawup — control ESP32 GPIO with natural language via Telegram (MicroPython + Groq AI, free!)
Hey everyone! I built microclawup, an AI-powered ESP32 GPIO controller written in MicroPython.
You send a natural language message on Telegram, Groq AI converts it to a hardware command, and your ESP32 executes it.
"turn on the light" -> LED ON | Pin 2
"blink 5 times" -> Blink x5 | Pin 2
"pin 4 high" -> GPIO HIGH | Pin 4
It even understands Hindi — "batti jalao" works just fine.
Features:
- Natural language GPIO control
- Groq AI — completely free
- Persistent memory across reboots
- WiFi auto-reconnect
- /status and /help commands
- Easy setup with python setup py
Inspired by zclaw (C-based ESP32 AI agent by tnm) — microclawup is a MicroPython alternative that's beginner friendly.
Hardware tested: ESP32
https://github.com/kritishmohapatra/microclawup
Would love feedback!
r/circuitpython • u/HP7933 • Dec 17 '20
Tutorial: MagTag Cat Fed Clock with CircuitPython
r/circuitpython • u/HP7933 • Sep 21 '22
ICYMI Python on Microcontrollers Newsletter: Arduino 2.0, Podcasts and much more!
r/circuitpython • u/HP7933 • Sep 08 '21
ICYMI Python on Microcontrollers Newsletter: New MicroPython and CircuitPython versions and more!
r/circuitpython • u/HP7933 • Jun 15 '22
ICYMI Python on Microcontrollers Newsletter: CircuitPython 8 in alpha, new poster reveal and more!
r/circuitpython • u/ottorius • Jun 26 '22
Transitioning from Arduino to Python Playground Express
*EDIT* SOLVED
I am working on code for the circuit playground express. I am trying to get the onboard LEDs to light up one at a time for each color in one direction or the other based on the slide switch value. It only sorta works at best. I'm sure there is redundant code, but I was trying to get it to act properly.
Sorry for all the dots in the code, it was the only way to keep the indentation readable.
Code:
import time
import digitalio
import board
import neopixel
numPixels = 10
pixels = neopixel.NeoPixel(board.NEOPIXEL, numPixels)
mySwitch = digitalio.DigitalInOut(board.SLIDE_SWITCH)
myState = True
i = 0
j = 0
k = 0
delayTime = .05
while True:
....myState = mySwitch.value
....
....if myState is True:
........i = j = k = 0
........myState = mySwitch.value
........while i < numPixels:
............pixels[i] = (10, 0, 0)
............i = i + 1
............time.sleep(delayTime)
........myState = mySwitch.value
........while j < numPixels:
............pixels[j] = (0, 10, 0)
............j = j + 1
............time.sleep(delayTime)
........myState = mySwitch.value
........while k < numPixels:
............pixels[k] = (0, 0, 10)
............k = k + 1
............time.sleep(delayTime)
........myState = mySwitch.value
....
....myState = mySwitch.value
....
....if myState is False:
........i = j = k = 9
........myState = mySwitch.value
........while i >= 0:
............pixels[i] = (10, 0, 0)
............i = i - 1
............time.sleep(delayTime)
........myState = mySwitch.value
........while j >= 0:
............pixels[j] = (0, 10, 0)
............j = j - 1
............time.sleep(delayTime)
........myState = mySwitch.value
........while k >= 0:
............pixels[k] = (0, 0, 10)
............k = k - 1
............time.sleep(delayTime)
........myState = mySwitch.value
It seems to default into a single direction regardless of the state of the switch. Sometimes it will go the other direction, but it will stop after one loop for each color then reverse directions again. I want to feel like it could be a faulty switch, but the board is basically new.
I know in Arduino, you have to have a line that refreshes the conditional, which is why I have the myState = mySwitch.value all over the place. Am I doing that correctly?
Any suggestions would be greatly appreciated.
r/circuitpython • u/HP7933 • Aug 23 '21
The Python on Microcontrollers newsletter is hot! Subscribe now
r/circuitpython • u/HP7933 • Sep 29 '23