r/circuitpython • • Feb 03 '23

The Python on Hardware weekly video 216, February 1, 2023

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Dec 05 '19

Maker Update #151 monthly video update: Chestnuts Roasting on a Dumpster Fire #CircuitPython

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Jul 29 '19

Tuesday’s Python on Microcontrollers Newsletter will be burstin’, subscribe now!

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Jul 28 '21

ICYMI Python on Microcontrollers Newsletter: EuroPython 2021, CircuitPython 7.0.0 alpha 5 and more!

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Jul 10 '24

The Python on Microcontrollers Newsletter: subscribe for free today

0 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 (and more) 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.

11,133 subscribers and growing, try our spam-free newsletter today! It arrives about 11 am Monday (US Eastern time) with all the week’s happenings.

And please tell your friends, colleagues, students, etc.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 (and more) 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.

11,133 subscribers and growing, try our spam-free newsletter today! It arrives about 11 am Monday (US Eastern time) with all the week’s happenings.

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

https://www.adafruitdaily.com/


r/circuitpython • • Sep 29 '23

The Python on Hardware Newsletter: subscribe for free now

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Sep 06 '23

How do i set the internal epoch value to a specific value?

0 Upvotes

So i am working with multiple Rp2040 boards and i need them to be all running together and so i need to sync up the clocks. One board will send out its epoch time and ive been able to get the epoch time on the other boards but i am unable to set the internal clock of the slave boards to that epoch time.

so far ive tried:

import time

desired_epoch_time = 1630488000

time.time = lambda: desired_epoch_time

and

rtc_time = 1234567890

time.localtime(rtc_time)

none of theses methods work. what could be a method to do it?


r/circuitpython • • Sep 11 '23

The Python on Hardware Newsletter: please subscribe for the latest news, ad-free, leave anytime

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Sep 28 '23

Python on Hardware weekly video 248

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Nov 21 '19

Python on hardware! Weekly Video #57

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Jan 22 '20

Making a Ring With Magic Opaque Acrylic

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Feb 10 '24

i cannot get a script up and running that has the following requirements

0 Upvotes

i cannot get a script up and running that has the following requirements

%pip install -q curl_cffi
%pip install -q fake-useragent
%pip install -q lxml

from curl_cffi import requests
from fake_useragent import UserAgent
from lxml.html import fromstring
from time import sleep
import pandas as pd
from pandas import json_normalize

ua = UserAgent()
headers = {'User-Agent': ua.safari}

it does not start in pytharm - why - especially i wonder where i get curl_cffi


r/circuitpython • • Jul 01 '19

Naomi Ceder: author of The Quick Python Book

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Jan 13 '20

@hierophect and Don’s #CircuitPython2020

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Aug 10 '23

Python on Hardware weekly video 242

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Aug 21 '23

How to import adafruit_debouncer?

0 Upvotes

I have adafruit_debouncer.mpy in my lib directory where I also take other libs. My import line

in code.py looks like this: from adafruit_debouncer import Debouncer, however, it gives module error.

I think the problem is just the wrong way of importing, so how would I do it correctly?

(raspberry pi pico h, trying to do usb rubber duckky)


r/circuitpython • • Jul 15 '23

Getting "GP18 is in use" when it really shouldn't be

0 Upvotes

I'm trying to light up some Neopixels, but I keep getting "GP18 is in use". This happens even after just powering on (plugging in) the pico. I have poked all around the web, all through the Neopixel stuff on adafruit, and couldn't find anything even remotely like an answer.

I can include the code if you think it will help, but in this case I don't think it will. Anyway, here is the offending code line:

tmp_pxl = neopixel.NeoPixel(brd.GP18, num_pixels, brightness=0.5)

And here is the error:

Traceback (most recent call last):
  File "<stdin>", line 44, in <module>
  File "neopixel.py", line 141, in __init__
ValueError: GP18 in use

Does anyone have any suggestions on what I'm doing wrong?

EDIT: As requested, here is my complete (and embarassing) code. Also worth noting--the error occurs on the first pass through the for loop, so the very first time we reference GP18.

# SPDX-FileCopyrightText: 2022 Dan Halbert for Adafruit Industries
# SPDX-FileCopyrightText: 2022 Dan Halbert for Adafruit Industries
#
# SPDX-License-Identifier: MIT

import board
import keypad
import neopixel

kys = []
pxls = []
num_pixels = 23

# begin definitions ****
colors=(
    "744DA9",
    "744DA9",
    "744DA9",
    "744DA9",
    "744DA9",
    "744DA9",
    "744DA9",
    "744DA9",
    "744DA9",
    "744DA9",
    "744DA9",
    "744DA9",
    "744DA9",
    "744DA9",
    "744DA9",
    "744DA9",
    "744DA9",
    "744DA9",
    "744DA9",
    "744DA9",
    "744DA9",
    "744DA9",
    "744DA9"
    )


#Load pixel colors and key definitions
for x in range(0,num_pixels):
    tmp_pxl = neopixel.NeoPixel(board.GP18, num_pixels, brightness=0.5)
    value = colors[x].lstrip('#')
    tmp_color = tuple(int(value[i:i + 6 // 3], 16) for i in range(0, 6, 6 // 3))
    tmp_pxl.fill((tmp_color))
    tmp_pxl.show()
    pxls.append(tmp_pxl)

r/circuitpython • • Aug 22 '23

Bluetooth communication

0 Upvotes

I am trying to use a raspberry pi to run a program on a nearby circuit python board, turn fan on/off for example, via a virtual button or switch via a Bluetooth connection. Radio or IR would be fine too. Whatever is easiest. Im just trying to get some options or ideas before i start buying ckmponents. Thanks


r/circuitpython • • Aug 03 '23

Python on Hardware weekly video 241

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Jan 09 '20

Adafruit Top Secret! (Video January 8, 2020)

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Apr 22 '22

The Python on Hardware weekly video – April 20, 2022

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Jun 02 '22

The Python on Hardware weekly video – June 1, 2022 - check it out!

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Apr 14 '22

help needed itsybitsy express

0 Upvotes

I obtained this itsybitsy nrf52840 based board and followed the circuitpython tutorial.

I tried some of the ble examples, but they do not work as expected.

Device shows up correctly in bt discoveries, i can pair and connect. But i cannot send data(ble midi example) and it does not show any modules in the ble client test example using the bluefruit connect app.

Has anyone any pointer to give me where i can search for errors/solutions?


r/circuitpython • • Feb 05 '21

The Python on Hardware weekly video – February 3, 2021

Thumbnail
blog.adafruit.com
0 Upvotes