#live-broadcast-chat

1 messages ยท Page 36 of 1

gray obsidian
#

Aw, Retrowave vibe!

cinder wind
#

I find I only need 2 Amps of power once. Then everything gets hot and sparks and current draw goes to zero

sand lotus
#

I only use my powerboost 1000 for recharging the adafruit 10,000 mah batteries otherwise they can take DAYS to recharge at lower rates (while in use using pass-through charging).

dim wigeon
cinder wind
#

Everything is an incandescent light if you give it enough power

sand lotus
#

yup, that big 3-cell pack is what i use to keep most of my little projects powered during a hurricane.

paper agate
#

@dim wigeon That's when that aroma is release?

A

dim wigeon
paper agate
#

I've experienced that.

sand lotus
#

๐Ÿ†•

cinder wind
#

oh yeah that's a cool hat breakout board

gray obsidian
#

what's the refresh rate like on these tri-color eink nowadays btw?

dim wigeon
# paper agate I've experienced that.

When I was in 3rd grade, I plugged a 3VDC incandescent light bulb into a 110V outlet during science class. I learned a lot about inrush current and thermal runaway and how circuit breakers operate, half the school lost power for 20 minutes, and my teacher was picking shards of broken glass out of the ceiling for several days.

dim knot
sand lotus
#

What a cute tiny hat.

dim knot
paper agate
#

@dim wigeon I'll have say I can't top that.

dim wigeon
sand lotus
#

Is IRQ the same as an interrupt and it's just easier to silkscreen that?

dim wigeon
sand lotus
#

๐Ÿ˜… oh... right. oops.

modern night
#

Those grids are amazing, I can't wait to replace my project stands with those

dim knot
#

Adafruit Swirly Aluminum Mounting Grid for 0.1" Spaced PCBs - 2x10 https://www.adafruit.com/product/5780

Adafruit Swirly Aluminum Mounting Grid for 0.1" Spaced PCBs - 5x5 https://www.adafruit.com/product/5779

Adafruit Swirly Aluminum Mounting Grid for 0.1" Spaced PCBs - 10x10 https://www.adafruit.com/product/5781

dim wigeon
#

What does the โ€œ4โ€ in FR-4 denote? Wikipedia says there are other grades of FR-* circuit board, but doesnโ€™t explain what the 4 specifically means.

dim knot
sand lotus
dim knot
#

The 4 is one better then FR-3 (sorry, couldn't help myself) - 220, 221, what ever it takes.

slow spire
#

Yay! Newwwww

sand lotus
#

Very nice Melissa, thank you for the backend work.

modern night
gray obsidian
#

So tomorrow I need to build a 15kHz VGA tester with an Arduino to test the LCDs we have at the fablabโ€ฆ seems it's just some wiring and code ๐Ÿ™‚

slow spire
#

Cool module

sand lotus
#

that's for the sonic sensor stuff, very nice.

proven crow
#

Q: I want to take my skills to the next level, but I'm too young to go to EE school. Are there any supplementary resources on circuit theory that you could recommend?

sand lotus
#

That metro S3 looks like a dev board... do want. I have so many projects already.

noble grove
#

QUESTION: Can the UBlock do centimeter accurate altitude?

sand lotus
#

oh no they skinned teddy

slow spire
sand lotus
#

A black bear teddy ruxpin sounds neat. immerse in black dye for a goth ruxpin?

gray obsidian
#

It's like two people trying to drive the same car ๐Ÿ˜„

sand lotus
#

Already over 300 revisions already, not stopping now.

dim wigeon
#

Iโ€™m curious now what behavior the person who stacked two feather MCUs on top of one another was expecting from them. ๐Ÿค”

sand lotus
gray obsidian
#

Cooking at 3am and watching @proper trench โ€ฆ totally normal ๐Ÿ™‚

sand lotus
#

and you will be taken down rabbit holes you never knew existed when you start building things.

dim wigeon
#

I really appreciate the advice about learning theory. I was trying to read TAoE during the pandemic, and now I understand better what that was such a struggle! It makes a lot more sense as a reference book!

slow spire
#

@proven crow PTโ€™s advice is great; start with a project idea. And come back here with any questions at all; weโ€™re all beginners at something.

verbal river
#

I think 400 is germanium.

proven crow
marsh hull
#

400 is definitely calfskin wallet anniversary

dim wigeon
gray obsidian
#

Yeah, and look for a fablab / hackerspace around you, they're usually very welcoming and helpful. There are maps online for them.

sand lotus
gray obsidian
upbeat coral
#

Thank you for taking time for us.

viral sail
#

Thanks @open girder and good night. ๐ŸŒ’

slow spire
#

@proven crow Also, I like to visit learn.Adafruit.com for ideas and inspiration. Those projects are very well documented, and again, weโ€™re all here when you are scratching your head.

paper agate
#

Nice show! I always learn something. Thanks ๐Ÿ˜Š

waxen thistle
#

Thanks for another excellent evening of shows!

untold ingot
#

If you want to get into electronics you might want to consider getting into HAM radio

tulip canyon
#

Thanks @open girder Have a great night

gray obsidian
#

Thanks!

austere pollen
#

๐Ÿ‘‹

harsh pebble
#

Thanks, Adafruit!

verbal river
#

Bye

untold ingot
#

Bye

sand lotus
#

thank you for another great episode.

gray obsidian
#

n8

proven crow
brazen quail
#

Peace out.

proven crow
#

Bye all!

cinder wind
#

thanks @open girder !

open surge
#

good show, thank you

dim wigeon
#

Thanks for another great show, @open girder !

slow spire
#

@proven crow finally, if you havenโ€™t built something before, Iโ€™d suggest starting with a smaller project. One that lights up or makes something move will reward you with a sense of accomplishment quickly.

gray obsidian
#

make it blink! ๐Ÿ™‚

sand lotus
#

never underestimate the power of your first blink

harsh pebble
#

One of my favorite early projects was working with LCD character displays!

slow spire
#

@proven crow (My mistake when I was young was trying to start with a big first project. I never made progress and lost motivation.)

sand lotus
#

the LCD character displays have all new revisions now too.

proven crow
sand lotus
#

Also learning how to make your first PCB is highly rewarding.

#

I felt the same way after my first PCB as I did after my first blink. It's just another level of awesome.

slow spire
unreal bay
#

?showtimes-gmt

arctic abyssBOT
#

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

lavish patrol
#

Evening all.

haughty quiver
#

hi there!

lavish patrol
inner spade
#

๐Ÿ‘‹

spiral vale
#

show.... time

haughty quiver
#

time is a construct @spiral vale

cinder wind
#

Wait I thought time was a loop

spiral vale
#

time is an illlusion - lunchtime doubly so

#

old theme is back?

haughty quiver
#

lol no it isn't

#

Old theme is a construct

lavish patrol
#

Time is an illusion - lunchtime doubly so.

spiral vale
#

haha

lavish patrol
#

@spiral vale You beat me to it. ๐Ÿ˜„

spiral vale
#

into to the intro

drowsy inlet
#

hello all

spiral vale
#

๐Ÿ”ฅ

lavish patrol
#

AllTheChats...

pearl shoal
#

Howdy @haughty quiver!

cinder wind
#

always a coupon code, never a crouton code

lavish patrol
#

What happens of I try that coupon code in Ikea?

#

I asked Ikea, and thay told me their coupone code is "JohnParksWorkshop" ๐Ÿ˜ฎ

tiny grove
austere pollen
#

is there a coupoff code as well in case you want to pay more? ๐Ÿ˜

lavish patrol
#

Lol

austere pollen
#

Does that actually emulate a NES on an RP2040? ๐Ÿคฏ

clever summit
#

๐Ÿ‡ธ๐Ÿ‡ช ๐Ÿ‘‹

lavish patrol
#

@austere pollen The coupoff code is for when you don't like croutons.

austere pollen
#

๐Ÿ˜‚

lavish patrol
#

@clever summit Good evening.

austere pollen
#

๐Ÿคฏ ๐Ÿคฏ C R A Z Y what people do with RP2040

clever summit
#

mop followed by an e

#

It is short for "moped".

cinder wind
#

given the last three years, I would pronounce it as "Mo' P.P.E.!"

tiny grove
#

Well assuming it has sufficient I/O and memory the RP2040 should be able to easily outperform the NES in terms of instruction throughput.

clever summit
#

Mop eh

lavish patrol
austere pollen
#

even more easier to use? How's that possible? ๐Ÿ˜

spiral vale
#

cp.pixels.phil()

clever summit
cinder wind
#

cp.pixels[7:9] = (255,0,255)

lavish patrol
#

Wrong bracket...

pearl shoal
#

Actually, can you assign the function? like cp.pixels.phil = cp.pixels.fill

#

๐Ÿ™‚

cinder wind
#

ctrl-d

#

ctrl-c

#

ctrl-f

#

ctrl-x

#

oh yeah I am wrong

pearl shoal
#

right hand side

#

Perhaps it needs RGBW?

untold cosmos
#

Aren't you providing 3 numbers with an index of 4 on the left?

#

Or did I misread that before?

#

4..8 (4,5,6,7)

pearl shoal
#

AH: it wants four colors on the right - one for each in the range

unreal bay
#

yeah wants same number of tuples as array elements

lavish patrol
#

Alpha?

unreal bay
#

maybe fill could be made to work with a slice

lavish patrol
#

White...

pearl shoal
#

You can use range() to do four of them I think...

spiral vale
#

you need to pass the duchie on the right hand side

cinder wind
austere pollen
#

oh these! I have like a dozen of them ๐Ÿ˜†

lavish patrol
#

Moped?

pearl shoal
#

@cinder wind - will that work? I think it combines them into one tuple

#

This is the Python obscura that I avoid

lavish patrol
#

ยฃ25 in my local Ikea... ๐Ÿค”

austere pollen
#

i wonder if you could use slim enough latching push buttons, so you could still store the finished music box drawer inside the moppe shelf ๐Ÿ˜†

pearl shoal
#

cp.pixels[3:8] = ((255,0,0),) * 5

#

Note the extra (stupid) comma

#

t = (1,2,3)
l = (t,) *4
print(l)

#

((1, 2, 3), (1, 2, 3), (1, 2, 3), (1, 2, 3))

#

Without the comma after the t it gives a single list with 12 elements

#

@haughty quiver if you did a Parsec on the * operator applied to tuples/lists/arrays it would be great!

cinder wind
pearl shoal
#

@haughty quiver - why Grasshopper instead of Fusion? What are the pros/cons?

lavish patrol
#

Yikes!

austere pollen
#

just use microsoft paint 3d ๐Ÿ˜

cinder wind
#

Plus Grasshopper in Rhino is a whole programming environment for dynamic parametric 3d modeling!

unreal bay
#

The Forums, has a post on SSL certificate update

cinder wind
#

sorry JP, my fault ๐Ÿ™‚

pearl shoal
#

Not quite

cinder wind
#

nope

#

I mean it probably works because neopixel is kind, but it's wrong ๐Ÿ™‚

drowsy inlet
#

for different colors will need to put in list or tuple, no?

sand lotus
#

Just plugging in. โค๏ธ to JP for making the Parsec snippets available now too.

open surge
#

We're going to start linking to the Github repo in the weekly newsletter too ๐Ÿ™‚

sand lotus
#

Screenshot to OCR sounds cool. Don't think Windows snipping tool does that.

austere pollen
#

exactly! ๐Ÿ˜†

lavish patrol
#

Great workshop, @haughty quiver.

sand lotus
#

transcribing it yourself is also a good way to write the code. one of those old chalk board repetition things that helps your brain.

viral sail
#

Thanks @haughty quiver . Have a great weekend everyone.

clever summit
#

And @haughty quiver will also train on saying "mop-eh" until next week. ๐Ÿ˜
(Yeah, you kinda got it already)

tulip canyon
#

Thanks JP, I look forward to progress on mod-moppe. Have a great week

inner spade
#

Thank you @haughty quiver !

lavish patrol
#

Bye. ๐Ÿ‘‹

open surge
#

thanks JP!

austere pollen
#

๐Ÿ‘‹

sand lotus
#

Thank you for another great episode.

cinder wind
#

thanks JP! aka MOJPPED

#

too bad it's not an "ISS certificate" that needed updating. that's when we learn adafruit.io is hosted in the most cloud of clouds: an orbital adafruit server array

haughty quiver
#

haha

unreal bay
#

@smoky island hoping for good weather tonight ๐ŸŒฌ๏ธ

brisk bone
#

Hello

inner spade
#

Good to see you again. ๐Ÿคž

unreal bay
#

+1 for wiznet, just got the 5500-evb-pico

#

there was a 5100 version too earlier. Both CPY supported

#

so much better than wifi, makes me think almost industrial grade stuff

strong acorn
#

5100, 5500, and 6100 all work about the same, just diffs in number of sockets and internal memory (5100 is the only one with a hat (to stick on a Pico W, for example ๐Ÿ™‚ ))

brazen chasm
#

Heya๐Ÿ‡ธ๐Ÿ‡ช

brisk bone
#

Be carefull with the token, it is like username+password

#

So I wouldn't show it on the stream

rapid hornet
#

I think that's right

#

it substitutes the value in const()

#

๐Ÿ‘‹

#

yay for daycare

unreal bay
#

doesnt the exception type change from timeout exception to connection down exception, potentially breaking, only 1/2 paying attention tho

sand lotus
#

Nice to see you streaming again. ๐Ÿคž

unreal bay
#

I'm getting dhcp timeout errors in arduino so attention piqued

#

You need a dhcp server code.py that fires bad packets or deliberately doesn't respond / waits excessively long before replying, i.e. a good test case

strong acorn
sand lotus
#

Oh with automatic timezone offset. Just 1 line of code, very simple. I might start using that.

#

We cant hear it, np.

#

NTP is required for wiznet?

strong acorn
#

wiznet ntp example just b/c the wiznet NTP feature was deprecated (in favor of adafruit_ntp)

sand lotus
#

Ah

unreal bay
#

isn't ntp required for ssl, to validate the certificate date, so I think maybe it's setup automatically on esp. Now I'm curious

strong acorn
#

espressif esp-idf does have features for getting the time behind the scenes, we don't expose it to CircuitPython

sand lotus
#

Yeah in some projects it might be required but not always. I was more asking if it was required for packet timing.

unreal bay
#

lets be honest, for home projects, turn off certificate validation

#

got you

sand lotus
#

You guys have certificates?

strong acorn
#

Let'sEncrypt is free, self-signed are options too

unreal bay
#

look at letsEncrypt. the industry decided free ssl for all, renew every 3months

sand lotus
#

I learned about terminal colors from JP. I think he did a parsec on it.

unreal bay
#

yeah CertBot for the win, I got lazy and use VirtualMin-GPL, auto renewals for letsencrypt, and setup new sub-servers in seconds.

sand lotus
#

Ive been using โœ… & โŒ for connection status in repl lately. Itโ€™s much easier to spot.

#

Having emoji support has proven to be more helpful than i originally thought.

#

That looks very useful. Didnt think of fomatting things like that.

unreal bay
#

you should see anecdata doing imports with emoji filenames (โš™๏ธ), throws the brain for a second

rapid hornet
#

yup, I think that should work

strong acorn
#

:p

sand lotus
#

Havenโ€™t seen that. Other than blinka icon before ip in repl.

rapid hornet
#

it won't necessarily show on the displayio terminal

sand lotus
#

Yeah i only use it for print debugging.

rapid hornet
#

I was looking into emoji font stuff. serenityos has 10x10 color emoji

sand lotus
#

When pulling down a lot of json data from an api a quick emoji can help.

rapid hornet
#

cozette (size varies) and unifont (16x16) have monochrome emoji

sand lotus
#

Monochrome emoji doesnโ€™t sound as fun.

dry shore
#

i recently added ANSI color codes to my usb debug, and it helps a lot, even with just 1 color implemented

sand lotus
#

But if it helps with language support might be an acceptable concession

dry shore
rapid hornet
dry shore
#
#define CSI "\x1b["
#define RED     CSI"31m"
#define DEFAULT CSI"39m"

printf(RED"foo\n"DEFAULT);

and then off to the races you go!

sand lotus
#

Interesting syntax.

dry shore
unreal bay
#

udp being stateless means you dont have a connection/receipt event and so you always listen, else miss messages. Is that about right scott/anyone?

strong acorn
#

"" or "0.0.0.0" I think just mean bind to all interfaces

sand lotus
#

Good stream. Quality stable. Oh will try to catch you tomorrow. I also snagged an s3 matrix portal.

inner spade
#

Thanks for the stream. Gotta go check some NTP time code.

unreal bay
#

Cheers all

smoky island
clever summit
#

Hey Tim!

#

Got my coffee ready as well. ๐Ÿ™‚

#

I have the Trinity board, it is an ESP32 based version of what you are playing with.

inner spade
#

โ˜•โœ…

clever summit
#

Might be time for me finally getting CP running on an ESP32.

#

Friend of mine in Ireland designed that and sold it on Tindie. But he closed his store, so only available from China now.

inner spade
#

Oh, this is exciting: looks like ulab is in the distribution for the MatrixPortal S3!

modern night
#

โ˜• Morning all, just popping in before I have to head out. Hope everyone's day is starting off well!

inner spade
#

That looked like a typical matrix portal power brownout crash

#

Thatโ€™s why I usually set the bit depth high and avoid saturated colors, particularly white.

#

(and why the palette_fader library was created)

#

With the S3โ€™s memory capacity, it may be time to revisit a built-in brightness control in matrixportal.matrix.

inner spade
#

The group boundary box will indeed be useful. Wondering if tile grids are in a list in the C code.

#

The display object type should already be considered in the C code, as well.

pastel bison
#

What time does the desk of lada ada start?

unreal bay
#

?is-it-secret-hacker-o-clock-yet

#

i think sadly it's random hacker times ๐Ÿ˜‰

sand lotus
#

Sunday Desk of Lady Ada is random usually from 8pm - midnight. just depends on personal factors whenever she wants to stream

pastel bison
#

ok thx

sand lotus
#

in US Eastern Time 8pm - Midnight. feel free to translate that into your favorite timezone or unix time whichever you prefer.

open girder
#

Desk of Ladyada - Flippy Floopy Floppy Flavor https://youtu.be/HrhH2Zm5Qo0

Floppies are trending again on the ada-desk this weekend, as we get back to making hardware for a firmware push we did about a year ago to create floppy interfacing code for both Arduino (https://github.com/adafruit/Adafruit_Floppy) and CircuitPython (https://github.com/adafruit/Adafruit_CircuitPython_floppy). A lot of that original code was goi...

โ–ถ Play video
gray obsidian
#

shugart interface \o/

sand lotus
#

"do you guys remember that huge scsi floppy connector"... i'd rather not.

#

i honestly still have a few molex to 1.44 floppy power adapter just in case

#

this PCB needs a bunny with big floppy ears or something. it's like an all in one "floppy all the things" boards.

#

that actually looks like a tough problem to solve combining all the different types

#

wait this is all a floppy to SD converter? that's brilliant.

#

Jepler is probably salivating looking at that ๐Ÿ™‚

#

would a 3A vs 2A mean it would be more efficient at lower voltages?

open girder
#

No, its mostly a cost issue, you tend to pay more for more current all other things being equal

sand lotus
#

learned a lot thank you.

austere pollen
#

?-showtimes-gmt

#

?showtimes-gmt

arctic abyssBOT
#

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

austere pollen
#

ah, the bot is not programmed using prolog

haughty quiver
#

that's just what the bot wants you to think

austere pollen
#

๐Ÿ™€

haughty quiver
#

๐Ÿ˜ฑ

shell mason
#

lars programmed it perhaps

haughty quiver
#

uh oh

sand lotus
#

?showtimes

arctic abyssBOT
#

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

sand lotus
#

GMT times are in military time and seem to be correct for GMT.

#

oof didn't realize show and tell and ask an engineer happen so late in London. that's definitely why we're not getting more participation from GMT and +GMT timezones.

#

good times for getting US West coast involved at a reasonable time, definitely US only friendly timeslots for the evening shows.

opaque hearth
#

Good 20 o'clock on a Tuesday! โ˜•

haughty quiver
#

hello!

viral sail
#

Good afternoon.

inner spade
#

Hello!

drowsy inlet
#

hello all

sand lotus
#

good afternoon

shadow epoch
#

Hello

split gazelle
#

good afternoon folks

unreal bay
#

Evening all, this ones a really good deal ๐Ÿ™‚

little onyx
#

I hear music. hello from the left coast

shadow epoch
#

:iced coffee:

#

chicken coop thermo == feels like 117 ... !

tacit garnet
#

In for 3. It's prop making season. Haunt season beckons

sand lotus
cinder wind
#

hehe

haughty quiver
#

hahahaha

#

nice quick work @sand lotus

cinder wind
#

wait how is that different from the thumbnail

drowsy inlet
#

what's a good intro hobby servo to start with to go with this?

sand lotus
#

@cinder wind i made the plane propellers a little more transparent, it's hard to tell yeah, i'll do better next week

cinder wind
unreal bay
#

doh, that was the bit of info i wanted, only time will tell (and the learn guide)

vivid ore
#

Ha, made me refresh my browser. Thought it was my end because another unrelated network device suddenly froze on my end

waxen bough
#

Picked up 2. I can't wait to couple this with one of the Gamepad QTs I bought last week!
(I'm also picking up a couple Stemma QT muxes and hubs while I have the order open)

sand lotus
#

Yes this is JP's idea of "basically unmodified"

#

All the wires hanging out gives it a nice steam punk aesthetic but you definitely wouldn't want to get into a squirtgun fight with it.

vivid ore
#

Wow, dunno how much they stocked at the start of the livestream, but it was โ€œ55 in stockโ€ at around 3:45. These things are going fast haha

sand lotus
#

I picked up 2. Good sale price for it. Inevitable that I'll use some for Halloween. Would rather have them on-hand before Halloween when they might go out of stock and hard to get at that time.

#

yeah there were 89 about 10 minutes ago, they're going quick.

#

this is the newer prop-maker too based on the rp2040.

tacit garnet
#

They often have a quantity held off to the side that they add to inventory just as the steam goes live.

vivid ore
#

They do, and that stock has run through quick haha

sand lotus
#

I'd like to see someone use one with a slip ring for a lighted gatling gun on the end. That would work well for a space marine cosplay.

cinder wind
vivid ore
#

Airlift featherwing? oh beat me to it

sand lotus
#

yup airlift FTW

tacit garnet
#

I'm on the hook for an elevator prop for this year's haunt. LEDs for floors passing by. Floor indicator dial on servo. The room has a shaker table floor

sand lotus
#

i have many airlift featherwings that i put on non-wifi feathers like the rp2040 feathers. They work great.

vivid ore
#

Oh also, how loud is 4ohm 3W output? Is Lars using the full 3W output?

sand lotus
#

if you want to add wifi to any feather the airlift is definitely the way to go. get the stacking headers with it to make your life easier.

spiral vale
#

did I miss it?

#

(I missed it)

unreal bay
#

no but be quick

#

46 left

sand lotus
#

nope, still available but be quick

unreal bay
#

another ten mins if lucky

viral sail
#

Thanks @haughty quiver

sand lotus
#

still half off shortly after the show ends.

#

add it to your cart and purchase it quick.

inner spade
#

Thanks!

sand lotus
#

you have to purchase it during the show, adding to cart isn't enough.

#

like if you add to cart half off, it'll go back to full price when the show ends even if it's in your cart.

waxen bough
#

Make sure your checkout page shows the sale price!

sand lotus
#

Great deal today. Thank you JP. Please let the code go for a little bit more today because it looks like a few more want to get in on this one.

#

Think I'm up to 4 prop makers and 2 scorpios, I'm all set for a complete revamp of the electronics in my dragon skull mask and pumpkin for this halloween. ๐ŸŽƒ

lavish patrol
#

Good afternoon all.

viral sail
#

Good morning everyone.

rocky reef
#

3DHangouts Episode 406 LIVE! Lightsabers, Master Sword and Flexi Elephant #3DPrinting https://www.youtube.com/adafruit/live

upbeat coral
#

Hey Y'll

lavish patrol
#

All the socials.

rocky reef
#

Today's coupon code โ€œmastersaberโ€ gets you 10% off your order!

lavish patrol
#

Two shoutouts. Does that mean I won something? ๐Ÿค” ๐Ÿ˜„

#

Lol

rocky reef
shell mason
#

some boost with limited power consuption

#

some could not put noodles to the handle

#

the thing for the d20?

#

new d20 could be more simpler I guess

hard hollow
#
Cults 3D

This is an African elephant with 22 movable joints.
The joint design of this elephant is different from the common chain-like design. These joints can be adjusted and fixed at different angles, allowing the elephant's trunk to be lifted and posed in various preferred positions. The tightness of the joints depends on the hardness of the material...

shell mason
#

nice

hard hollow
upbeat coral
#

Off Topic - Adabox news?

shell mason
#

for dice, need more dices too

#

roleplayers what need dice could get nice

upbeat coral
#

Thanx. Don't wanna know what, just if.

ionic crag
#

and the all important moment of zener

viral sail
#

Thanks @rocky reef and @hard hollow . See you all tonight.

drowsy inlet
#

thanks!

upbeat coral
#

Thank you for taking time for us

shell mason
#

later ruis broz

hard hollow
#

thanks folks! cya tonight

ionic crag
#

PILZ_E ?

unreal bay
rapid hornet
cinder wind
#

?showtimes

arctic abyssBOT
#

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

haughty quiver
#

?todtimes

sand lotus
#

?jptimes

#

can't win em all :/

rapid hornet
#

?showtimes-pacific

arctic abyssBOT
#

Desk of Ladyada - Sunday Evenings
JP's Product Pick of the Week - 1pm Tuesdays
3D Hangouts - 8am Wednesdays
Show & Tell - 4:30pm Wednesdays
Ask an Engineer - 5pm Wednesdays
John Park's Workshop - 1pm Thursdays
DeepDive w/Foamyguy - 2pm Fridays
FoamyGuy's CircuitPython Stream - 8am Saturdays

sand lotus
#

@rapid hornet Heard in hackaday episode today you'll be streaming Friday at 2pm. Will this be a regular change in the schedule?

#

I'm interested in hearing more about the circuit pyrate. I might have a use for one now.

dry shore
#

but then you need to change dyno's config every time a date goes by

rapid hornet
dry shore
#

then the thu show would just be <t:1690488000:R>

rapid hornet
dry shore
#

yeah, thats why i mentioned, the bot would have to be re-configured every time the date passes

#

so you would need a bot to re-configure the dyno bot

#

or a custom bot

sand lotus
#

I think most people are unaware the commands to list the times are in the channel pinned message.

#

and the pinned message is different in every channel, not per entire discord chat.

wind spoke
#

Aaargh... I don't have my web cam, I cannot stay awake for an extra 45 minutes tonight, so I will not be on Show&Tell. ๐Ÿ˜ฆ
But I made a thing you might like and posted a 4 seconds video on X: https://twitter.com/DavidGlaude/status/1684331130202337281
I have made a PR to the WiiChuck library from the community bundle (it contan a simpletest, but not using the RGB like in my demo): https://github.com/jfurcean/CircuitPython_WiiChuck/pull/14
So this might be available for all soon.

The next addition to @CircuitPython WiiChuck library (community bundle) will be the Wii Drums from "Guitar Hero World Tour". (PR submitted)

Making sounds (or talking midi to do sounds) is the ultimate goal.

I just change RGB colour.

Drums, cymbals and pedal are all supported.

โ–ถ Play video
GitHub

This is just a first version that works for me.
A quick hack on your guitar code.
Apparently it is possible to read the velocity too, that could be added.
Notice that my Drums joysticks report (31,...

haughty quiver
#

oh cool @wind spoke

wind spoke
#

I need people like you, Liz or Todbot to figure out how to produce drums sound (wave? synthio?) or do midi (there is a midi plug already, old style DIN). But I am already happy for tonight. (and that is a 17โ‚ฌ acquisition, including two Wii Guitars in the same price). ๐Ÿ™‚

rapid hornet
#

didn't mark gamblor do drum sounds?

haughty quiver
#

yes, @nova totem has some synthio drum code

sand lotus
#

Drum sounds can be samples and there's a ton of drum samples on the internet including classic 808, Korg, Akai, etc...

#

exactly

#

Since it's electronic you could also swap them out for midi notes and have your drum act as a keyboard. A lot of possibilities.

sage aspen
austere pollen
#

that looks really cool

robust horizon
haughty quiver
#

rad ๐Ÿ“ท

austere pollen
#

(please add arduino support ๐Ÿฅบ)

robust horizon
#

scott is always bold when it comes to doing demos .. but ultimately he'll deliver us working code ๐Ÿ™‚

austere pollen
#

Great! So when circuitpython can program other cirguitpython devices, finally humans aren't needed any more! Sentient AI incoming

rapid hornet
#

hi and bye. ๐Ÿ‘‹

robust horizon
robust horizon
#

@haughty quiver you could cap the number of simultaneous sounds and if the user has more switches than that turned on, pick randomly among them

tulip canyon
#

Thanks everyone, great projects. Thanks Melissa for hosting

sage aspen
#

Thanks everyone for showing off your projects.

robust horizon
#

when I did a similar project (it never got turned into a guide and I dunno where the source is) I had one looping ambient sound (e.g., woodlands) + 8 random sounds (e.g., a bird call), and I'd play maybe just 2 or 3 of them at a time. this was on a trellis m4 I think.

#

so you still get a lot of variety based on your switch choices but never everything all at once

open girder
#

10% discount code, code is: csidsi http://www.adafruit.com/ ends at midnight NYC time

dim knot
#
upbeat coral
#

Greed

austere pollen
#

But can you store a circuitpython file on the floppy drive and run it using that thing? ๐Ÿ˜

#

๐Ÿ˜‚ ๐Ÿ‘

delicate fractal
#

Dude,! You're doing a weekly rant about open source! It's part of the pprogram.

austere pollen
#

Punch card reader for ciruitpython on punch cards next? Or tape? ๐Ÿ˜

open girder
#

๐Ÿ™‚

delicate fractal
#

doing a firmware upgrade by putting a new UF2 on floppy would be pretty cool. Pointless, but cool.

austere pollen
#

great Idea!!!

open surge
#

That's pretty cool they have a repo with examples, too

dim knot
gray obsidian
#

And the music is not too loud this time on this section, thanks @open girder ๐Ÿ™‚

#

Really must sleep, past 2amโ€ฆ n8!:

open girder
#

@gray obsidian all good ๐Ÿ™‚ made it sure it was not a different level then the rest of the show ๐Ÿ™‚

gray obsidian
#

yeah no need to rush to lower the volume now, thanks!

#

oh, LED matrix builtin

#

quite Micro:Bit like

tulip canyon
#

I've been playing with he R4 recently and have been struggling to get SoftwareSerial working. Not sure if others experience it.

#

I still have my original breadboarded Arduino .It was an achievement for me at the time just starting out.

harsh pebble
#

Nice!!!

gray obsidian
#

Well we had about the same amount of memory on 80s computers and we did (and still do) a lot of stuff with themโ€ฆ cf. Demoscene ๐Ÿ™‚

open girder
gray obsidian
#

I don't think there are a lot of demoparties in the US, are there?

open girder
#

2010 !

gray obsidian
open girder
austere pollen
#

Noob question: How does that matrix work with only 8mA per IO pin?

open girder
austere pollen
#

I didn't know that Adafruit made Arduinos during that drama ๐Ÿคฏ I think in school I used some "Genuino" ๐Ÿค”

gray obsidian
#

Funny that shape they ended up with is weird and doesn't show up on the prototypesโ€ฆ

open girder
#

yah, they were in a jam so we helped out to get them through

tulip canyon
gray obsidian
#

oh dear I was supposed to sleep, bye everyone!

tulip canyon
#

The little plastic holder was a nice touch

verbal river
#

Now I know how to say "hacker-friendly" in Italian.

sand lotus
#

๐Ÿ†•

#

gesture sensor?

dim knot
sand lotus
#

Will the bus circuit pyrate definitely use the same 10-pin IDC the bus pirate uses or something different?

tulip canyon
#

I have a feeling @open girder has been working on a digi cam for a while but chip shortage...
Blink twice if future Adabox might cam coming?

open girder
#

we have 10+ adaboxes lines up, so maybe

tulip canyon
#

Real time Klock?

austere pollen
#

๐Ÿคฏ

#

thanks

viral sail
#

Thanks @open girder and good night. ๐ŸŒ“

upbeat coral
#

Thank you for taking time for us.

open surge
#

thanks adafruit!

sand lotus
#

I am groot ๐Ÿชด

open girder
#

thanks all!

verbal river
#

So babyada can host show&tell next week? ๐Ÿ‘ถ

tulip canyon
#

Thank you Adafruit
Have a great evening

sand lotus
#

Thank you for another great show. See everyone next week. Same Adafruit time, same Adafruit channel. ๐Ÿฆ‡

wind spoke
# nova totem https://gist.github.com/gamblor21/15a430929abf0e10eeaba8a45b01f5a8 There was my...

Thank you.
It seems that I don't even have the right English (or French) vocabulary to talk about drums (or sound/music/rythm). Nothing at school or in IT professional live did prepare me for this... right now I use google image on "Snare", "HighHat", "KickDrum"!!!
But ok, those are class that use synthio and numpy to create the sound to expect from that kind of instrument.
I need to start with some more simple synthio code and level up. But this is great, no doubt about it. I might start more simple, and now it is clear why my demo was RGB. ๐Ÿ™‚
There is such a learning curve here, in an unknown territory. But I keep being facinated by what JP show, midi project by Liz or TodBot things.
It wil take time before I'll use that, but I will get there for sure.

nova totem
wind spoke
# nova totem Can't wait to see what you create. It took me a while to go from nothing to bein...

So I have a Wii Drum machine and CP support to read the "hit" (and I could maybe also fetch a "velocity" information).
There are so many things that can be done:

  1. Bypass the I2C and get the midi notes from the din (maybe with CP board that receive midi notes)
  2. Get a CP board to read in I2C and produce midi on the USB side, then get a synth on PC to produce the sound
  3. Playing sound directly on the board (just playing wav or something like that)
  4. Maybe the ultimate level is to generate the sound on the CP board with your code or similar

So I might try easy steps first... (but anything with midi will be new to me too, it's fine, I wanted to learn).

viral sail
#

Good afternoon.

lavish patrol
#

Greetings, good people.

ivory flax
#

Good afternoon JP. Hope you have a great day instore

haughty quiver
#

hi all!

inner spade
#

Hello! Itโ€™s another beautiful day in JPโ€™s workshophood!

clever summit
#

๐Ÿ‡ธ๐Ÿ‡ช ๐Ÿ‘‹

haughty quiver
#

won't you be my neighbor?

lavish patrol
#

It's too Lars adjacent...

tulip canyon
#

Hey all!

lavish patrol
#

I think there must be two @clever summits...

clever summit
#

So @haughty quiver did you practice your swedih since last time?

clever summit
lavish patrol
#

Can see nothing, @haughty quiver ...

clever summit
#

Chat is not showing

lavish patrol
#

๐Ÿ‘

cinder wind
#

ambien machine!

#

oh

#

fine.... (puts pills back in bottles)

verbal river
#

@cinder wind You could make that machine but they might not let you do a learn guide.

unreal bay
#

Okay, burst my bubble... ๐ŸŽˆ So have you gone to the full speed SD yet? and how many simultaneous samples should I expect on an S3

inner spade
#

The looper coupon code should work over and over and overโ€ฆ

lavish patrol
#

Lol

haughty quiver
#

@unreal bay i'd love help today figuring out if i've done the SPI speed setting correctly

cinder wind
#

spi.whats_yer_speed_yo()

verbal river
#

I was working on an amby/drony patch for my FM synth module this morning so I'm interested to hear what you're doing.

lavish patrol
#

The Circuitpython Parsec was illuminating...

clever summit
#

"Moppe", I hear JP have been practicing!

lavish patrol
#

That reminds me; I need to mop the floor...

verbal river
#

๐Ÿ‘ˆ I have a Moppe right over there.

#

One drawer is full of batteries so I guess that'

#

s partway to an ambient machine

cinder wind
#

have a bunch of secret buttons inside using the extra inputs. tilt switches, knock switches, etc

#

magnetic reed switches

lavish patrol
#

Lol

verbal river
#

30 mph?

shell mason
#

that ambient ikea machine looks cool

inner spade
lavish patrol
#

Zero... zero... zero...

verbal river
#

The zeros are quiet.

lavish patrol
#

They have to be. They are zeros...

#

๐Ÿ˜„

austere pollen
#

what kinda sampling rate are those wavs?

lavish patrol
#

"What are you doing, Dave?"

shell mason
#

"diving"

austere pollen
#

thanks ๐Ÿ˜„

unreal bay
#

is it about timing, if they all had to start on a beat would it stutter?

shell mason
#

andy id you know dae the diver game

tulip canyon
#

What happens in the update() call?

austere pollen
#

30 MHz SPI SD-Card? ๐Ÿ˜ pah

  SDFSConfig sdconf;
  sdconf.setCSPin(17);
sdconf.setSPISpeed(std::numeric_limits<uint32_t>::max());//Deja vu I've been in this place before
  SDFS.setConfig(sdconf);
  Serial.println(SDFS.begin());
lavish patrol
#

@shell mason That was a quote from "2001: A Space Odyssey"

shell mason
#

funny that its sampling as i watchedblade runner

inner spade
#

I think you can double-check the bus frequency by print(spi.frequency)

cinder wind
#

sdcardio.SDCard() takes an argument for SPI speed. (e.g. sdcard = sdcardio.SDCard(spi, cs_pin, baudrate=30_000_000)

#

spi.frequency will tell you actual speed (be sure to do it after creating sdcard)

austere pollen
lavish patrol
#

Printing it somewhere else?

strong acorn
#

to verify the speed of a particular device on the SPI bus, the code needs to be in the device's context while it has the bus
(not all devices expose that)

tulip canyon
#

Can you just print(spi)

inner spade
#

Why is print in italics in the editor?

unreal bay
#

on the money, 1mhz plz

austere pollen
#

for me it worked at over 60 000 000 ๐Ÿ˜

#

(but I used RP2040 with arduino. And a Sandisk Extreme Pro SD-card)

#

I was very surprised that it worked so fast for me ๐Ÿ˜„

unreal bay
cinder wind
#

By setting baudrate in sdcard.SDCardio(), I am seeing the max SPI frequency of 31250000 on RP2040

unreal bay
#

Top bit looks right, so can they both be set to 60? and does it reflect it

inner spade
#

spi.frequency is a read-only attribute

unreal bay
#

sadly sounds same

inner spade
#

Set by configure(baudrate=xxx)

tulip canyon
#

Try printing just the SPI object

cinder wind
#

sdcard.SDCard() will set the SPI frequency to 8_000_000 if it's not specified, making your spi.configure() moot

#

you must put your print(spi.frequency) after your sdcard.SDCard() call

#

This is what I do:

sd_spi = busio.SPI(clock=sd_sck, MOSI=sd_mosi, MISO=sd_miso)
print("spi:", sd_spi.frequency)  # prints 200000 on RP2040
sdcard = sdcardio.SDCard(sd_spi, sd_cs, baudrate=32_000_000)
vfs = storage.VfsFat(sdcard)
storage.mount(vfs, "/sd")
print("spi:", sd_spi.frequency)  # prints 31250000 on RP2040
austere pollen
#

I recommend to add bad apple because everything needs to be able to play bad apple ๐Ÿ˜

cinder wind
#

That sounds cool, JP! VCV Rack is so great for letting us play with modular synths without needing to spend all the money

lavish patrol
#

What's the startswith?

#

Right. I couldn't see that. ๐Ÿ‘

#

Getting a real haunted house vibe...

#

Maybe the print isn't working at all, and the list of wave files is coming from somewhere else. ๐Ÿค”

cinder wind
lavish patrol
#

Yes.

inner spade
#

@haughty quiver Magnify the waveform and edit at zero-crossings. Some DAW tools have that as an selectable edit option.

lavish patrol
#

Maybe it's not listing the first one, whatever it is...

grand tusk
#

What's in the box?

winter zinc
#

spooky things

austere pollen
#

๐Ÿ˜ฑ

lavish patrol
#

Now they sound like dogs.

grand tusk
#

wows

cinder wind
#

not me, Andy

verbal river
#

Very cool @haughty quiver sounds great

clever summit
#

Thanks for taking the time to learn to pronounce "Moppe" @haughty quiver !

inner spade
#

PreSonus Studio One has some cool loop editing tools.

lavish patrol
#

Another great workshop, @haughty quiver. Thanks.

tulip canyon
#

Thanks for sharing JP. Looking forward to your progress

grand tusk
#

Thanks, it's an awesome project.

austere pollen
#

๐Ÿ‘‹

winter zinc
#

thank you, JP! and I vote for a spooky sounds version too

inner spade
#

Thanks. Very interesting stream today!

verbal river
#

Bye

lavish patrol
#

Bye

inner spade
#

Itโ€™s a โ€œsoundscaper โ€œ

unreal bay
#

Thanks JP

haughty quiver
#

thank you all!

rapid hornet
#

<@&846780953275006976> Reminder: I'll be streaming in four and a half hours. My plan is to talk USB host and am happy to field questions folks have.

dry shore
#

<t:1690578000:R> i believe?

rapid hornet
dry shore
#

yep, the timestamp is working and set to the right time

shell mason
#

that timestamp works great

dry shore
inner spade
#

Welcome back to the dive, Scott. You were deeply missed!

brazen grove
#

hoi zame

wind spoke
#

When was the last time???

proper prawn
#

Happy Friday to Scott and all present from Lisbon. Been away some time ( 3 weeks in KY and 4 weeks in Brazil).

lyric sphinx
#

Scott! Howdy hi!

eager matrix
#

Hi Scott, good to see you back.

shell mason
#

we are deepdiving

smoky island
#

๐Ÿ‘‹ Welcome back Scott. Happy friday everone!

winter zinc
#

๐Ÿ‘‹

sand lotus
#

Welcome back.

unreal bay
#

๐Ÿ‘‹ New Cam? Surely you've got a pi zero2w kicking about, and couldnt help but buy the new v3 camera module... I mean autofocus for the win? It's got delay but a simple octoprint setup worked suprisingly well to OBS

dry shore
#

must resist hijacking the stream!, been working on dwc/rpi tinyusb host

lyric sphinx
#

Is that doing AF in userspace? I haven't been paying much attention lately.

sand lotus
#

Just got the S3 matrix portal in. Will be hooking that up tonight.

#

Got 2 10x10 swirlies and a nylon standoff kit too.

dry shore
sand lotus
#

Didn't quite understand the silkscreen by .1 increments.

#

The personal project I most associate with you is the pysigrok.

wind spoke
#

What hardware will be supported by USB Host? I have at home:

  • 3 Feather RP2040 USB Host
  • 1 Teensy 4.1
  • 1 ESP32-S3-USB-OTG
    All have CP support and USB host hardware... what will be supported?
    Any other hardware to recommend and in your radar or roadmap?
unreal bay
sand lotus
#

ohhhh

dry shore
#

interesting, the bcm283{5,6,7} rom can also boot over i2c slave

lyric sphinx
#

Another seesaw type of thing? But reprogrammable on i2c.

#

That is a nifty difference.

sand lotus
#

sounds like a modular synth can bus?

wind spoke
sand lotus
#

I consider the iMX in a different ballpark due to high clock but the ram still is less than an ESP. It has it's place.

#

I did see we added support for another iMX in 8.2 i think.

wind spoke
#

That iMX board is gigantic, still it has tinyUSB. ๐Ÿ™‚

#

Oh... yes possible, the switch...

sand lotus
#

esp has external qspi but imx must use internal qspi?

wind spoke
#

Wait.... timestamp, and writing down the topic covered today.
Who was doing that? Maybe it was a "David" but not me...

#

We will do that on the VOD.

sand lotus
#

what is MIPI display and any plans for adafruit to use that?

dry shore
#

yeah, DSI is differential and DDR

#

the rpi1-4 exposes 2 DSI lanes, 500mhz max
so 2gbit of bandwidth

#

the CM1/CM4 has 4 DSI lanes

sand lotus
#

ah so like cp 12.0 milestone ๐Ÿ™‚

unreal bay
#

is this the intel8080 parallel display type thing? (got a lilygo t-displayS3 using i8080)

dry shore
sand lotus
#

and a big hug and congrats to Neradoc for adding esp32-s3 box commits. first time i ever heard of the esp32-s3 box was on deep dive with scott like 2 years ago..

dry shore
#

its undocumented, but the rpi also has an SMI interface for displays with ram
in SMI mode, it will present 8-18bits on a parallel bus, and hit a strobe pin, to write a frame out one pixel at a time, into the display ram

#

SMI has both 8080 and 68k modes, the difference is r/w+strobe or read-stobe+write-strobe

cinder wind
#

dang here I am just getting into 3D and there's already 8D-8D displays? yikes

timid plover
#

I'm your linkedin user ( from my phone ), as my windows preview laptop has been extremely unreliable - many crashes

sand lotus
#

it's best to watch adafruit streams on youtube or twitch, they have the most reliable players.

#

I think someone was asking a question about usb host last night in cp help channel. My thought was something like a feather rp2040 would require hard wiring a 2nd USB port on it? Doesn't it need 2 usb ports? one for input one for output? or is that just an easier way to do it?

wind spoke
#

I had the idea of a keyboard+screen CP device that you use as a "terminal" to work on a CP usb device that you want to configure. Exactly what you tentatively tried to show in show and tell.
Basically a remplacement for PC, maybe for kids that would work in school.

dry shore
#

if CP isnt connecting to another computer, then you dont need that 2nd port

unreal bay
#

hub/composite support? i.e. if the usb storage presents as more than simple single device?

sand lotus
#

I think that's something scott and jepler are actively working on... think it started with jeplers run cpm? which is a neat idea.

#

plus the file system walking floppy project anne did and halfway to a stand alone os.

wind spoke
#

Are you going to crash your computer LIVE by doing USB things? How frequently did it hapend while doing development?

dry shore
#

oh, i need to return back to my crazy usb gadget project, i can make a pi-zero claim to be a 20PB usb drive

#

lets see circuitpython crash with that!

#

a pico, usb-otg adapter, and a dongle for wireless keyb/mouse

#

if you add something for display, then this could run CP and act like a PC

sand lotus
#

that's neat

#

well you can add a TFT display to most cp boards. just a matter of an in depth gui.

#

and cursor support which is something they're working on. i have a suspicion that's what featherpoint was eluded to by PT on AAE on wednesday.

wind spoke
#

So that is the USB Keyboard workflow?

sand lotus
#

i used to be extremely intimidated by bytestreams. after working on a couple projects that required bytes in hex it's far less intimidating now. as a beginner hex streams are a foreign language within a foreign language.

wind spoke
#

If you power with a Lipo, then you can connect the Feather RP2040 USB Host to itself...
but what would be the point? Self-test?

dry shore
#

looks like the host tried to query the device descriptor

#

and didnt get an answer

#

get device descriptor, first 8 bytes

sand lotus
#

i used to get that a lot in windows with some devices. in device manager will show an error with "No USB Device Descriptor"

dry shore
#
typedef struct TU_ATTR_PACKED{
  union {
    struct TU_ATTR_PACKED {
      uint8_t recipient :  5; ///< Recipient type tusb_request_recipient_t.
      uint8_t type      :  2; ///< Request type tusb_request_type_t.
      uint8_t direction :  1; ///< Direction type. tusb_dir_t
    } bmRequestType_bit;

    uint8_t bmRequestType;
  };  

  uint8_t  bRequest;
  uint16_t wValue;
  uint16_t wIndex;
  uint16_t wLength;
} tusb_control_request_t;
#

the setup packet can be decoded as this

#

which software/hardware are you using for that capture?

#

ah, i see the product page, ouch, $1295!

sand lotus
#

just searched in discord for why i was getting the device descriptor failed and ended up being the magnetic cables. one or more of the pins wasn't working right, switched usb cable and it worked fine after that.

timid plover
#

I've been following / waiting for Luna ( now Cynthion ) - fpgabased USB analysis

dry shore
#

i think thats the ack phase of the control-in, and the NAK is the device rejecting it

timid plover
dry shore
#

that feels like an issue with the usb device

#

also, try plugging that device into a linux host

#

and see what the beagle says then

sand lotus
#

if you aren't frustrated with code you're not learning anything new. honestly the goal is always be frustrated, always keep learning.

tiny grove
#

The people who do best at it are the ones who don't let the frustration win.

dry shore
#

hmmm, i see a 5 in the setup before that...

#

5 is set-address

#

6 is get-descriptor

#

the usb spec says the device should be able to enumerate again when it gets a usb reset

#

it sounds like tinyusb is upset, because it didnt fully reset itself upon usb reset

#

that in for set-addr seems to have worked

#

but i dont see the 0-byte out

#

switch usb host, to linux, and see how enumeration differs

#

my keyboard happens to have a FS only hub, which limits things

#

can be handy to keep some junk hubs for that

#

https://beyondlogic.org/usbnutshell/usb4.shtml#Control
this shows the possible packet sequences as a tree

i'm thinking add logging to the host side, what transfers and bytes your attempting to send
then confirm in beagle480, if its sending them properly
then confirm in the device, if its receiving them properly

#

control-in is 3 stages
setup stage, has a SETUP token, DATA0 token, some bytes, and an ACK

#

data stage has IN token, DATAx from the device, and ACK from the host

#

ack phase is a OUT and a 0-byte DATA0, and ACK back from the device

#

are you seeing all 3 phases in the beagle480?

#

but that looks to be after the device had a panic

#

give the device a reset, and see what the 480 says

#

host might also need a reset too

#

does the 480 show 1 or 2 gets?

#

yeah

#

the host sent 2 SETUP's, and the device got upset from that

sand lotus
#

In Mu commenting multiple lines is ctrl+k, just learned something new

dry shore
#

what is causing it to be red

#

the ACK packet means the device got the SETUP

#

it may only be red, because you did the setup phase twice

#

what does hcd_setup_send() look like?

#

does the host side say hcd_setup_send() was ran twice?

#

is it tinyusb intending to send the SETUP twice, or the PIO malfunctioning and sending it twice?

sand lotus
#

sleep. i've solved a lot of problems with a good night sleep. refresh_brain()

dry shore
#

setup is 8 bytes, so printing it as %08x %08x and a bit of casting would get it all, but wrong byte order

#

yeah

#

oh, color can also help with reading logs

#
#define CSI "\x1b["
#define RED     CSI"31m"
#define GREEN   CSI"32m"
#define DEFAULT CSI"39m"

bool hcd_setup_send(uint8_t rhport, uint8_t dev_addr, uint8_t const setup_packet[8]) {
    logf(RED"\tHOST%d SETUP %d.%02x 0x%x/%d opep:0x%x\n"DEFAULT, channel, dev_addr, 0, (uint32_t)setup_packet, 8, (uint32_t)opep);
#

set the device to just hard-reboot on assert or panic?

sand lotus
#

and emoji's if there's emoji support. i've really enjoyed the new emoji support.

dry shore
#

when you call hcd_event_xfer_complete

#

are you claiming the setup failed?

#

if you mistakenly claim setup failed, tinyusb may retry

#

but the 480 says it didnt fail

lyric sphinx
#

My me doesn't have emoji support.

sand lotus
#

*** ๐Ÿ”ฅ PANIC *** would get your attention

dry shore
#

yeah, the LS max packet size is 8
so it has to do the full get-dev-desc, with an 8 byte size, setup/data/ack

#

within that, is the real max-packet-size, so you can then get it properly

#
 16.220803 [DWC2:hcd_setup_send:370]:   HOST0 SETUP 0.00 0xc4013f90/8 opep:0xc4113100
 16.293446 [DWC2:hcd_edpt_xfer:391]:    HOST0  <-   0.80 0xc4013fa8/8 opep:0xc4113100 type:0 pid:0
 16.481718 [DWC2:hcd_edpt_xfer:398]:    HOST0  ->   0.00 0x0/0 opep:0xc4113100 type:0
lyric sphinx
#

I do have label support, just not the actual unicode.

dry shore
#

logging from my own host driver

#

8 byte setup, 8 byte out, 0 byte in

sand lotus
#

I'm still using Mu which has emoji support. I don't dive this deep.

#

Might start using ๐Ÿชณ for exception handler errors.

dry shore
#

in your handle_endpoint_irq() function
can you log every argument to hcd_event_xfer_complete()?

#

ah, banned flash, and your uart print is in flash

wind spoke
#

So by default you will catch the keyboard for the REPL.
But can we have the keyboard for reading from the code, maybe to add macro and do keyboard in / keyboard out?

dry shore
#

what calls pio_usb_host_irq_handler(), i cant find it in the src

#

control-in uses OUT for the setup, IN for the reply, then OUT again for the ack

#

oh, it may be unpushed things

#

i cant find host_frame on my tinyusb

sand lotus
#

seems like pio enumeration isn't resetting properly?

dry shore
#

ahh

#

i was reading the tinyusb/src/portable/raspberrypi/pio_usb/hcd_pio_usb.c

wind spoke
#

Where does the intellikey developpement (the part that upload the firmware) fit in what you are doing? Is it also CP? Is it separate development?

dry shore
#

tinyusb has its own non-submodule copy

#

that seems incomplete

#

i think usb_setup_transaction() looks to do the setup, data0, then wait for ack

#

and if it doesnt get that ack, it claims PIO_USB_INTS_ENDPOINT_ERROR_BITS

#

exactly

#

the 480 should give timestamps, and then see what the pio code said

#

yep, thats what i was going to say to do next

#
usb_definitions.h:  USB_SYNC = 0x80,
usb_definitions.h:  USB_PID_ACK = 0xd2,
#

the source says its expecting 0x80 and 0xd2

sand lotus
#

thank you for the stream, i learned that i want nothing to do with low level programming. give me displayio and GUI design any day. this stuff is frying my brain. ๐Ÿ™‚

dry shore
#

so, the problem is when your receiving the sync for the ack

#

the 480 isnt showing it, but every token starts with a sync symbol

#

if the 480 says the ack is valid, then the sync was there

#

and its an issue with PIO decoding that sync

sand lotus
#

makes me appreciate all the really deep stuff you devs have to go through. thank you.

simple fractal
#

thanks scott, was mostly installing proxmox but listened and sometimes wondered

proper prawn
#

Thanks Scott !

simple fractal
#

my only usb sniffer is something called the minisniffer, only full speed but worked for me in the past

#

i think scott needs a robot to follow the cats around and spy

lilac tusk
simple fractal
#

i'm barely up to speed on i2c

dry shore
#

and i could use that role

sand lotus
#

the person sensor cam that detects the cat and shows its name ๐Ÿ™‚

rapid hornet
#

Thanks all!

simple fractal
#

lets forget usb and move to recognizing cats

rapid hornet
sand lotus
viscid wasp
#

How about Teensey 4.1

clever summit
#

Hey Tim!

smoky island
sand lotus
#

Good morning โ˜•

clever summit
#

I see the CP developers have been busy with new stuff, got translations to do every other day the last week. ๐Ÿ˜Ž

sand lotus
#

I imagine the backporting stuff for s3 matrix portal added slightly more workload this week.

#

Got the first requests API merged (thanks for the review) with settings.toml so will have a boilerplate to port the rest now.

#

isn't turtle part of the basic displayio demo?

inner spade
#

โ˜•๐ŸŒ…

sand lotus
#

rookie of the year โšพ

unreal bay
#

Not seen that use of pass. And overload decorator.
Always learning โ˜บ๏ธ

sand lotus
#

same, what is overload?

unreal bay
#

Another call to same named method, but with different arguments in this case. Overload normally is used by an inheriting class to overload a function in the base class

#

Looks like a good use for typings

sand lotus
#

same, i don't vouch for any of my code too. use at your own risk. it might work, it might spit out bananas.

#

that's a star trek lower decks reference where the broken food replicator continually makes only bananas.

noble grove
#

Wouldn't an implicit else have the same indent?

#

NM return, not break

#

my mistake

clever summit
#

That is a correct assumption.

#

That pattern is named "early exit" and is something I adhere to.

sand lotus
#

looks a little offset?

clever summit
#

The corresponding anti-pattern is "nested if's". Avoid at all cost.

noble grove
#

the upper left corner isn't offset. I think it's because of the alternate path

clever summit
#

I have been submitting code to projects that are very strict on code style.

sand lotus
#

that would be cool, would you still have to run black manually on a new file before commit though?

noble grove
sand lotus
#

pre-commit and black do not play nice with github desktop windows app. i have to run black on any file change i submit to adafruit main anywhere. it's tedious.

#

it's beginner friendly but eventually found out it has limited capabilities vs using git CLI.

#

perhaps worth noting that if you have a pyportal or any device using an airlift with NINA you must now update NINA to 1.75 if intending on running WipperSnapper on it due to the AdafruitIO cert change on July 20th, 2023.

inner spade
#

Philosophically, the ultimate format checker is the CircuitPython interpreter. It tolerates a few deviations from the recommended style.

sand lotus
#

i don't find black easier to read, that's the way it wants it formatted so that's the way it goes.

inner spade
#

For example, forced line wraparounds is an ancient artifact.

sand lotus
#

like black will do ```py
var = (
dict list [1,2,3,4]
)

noble grove
#

Feather 2040 DVI is pretty column limited

#

yeah

sand lotus
#

one thing i like about coffee in the morning is it kicks your digestive system into overdrive, it's also the one bad thing about coffee especially if you gotta get your coffee and head out the door first thing.

#

which is why coffee + saturday = good

noble grove
#

Audio cutting in and out.

#

seems OK now.

sand lotus
#

yeah noise gate a little aggressive than normal

#

can see your lips moving sometimes but no audio, probably noise gate.

#

audio is a bit louder, seems like mic boost

noble grove
sand lotus
#

which is fine because i had to have volume at 100% to hear you

#

now at 75% much better and more normal

#

hashlib is for sha encoding

#

has a lot of different types of SHA all the way down to SHA-1

#

it's for http server security, makes sense since it's not using HTTPS

#

my guess is it's part of a tokenizer style of client/server response handshake. it's not HTTPS but a good thing to have for an HTTP server.

#

guid looks like a hardcoded salt of some kind

#

there's no way a hardcoded guid like that would part of a security protocol, that makes no sense. lol.

#

that is... not smart vs a randomized salt and sha and base64 encoding.

#

like a packet header.

#

that is so weird

inner spade
#

The original developer of that unique string giggles a little each time the relevancy question is asked.

sand lotus
#

if there's no randomized portion of the concatenation then it could still easily be used as a MITM to pretend to be the server you want to connect to.

#

sha-256 and base64 url encode + a set GUID could easily be replicated.

light stump
#

Hey all yโ€™all cool people. Listening in a little bit this morning.

sand lotus
#

there has to be a randomized part to that equation otherwise the entire string will be easily cracked.

#

ok that makes me feel better

inner spade
#

Itโ€™s just a protocol exchange handshake.

sand lotus
#

yeah it's just an http encoding system at the end of the day.

#

some boards could do SSL if they wanted. an M0 would likely fall flat on its face with a 1024-bit or higher cert but an ESP32-S3 could probably handle it. would be slow but possible.

inner spade
#

Probably the original developerโ€™s Windows 3.11 product key.

sand lotus
#

actually the airlift to adafruitIO with wipper snapper has a cert embedded in the build, so an M4 can do it.

clever summit
#

Server sent events is returning a stream with the content typ text/event-stream. You then send data: ... as needed.

#

"Javascript Python" sounds really scary. ๐Ÿ™‚

sand lotus
#

Adafruit just released a new learn guide called DeviceScript that's supposed to be javascript developer friendly for Circuit Python... or something like that, haven't read it yet.

#

ah looks like it's for AdafruitIO not circuit python specifically.

clever summit
#

TypeScript is just a typed version of JavaScript. Espriduino predates TypeScript.

sand lotus
#

looked like an edublock/makecode element to it.

clever summit
#

DeviceScript is basically a replacement for CiruitPython.

#

I do own one Espruino device. Gave up due to lack of sensor support.

sand lotus
#

makecode is like that. i had fun playing with makecode for a while. and it's got a JS tab you can switch to also.

#

same, when it comes to sensor support there's nothing better than straight up circuit python or arduino. the libraries are really what extends the language into an entire ecosystem.

clever summit
#

Well, it does not really make them understand microcontrollers? ๐Ÿ™‚

sand lotus
#

a bridge is a good way to describe it... or a free sample to get you hooked like a dr*g dealer. ๐Ÿ˜› once i started learning circuit python didn't want to play with anything else, completely ignored my PHP roots too and just doing microcontroller stuff now. the world of blinking lights and sound is too cool.

#

web work is all virtual reality in a way. microcontrollers are just reality, with physical devices, things you can touch and feel is more gratifying vs creating things that only exist on a computer screen.

#

holy cow webgl has come a long way

#

i learned via circuit python meetings that adding "for adafruit industries" is reserved for employees of Adafruit

unreal bay
#

I think i once incorrectly used it in the "gifted" sense as just a contributor. Other times I had more forethought and chose another attribution.

sand lotus
#

when i started I was just copy pasting the header that had kattni's name in a lot of stuff because i had no idea what to do for the copyright header.

#

like i thought a contribution would fail if someone's specific name wasn't in a database of copyright headers somewhere. yeah it doesn't work like that at all you just put your name in there.

#

and so i started putting my name in there but it still had the "for adafruit industries" and dan was like no no no, that's for paid for code only. it takes a while to learn all the nuances of the way things are done.

inner spade
#

Thanks for the stream! Very thought provoking.

sand lotus
#

yeah they're pretty great all around, i do put in contributors names that help write a lot of stuff that i get stuck on and provide examples. like neradoc's name is attributed in a lot of my headers.

#

Thank you for the great stream. Learned some stuff about SSE, didn't know it was a thing.

clever summit
#

๐Ÿ‘‹

unreal bay
#

thnx foamyguy

tiny grove
sand lotus
#

the learning never ends

tiny grove
#

Side note, and @prime sentinel will probably back me up on this: none of the x86 SIMD extensions are particularly good. They are adapted from other architectures and weren't always particularly well thought out.

dry shore
#

?showtimes-pacific

arctic abyssBOT
#

Desk of Ladyada - Sunday Evenings
JP's Product Pick of the Week - 1pm Tuesdays
3D Hangouts - 8am Wednesdays
Show & Tell - 4:30pm Wednesdays
Ask an Engineer - 5pm Wednesdays
John Park's Workshop - 1pm Thursdays
DeepDive w/Foamyguy - 2pm Fridays
FoamyGuy's CircuitPython Stream - 8am Saturdays

dry shore
#

@tiny grove i just had an idea, based on the timezone thing in your profile
if we use the time, not "in 2h" format, like you did
then all of the times dyno reports here, will remain accurate when the date passes, as long as the user doesnt look at the tooltip

#

then it doesnt have to be reprogrammed every week

tiny grove
#

Yeah.

open girder
viral sail
#

Good evening.

lilac tusk
#

Evening ๐Ÿ‘‹

sand lotus
#

It's hacker O' ๐Ÿ•

lilac tusk
#

Displays are so much fun

dry shore
#

something ive been wanting to get into, was driving the rpi DSI baremetal, without start.elf

#

i have been able to do DPI and VEC baremetal

sand lotus
#

Was reading up on dsi/csi and looks like there might be licensing involved with using that spec or at least getting it officially verified and noticed raspberry pi is in the wiki for using that scheme.

#

Far as I could tell is dsi is like parallel with 4 pin simultaneous bits.

lilac tusk
#

1280x720?

sand lotus
#

and the data rate was something like 4gbits a sec. I was like yeah that's way more capable than a microcontroller could likely blit?

dry shore
#

but they then use different protocols at the bit/byte layer, and arent compatible

#

the CM1/CM3/CM4 expose 2lane and 4lane, for each of csi and dsi

sand lotus
#

tsop all the things!

#

at least with SOIC mere mortals have a shot at hand soldering

wraith thunder
#

But limited lane count, one or two lanes

lilac tusk
#

CrossLink FPGA from lattice semi have 2 MIPI and 2 CSI hardened IP blocks

#

Which is cool

wraith thunder
#

WoW 1.35 USD per chip

dry shore
#

DSI also has some power saving modes

in one mode, DSI lowers the link rate (below 500mhz), so the bits/sec is just enough to drive the screen

#

but now the high-speed clock is running full-time

wraith thunder
#

Crosslink cost 10x of that and not mentioning the license cost for IP : P

dry shore
#

in the other mode, DSI will burst a scanline over at max datarate, then turn the clock off

lilac tusk
#

Iโ€™m not suggesting using an FPGA lol

dry shore
#

and it will send bursts, at the hsync rate

#

the idea being, 500mhz for 10% of the time, is lower power then 50mhz 100% of the time

lilac tusk
#

Just more of kind of cool that it has those things

sand lotus
#

so basically sandboxing it with the samd21

lilac tusk
#

Seems like it

wraith thunder
#

Does the backlight driver hookup to the linux backlight driver?

open girder
#

we think maybe we could? but we havent looked into it yetโ€ฆideslly we could over the DSI I2C!

primal goblet
#

That would be neat to hook it into dpms

#

So it would listen to the standard way of sleeping the display and waking it back up

sand lotus
#

oh I bet Jepler would like that for emulating classic 4:3 ratio CRT's. there's always a place for square displays.

#

emulate classic Mac and file systems. lots of possibilities.

wraith thunder
#

Holy moly that breadboard

primal goblet
#

Oooh

open girder
#

๐Ÿ

lilac tusk
#

Will that display be stocked??

sand lotus
#

๐Ÿ

lilac tusk
#

I have a Pokรฉdex project that could definitely use that compact display

primal goblet
#

FeatherPhone lol

lilac tusk
#

adaPhone

wraith thunder
#

A Phone

open girder
#

@lilac tusk yes we actually bought 250 back in early 2020 still in a box ๐Ÿ˜“

sand lotus
#

from idea to schematic to breadboard to prototype all in one episode.

lilac tusk
#

2020/2021 were rough years

#

Understandable ๐Ÿ™‚

primal goblet
#

The IC Dark Ages

sand lotus
#

best thing about those dark days was the chip shortage song

lilac tusk
#

Iโ€™m glad the chip shortage is subsiding

primal goblet
#

Agreed

sand lotus
#

nice find, i'm sure that's going to help someone, very nice.

viral sail
#

Thanks @open girder and good night. ๐ŸŒ•

lilac tusk
#

Thanks for a great evening @open girder

wraith thunder
#

Thanks @open girder !

primal goblet
#

๐Ÿ‘‹

#

Okay lunch time about over, that timed out perfectly lol

dry shore
#

@open girder i missed the stream, but i was wondering, how much is known about the dsi peripheral on the rpi? ive been wanting to drive it without linux

haughty quiver
#

hi there all!

inner spade
#

Hello!

haughty quiver
#

haha

viral sail
#

Good afternoon.

haughty quiver
#

howdy

sand lotus
cinder wind
#

Lars is no puppy

cinder wind
#

no audio

#

nevermind. I hit mute

#

lol how do computers work

dry marten
#

I have no idea how computers work ๐Ÿ™‚

haughty quiver
#

same

cinder wind
#

I think they're full of microscopic bees

haughty quiver
#

๐Ÿ

cinder wind
#

I heard people talking about TCBee / IBee protocols and HTTBee

shell mason
#

Djdevon say its JP and lars amp

austere pollen
#

Random side note that took me way too long to realize: If that (I2S) Amp is 3W you can use a >3W speaker with it! ๐Ÿ˜„ I'm successfully using some 8W speakers

undone onyx
#

@wraith thunder , Holey Breadboard Batman!!!

#

SoundPoles?

waxen bough
#

If you want to use the PicoBlade connector, be sure to check the "Also include" box underneath the "Add to Cart" on the Product Page, to get a wired connector to go with your board! (Edit: It looks like the speakers from Adafruit already have that connector on them.)

sand lotus
#

volume pretty low for hearing the sounds

#

much better

#

inside of large halloween masks....

winter zinc
#

now volume pretty high to hear the voice ๐Ÿ˜…

sand lotus
#

can synthio do vocoder yet? is that a possibility?

#

vocoded voice output inside halloween mask would be great for cosplay. todbot please? ๐Ÿ™‚

#

might be worth mentioning you'll want the charger BFF for portable QT Py projects.

cinder wind
#

And it works with ESP32 QTPys

cinder wind
sand lotus
#

ah, well, maybe a feature request?

inner spade
#

Headphones should work in theory; the amp is specโ€™ed for 4-ohm minimum.

viral sail
#

Thanks @haughty quiver

sand lotus
#

it's a class d amp so it's meant to directly drive speakers and small headphones sure.

undone onyx
#

Thx JohnP!!!

cinder wind
grand tusk
#

Thanks!

smoky island
#

Thanks JP! Have a great day everyone ๐ŸŽ‰