#live-broadcast-chat
1 messages ยท Page 47 of 1
if you' still have the default sprite buttons then the menu sprite button is top left.
You might want to put a small rectangle at the touch position.
ok, dug up some old tkInter code
column = x // (WIDTH + MARGIN)
row = y // (HEIGHT + MARGIN)
where MARGIN is the size of the cell boundary
maybe buttons are inspired by tkiner? i coded the grid layout from scratch but the SpriteButtons do have a MARGIN parameter.
found this reference in google once I got some proper search terms
http://programarcadegames.com/index.php?lang=en&chapter=array_backed_grids
and I overrode the margin on all the buttons in favor of hardcoded x,y
exactly
interesting
so the margin would have all the info i would have needed and I deleted it? figures.
Do you have a table/grid with all the keys so that you can ask key[x,y]?
I was going to replace them with special characters and caps up arrow like on mobile.
because everything is still in caps, it was a big work in progrress.
@smoky island I have to run. But it has been very interesting watching a CP dude work!
move shift to the left to give room for an arrow key set with the up/down on top of each other
put shift to where ctrl is
honestly didn't know what to put there so just added the arrows.
I would look at old blackberry keyboards or the like
would love to have a touch keyboard library instead of just a layer. getting rid of all the layers associated with it is a task in itself.
yea, have a class where one of the attributes is a display group, then coordinate to key value map
It is a bit sad that it is an ortho keyboard, but the internet is full of hardware ortho keyboard image.
I could see a C64 virtual keyboard, or ZX Spectrum virtual keyboard, but we need to be more flexible on the key position... maybe a list of key top-left and bottom right?
you could use the label as a key into a dictionary for the value
i honestly don't know what is best. it was a thing i neede d to make... an attempt was made is all I can say.
you would have to make "half cells" to offset for a real keyboard style.
iteration after the initial slog thru the proof of concept always seems easier
maybe go opposite with a while background with black lettering during touched.
I woudn't call it easy... it required like 60 labels.
because it's resistice it's designed to be used with a styles or fingernail but i have noticed that a finger print can actally work as well.
thanks to CGrovers calibrator! the accuracy is excellent.
I wasn't sure how to make the delete key actually delete the last type letter either.
but I still have to add special characters and caps lock, issues I can work on over time.
delete in python can be done by doing a slice of the current value -1 of the length
label = label[:-1] # for delete key
ah thank you
and you can use -1 on an empty string all darn day
use two arrays - one contains the value to insert and one to show the type of the cell
Go with Baudot. Five keys is all you need.
enter was thinking of using a file append to a config.txt because i figured overwrite values in settings.toml would be a no no without boot.py
also - store the values for non shifted and then do a call to UPPER for the shifted?
yup was thinking str to upper but shift might be required for special characters.
if the cell "tag" shows that it's special, then you can do something just for them
wouldn't space just be " "?
that whole bottom row can be handled differently
and can reference the array[] index for space
yes just came up with it in an afternoon, i did not put a lot of thought into the layout for proof of concept.
the space bar is really just multiple occurances of " " in the array
oh - he's using the label value as the key
try Q or Z
oh heck yes some text is up on the display now ๐ that's awesome.
off by one?
yep, merged the two strings into one
good to be back
yes, arrow keys could be used to a position a slice insert
๐
thanks for the live stream
Thanks! This was a lovely stream! I hope the holiday season is great for everyone!
Thanks Tim ๐
Thanks!
see the touch keyboad actually work is pretty awesome. will make a great addition to a library! see you tomorrow for โ hopefully.
Thank you Tim. All a Merry XMAS and a happy NY
Starting a few minutes early this morning. Going to finish up the AoC challenge for today and then get back to the displayio soft keyboard. You can follow along on YT: https://www.youtube.com/watch?v=x4F7yxc_NyA or Twitch: https://www.twitch.tv/foamyguy_twitch
Morning Tim!
good morning โ
โ
"If at first you don't succeed, just give up."
Advice I live by for relationships
I like seeing all the touch related stuff. There are more displays coming out that are touch capable. Not a lot of touch examples out there other than for the pyportal.
โ
Yeah, Brian Lough posted a video for what he called "Cheap Yellow Display", an ESP32 board with a display and touch. Very cheap.
This weekend's project: trying to wrap up an overtone sample generator helper for synthio. It takes a list of wave types (sine, square, triangle, saw), frequencies, and amplitudes then creates a synthio.waveform object of the combination of the fundamental and listed overtones. Was able to create a decent quality wind chimes sample with a fundamental and four overtone frequencies. Next test is to recreate the source oscillator that was used by Roland for their TR-808 top hat drum sound. Also hoping to save the sample object in some sort of compatible file format.
I have been trying to implement displays for use with Home Assistant. It is very painful. ๐ฌ
Yeah, I am one of his sponsors.
Oh, that sounds cool. But involves math so my brain would hurt? ๐
Yup, it is a standard ESP32 so it can do whatever,
Mine is already hurting. Iโll take the pain for you.
I've been spending the morning trying to get a slider for brightness working in preferences and failing.
Your PC hasn't been happy lately. :/
I got safe mode when I tried to append to display.root_group. Same error message.
Adafruit CircuitPython 9.0.0-alpha.6 on 2023-12-12; FeatherS2 with ESP32S2
Also TFT FeatherWing 3.5".
The TFT is HX8357.
depends on what you're trying to append? I've had no issues appending to display.root_group = main_group
have to give .root_group a displayio group
ah i'm not running alpha though
yes 8.2.7 with latest 8.x bundle
only reason i haven't upgraded to 8.29 is because it seems they come out with a new version every week while i'm still trying to build the thing.
i don't use adafruit_touchscreen and instead use the cmpe610 touch driver directly
if i'm working on a new project absolutely i'll use an alpha, like i used 9 alpha for the 12 matrix panel project. but this is my main project i need stable
also on my other one is my moms fitbit heart monitor display so need that working solidly too.
From https://learn.adafruit.com/adafruit-pyportal-titano/pinouts the display driver is the HX8375 chipset.
intermittent issues are the hardest to track down
fork awesome even on scale 1 is pretty big so i don't think it would work on a smaller tft
looks good in this case because the rest of terminalio.FONT is at scale 2
ah good point.
Oh, the familiar "why did I.... " question. ๐
does this means I'll need to update to alpha 9 to run this?
awesome, sounds good. guess i'll start working on some preferences in the mean time.
One of the nice things of having it all self contained is you can get a better idea of when to upgrade to the next version.
I didn't think so either, everyone talks about 32gb but i'm running 128...
planned on adding a lot of downloaded NOAA images and background slide shows. family pictures, etc...
A very low resolution chimes sample. Fundamental and overtones on the left. Combined sample on the right. Was an interesting quest to figure out how to create a loop-able sample with minimum distortion (matching the end of a sample to the start of the next).
that's a lot of math i'll never understand ๐
No recordings yet. Iโll post the whole project on Playground soon.
really appreciate you taking this project on. there's no way I'd be able to condense it all down like you can. i think a lot of people with touchscreens will get use out of this one in the future.
my concern with the blackberry style keyboards is they're hardware and could completely disappear someday where as this... will be an option forever.
I2C keyboard input from the Blackberry keyboards or the LilyGo T-Deck would be great
The keyboards do drop off market, but if you get a standard supported in CP, new devices will probably follow suit
i think that one was based on Arturo's Solder Party BBQ lora board
I blew up my featherwing, was really sad until I found that
Yep
I actually liked the joystick better though, the trackball is a little sticky
think they were phased out in favor of cap touch screens
Yes, there's a build
Tim's X-mas shopping list just grew by 1
not gonna lie i've been eyeing the t-deck for a while too
what do you think would be the best way to add a slider control for 0-100% for brightness preference? I'm currently using adafruit_progressbar without any success.
oh wow i could just use grid layout with 100 divisions. duh.
i thought someone made one too but couldn't find one.
how i missed that i have no idea, thank you.
the fontawesome symbol used for delete is the undo symbol. thought that would be intuitive but after the discussion yesterday seems i should choose something else. there is no delete symbol that i know of.
yeah might change it to left arrow, and just get rid of the arrows. not sure they're useful?
notice i did get rid of the windows key ๐
Use arrow rather than < -
it's fairly easy to customize too. could have language layouts like neradoc does for languages
But with two chars, BS might work too
some of the new qualias have touch capability now too
even the round qualia display. an arc keyboard sounds neat.
awesome stuff today, a lot of possibilities in making devices self contained without USB connections to change parameters.
thank you for the stream, amazing stuff.
Thanks for the stream. Always interesting to watch how you refactor a project into a library.
If we don't see you Happy Holidays ๐
Thanks ๐
Desk of Ladyada - Schottky sub shock https://youtu.be/FhKoHpjbp0o
A part substitution during shortages led to unexpected issues in their 2.13" eInk FeatherWing, likely due to reverse current leakage. Similarly, in "The Great Search," they discuss using millions of 'jellybean' 10uF ceramic capacitors in their products, explaining their benefits and suitable applications.

Bye!
๐
Many thanks for this video / live stream. First, it gives some insights into debugging hardware. Second, it highlighted a few potential problems which can pop up and how they might be diagnosed.
For me personally, the first segment on the diode causing fade on the ePaper display was timely. I am working on a project with ePaper and I started with the Adafruit schematic to get a handle on the boost circuit. I even use the same diodes from the same supplier. (I will be sure to run a test to check for the fade issue)
hello all!
Hello!
Hi john hope you have a merry Christmas
What is the input impedance of the 5836?
datasheet is your friend ๐
Good afternoon.
Merry Christmas to you and your family. Your shows always bring great joy to my life.
lars peaking
๐
Lars has peaked?
I am looking at the data sheet but I don't see it
Happy new year to you and yours best wishes to all Adafruit people.
yeah hmm looks like it references input capacitance (25pF) but not a traditional impedance
Any thoughts on whether a bunch of these 8 channel ADC could be used for human brain interface?
70 Ksamples per second seems to hint that the arduino libraries are required - how fast can circuitpython make readings ?
Depends on the sample rate. Looks like itโs a non-buffered sample-and-hold circuit.
@inner spade think Lars speak over jp shoulder using 8Channel 8Bit ADC
yeah how does one model the impedance of a unbuffered input going straight to a capacitor? In the steady state, I guess it's that leakage current?
Thatโs my guess, too. Perhaps thereโs an application note out there somewhere.
hey pot sliders are a kind of human brain interface ๐ฅธ
think pot sliders use lars brain interface
Thank you, am looking up eeg electrode specs... Seeing Open BCI (Brain Computer Interface) libraries, down the rabbit hole I go... Am looking for BCI project to do with kids over the winter holidays.
Thanks @haughty quiver
Thanks! Can always use more inputs.
thanksJP!
I think normally you need a high-gain differential-input instrumentation amp for EEG type stuff. I don't think this simple 8-bit ADC would be a good match for that
thanks all!
Happy New Year !
Thank you JP for the stream. Thank you @cinder wind and folks for the pointers. Yeah, looks like 24 bit ADC would be better like this texas instrument ADC that explicitly calls out EEG use https://www.ti.com/lit/ds/symlink/ads1299.pdf. Will keep digging, maybe get these discounted sensors just to see how laughably bad they are for this scenario ๐ Can always reuse for other projects.
I finally get a Wednesday lunch free and no show๐
?showtimes
Desk of Ladyada - Sunday Evening
JP's Product Pick of the Week - 4pm ET Tuesdays
3D Hangouts - 11am ET Wednesdays
Show & Tell - 7:30pm ET Wednesdays
Ask an Engineer - 8pm ET Wednesdays
John Park's Workshop - 4pm ET Thursdays
Deep Dive w/ Foamyguy - 5pm ET Fridays
FoamyGuy's CircuitPython Stream - 11am ET Saturdays

?showtimes-gmt
Desk of Ladyada - Random hacker times
JP's Product Pick of the Week - 20:00 Tuesdays
3D Hangouts - 16:00 Wednesdays
Show & Tell - 00:30 Thursdays
Ask an Engineer - 01:00 Thursdays
John Park's Workshop - 21:00 Thursdays
Deep Dive w/Foamyguy - 22:00 Fridays
FoamyGuy's CircuitPython Stream - 16:00 Saturdays
@sand lotus Home automation system
Looks gorgeous. Nice design.
it has an LCARS theme
that menu is for my encviromental audio system
my appt sounds like the engineering deck of the enterprise D
world's worst neighbor energy
but its like how do you report that to building manager
??
"i swear, it sounds like a spaceship next door"
If you can hear it thorugh 12" of ocncrete and steel I"ll be impressed
Any neighbor that complained about star trek sounds isnโt a neighbor iโd want anyway.
now if you open my front door, that's another story ๐
I have LED lights / airlock front door effects
Niiice
well, given that, i think your system needs sprucing up. When they can hear it, ill be impressed lmao
lol
the idea is that it's ambient noise
more like you are living in a spaceship not at aan ac/dc concert
now when I start to play music on the regular system, that's another thing
I need to figure out power for my ws2812b strips
are tehy 12v or 5v ?
iirc they are 5v
I use an athom controller with WLED and a 5v 2a power supply
๐
Hey Y'll
Good evening everyone.
Ahoy!
WE ARE LIVE! SHOW AND TELL! https://youtu.be/j-jJXpwqNe0 & Link to join to show and share your project! https://streamyard.com/sduzr3xgy7
yea 5v. im likely going to use a pillbug as controller, use circuitpython, and a spare 2a+ power supply
I'm all about the WLED until I can twig on programming them
IO feed calculations! Hoorah!
@torpid geyser Blockly in AIO is great!
I like the idea of blocky with adafruitio actions.
yeah I love blocky for stuff I don't knwo how to do , then swap over to python
I like the weather angle. โ i just want to know if i need to take an umbrella with meโ
Lars
Rather than calculating a composite feed in the MCU and sending it to IO, will calculate in IO and reduce the number of feeds.
Hello from swampy Los Angeles
now think round display for eyes could be so lively lars
Just got 1.2 inches in 35 minutes
I dont have anything ready to show today, but I am making leaps and bounds with my cloudless home automation
You mean you can make clouds go away!!!
lolz
last appearance of the year for JP showing lars memento
BFF Squad is such perfect naming
oh wow
very cool @split gazelle !
Great pcb design liz.
thanks!
This is very cool. I wish I had had one when I was designing test fixtures. I would go as far as to make a 6 spot one as well. Great job @split gazelle !
Fonts!!! Way cool!!!
Hi, I think Liz has her volume low (lower than others), that was the same in the CircuitPython meeting of Monday. Beep @split gazelle .
A font library. Awesome!
Some wingdings? Symbols?
can't wait to use the fonts bundle
import font is a game changer. Nice to have the licensing issues solved, too. Super!
love this so much @robust horizon
The learn guides are full of fonts, frequently duplicate. Maybe there is some cleaning possible to use this new way?
Does it support Unicode combining characters? ๐
@gray obsidian no, it doesn't change anything about font rendering, it's still the same rudimentary level of support as always.
@robust horizon Fantastic
YES! Diode cutter rules!!
there aren't any wingdings yet, adding that would be a great idea. ditto one of the appropriately licensed versions of fontawesome
amazing
well still looks great.
circup bundle-add adafruit/circuitpython-fonts # You only need to do this once
circup install font_free_mono_9```
Edward DiodeHands?
Replaceable xacto blades is a great idea too.
xacto blade I used yesterday to replace a soldering iron tip to cut into connectorsโฆ works not too badโฆ
Now i really want an excuse to need to cut sets of diodes
I knew that was for keyboard... who need a precise number of diode for a kit?
YESABOX!
thanks!
Great projects everyone. Thanks for sharing.
happy larsmas
Thank you everyone for more neat projects.
I needed a TON of roughly accurate strip counts for our keyboard kits, but accidentally made it really precise
so, not too upset
Too much fun ๐
WE ARE LIVE! ASK AN ENGINEER! https://youtu.be/8l2wJhrcIOg & 10% discount code, code is: padc http://www.adafruit.com ends at midnight NYC time
ASK AN ENGINEER 12/20/2023 LIVE!
Visit the Adafruit shop online - http://www.adafruit.com
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com/
----------------------------------...
Adafruit Industries, Unique & fun DIY electronics and kits : - Tools Gift Certificates Arduino Cables Sensors LEDs Books Breakout Boards Power EL Wire/Tape/Panel Components & Parts LCDs & Displays Wearables Prototyping Raspberry Pi Wireless Young Engineers 3D printing NeoPixels Kits & Projects Robotics & CNC Accessories Cosplay/Costuming Hallow...
I feel for those people afflicted with VVS: Vertical Video Syndrome ๐ค
Adafruit gift cards are my fave thing to get for Xmas ๐
My mum is a maker (she made stuff herself for work) but not as much as getting into electronicsโฆ
How does a gift card look like? Is it something you can print and contain a "coupon code" or something?
It's ok, as long as you do the episodes in order: 4,5,6,1,2,3โฆ
His knives weren't that scary, rotating arbor knives are scary.
People like to skip the mistakes part by learning from other peoples' mistakes.
Great Search with ladyAda is great
The problem is all the people who skip the learning part too.
10% discount code, code is: padc http://www.adafruit.com ends at midnight NYC time
Adafruit Industries, Unique & fun DIY electronics and kits : - Tools Gift Certificates Arduino Cables Sensors LEDs Books Breakout Boards Power EL Wire/Tape/Panel Components & Parts LCDs & Displays Wearables Prototyping Raspberry Pi Wireless Young Engineers 3D printing NeoPixels Kits & Projects Robotics & CNC Accessories Cosplay/Costuming Hallow...
Iโve received it as an email, and it includes a personalized message that the sender inputs + a gift card code that you can use at checkout or apply to your account. So I guess you could DIY a printable card thing ๐
we don't have physical gift cards but you can print out the gift certificate art: https://cdn-shop.adafruit.com/970x728/141-00.jpg and pair this with the redeem code we send to your email
Having an ID card printer would make it easy to make gift cards.
Out of Adafruit gift certificates!
Not nefarious purposes.
I have one of those ๐
Definitely wanting to fab up an ornament now.
Why not just use ethernet instead of LTC4332
Official Raspberry Pi Foundation Raspberry Pi 5 Case + Fan https://www.adafruit.com/product/5816
Programming the Pico: Learn Coding & Electronics w/ the Pico - 2nd Edition by Simon Monk https://www.adafruit.com/product/5320
Adafruit Grove and Stemma QT FeatherWing for all Feathers https://www.adafruit.com/product/5862
very nice
Adafruit MCP3421 18-Bit ADC - STEMMA QT / Qwiic https://www.adafruit.com/product/5870
Theย Adafruit MCP3421 18-Bit ADCย is a simple, inexpensive, and easy to use 18-bit, 240 SPS, single-channel ADC with an I2C interface that can run up to 3.4MHz clock rate. A ...
Lady Ada: New! New!
PT: Stay on Target!
Do you think the MCP3421 will work with a zirconia sensor
Same same, but different.
Wikipedia's page on the Ship Of Theseus has been completely re-written in the past year. How meta is that?!?
ROTFL
โต
Well even for retro sellers raise prices on NOS chips because chip shortageโฆ ๐คท
Question: does the flirc case for Raspberry Pi 5 work with the active cooler?
Or is that whole case being a heat sink?
Thank you for a wonderful show!! ๐ฅณ
Thanks everyone!
Thank you for a great show and another great year for adafruit. Happy holidays!
Thanks @open girder and good night. ๐ Happy Solstice | Happy Long Night | ๐
n8!
Thank you and good night!
Ohm.
bye all!
quick question for LadyAda - what is ADAFRUIT_PYGAMER_ADVANCE_M4_EXPRESS ๐
I was looking at the nofrendo_arcada and saw mention of that conditional in nofrendo_arcada/src/emuapi.h
#if defined(ADAFRUIT_PYGAMER_ADVANCE_M4_EXPRESS)
Hey all, have a happy holidays if you celebrate and lovely new year, I'm off now, see you in 2024!
lars memento mori renturns on 2024
Wellp, 24 hours and no email. Guess I'm not in the first drawing.๐
Did you check this: https://circuitpython.org/board/pygamer_advance/
That was "coming soon" on "Top Secret" (don't ask) some years ago, but I think it was left as a prototype, maybe due to M4 availability?
Getting started with the stream this morning now. I'm testing a few PRs and then playing with some holiday themed ideas. You can follow along on YT: https://www.youtube.com/watch?v=leOUv4PX1CY or Twitch: https://www.twitch.tv/foamyguy_twitch
morning Tim
good morning โ
Sensor Fairy ๐งโโ๏ธ very nice. Didn't even have to leave a tooth under the pillow.
success but no content to return is 204
I have a nice temp adjust algorithm using numpy that will work with pretty much any temp sensor that's reading is slightly off from reality. https://github.com/DJDevon3/My_Circuit_Python_Projects/tree/main/Circuit Python Snippets#temp-sensor-bias-adjust-algorithm-bme280
It's recommended to use a NIST traceable thermometer to calibrate temp sensors. That's why the caveat is declared in code comments as it should be.
Altitude is affected by relative pressure (which changes minute by minute). So you have to correlate them. It's why barometric pressure sensors by themselves are horrible for altitude tracking.... which is why my Fitbit thinks I've climbed 30 floors of a building whenever a storm happens that changes the pressure quickly.
it is setting what the minimal wait is required to be able to retrieve a value that is accurate because the gas value requires the sample to be heated and then extracted
minimal wait from the start of heat to sample selection
Hello everyone, joining a bit late today
Yeah I think the boards that have gas sensors use a heating element that takes time to heat up. so there is a minimum time.
yes, because it has to be calibrated to average ambient temp
if you are in a hot environment, it takes less time to heat the sample
can probably change it if conditions are right for it to heat up faster... like if you live in a tropical climate you can get away with setting minimum time to be shorter.
but if you live in Greenland... will probably want a longer preheat time
I always log hug reports and status updates, nightly. Otherwise I will forget.
the interesting part is that I believe that the sensor will auto calibrate over the span of 30 or so minutes, so temp adjustments should only be done if you have the appropriate reference samples to adjust it
except last week which would have had a huge hug for you and soft keyboard... but it's already in the doc for next meeting.
I'm the only person that updates it nightly, maybe because I know my memory is so bad.
if by sound effects you meant curse words sure
๐ธ๐ช ๐
typo "on on"
chores and stuff are calling to me, i'll catch the rest on the backside
thanks for letting us lurk and learn o/
I've used Morse Code on and off for a while. ๐
Morning all!
What ever became of your 'Octopus' game?
Sweet. Hope to run it on the Pybadge.
We keep two dedicated PyGamers on the coffee table; one for Trash Panda, one for Octopus.
lol My high score so far: 7. ๐ฌ
Consider making a function for each state: short, long, between words, end of message.
๐ ๐
Nice!
Pretty cool!
it would just be a time.sleep then?
The dit is the fundamental unit of pacing, if I recall.
Set the number (length) of lighted pixels equal to the number of dit periods, perhaps?
Now you need to find a decoder app that use the camera of your phone.
Or you write code for the Momento...
The camera from Adafruit.
A dit would be one pixel; dash would be three; space would be seven.
s/self/elf/g -- get festive
Itโs one dit period between letters, seven between words.
This is a great project for learning code.
And practicing
You can use one LED per letter, and have every letter blinking in Morse code. Human will focus on one letter at a time at one pace.
Exactly.
Human can focus on one letter at a time...
At the speed of your reading capability.
Not forced to be fast decoder at the speed of the sender.
Clever!
It will blink like crazy, but you if you know the code, you can read the message.
Thanks Tim!
Thanks for the stream! Have a joyous holiday!
Thank you for the Saturday holiday stream ๐ Have wonderful week.
Thanks.
Happy holidays ๐
taking tonight off for desk of ladyada folks, happy holiday!
its hacker times so sometimes hacker have to take off time
?showtimes
Desk of Ladyada - Sunday Evening
JP's Product Pick of the Week - 4pm ET Tuesdays
3D Hangouts - 11am ET Wednesdays
Show & Tell - 7:30pm ET Wednesdays
Ask an Engineer - 8pm ET Wednesdays
John Park's Workshop - 4pm ET Thursdays
Deep Dive w/ Foamyguy - 5pm ET Fridays
FoamyGuy's CircuitPython Stream - 11am ET Saturdays
good afternoon foamyguy, working on the soft keyboard again. very cool.
Happy boxing day!
I think it was something like <-|
can tell how quickly it made it before sharing because didn't even notice the repeated , cell ๐
just saw you were streaming about 5 mins ago, did see the JSON. seems that would work nicely with Neradocs keyboard layouts too, or at least similar enough to be easily modified for other languages or layouts.
i was having the same issue with double presses with the sprite button library. i think it's because it wants to turn the graphic inverted so it kind of requires a doublepress. i think i solved that by using if not button_press but that was for the feather weather gui.
the more layers you add the more complicated the debounce timing can be too.
i ctrl+d lines in that manner all the time. like why did it have to be ctrl+d for repl reload and right above it in code. py duplicates code.
well layers as in the keyboard in my project is going to be 1 of like 8 different pages. alot of append/remove to get the pages right.
big issue i currently have is that any touch button is available no matter the page, that's a problem loll
it's just a matter of removing the sprite button completely. i don't think pop will work.
i tried page layout at first yes, seems to be an issue with sprite button i guess. my logic is not as good as you would do. it's a work in progress.
actually i'm doing display.root_group = main_group and i switch root_groups
while display.root_group = main_group: show only main_group page.
buttons are basically sprite_buttons so they're labels
ah if button exists in group. yeah that's my next issue. the soft keyboard was just 1 page of changing wifi credentials
yup i'm using contains but i guess i'm not checking per page yet if that button should use contains on that page.
started as while time.monotonic() then broke it into groups, didn't even think about using if's instead
yup, can touch invisible buttons from any page. which wasn't an issue until you add a huge soft keyboard lol
No JP show today ?
I don't think so, holidays and FoamyGuy is streaming during off holiday.
Just a short demo. I made the GUI first then tried adding touch which is a bit more difficult.
exactly, preferences buttons in the middle are still pressable no matter what page i'm on.
it's amazing how you can just look at code for like 5 seconds and completely discect a problem. thank you, will look into that.
yeah so with that behavior add the soft keyboard on top and i have big problems lol. i'll get it sorted thank you.
i literally just made that layout without much rhyme or reason, was just a first try and it worked.
i'd like to make it more like a mobile device keyboard with special characters having their own grid layout
the arrow keys were just a test for unicode characters more than actually trying to have arrow keys
oh wow didn't even think of that. that's brilliant.
could be an easy way during initial setup for a user to choose their language kind of thing which could change the language for all the labels too.
though i'm honestly just trying to make this for family members so it would all be english.
good point, and my custom fonts only have basic alphanumeric, wiped out the rest with font forge to make smaller file size. they do load faster with bitmap font that way too.
grid layout eventually might as well become GUI layout. it's becoming a lot more feature rich with a soft keyboard. this is awesome stuff.
have a wonderful holiday season. โค๏ธ ๐
Thanks! Same to you.
SHOW & TELL and ASK AN ENGINEER returns next week!
Just a heads up, no stream for me today. Back next Saturday at the normal time.
Bummer, was looking forward to the company. ๐
Desk of Ladyada - Sunday Evening
JP's Product Pick of the Week - 4pm ET Tuesdays
3D Hangouts - 11am ET Wednesdays
Show & Tell - 7:30pm ET Wednesdays
Ask an Engineer - 8pm ET Wednesdays
John Park's Workshop - 4pm ET Thursdays
Deep Dive w/ Foamyguy - 5pm ET Fridays
FoamyGuy's CircuitPython Stream - 11am ET Saturdays
Hackers take holidays too. It's New Years Day.
Does anyone know if there is going to be a JP product pick
Circuit Python meeting that is normally scheduled for Monday was rescheduled for tomorrow due to the holiday. My guess is things should resume their normal schedules tomorrow.
Thanks
We'll all just have to show up tomorrow and see if JP will be there or not. There is usually a blog post about an hour prior to his Tuesday PPOTW. We'll just have to wait and see.
๐ค๐ป for JP today @4pm
Hi, yes, I'll be doing the show today at usual time, 4pm Eastern/1pm Pacific
(despite the fact that i'm loopy because my body clock is still in Sweden)
Yay!!!! And a special happy New Year to you @haughty quiver !!!!
Happy New Year @echo canopy !
welcome to year of Dragon Lars
Welcome back from the land of the palindrome, @haughty quiver !
The data sheet discusses Cold-Junction Sensing -
"the temperature at the cold junction must be measured. This is done with the
internal precision temperature sensor, which has accuracy
better than ยฑ0.7ยฐC from -20ยฐC to +85ยฐC. By placing the
MAX31856 near the cold junction, the cold-junction temperature can be measured and used to compensate for cold-junction effects. "
is this taken into account in the design of the Adafruit Universal Thermocouple Amplifier MAX31856 Breakout ?
Good afternoon.
Good Afternoon and Happy New Year to you and your family

BeardyJP!
@haughty quiver sounds like fun. Did you see the aurora?
se JP is coming closer to Lars
probably brought his own aurora he made from LEDs
love the hold music
now it look the thing
Lars was messing with your computer while you were gone.
the product page has a couple of videos too
last night lapland had -41C
love those LCD featherwings ๐
my question probably scrolled off - but to get high accuracy, the "cold" reference junction temperature needs to be known also, right?
A thermocouple, also known as a "thermoelectrical thermometer", is an electrical device consisting of two dissimilar electrical conductors forming an electrical junction. A thermocouple produces a temperature-dependent voltage as a result of the Seebeck effect, and this voltage can be interpreted to measure temperature. Thermocouples are widely ...
does the Circuit python library update/use the chips reference junction temperature registers?
looked like reference_temperature functions mentioned cold juntion temperature when scrolling the docs
Thanks @haughty quiver
Thank you JP. Have a great week!
Thanks JP + all
Thanks JP!
great question for Wednesday night thanks!
thanks JP!
thanks @open surge !
Yes, a cold junction is important for high accuracy applications.
we left Kiruna just in time!
thank you JP
the wednesday in Kiruna is -35C on day
this cold temps arrived near new years eve
It's about +21C (70F) here which is nice during winter... not so nice during summer. Being in a tropical climate I cannot calibrate my bme280 temp sensor below 19C. I figured out this week the bme280 doesn't need any bias adjusting below that specific temp though.
Seriously? Another week I missed the notice about.๐
Happy New Year Gregorian folks.
Happy 1704096001 for those on UNIX time.
Hey Y'll
Evening everyone
good evening
WE ARE LIVE! SHOW AND TELL! https://youtu.be/-uoTEYZq-6s & Link to join to show and share your project! https://streamyard.com/29brkw6k4g
Good evening everyone.
tonight's a great time to drop in!
Happy New Year!
Not building a box that traps all the resin is key (hard lesson learned)
Filaments has trees, so resins has.... roots?
I haven't seen the show and tell sense around 2012. I didn't know it was still going on. This is super nostalgic
Thank you! Would it be possible to pop in? I'm currently printing and painting a 3d model of Ariel scalled to 300%
bespoke brick ordering ๐
timers ๐ฅ ๐ฅ sweatshirt ๐ฅ ๐ฅ
my bad i was looking for the link for the keyboard mod
"ah yes the bouquet of this filament... I'm detecting ABS... with a hint of orange dye... Prusament 2019?"
Dealing with resin vats and fixing them are a huge pain, I feel for you
Here is the link to my keyboard firmware: https://github.com/bgould/keyboard-firmware ... Happy New Year everyone!
Great work everyone. Thanks for sharing.
Thanks all, great projects
thanks everyone
Thanks everyone, great to see folks!
Great projects everyone!
Thank you all for sharing with us
Awesome projects ๐ that was fun
Joe you can purchase custom heating elements from a company out of Hawaii. So if there's an older legacy 3D printer that no longer has the exact pad they can make one for you if you provide them specs.
Early question for AaE @open girder Have you seen the MicroPython web library/framework from the creator of Flask Miguel Grinberg?
https://microdot.readthedocs.io/en/latest/
What would it take to run on CircuitPython? thank you.
They're called JSR and it's how I intend to extend my Ender 3 S1 Pro bed to be much longer. A longer bed isn't much good without a heating element to heat the entire bed right? Well there are companies out there who will make them. Yes they'll do individual custom orders. https://www.jsr2.com/product-category/rectangular-heaters/
WE ARE LIVE! ASK AN ENGINEER! https://youtu.be/mkWPgJ-WvWc
ASK AN ENGINEER 1/3/2024 LIVE!
Visit the Adafruit shop online - http://www.adafruit.com
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com/
------------------------------------...
looks neat. CircuitPython needs a way to pass in an object that is used to construct sockets (we call it a "socketpool" and this is our way of allowing different implementations of the socket layer). Otherwise, once you have a socket object we try to act like a subset of CPython sockets. So the amount of adaptation would hopefully be minor but it's hard to be sure until you got into the weeds actually doing it.
Happy New Year b**ches lol. I literally cannot say that here because dynobot. It's nice to stream whatever you want to say. ๐
TPSBOOST? Finally something to help me with my TPS reports!
Came in late for show & tell. Some great projects. Congrats on the key caps Jepler! Can't beat the resolution that resin offers but it's messy. Didn't know you had to make a hole like that.
Good evening and Happy New Year.
10% discount code, code is: tpsboost http://www.adafruit.com ends at midnight NYC time
Adafruit Industries, Unique & fun DIY electronics and kits : - Tools Gift Certificates Arduino Cables Sensors LEDs Books Breakout Boards Power EL Wire/Tape/Panel Components & Parts LCDs & Displays Wearables Prototyping Raspberry Pi Wireless Young Engineers 3D printing NeoPixels Kits & Projects Robotics & CNC Accessories Cosplay/Costuming Hallow...
though now that I look and see it's using asyncio, the answer is more work than I originally imagined. we have not done a whole lot of async+socket work yet.
@gritty apex what is the web version link
sans being a time traveler if you want to watch all the ask an engineer episodes there is a youtube playlist for it. ๐
Currently seems as if TechCrunch is doing something called Disrupt.
Yes!!! it is OPEN SOURCE HARDWARE
AdaVegetable ? ๐
Wait, why are you thinking you are gonna sell hardware exclusively that is OPEN SOURCE
and the usual false reasoning on counterfeit applies: people who buy clones and/or counterfeit would probably not buy the original because they don't have the money for that.
Aidafroot?
just like the kid with 5000 films on his hdd would never have the money (and the time to watch)
If it says Arduino sure. But if it does not, then it is FINE. Its OPEN SOURCE right?
I saw Phil and Limor on the "Weird Weapons" episode of The Unbelievable with Dan Acroyd. Lady Ada was shooting Phil with the LED puke gun she made.
some clones I buy to make stuff directly instead of doing my own board based on the design, but wouldn't use a real one because I can't afford it for just this.
@gritty apex what is the web version link for the keyboard firmware?
How can you release the design as open source then say those that MAKE those boards, are counterfeit?
Tuskegee Airmen: "Are you to be an American only when the mood suits you". Arudino, are you only to be an open source hardware company when the mood suits you?
Thanks adafruit for showing that "this is the way"... I'm now teaching someone to design pcbs and one of the first lessons is to make everything open source and how the community makes you stronger.
As my mind is on Lego, there are many clone Lego sets (of official licensed sets) for sale, easily. Lego is a much larger company then almost all these other companies and they cannot stop it. Making it "closed" will not stop it.
I made my Atmel 328P breadboard Arduino from tutorial by Tom Igoe. Co-founder
Like the clones of the IBM PC
@gritty apex what is the web version link for the keyboard firmware?
24 minutes in, the obligatory Youtube ad interruption.
by the way the use of the adafruit feather logo i posted recently on Mastodon will not be distributed. that image will only solely run on my personal device.
Yes, I just can't with youtube. I almost always use yt-dlp to watch things, but of course it doesn't work on live stuff.
It's only lost revenue if the only purpose of making the IDE free (as in beer) was to sell hardware.
The remapping program (which I didn't write) is here - https://vial.rocks/ - documentation: https://get.vial.today/
Vial is an open-source cross-platform (Windows, Linux and Mac) GUI and a QMK fork for configuring your keyboard in real time.
Why do you lament YouTube making a buck? Or are you paying for YouTube?
we broadcast on all the places that allow it, facebook, twitter, linkedin, instagram, twitch, youtube, etc
If they run the ads over dialog it's really annoying.
umm because most of the time you get like 2 minutes of commericials for every 5 minutes of content. it's no better than 1990's popup ads.
some force ads, some do not
@sand lotus Not me. maybe 30 seconds.
some regions for youtube play ads as well, some don't
And you can IIRC pay to get rid of them
yah, there are tools and pay-for ways too!
Why assume that HUGE infrastructure is free?
yep, if you subscribe to Youtube Premium, no ads. and the creators get a cut of your subscription fee. So I just subscribe now since I watch so much youtube ahaha
I've started to get ads during live broadcasts. even had one here already
Other companies blaming open source hardware should consider if they have done enough to build a community. If they don't put in the work, they won't be successful, no matter what their licensing model is
like twitch the turbo cost is didfferent based on how many ads is in that region
Have to take my mom to the hospital again. Have a good week everyone.
Between the live shows, learn guides, etc ... I wouldn't buy counterfeit Adafruit products because I want Adafruit to keep succeeding
yah, conflating open-source hardware with "counterfeits" and then blaming open-source seems to be a trend sometimes (it's not true either)
@open girder That's insane... It like they didn't think anyone would take them seriously! ๐
"Oh wait! WHAT! You are making our open source boards???!!!"
maaan that was a lot of projects
We never meant for you to actually MAKE THEM! We were just trying to be cool
that's inspiring me to get something done this year ๐
PIC as in the microcontroller?
There must be folks that still swear by PICs I suppose. I never got into them.
once avr-gcc came out, I unloaded all PIC knowledge from my brain and loaded up AVR
I only came on the scene once avr-gcc was well established
and anybody could wire up a parport adapter, we all had DB-25 connectors. Heck, for about the next decade we had DB-25 connectors on our laptops too.
ahah totally
oh it has a "blinking purple" feature. added to cart ๐
curse "legacy free"
they know how to get us
I'm going to need a smaller soldering iron.
NeoPixels FOR ANTS?!
NeoPixel Addressable 1111 LEDs (1.1mm x 1.1mm) - 50 Strip - SK6805-EC10 https://www.adafruit.com/product/5849
@open girder can I use that USB mux to switch one device between two hosts ?
USB switcher ... you read my mind
Adafruit TS3USB30 1 to 2 USB Switch https://www.adafruit.com/product/5871
Question: can we PWM that S pin to rapidly switch between USB devices? ๐ซ
the vibrating USB hub
Question @open girder Is there a robot kit you would recommend for a kid 8/9 age range.
(I may owe him a better robot after one I got did not work well)
"you can have up to five fingers at the same time"
QUESTION: On the USB swich, what are the Host pads for?
10% discount code, code is: tpsboost http://www.adafruit.com ends at midnight NYC time
Adafruit Industries, Unique & fun DIY electronics and kits : - Tools Gift Certificates Arduino Cables Sensors LEDs Books Breakout Boards Power EL Wire/Tape/Panel Components & Parts LCDs & Displays Wearables Prototyping Raspberry Pi Wireless Young Engineers 3D printing NeoPixels Kits & Projects Robotics & CNC Accessories Cosplay/Costuming Hallow...
Distributors & Hackerspaces https://www.adafruit.com/distributors
Adafruit Industries, Unique & fun DIY electronics and kits : Hacker Spaces/Distributors Map - Tools Gift Certificates Arduino Cables Sensors LEDs Books Breakout Boards Power EL Wire/Tape/Panel Components & Parts LCDs & Displays Wearables Prototyping Raspberry Pi Wireless Young Engineers 3D printing NeoPixels Kits & Projects Robotics & CNC Access...
Thanks for the show!
thanks!
Thanks @open girder and good night. ๐
goodnight all!
Thanks for the robot answer!
Thanks Limor, thanks pt!
Thanks @open girder Have a great night/week/year all!
Happy New Year!
I wonder how hard it would be to turn a bunch of those 1111 neopixels into neo-nOOds
missed it yesterday by an hour but excited for the next one!
anyone home? ๐
good afternoon
Good afternoon.
๐
๐ From Los Angeles
๐ธ๐ช ๐
Hej hej @clever summit
@clever summit Cold yet?
Good afternoon
hello all!
โฆ near Lars Angeles?
eek
let the learning begin
@inner spade don't know. I am in Redondo
Freezing!
about 18C here
-22C here
Hi JP happy new year
@shell mason WHAT?
northern its more colder
Norrland is like -45C now
5c here (UK)
I hear: break everything! got it. brb
finland coldest spot have being Enontekรถ Airport with -43.5C
the latest on there -43.6C the condensation point -47.4C
wait what? omg
i am in southeastern finland
-40 is same in Celsius and Fahrenheit
I'm quite certain I'm not ๐คฃ
apologies, tab-complete failure on my part ๐
I might have read that was a standardisation moment when it became an SI unit, converted to centigrade from celcius (or was it other way).
@cinder wind You're welcome to visit me anytime in Minneapolis in January or February to experience cold. ๐
๐ฅถ
there have being some doing daily tourism visit in Lapland
Interestingly, centigrade is an old fashioned name for Celsius. The freezing point of water for Celsius is 0ยฐC, whereas the boiling point of water is 100ยฐC. The abbreviate of Celsius is to ยฐC. This temperature scale was invented and named after Swedish scientist Anders Celsius (1701-1744) in 1742
Centigrade is only used by Tardigrades
Centi just means 1/10 so.
On the -22C talk, just to add if you haven't seen windy.com before then the temperature layer looks good today https://www.windy.com/-Temperature-temp?temp,53.956,-17.578,3,i:pressure
Having native string parsing in CircuitPython is so nice after trying to do similar stuff in Arduino
That was a nice parsec example, the timed count of words was quick but slow enough to follow
if you wanna know as on tuesday jp said visited to kiruna https://weather.com/weather/today/l/SWXX0119:1:SW
Todayโs and tonightโs Kiruna, Norrbotten, Sweden weather forecast, weather conditions and Doppler radar from The Weather Channel and Weather.com
jonny your market electricity is much cheaper than finland for tomorrow
Ptobably not down in the south where I live. We have 4 price zones.
Whoooo. 5 times our price.
ah yeah CRT sync. we really don't have to worry about genlocking all the monitors now when filming like we used to
nice! it's like a page of code, very cool https://learn.adafruit.com/adafruit-memento-camera-board/basic-camera#download-the-project-bundle-3162327
Question: does the CHEESE button actually cause the Memento board to emit cheese? and if so, what kind
Brie.
Planning on playing with green screen photos using the PaletteFilter library and the LEDs.
looks very Blair Witch Project
Thanks @haughty quiver
Thanks!
Thanks JP!
thanks JP!
Thanks JP
thanks much!
?showtimes
Desk of Ladyada - Sunday Evening
JP's Product Pick of the Week - 4pm ET Tuesdays
3D Hangouts - 11am ET Wednesdays
Show & Tell - 7:30pm ET Wednesdays
Ask an Engineer - 8pm ET Wednesdays
John Park's Workshop - 4pm ET Thursdays
Deep Dive w/ Foamyguy - 5pm ET Fridays
FoamyGuy's CircuitPython Stream - 11am ET Saturdays
@solid juniper I'm going to take a look at and try out what you have so far for ConnectionManager / Requests later today during the deep dive stream. If you're around during it or able to catch the VOD it'll be a chance to get some more verbose and "off the cuff" feedback and ideas than I would typically be able to write out as comments if you're interested in that.
Awesome! That's 2pm for me and I can catch up to the first 45 minutes live
๐
๐
Hi from Los Angeles
Hello
๐
That seems unusual
this is a timely project - i've been working on my own helper lib to unify how my projects handle wifi items
hold on to your keyboards! he's doing it live!
Visit the Adafruit shop online - http://www.adafruit.com
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com/
DEEP DIVE W/ TIM LIVE 1/5/24 Checking Out ConnectionManager
You are there
Now only the one with the submarine is showing up, other is gone now.
youtube just dropped, waiting to refresh to get the live list
This works https://www.youtube.com/watch?v=oY_fzNfis0s
Visit the Adafruit shop online - http://www.adafruit.com
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com/
ok
nothing like seeing a typo your pull request on a live deep-dive...
At least it was the correct repo!
Interesting, does this lib allow having more than 1-2 open connections? Am I understanding it correctly?
Tried looking up your recent changes to soft keyboard but couldn't find the JSON file that I believe will accompany it. I'm still on the original version that uses like 50 labels.
the QTPy ESP32-S3 is an awesome board to work on networking code
So it will be a step towards having multiple connections open (based on the max amount of sockets)
the number of sockets is limited by a lower level of the abstraction
Devs were talking about raising the amount of sockets recently.
Ok, thank you all for clarifying. Higher number of sockets would be useful in HTTPServer, especially when using SSE or Websockets
yea, I thought about trying to run an HTTPServer on one of these, but unless the use case was a lot of short lived requests, you are going to quickly be limited by the hardware socket limit
and good grief if one of the clients hangs on to the connection for any length - now your 1 out of 4 sockets down
yeah, the Websocket response keeps the socket open and currently only one at the time is allowed on most devices
Thank you, no rush. I'm dealing with some personal issues, nice to watch you code again. Giving me a sense of normality for a little bit.
I would only consider using it as a proxy type setup where the payload then redirects you to a larger more larger resources
I'd be more worried about channel overlap and interference. You can only but so many before you saturate a band.
You would still need a RPi or something else with nginx
yea, running nginx with each node being marked as having a high water limit of 2 connections...
This is on my list (I have local code) to fix
no - i didn't change examples yet ๐ฆ
hmmm ... a LoRA swarm that is driven by a nginx proxy node
I wanted to make sure the core was approved first
If and when you are ready to merge it to ConnectionManager, I would be happy to update HTTPServer to use that
Oh I thought you were talking about making a cluster server with ESP32-S3's... that would be neat but still wouldn't outperform 1 Raspberry Pi or a small Intel NUC.
Just read in the Adafruit Daily that micropython just added TLS support for client and server.
someone needs to update their stubs ๐
yea, non-performant middle layers will crash and burn with bad headers
I'm sensing some board stub bias ๐ I hope that project of yours is going well too.
otherwise the connection manager is behind the scenes
it does
look at the requests PR
I think 1 stub with all board swould work because PC's are powerful enough for it not to matter. Would be up to the team to figure out the best way implement. I imagine github actions will involved somehow eventually.
count me in on helping with the board stub work - having some way to get pin labels for a broad range of boards is my current pain
i am so on board for that change
@smoky island don't forget to set the right pins
๐
๐
settings_not.toml....
the ESP32SPI doesn't remember connections, so doesn't connect when you power it on
a board with wifi will auto connect to the last AP
Always cool watching him code. Like me... a pinch here, a paste there... ๐
as long as you haven't changed the credentials in settings.toml yes
requests._not.py....
Didn't know that. Thought root dir files would only override /lib. That's really really good to know for library contributors.
it was trying to run a submodule "py" under the root module
The types are all from the original code I'm requests
Justin did you eventually go with link_status for wiznet?
Still waiting to get my board
ah
yeah evetually anything that uses sockets including wiznet will all have the same connection method. could completely unify all learn guides and internet simpletests.
this is going to make 9.x much easier to use for the beginner for copy/paste examples. this has been a long time coming.
For mini MQTT, you can set it the same way you do requests
Because you have both pool and context
tox is the tool to run your tests across many versions of python
it manages the installation of the different target versions for you and then injects your code into those environments
yes, similar to pytest runner with the joy of multiple distinct python versions
For minimqtt, start with a sample for a board with wifi
Then use the helpers for the esp32spi
Clearly, I need to add a mqtt sample to the PR
catcident? ๐
cat realizing that his focus was elsewhere...
subscribe and unsubscribe with on_message being used with subscribe mostly
most people I've talked with say that you don't need to manually disconnect after each session but I do because i'm only using it once per 15 minute intervals.
will always need a way to specify the physical pins too. not all projects will use the exact pins (unless it's a built-in display). For example if someone does a quad feather stack the amount of pins left to use will be only a few available pins.
saying that with esp32spi or wifi you still have to specify the physical pins. so a connection manager would need to have a way to also change those pins.
there is fakerequests library though i've never used it.
oh that's nice. seems like it should be called requests_cache then?
i thought it was for faking callbacks. so you could specify the return data and test with that instead of hammering an API server while iterating through your script tests.
doing a stream on using fakerequests would be nice, then we'd all know what it does.
guess i could just look up the docs but i'm lazy right now.
djdevon so sandboxing could come to play then?
Perhaps, might be another way of using fakerequests... dunno never used it.
spelling errors happen to everyone, don't worry about it. Unexpected Maker shipped a board that has code comments where he spelled "fro" instead of "for". That's a funny one.
It would have been funnier if it was in a "fro i in range()" ๐
Well done Justin! ๐ Congrats on a great PR.
forcing all the headers to lower... is that changing the data in a way the caller may not be expecting?
curly brackets makes it seem like a json list. that's neat.
though there's no key:value pairs... more like an array.
Header names are case insensitive, so it shouldn't
yes pretty sure it was someone trying to use spotify. it's a nightmare to work with because the TTL for the token is like 1 hour.
yes the spec says they are supposed to be case insensitive, but the parts of any system that are consuming the results down stream
oh - it's NOT forcing them to lower?
github, youtube, twitter, discord, or mastodon are all a breeze compared to spotify.
ok, apologies for misreading the context
Nope, just making a unique list, so it doesn't send them twice
Well, adafruit_httpserver allows that ๐
python's HTTPServer can do it I thought?
i think adafruit has http requests, and the raw request could be printed as it's sent out? or perhaps use http_server and check it that way?
yes, requests allows you to view the raw data for a request
my guess it would have something to do with receive_into?
Request._raw_request or something like that
you just want the equivalent of httpbin.org/get or /anything - it's not formatted in RAW format but json
use requests.prepare
You could use the circuit python server and add print statements...
yea, my service code is full of logging.debug() calls that dump raw headers in both directions
if you're using it with an api then sometimes (depending on the api) you can check the request with browser developer like firebug. that's assuming they don't strip out a duplicate header.
sounds like a good use of a microcontroller that echos debug data to a logging endpoint
i have being looking more deeper to this stuff https://github.com/WebAssembly/WASI/tree/main/preview2
That would be very cool
with it webassembly inteface types and component model now
absolutely, i've only used httpserver once and that like 2 years ago. a tutorial with all the changes made recently would be excellent. heck yes that's a great stream.
Red light = post, green light = get...
If it is not urgent, maybe I would be able to help with that to be honest
As an experiential learner, I would be interested in such a video tutorial. It's not an area that I've explored yet.
most of my scripts have a debug boolean one of which is the full api url that gets posted
print("Full API GET URL: ", DATA_SOURCE, HEADERS)
Sure thing
something as simple as that will tell you the full url you're requesting/posting.
I know it is something completely different, but can I ask you FoamyGuy (kind of "Q&A part" of Deep Dive) whether you ever tried connecting MatrixPortal to a LED panel with 32+ rows? I recently got mine but I cannot initialize the RGBMatrix as it only seems to allow 16/32 rows. I have a 80x40 and 110x55 panels, I know very unusual size.
as all the http things got perhaps get it like pi or something https://bytecodealliance.org/articles/webassembly-the-updated-roadmap-for-developers if you wannna read
Thanks for the dive @smoky island .
thanks foamguy
Thank you for the great stream, have a good weekend.
Thanks!
If I am correct you used multiple 64x32 displays and daisy chained them, I am talking about a singular panel with the size of 80x40, which has more rows tahn 32 what is important
djdevon3 i was thinking of this all webassembly evolving outside of the browser and standardization might be like sandbox
with it HTTP-proxy stuff
I'm not sure if the library will work with anything other than 64x32 or 64x64 panels.
you would have to look into the rgbmatrix built in library.
Thats unfortunate, I was able to obtain like 20+ of these panels...
luckily for free
Could maybe find a willing person to take some panels and get working on the support ๐
Here's the built in rgbmatrix shared-module https://github.com/adafruit/circuitpython/tree/main/shared-module/rgbmatrix
Does your 80x40 panel use a standard hub75 connector?
Yes, I was able to display colors correctly, but the pixel alignment and position is all over the place
Create a RGBMatrix object with the given attributes. The height of the display is determined by the number of rgb and address pins and the number of tiles:
len(rgb_pins) // 3 * 2 ** len(address_pins) * abs(tile). With 6 RGB pins, 4 address lines, and a single matrix, the display will be 32 pixels tall. If the optional height parameter is specified and is not 0, it is checked against the calculated height. You cannot fool it into thinking the display is taller than the rgb and address pins will allow.
For a 64x32 matrix panel 6 / 3 * 2 * 4 * 2
The height variable isn't really used in the library as it can be calculated by using only the number of RGB pins, address pins, and tiles.
Well, the fact that I cannot set it to other values than 16/32/64 suggest that maybe the lib only support these sizes
Thank you
You could probably modify the library. drop rgbmatrix.py into the root directoy and override the built in one. That is something that FoamyGuy actually covered in his livestream today. ๐
my guess is this is why ```py
STATIC void preflight_pins_or_throw(uint8_t clock_pin, uint8_t *rgb_pins, uint8_t rgb_pin_count, bool allow_inefficient) {
if (rgb_pin_count <= 0 || rgb_pin_count % 6 != 0 || rgb_pin_count > 30) {
mp_raise_ValueError_varg(MP_ERROR_TEXT("The length of rgb_pins must be 6, 12, 18, 24, or 30"));
}
12 / 3 * 2 * 5 * 2 = 80 12 RGB pins and 5 address pins will give you 80 px wide. I don't think there are enough pins on a hub75 plug to accomplish this.
or 6/3 * 2 * 10 * 2 = 80 Can use the same 6 RGB pins but you'd need 10 address pins and they have to be sequential. I don't know of any board in Adafruit's arsenal that will do 10 sequential GPIO.
Also most Hub75 plugs cannot accomodate more than 5 address pins. Either way just not enough pins.
This isn't an area I'm strong in, but could you use the MCP23017 GPIO expander?
MCP23017 cannot do PWM. It's digital on/off. I think hub75 requires direct blitting with framebufferio.
Ahhh
It could work if you only intend to use 1 color
and the pixel would be full brightness or off.
Would the grand Central work?
I did think about that, that would be the only possible board that might have a shot at it.
would have to look up the pcb schematic to see if there are 10 sequential gpio from the chip.
How would you know?
Might be possible.
Cool. I looked at pins.c and saw the same thing
and the M4 chip should be able to drive them in the same way a Matrix Portal M4 would in terms of speed.
problem is does the 80x40 matrix panel have 2 hub75 connectors for top/bottom on each side. That would be a requirement otherwise not enough pins with only 1 hub75 connector.
It also has more flash and ram
@smoky island thanks for stream earlier, just had a quick play and this works actually which surprised me as they are auto-concatenated, but I wondered if that's curl or server based so pulled out wireshark (should be server IMHO but come across situations in the past requiring our client to be Proper Case sensitive and only the last copy of any duplicate headers were used - so any repeated headers converted to comma concatenated values in a single header before sending the request.):
curl -X GET "http://httpbin.org/anything" -H "accept: application/json" -H "accept: text/plain" -H "user-agent: tyeth v1" -H "User-Agent: text2" also the help page / API explorer shows the other api endpoints https://httpbin.org/#/Anything/get_anything
Do I need to follow up my pull request with anything? Seems strange to concatenate (been building web servers for 20 years and haven't seen this happen). I would assume things like content type shouldn't, but could also make sure the values are different (since the bug was when sending the same thing twice)
no opinions here, or at least not at 2am ๐ Just saw a lot of issues and small bugs writing with c# and web server related shenanigans, mostly servers the last few years, but also before when trying to make a few downloader and other web client related things. I guess there are just too many flavours of server and client out there, the spec always felt like more of a recommendation to some of the big players (which is why Internet Explorer quirks had to be supported for years)
I know specifically that spotify fails when you send it the same header twice...
depends on what a server backend will accept. some might force to lowercase, or require camelcase, etc..
I can totally try if I send it concatenated...
Since in CPython, you send a dict, I feel this is safe
i like your idea of looking for a repeated header. if header1 = header2 ignore.
Also, that must put you somewhere near the UK if it's 2am...
A lot I saw just took the last one, easier on the server code because you just always update each value going down the list in order. The issue we saw related to that was some browser situations don't guarantee order of duplicate fields (was it multi-file or just when reusing name attribute).
yep, south west UK
we're past broadcast chat now though, let's take this to a different channel. probably circuit python since that's the language we're talking about.
One last comment, since the PR doesn't automatically add it if it's already there, it's basically taking the last...
I'm getting started now for the morning. Looking into some core displayio issues and a few other things. You can follow along on twtich: https://www.twitch.tv/foamyguy_twitch or YT: https://www.youtube.com/watch?v=jEFY5dBeVA8
๐ธ๐ช ๐
@sand lotus the current working version of soft keyboard is pushed into github now here: https://github.com/FoamyGuy/CircuitPython_SoftKeyboard
Hello! โ
Current project is stressing displayio with a plot of 300 Line objects. Itโs a synthio wave table visualizer. Getting some weird errors when the group (or total objects in multiple groups) contains over 600 objects. Still working to characterize the issue.
This is when itโs working.
Thereโs a bunch of big ulab arrays in memory, too.
Displayio shapes.
Was going to move to the pixel plot approach after troubleshooting this approach. Thanks for the suggestion.
Ah yes. Bitmap tools line to the rescue!
The error is that the object color changes, but it still plots correctly position-wise.
Like a memory management overlap.
No pallets with display shapes.
But Iโm having fun with this. Thanks for the additional ideas.
Thatโs a harmonica wave sample, BTW. Built from six synthio sine wave oscillators.
Yes, 2.4โ TFT wing with UM FeatherS2 under the hood.
Morning all!
I have a Metro M7 with the 2.8" TFT touchscreen.
Memory is pretty tight on the M7.
500 MHz, with SD card.
Doesn't look good: disconnect/connect loop.
Thanks for todayโs stream. Appreciate the insights you shared for the displayio issues Iโm seeing.
Thanks, see you around!
@smoky island was able to watch your stream just now. Thank you for the update will look into integrating it. ๐
On 8.2.9 The border issue also happens on matrix panels. Used an M4 express (as an experiment) and it was showing the first column of pixels as the last. When I switched back to using the Matrix Portal S3 that issue was gone except the entire display is now shifted 1 pixel to the left.
The text in the top right should be at display.width yet there is a 1px space on the last column which shouldn't happen. It's not exclusive to TFT's.
Because I'm on 8.2.9 I have no idea if this has been addressed in 9.x alphas yet. I was running the alpha but reverted to 8.2.9 to help someone with a project.
hay @open girder you should get this displays https://www.adafruit.com/product/938 and https://www.adafruit.com/product/4440 in different color active pixels instead of just selling the white pixel ones. there's blue, red, green, yellow, and white just to name a feu.
These displays are small, only about 1.3" diagonal, but very readable due to the high contrast of an OLED display. This display is made of 128x64 individual white OLED pixels, each one ...
These displays are small, only about 1" diagonal, but very readable due to the high contrast of an OLED display. This display is made of 128x32 individual white OLED pixels, each one is ...
@tulip kestrel will send to the team to review, thanks!
WE ARE LIVE! Desk of Ladyada - Final Revision Push, 600 and beyond https://youtu.be/USnrJEMbDpg
Finishing a 16-month revision push for designs like CLUE and Feather Sense boards, popular for Bluetooth LE and sensors. Despite chip shortages, new prototypes are underway, including a Feather Sense TFT board. A search for LSM6DS33 replacements due to IMU shortages in 2021/2022 is ongoing, aiming to restock sensor-rich designs.
Good evening.
๐
so what meadow foundation what ladyada mentioned https://store.wildernesslabs.co/collections/frontpage/products/meadow-f7-feather
Our second iteration ofย theย Meadow F7 board, and packing a number of upgrades, including:ย 64MB of Flashย โ This is an upgrade from 32MB in v1. Upgraded Antennaย โ Givesย 10x better performance. Fully SMT-Compatibleย โ The F7v2 has hybrid, castellated-header/IO mounts that allow for use as both a through-hole (PTH) device,
Thanks and good night. ๐
๐
hello!
Good afternoon.
hello all
good afternoon all
today's discount is dizzying! ๐
Hi All ๐
hi John
Heya
Hello Hello
Hi John
very nice
would the 5752 fit in the 5073 Four Key Silver Aluminum Keypad Shell Enclosure?
Can't deny, I wanted these, partly an excuse to use up the 30 encoders I got a while ago, but mostly easy user configuration of multiple values. Just need to source some transparent rotary encoders too... and quite a few of them
Thanks @haughty quiver
ooh those purple knobs are nice, thanks JP
thanks very much all!
Thanks John, Would like to have known if the case would work. Mama keeping me on a short budget this year.
@ivory flax you should be able to get pretty close to an answer based on the dimensions listed on both product pages, but if i find mine I'll give it a try
Thanks man. You are the bee's knees. Have a super week.
If only the encoders had been discounted as well, I would probably have bought a dozen.... But I don't have a use right away...
โ๏ธ๐๐ฝ
3DHangouts Episode 426 LIVE! Memento Case, NeoPixel Fidget and Mushroom Shelves https://www.youtube.com/adafruit/live Today's coupon code โmementoโ gets you 10% off your order!
This week @adafruit weโre making a snap fit enclosure for the Memento. Prototyping a fidget toy using a NeoPixel ring, ANO rotary encoder and a Feather RP204...

Hello all. Happy New Year!
good moning folks!
Hey Y'll
Hi All! Happy New Year!
Only took 45 min to print
whoa love that color
A1 mini. Its been working good out of box
good morning
The comgrow t500 has been printing well too. 500x500 bed
Its esun pla+ light blue
Hello, all ๐
A video magic 8 ball would be cool
I like this one A LOT better than the one I whipped up in Tinkercad.
Wallace and Gromit - home edition. ๐
the MEMENTO photos look pretty good, kinda like the ones with light bleed/leak. dont get that on iPhone cams anymore ๐
would be cool to have it spin the light around based on angular speed
with a nice alpha faded tail
did you cut the acrylic diffuser yourself?
I love the black LED acrylic, I use it in tons of stuff
but I don't have a laser cutter so I have to order cuts
those would be cool for a nice little waterfall / fountain
with some nice color-changing neopixels lighting it up
Neat.
Hi
bath bomb mold would be awesome
Great show, thanks!
yes, heres the ingredients https://learn.adafruit.com/3d-printed-d20-molds
Thanks, @hard hollow and @rocky reef ๐
Very Happy to see you back. Thank you for taking time for us.
Thanks!
thanks folks! cya tonight
thanks so much for haning out folks!
Thanks for the show
Hi JP! Missed the PPOFW. But I need 3000 count encoders for my project. ๐
Hey Y'll
good evening!
Hey all ๐
๐
good evening
Good evening everyone.
Good evening
Good <WHATEVER TIME IT IS THERE>