#live-broadcast-chat
1 messages Β· Page 65 of 1
Thanks much Scott.
thanks for streaming, have a great weekend all
Thanks for another deep dive!
Thanks Scott! Really informative stuff.
next week?
I should be streaming next week too
Re: prolog change - if there's some set of call count data from tests or examples, don't convert some top quintile (90/10 rule...)
πΈπͺ π
I am back this week and getting started for the morning. Working on a new game. You can follow along on YT: https://www.youtube.com/watch?v=_vdaKs-_wVE or twitch: https://www.twitch.tv/foamyguy_twitch
Trying to remember how to publish a Python package so it can be downloaded with pip.
Yes, was not that hard.
python3 setup.py sdist bdist_wheel
twine upload dist/*```
But I messed up something, there is no project description on PyPi. Lol.
πβ
Lol. just got a mail from PyPi. - "This email is notifying you of an upcoming deprecation that we have determined may affect you as a result of your recent upload to 'newsbinpro-client'."
[17:09]
Seems you have to use _ and not - in the library name now.
does that email have a link explaining that in it? I can't find anything in the pypi help
"Specifically, your recent upload of 'newsbinpro-client-1.0.0.tar.gz' is incompatible with PEP 625 because it does not contain the normalized project name 'newsbinpro_client'."
So PEP 625 it is then. I always used a "-" in my Python libraries.
I think the name as searched is ok with a hyphen. can you point to your repo?
And I uploaded it to the production PyPi by mistake. π
Now with the proper name in the Test PyPi.
NO. Still wrong name?!?
I see newbinpro_client in PKG_INFO. did you change that?
That should be generated.
It says Uploading newsbinpro_client-1.0.0-py3-none-any.whl though, so it did pick up the file name correct.
src/newsbinpro_client.egg-info/PKG-INFO still has -client
Argh. Seems issue was I was running older versions of sdist and bdist_wheel...
π
Desk of Ladyada - Festival of Lights PCB push β¨π
https://youtu.be/mNDc-7cu8LA
Wrapping up last year with display and LED PCB projects, including GC9A01A round display protos and Sparkle Motion boards. Solenoid driver testing underway, fixing WLED/mic interference. Great Search: Picking SOD-323 flyback diodes for solenoids, balancing specs and cost.
Wrapping up last year with display and LED PCB projects, including GC9A01A round display protos and Sparkle Motion boards. Solenoid driver testing underway, fixing WLED/mic interference. Great Search: Picking SOD-323 flyback diodes for solenoids, balancing specs and cost.
Another fine Wave Bubble product! https://www.ladyada.net/make/wavebubble/
that's pretty cool
Hi friends. Happy new year. Nice to see you live for a change!
hi hi!
hope you have festive new year
βIt worked fine with the other motor!β
π
Hello!
Good afternoon JP. Interesting pick today.
good afternoon
hiiiiii
Good afternoon.
Heyyyy
I've heard this is the chat where the chat is chatting
A very sense-able board.
makes sense
Hello, I made this project with the NRF Sense: https://x.com/DavidGlaude/status/1300490342689648642
The APDS9960 Proximity, Light, RGB, and Gesture Sensor is neat. Reads swipe gestures up, down, left, right, etc
well heck if this board contains a tiny rotatable bunny, I'm in. sign me up. where do I buy
Here is the video of that project, only checking the pressure inside the balloon.
Thanks @haughty quiver
Thanks JP
Thanks!
Thanks JP
thanks so much everyone!
3DHangouts Episode 466 LIVE! New Year New Project https://www.youtube.com/adafruit/live Today's coupon code βnewprintsβ gets you 10% off your order! https://www.youtube.com/adafruit/live
This week @adafruit weβre taking a look at a new project using an A4988 stepper driver and a lazy susan from IKEA. Quick look at our last project released du...
π β hey folks!
Good morning! π
Happy New Year, all!
Happy new year!
Hey Y'll
I'm starting off 2025 strong. Learned KiCAD finally!
Holiday IoT Switch
https://learn.adafruit.com/holiday-iot-switch
Subscribe to Adafruit Newsletters - https://www.adafruitdaily.com/
3D Parts Library on GitHub -
https://github.com/adafruit/Adafruit_CAD_Parts
CircuitPython Downloads - https://circuitpython.org/
Anybody remember the "easy" button that Staples used to sell?
Today's coupon code βnewprintsβ gets you 10% off your order!
woohoo! I have a full cart
Doesn't the lazy susan bearing get in the way of the main support in the 3d model?
It's a lovely turn table, I've used it for kitchen audio for a few years, and there's an old N20 rotary design but was a bit janky
Ooh I see now, nevermind first question π
TMC one is for more silent stepper usage and extra current related features, but more expensive than the A4988 / DRV8825
Smash!Β If you like my models, please like, share, download, boost, rate and all the amazing good stuff!Β Most Dice Towers are awesome additions to your board game experience. But it doesn't make rolling the dice any easier. If anything, it makes it more fun but also slightly more inconvenient.Β Smash! resolves this by having an auto reload functio...
Today's coupon code βnewprintsβ gets you 10% off your order!
Awesome show, guys! TY all!
Welcome back @rocky reef and @hard hollow , and thanks for the show!
Thank you for taking time for us.
Thanks!
thanks folks!
thanks so much for hanging out folks!
π
good evening
SHOW and TELL 1/8/2025 https://youtu.be/KCn5s-VjFcw
Link to join to show and share your project! https://streamyard.com/yrbmcp63jr
Good evening everyone.
Hey Y'll
Happy New Year
Is Zephyr supported on RP2040/2350?
it is by the community but not rpi officially
so it is a little sparse
Any idea how stable it is?
This is a good list https://github.com/zephyrproject-rtos/zephyr/issues/53810
I haven't tried it myself
here's the software I'm using: https://www.bottango.com/
cool Nixies @split gazelle !
glitch steamboat willy is inside your computer
@tulip canyon these are great
Clever way to make a sin wave with circles! Neat display demos, great job on these! @tulip canyon
@tulip canyon very cool!
Great projects everyone. Thanks for sharing.
Thanks all.
Demo code on github
https://github.com/somenice/Nature_of_CircuitPython
WE ARE LIVE in BROOKLYN! ASK AN ENGINEER! https://youtu.be/ICiE7Qd73r8
ASK AN ENGINEER 1/8/2025 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/
------------------------------------...
Hello From Hilliard, Ohio
Yay!
Hi, Iβve been using the T-Display-S3 for a project and love its features. Are there any plans to release similar product?
Be safe JP and all Cali folk
Adafruit Industries, Unique & fun DIY electronics and kits : AdaBox - 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 ...
10% off! Use code: stepper on checkout, expires 11:59PM ET go go go go!
Great little treats in your inbox. Takes all of a second to read: https://www.adafruitdaily.com/
Question for the team... the I2c digital potentiometer (non logarithmic DS3502) mentions the analog voltage controlled can be in the range of 4.5-15.5volts, but the example takes 3volts (Vcc level) to the wiper / Vhigh, what am I missing? Does it just mean that if Vhigh is above Vcc then it must be 4.5v or higher?
I'm not sure that it's Kosher to mix DC and Marvel like that...
It's like a spotter at the gym...
... I wonder which one is fleishig...
Nice.
TrIpPy
Let the pupil be the teacher...
ποΈ
The new eye graphics to me says "Your scientists were so preoccupied with whether or not they could, they didn't stop to think if they should." π π π
Adafruit Feather RP2350 with HSTX Port and 8MB PSRAM https://www.adafruit.com/product/6130
Raspberry Pi 500 Desktop - Full Computer Kit https://www.adafruit.com/product/6123
It's the now VIC20
Snap-On Enclosure Adafruit USB / DC / Solar Charger w/ 3.3V Buck - bq25185 https://www.adafruit.com/product/6124
Snap-On Enclosure Adafruit USB / DC / Solar Charger w/ 5V Boost - bq25185 https://www.adafruit.com/product/6126
Replacement Breadboard Strips - 10 Strips of 10 Rows https://www.adafruit.com/product/6107
You can't solder to steel?
Lightning Bolt LED Filament https://www.adafruit.com/product/6096
Adafruit TMC2209 Stepper Motor Driver Breakout Board https://www.adafruit.com/product/6121
Stepper motors are used for CNC machines, 3D printers, and whenever else one needs precise, powerful motion. But to get good behavior from steppers you need a motor driver chip that can ...
Question: when is the metro rp2350 coming?
It should go to 12...
At least 11
Spectrum analyzer
Should use thermochromic ink on that fuse so it turns red when it trips.
This is really cool! Iβve been a follower of Nature of Code since the Java days. Ported many p5js sketches to CircuitPython using these techniques. Thanks!
hi @cinder wind send cool vibes your way in CA, stay safe!
What display is that?
Thanks so much! I canβt stream the video on the hotel we evacuated to but Weds eves are always a source of calm and inspiration thank to you all
QUESTION: Is there a dual-port QSPI RAM?
Thanks @open girder and good night. π
Thank you for taking time for us.
Thanks Adafruit. Have a great night/week/year all
Night all!
Thanks, 'fruits
Thanks for answering my question!!!
I see and hear you!
great to be here with you all
Learning some painful but useful lessons about how to properly support 3D models when printing.
hi!
I've done lots of C/C++ in my career, although mostly for desktop. How much does C/C++ differ from chip to chip? I'm guessing CircuitPython abstracts those differences away, right?
Similar with Arduino core abstracting the vendor sdk into standard peripherals. Hey all π Zephyr Crew
π
Accessing usb-ethernet/modem devices would be cool, along with acting as one maybe
I wonder if @strong acorn was asking for CP to get network access over a USB connection on a PC, or perhaps it is providing network access from a PC to the CP host ?
For the last bit More like serve a closed network/ lan
metro RP2350 computer sounds cool
I share the board farm dream, we're trying wokwi for some stuff but i2c devices need chip emulation written (c/verilog) which isn't too hard but unrealistic.
I want to build a cheap reliable mini farm/cluster with analog matrix switches moving daughter devices (sensors etc) onto each board
Hehe yeah, hence share the dream.
There was a good article on the CV chips recently
I've got enough sensors and boards now, excluding the switches (enough for PoC), but the setup will be insane
engineering setup next?
The Renode port might be useful for the I2C testing thing
J P, this webpage has Python learning resources: https://learn.adafruit.com/welcome-to-circuitpython/how-do-i-learn-python
yeah true... my point of reference is the hardware simulations that xobs built for bunnie's Precursor hardware
Is there any way of running multiple CircuitPython programs simultaneously on a single MCU, with the ability to start and stop them individually? I think this would be a prerequisite for a CircuitPython computer.
what support is there for having multiple CP computers sharing information with each other - in parallel
Is there plan to add more adafruit board to the supported boards on zephyrproject as this moves forward?
Also - Hi Scott.
Ethernet/CANbus networking?
Are multicast packets supported?
Think so, required for mDNS
on upstreaming board defs...
Have you thought about how to handle SPDX headers and developer certification of origin (DCO) for upstreaming to Zephyr? They seem quite serious about Apache-2.0 licensing and DCO sign-off commits.
https://docs.zephyrproject.org/latest/contribute/guidelines.html#components-using-other-licenses
πΈπͺ π
Given that CP is one thread per micro, if one wanted multiple threads - and they ran on multiple CP microprocessors - how would the coordinate with each other - that's the sharing information in parallel I was referring to
Context: Suppose I make a circuitpython PR to add a board to your zephyr-cp port, then someday maybe you want to upstream it. How do you avoid an upstream PR review hassle over MIT vs APACHE-2.0 and DCO sign-off commit messages?
lol
Webserver and host has come a bit further
sounds efficient
Asyncio with Requests would be neat
which licenses are being used? ( I know I could look it up but I'm feeling a bit lazy).
Is part of the benefit to putting CPy on top of Zephyr that it won't be hard to use CPy on most Zephyr supported boards, even those that aren't from Adafruit.
where is subsys and zephyr.dts in your repository
I may have missed submodules
ah - thanks !
Have you identified any missing pieces that might make a good project for folks that want to contribute to CircuitPython on Zephyr?
Presumably if you remove that qspi pin def stuff but ask for the chip family default DTS to be included too then could rely on any supported qspi flash?
Have you ever been to a community makerspace? It would be a good place to house many of the development boards that you don't use too often. They might even have ones that you don't.
So have to name each variant instead. Not end of the world, just less than ideal
yeah, that's a great answer. lots to think about
I'm really curious about using ESP-AT to do WiFi and BT classic with an AirLift module. Might let me do BT keyboards and BT gamepads as input to CircuitPython
seems that maybe Zephyr doesn't have any existing support for BT HID
but ESP-AT over UART would probably work
there is some BT classic stuff, but it seems like most of what they have relates to BLE
advantage of ESP-AT is that it would be modem style, like the cellular stuff
could you talk a little about your current plan for how to progress through USB support, flash support, then whatever comes next?
what do you think about RPi Pico W?
I'm also looking for Zephyr on Daisy Seed and will probably make a port as soon not long after I get up to speed with Zephyr.
Will CircuitPython depricate any board not supported by Zephyr?
Any other past boards dropped in say CircuitPython 10?
https://docs.zephyrproject.org/latest/boards/
Ha ha a have a Sony Spressese. It's garbage lol
I bought it for Edge Impulse support
Edge Impulse is another great product I'd love to work with CircuitPython
nice to see Seattle blue sky - finally before sunset π
surely an S3, saw one in ttgo/lilygo range, plus normal devkits presumably
desktop ?
nrf53 module list: https://www.nordicsemi.com/Products/nRF5340/Modules?lang=en#infotabs
Thoroughly rate the Fanstel versions of Nordic modules with the PA (power antenna) in list. (But earlier family)
Thanks Scott, have a fantastic week.
Thanks Scott π Good luck with your progress
Thanks Scott + all
timecodes in the mail - thanks for the mention to the maker space in the north end
you could add a polarizing lens to it.
thanks!
got em and posted. thanks!
I am getting started this morning, continuing work on the crafting game from last week. You can follow along on Twitch: https://www.twitch.tv/foamyguy_twitch or YT: https://www.youtube.com/watch?v=q_9W9tMWNjI
Desk of Ladyada - LDACs, Sparkle Motion Mini & Claude π§π€
https://youtu.be/bFcRxufkZjI
Sparkle Motion Mini PCBs are here, featuring a compact 5V-only design. We are also refining small breakout boards like the DAC7578 and working on a TMC2209 driver by refactoring BusIO for versatile interfaces. Lastly, Claude & exploring compact, sensorless BLDC motor drivers via DigiKey.
Sparkle Motion Mini PCBs are here, featuring a compact 5V-only design. We are also refining small breakout boards like the DAC7578 and working on a TMC2209 driver by refactoring BusIO for versatile interfaces. Lastly, Claude & exploring compact, sensorless BLDC motor drivers via DigiKey.
let it sparkle
β¨ 
the agentic AI
one to test there https://www.deepseek.com/
deepseek is open source models
My mom often woke us with " Rise and shine Sparkle Plenty!"
(Sparkle Plenty was an obscure character from comic strip or radio)
TI has some really good tech talks about field oriented control. I think you could almost make a brushless sensorless bldc work as a stepper. You know exactly when each pole is passed and how far it is between each one, by using a second pin to watch the current, you can even know how hard it's pushing or being pushed.
π
hello!
Hi JP. Glad you're doing ok. I've been wanting this sensor since it came out. Very cool.
Good afternoon.
π
so happy to see that John is doing well with all that is going on
hiiiii
π
I have one hooked up right now reading the CO in my office telling me to open door when it gets bad
Bartlebeats
Nope Paul got it
I love that their music is CC licensed, allowed me to use it on the podcasts, too
https://www.adafruit.com/frequency (info about the music)
StemmaCO2PCBQTI2C
I like the CircuitPython library method:
if scd4x.data_ready:
Wish more sensors had data_ready()
I knew it, JP is full of gas
good afternoon everyone. graph all the things.
Good timing. We were just talking about CO2 dectors at the local maker space.
I wonder if USPS shipping is still slow, or if it is back to normal.
The datasheet mentions exposing the sensor to "clean" air once in a while.
It otherwise saturates and records higher than normal CO2
great to catch you JP
No Temu sensors here. LOL
hhaha
Thanks @haughty quiver
Looking forward to trying them out.
Thank you JP.
Thanks JP π
Thanks JP
Thanks JP π
Thanks JP!
thanks JP!
thanks very much for coming by, all!
great sensor pick of the week
Yikes! I slept through the show. Glad I woke up in time to still buy a couple!
π
Hello! π
Ahhhh
πΈπͺ π
Hey all π
Did you try a larger stepper originally?
The pancake / shorter version is neat! Presumably less current too (maybe useful sometimes), although the normal one in store is deliberately low current
perhaps work well on the light and turntable one https://microbots.io/products/motorcell
Discover our new MotorCell β a tiny, thin, high-speed PCB motor with an onboard sensorless controller. This provides direct speed feedback, eliminating the need for extra sensors. The MotorCell can be powered directly or controlled via PWM for precise speed control. This compact motor can spin up to 30,000 RPM at no-lo
the platform for the lazy susan could be called the table
Do they qualify for the CAD Parts repo, as they have a product ID?
Thanks for the show!
Great, thanks for the show!
happy show
thanks Noe!
Thank you for taking time for us.
Thanks folks! cya tonight π
Thanks for the show π
π
Hey y'll
hi!
Good evening everyone.
π
SHOW and TELL 1/15/2025 π§β‘οΈ - https://youtu.be/Uy2WAdBSXxg & Link to join to show and share your project! https://streamyard.com/dm747brn4b
Zephyr = West wind != Santa Ana winds
now I want to know what happens if you point two of the sensors so they "scream at" each other
My challenge is a hydration pack, it sloshes etc. I'm thinking weight might be the best method
One of the thing that irks me about Keurigs is there is no water level sensor and the water level is always hard to see. Improving your coffee ingestion efficiency is always a worthy project.
A friend tried to monitor water height in a tank pit with ultrasound, didn't work well because of reflections on the walls⦠Curious to see if it works for a smaller tank.
I'm definitely going to pick up one of the snap fit cases for the solar charger. Looks like a great snap fit design.
so far so good in my testing -- the reservoir in my machine seems like it's HDPE or similar off-white plastic
lazy susans are great for dining room tables
blit all the things!
LED matrixes always look 10x better in person. making them look clean over a webcam is a fruitless endeavor.
Does it support FlaschenTaschen @robust horizon ? π
I'd really want to see the code I wrote in VLC get more use π
The HDMI dongles Adafruit sells do work very well.
https://github.com/adafruit/Adafruit_Blinka_Raspberry_Pi5_Piomatter https://pypi.org/project/Adafruit-Blinka-Raspberry-Pi5-Piomatter/
Beautiful piano black glossy look.
does it make the sound?
@gray obsidian this is for "hub75" style RGB LED matrices. That project says it's based on WS2801 or APA102. I also did a library for neopixel LEDs on the Pi 5 which are similar but not quite the same as WS2801 / APA102.
well you can probably implement the same protocoi on the Pi, it's UDP-based IIRC.
Check out the next podcast episode of The CircuitPython Show in 2 weeks - @inner spade is my guest and goes into detail on his corrosion monitor and weather system
It's gorgeous!
vlc -H | grep -i flaschen π
these look great @inner spade !
Circuit Python Show is awesome. Looking forward to it!
If you have an RGB matrix connected to a Pi, you can run that as Flaschen Taschen backend:
Ok, I see, it does support this kind of display, perhaps. Well, the way the pi5 drives the display is different than older pi versions -- https://github.com/hzeller/rpi-rgb-led-matrix is not supported on pi5, that's why I had to do this code in the first place.
Great projects everyone. Thanks for sharing.
Thanks all, great projects
Thanks to all who shared
Thanks everyone, another beautiful show & tell.
some backporting then I guess. the code has some support for tty as well to see how it'd look.
ASK AN ENGINEER 1/15/2025 LIVE! π§β‘οΈππͺπ©βπ§π½πΊπΈ - https://youtu.be/Vm_R5diG9Wg
ASK AN ENGINEER 1/15/2025 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/
----------------------------------...
Ha! Just didn't bother to annotate AM or PM. No midnight sun issues in this area.
well showing with a leading 0 for military time could get confusing. π
Oh, good catch!
Greeting and salutations from Toronto
I should really sleep, 2am already here.
10% off! Use code: sparklemotion on checkout, expires 11:59PM ET go go go go!
Don't anthropomorphize the robots, they don't like it when you do that.
If there's one thing I can't stand, it's intolerance.
do you forsee any rp235xB (with the extra pins) coming out - any clues on when Metro RP2350B will be coming out ( "when it's ready" π )
Metro? or Mega?

very excited for the transition to Zephyr!
Lots of stuff
https://docs.zephyrproject.org/latest/boards/index.html
and you get a lot of companies doing ports to Zephyr on their own these days, as long as CircuitPython uses the abstraction subsystems for the typical peripherals new support should not be far from it being a weekend thing to get supported in CircuitPython

? INA228 learn guide and driver availability for 2025?
Question: Can Gen AI do HW design, schematic capture or PCB layout?
Question: Is Brushless DC Motor Driver equal to ESC?
The term ESC is typically used in RC aircraft community but BLDC is basically the same, just more general.
ESC usually super high 20-30A
esc means electronic speed control. any motor driver capable of speed control is an esc.
And don't hook your regular LiPo to an ESC that wants that 20-30A or "bad things" may happen
esc is mostly an RC term yeah. Adafruit has some motor drivers in the store that are also ESC's it just depends on the type of motor and driver.
most RC's are a multiple of 3.7v. 7.4V is simply 3.7x2.
11.1V is 3.7V x 3.
I have one that is 11.1V that I have thought of using if I need more power for some project that can draw a fair amount of amps. But really only good for 10-15 minutes at that draw
So an S2 or S3 battery is just a multiple of a 3.7V battery but also can require far higher amperage.
With a voltage buck you can use an S2 or S3 battery for 3.7V projects and will have a ton more amps at your disposal. Like everything right tool for the right job. Mixing batteries and drivers not meant for each other usually doesn't end well unless you really know what you're doing.
Raspberry Pi 5 - 16 GB RAM https://www.adafruit.com/product/6125
Round Panel Mount USB Cable - USB-B Socket to USB-C Plug https://www.adafruit.com/product/6116
NeoPixel LED Outdoor Netting - 20 x 20 LEDs - 1x1 Meter Sizing https://www.adafruit.com/product/6159
This ready-to-go NeoPixel LED Outdoor NettingΒ will make it easy to make large grids easyΒ without having to piece together multiple LED strips. It looks like a 20 x 20 RGB LED grid, ...
ββI'd like to see the machine that makes these.
Sparkle Motion not Sprinkle Motion
This looks like something Erin would love for putting into fabric. Having a matrix that can curve around objects has its uses.
My urge to make an LED kilt intensifies.
I've had an idea to add LEDs to a sports jersey... so it can light up/change on game events
Mini Sparkle Motion - WLED-friendly ESP32 NeoPixel LED Driver https://www.adafruit.com/product/6160
3 Sheets of Leds to the wind
QUESTION: How's the switch to KiCad going?
Thank you for taking time for us.
I would love to see opening Eagle files in Kicad tutorial. Thank you for providing files
I, for one, welcome our new advanced motor controllers. I watched TI's talk about figuring out what's where at startup.
Thanks @open girder and good night. π
Digital refugees⦠new term.
FOC controllers are also the quietest
Stay away from the red suit in that Star trek future
Thank you for another wonderful show.
That's odd. I didn't hear my question. Have to watch again.
Never wear red when using your star trek pizza cutter.
Thanks Adafruit. Thank you all community
@haughty quiver About your liquid tank sensor, I've used XKC-Y25-NPN Non Contact Liquid Level Sensors in a custom fresh water tank in my van conversion. Paired with a Pi Pico W and it works great!
Thanks!
Greetings, good people.
hihihihi
hello all!
π
πΈπͺ π
Hello! π
I like those purple LED lights up there. π
Inception
LEDeesz?
Question: can people (me include) 3D print keys for the pi500 or pi400?
π
Bonus! CircuitPython code and visual perception in the same Parsec lesson.
I listened to the latest yesterday evening - very enjoyable!
Yikes!
Be sure to use a heavy bass
Those kits don't often come with washers. π€
It so happens there's a kit in the Adafruit shop...
Psh youβre not a real coffee pro until youβre making your own water from H2 & O2
H2O2? That's peroxide...
Rather push a chevy ruler than drive a ford ruler amirite?
It's a metric Chevy, to boot
Home distillery. At least your own distillery could have a secondary use. You know, like for ironing clothes. Watch out for the revenuers, though.
So weird to see a Chevy logo on a metric ruler.
:: splunk ::
Would you have to worry about mold growing on the end of the sonic sensor eventually?
JP, you should get a big straw and suck the water out to demo the sensor π
as someone who is very, very colorblind, thank you for that.
Holding electronics over water... what could go wrong. Just waiting for it. π
djdevon i know my dad got water inside the phone
modern phones hard to open with all adhesive glue
Install a few UV LEDS next to it.
Ah a 2nd container for automated refills sounds neat. Parastaltic pump?
Maybe you could use something that's sonically transparent, but waterproof, like clingfilm or a sheet of thin rubber.
I think those sensors have a screen like material on the end. Even with a toothbrush, cleaning them doesn't sound like it'll ever work right again? I've never had to clean one.
homekit
Keurig does that with a pre-fill. If it doesn't completely fill you get like half a cup of coffee.
So can't ever let the reservoir get close to empty.
How close is the fire to you JP
Perhaps it self-cleans due to ultrasonic vibrations? π
lars super cleaner
Not as silly as it sounds. DSLRs have such a system to keep the sensor clean.
Probably just dip it in some vinegar or bleach then air dry. If the reservoir gets moldy then have bigger issues anyway.
The problem with floats is they do tend to grow mold since most are in water all the time.
How close is the fire to you JP
Eh, just have the weight outside of the tank and wipe down the float when cleaning the reservoir
Maybe a load cell measuring the weight of the machine? (As a mold-free alternative)
He's done a load cell in a previous episode for weighing coffee beans.
the bambu is life changing
Lol, I switched my Ultimaker 2+ this year as well, but I switched to a Prusa XL instead. 5 heads.
Just looking for an excuse to use the ultrasonic, then? I can respect that
Oh wow you can run multiple AMS boxes on a Bambu? So cool!
Creality have CFS for it now
welcome to the Bambu family. π
I'm bamboozled by all this 3D printer technology...
The Ultimaker was rock solid!
interesting that bambu dont have screen on it
I bought a machine to print with, not to fiddle with.
I've heard some AMS systems waste so much filament that has to be wiped off. End up going through spools slightly faster. If that's the only downside then it's a win/win.
on holidays i got creality hyper filament
you can set the material purging (colour bleed avoidance) to go into the model as infill
this is creality CFS https://img.fantaskycdn.com/4023957dad32db321fe302c5b23dbe87_1008x.jpg
4 different AMS on 1 printer, holy cow. can print a rainbow.
Only problem with the switch was all 3mm filaments I could no longer use. π
You can do soluble BVOH supports with an AMS/MMU, that can come in pretty handy sometimes
Lars is relaxed
nothing wrong with talking about 3d printing. just a matter of time that an electronic project will need a custom enclosure.
mineralize mineralize
Thanks, JP! Stay safe
some say Lars have shielded firebroof dome this JP workshop
Scott in theory
Great workshop, @haughty quiver π
Thanks JP, stay safe
Thanks JP! Stay safe
Thanks JP + all
Thank you for another exciting episode. Stay safe out there.
Bye all. π
Thanks JP. Be safe out there.
Concrete houses and concrete roofs should be standardized everywhere.
Cheers, everyone. Until next time - Same John Park time, same John Park channel!
thanks all!
same Lars time same lars channel
@haughty quiver when you get a chanse see if the pi500 or pi400 keycaps can be 3D printed
hey scott
hi
π
Good afternoon
πΈπͺπ
hey
π
Mark has been sick most of the holidays so was living vicariously through others fun projects (but finally better) π
Boards with like 100+MB of RAM? Need to buffer all the things intensifies.
π
board definitions are a bit weird the first time you get into it but I found it pretty quick to do once you got the hang of all the things that need to be defined
what is the timeline for porting daisy seed to zephyr / circuitpython?
i was just about to make a PR with my initial port of Daisy Seed π
I have one of those too. A lot of projects got ahead and I forgot about it. I can help test your zephyr port for it when the time comes. Don't imagine many people have them.
oh right that board, yea is a bit weird how hush hush they are about their boards
just wondering how soon it will become obsolete π
cool you have USB working!
I'd be willing to help test that port too Snakey.
random bits are the spice of life, keeps you on your toes.
that hub question sounds like a good Ask an Engineer thing
Replaced my motherboard over the holidays and USB devices in general finally led me to reinstall Windows.
k.sleep? sounds like heresy.
circuit python scanning example or zephyr?
nvm, zephyr is way outside my wheelhouse.
it's not imminent by any means. TinyUSB has to start working. There may be a very limited port, but it may lack functionality.
there is a scan function in the wifi manager but not sure there are examples for it specifically
(.venv) $ grep -r scan * | grep wifi
net/wifi/shell/README.rst:scan, connect, and disconnect. It also enables the net_shell module
net/wifi/shell/README.rst: shell> wifi scan
net/wifi/shell/prj.conf:# printing of scan results puts pressure on queues in new locking
I found one for the nordic sdk? sure you saw it in zephyr and not nordic sdk?
that is a driver implementing the wifi manager
not something you interact with directly
you can probably just use the source for the wifi shell to cobble things together https://github.com/zephyrproject-rtos/zephyr/blob/main/subsys/net/l2/wifi/wifi_shell.c
yea the network manager is very abstracted, if you implement that instead of specific things like Wifi and Ethernet individually you get actually loads of ways to do IP without needing to specifically care about the transport
like WWAN/LTE etc just comes for free
FWIW, I know you're not into the shell, but I just tried doing a west build ... net/wifi/shell ... for Raspberry Pi Pico W, and was able to use wifi scan in the shell over UART. It just worked. no fuss.
yea agree, its bad
the shells are super useful but they should not be an excuse to not have a sample
Does this look like the sample you were looking for ?
I hear you. return 0; is a bit uninformative.
that is the implementation of wifi manager
anything thats not in the sample directory is not a sample π
you will need to interact with the wifi and network manager if you don't want too loose SoC abstraction
thats the subsys they implement to enable wifi
(.venv) $ grep -r SHELL_CMD_REGISTER * | grep 'wifi\|net'
drivers/wifi/nrf_wifi/src/wifi_util.c:SHELL_CMD_REGISTER(wifi_util,
drivers/wifi/eswifi/eswifi_shell.c:SHELL_CMD_REGISTER(eswifi, &eswifi_shell, "esWiFi debug shell", NULL);
samples/net/promiscuous_mode/src/main.c:SHELL_CMD_REGISTER(promisc, &promisc_commands,
samples/net/capture/src/main.c:SHELL_CMD_REGISTER(sample, &sample_commands,
samples/net/sockets/echo_server/src/echo-server.c:SHELL_CMD_REGISTER(sample, &sample_commands,
samples/net/sockets/txtime/src/main.c:SHELL_CMD_REGISTER(sample, &sample_commands,
subsys/net/l2/ieee802154/ieee802154_shell.c:SHELL_CMD_REGISTER(ieee802154, &ieee802154_commands, "IEEE 802.15.4 commands",
subsys/net/l2/wifi/wifi_shell.c:SHELL_CMD_REGISTER(wifi, &wifi_commands, "Wi-Fi commands", NULL);
subsys/net/lib/tls_credentials/tls_credentials_shell.c:SHELL_CMD_REGISTER(cred, &tls_cred_cmds, "TLS Credentials Commands", NULL);
subsys/net/lib/shell/net_shell.c:SHELL_CMD_REGISTER(net, &net_cmds, "Networking commands", NULL);
subsys/net/lib/coap/coap_server_shell.c:SHELL_CMD_REGISTER(coap_service, &sub_coap_service, "CoAP Service commands", cmd_list);
subsys/net/lib/zperf/zperf_shell.c:SHELL_CMD_REGISTER(zperf, &zperf_commands, "Zperf commands", NULL);```
(grep command to locate files that register shell commands)
this appears to be the implementation of the wifi scan shell command: https://github.com/zephyrproject-rtos/zephyr/blob/main/subsys/net/l2/wifi/wifi_utils.c#L277-L306
those are general helper functions, the shell implemention is what I had posted earlier
oh right... that's the same file you already posted [edit: never mind... I think I actually pasted a link from the wrong tab]
their samples all use standard Zephyr stuff for the most part, they do have a couple libraries they add but not for major stuff like network management
you can get away with using an upstream Zephyr and include some of their specific libraries if you don't want to use the whole nRF SDK package, though they do maintain a down stream copy of Zephyr that has some different patches
looks like the scan implementation is spread across several callback functions in that file
so, would a focused wifi scan sample, minus all the shell stuff be useful to you?
I'm about ready to try making some samples of my own for the Pico W board
but yea I think the shell code should be enough for the parts you need, it shows you how to interact with net_mgmt for the wifi specific stuff, for net_mgmt itself you get a few samples in main
try it ( chatgpt )
chatgpt: please port circuitpython to zephyr. easy as that. π
the tldr is you ask network manger to do stuff and pass it command like scan request command and then you listen for events like "wifi scan result"
maybe overloaded functions?
lol yea no thats all made up
oh that's just a way chatgpt does for loops
WIP draft, but you're welcome to try it https://github.com/adafruit/circuitpython/pull/9974
another place to look for sample code is in tests
e.g. tests/net/wifi/wifi_nm/src/main.c
which has a call to wifi_scan
I think only staff has access to the archive or whatever the pre-release thingies are called. I think I'll have to wait for a build.
timonsku... sorry for the confusion. I think I actually pasted a link from the wrong tab earlier
Oh, didn't know that, I made it ready for merge.
I can't remember what they're called. architype or archive, can't remember the word that github uses for it.
I think wifi should be doable to add
you mentioned that sysbuild is build on top of cmake - I was looking at the text files in cmake Modules folder - there are over 100K lines of text ( that they invented a new interpreted language for )
what was wrong with other scripting languages
its not too much stuff
re wifi first or merge sooner... it would be cool if the merge happens in a state where people can try adding more boards.
so maybe whatever would result in less churn?
so to be a CMake master, I need to learn a new language, and understand which libraries I need to add to my vocabulary
when you say "wifi", which parts of the API would you need working (scan, connect, and ...?)
you might want to think about having a global network manager instance that you interact with and that wrapping things for more specifics like a wifi scan as all interfaces make use of network manager, would just be a lot of duplicate functionality in the end
227K lines of C++ code in the cmake-3.28.3/Source
yea essentially the same really
thats why I mean maybe have shared abstraction towards the CPY side
for Ethernet... which hardware are you thinking of? Blinka on Pi? Ethernet FeatherWing?
the wifi tidbits are just 3-4 extra stuff you request from net_mgmt
yea like have a "networking" bit that handles the interaction with zephyr's net_mgmt
gets clear if you look at the wifi shell source code or that network manger test
oh yea no for sure, just mean how you manage the port side
yea the 7000 series stuff does not take any firmware, it just has the radio firmware, which is unfortunately always a blob with every vendor
it is π
but a bit less so
the radio is still a blob but the packet layer is open, which is great
yea one big reason for sysbuild was afaik that it allows for linking in external blobs for parts like that, thats one of the main things why Nordic has their own fork and stuff
I think its mostly about having it in the repo or not, the idea is that blobs would get pulled through an external module
because licensing of blobs is usually very complicated
That Station Mode and AP Mode look interesting although I don't have.a usecase myself
https://docs.zephyrproject.org/latest/samples/net/wifi/apsta_mode/README.html
when you say "scanning example" do you mean a zephyr thing or a circuitpython thing?
oh... so run code.py, see what breaks, fix the first one, repeat...
is the .bin file a binary blob or an output from your linking?
the one that was mentioned in the error message
it should link in if you add CONFIG_MBEDTLS
in KConfig file
could be enabled by another option like networking
yea all external libraries are in modules exclusively
there is a mbedtls folder
the source itself is still in a submodule, they don't touch that the modules is essentially CMake wrappers and maybe some extra functions to have it play nice
west will pull in all the external repos for you
if you don't have it on disk you might need to do west update
in my zepyhr workspace, west puts the source in ../tools/net-tools/mbedtls-2.4.0 above the zephyr repo
if/when zephyr works will i notice any difference in using circuit python? is all of this only for the core stuff?
yea external repos get put outside the zephyr tree
so whatever west workspace you have setup
did you look in tools/net-tools?
sounds good to me. slap a sticker on it. sold.
that is not the path you would include
look in your build folder if you want to verify that it actually gets put in the right spot
there are also mbedtls include files scattered all over various directories under ../modules/ ../bootloader/ and ../tools/ in my workspace directory
you should not need to worry about linking against it manually, if it doesn't get pulled in then something is wrong on the CMake configuration side
the include path seems to just be #include "mbedtls/..."
in that test they build with
CONFIG_MBEDTLS=y
CONFIG_MBEDTLS_BUILTIN=y
is your include path in your sources correct though, didn't you have a lib/ in there?
ooh okay, so you aren't getting it passed on into the cpy buildsystem is what you mean?
thanks for streaming and making my eyes glaze over once again. that's a lot to digest. have a great weekend!
Thanks Scott
thanks for streaming!
I am getting started this morning working on some blinka displayio things. You can follow along on twith: https://www.twitch.tv/foamyguy_twitch or yt: https://www.youtube.com/watch?v=8czmvgN3Q70
good morning
I think I found the problem with the seach on circuitpython.org, will post PR with fix later
Hey Tim, in Python you get a float anytime there is division 6/2=3.0 eg.
Floats start at Current_area()?
Good Afternoon
In using displayio I keep everything a float until the end. Only at the pixels go back to INT
π
float only when I'm doing funky math etc.
Are those palette hex colors getting truncated?
Thank you for the stream
Thanks for the stream, @smoky island .
Thanks Tim, have a great long weekend
Desk of Ladyada - Sparkle Motion Tester Troubles & Samples Sunday π€π§ β¨π¦π¦
https://youtu.be/xrueaEeTHEU
Sparkle Motion Mini testers. The Mini came together fast, but classic testers had cascading issues. We used Claude for firmware and got cool samples, including filament letters and enclosures for Sparkle Motion Stick. And our dinosaur tissue holder fell, disassembling an arm! Time to find strong foam tape for reattachment.
Sparkle Motion Mini testers. The Mini came together fast, but classic testers had cascading issues. We used Claude for firmware and got cool samples, including filament letters and enclosures for Sparkle Motion Stick. And our dinosaur tissue holder fell, disassembling an arm! Time to find strong foam tape for reattachment.
Can we actually play the game that is the start sequence of Desk of Ladyada?
one day π
folks can start complaining there is not an android version at any time (there will be, but that will not stop folks!)
Adafruit is always iPhone first, where in EU Android is more popular.
I guess I need to adopt the previous iPhone from my youngest teenager.
one day we will get multiple mobile os at once for it
Dual boot iOS/Android, or virtual iOS and virtual Android in "something else"?
You can set Copilot in VsCode to use Claude 3.5 too (drop down for model in chat panel)
david you know you want it to run in zepher os
Samsung galaxy note 9 had LXC containers for running DeX / Ubuntu on the phone (with OTG for hdmi and hid)
Good for Feather USB-Host kind maybe?
Some kids would be frightened of the potty with that thing next to it!
It's cool that babyada's first instinct was to fix it. πΆ
Never!
DeX is pretty cool. I used it when I was a mobile app developer
Very useful.
?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
hi!
Good afternoon.
hello!
π
ππ£
heyyy
Hi sorry i am late..
Hey if you want to change all the prices for a bit, I wonβt tell anyone
stepper bit
Not yet.... π
Not discounted yet in a private tab
Poor servers as everyone refreshes at the same time
Max order limit updated... Getting there π
it's live
βοΈ Yep
hi lo hi lo
I want macro-stepping: seven league boots mode
nano-stepping next?
question: is there a tutorial on making the pi500 portable like running on battery power so I can use it away from an outlet?
Thanks @haughty quiver
Thanks JP
Thanks JP π
Thanks! The internet must have been running on 1/32 step mode today.
thanks JP
This is a better question for #help-with-linux-sbcs
Turntable UI, Visual Timer and Robot Grabber https://www.youtube.com/adafruit/live Today's coupon code βoledmenuβ gets you 10% off your order! https://www.youtube.com/adafruit/live @ecken @rocky reef #3DPrinting
This week @adafruit weβre checking out the menu UI for our motorized turntable project. Pedro has a working prototype of our time visualizer for toddlers. Qu...
good morning folks!
Hey Y'll
Adafruit Industries, Unique & fun DIY electronics and kits : Free - 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 Ha...
TMC2209 Driver:
https://www.adafruit.com/product/6121
Stepper motors are used for CNC machines, 3D printers, and whenever else one needs precise, powerful motion. But to get good behavior from steppers you need a motor driver chip that can ...
1.3in OLED:
https://www.adafruit.com/product/938
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 ...
I like the idea of combining that with a grabber to make a fun carnival-style game
Not seeing good things about Bamboo printer. Something about firmware?
Adafruit 3D CAD files available on https://github.com/adafruit/Adafruit_CAD_Parts
that spool holder would be sweet on a pegboard
was literally just fumbling around with wire spools lol, this will be useful
They have a one with tire marks on it, they are big and I use the to organize cables and tools.
impressively massive.
And massivly impressive!
thanks so much for hanging out folks!
Thanks for the show guys!
Thank you for taking time for us.
thanks, all!
thanks folks! cya tonight
https://www.printables.com/model/1159841-wire-spool-holder For folks interested in the 3d printed wire spool holder
here is the link to join show and tell: https://streamyard.com/nw4n3kpgxe
hi there!
π
Good evening everyone
Hello π
Hey Y'll
Good evening everyone.
πΈπͺ π
zephyr is alive!
weird! it doesn't look low on my end. I wear it a bit closer on deep dive
I don't compress the level at all
the code, for the impatient .. does little more than moving memory around from one spot to another after setting everything up. https://gist.github.com/jepler/efba133f7f43caf5361be7e0f9f85777
Makes me want to create a 50 panel project with a pi and play pacman. Looking forward to seeing what it can do Jepler. Framerate looks amazing, great work @robust horizon
the power supply requirements would be unreasonable π€£
I thought that about 12 but I made it work π
wippersnapper offline mode? interesting.
just as I consider selling my machine, JP is re-fueling my espresso hobby interest
Nordic PPK ftw https://www.adafruit.com/product/5048
Yay @open surge!
@open surge yay, I love your podcasts
(btw, audio level is a bit low, @open surge)
Yay, glad the show is coming back @open surge - it really puts a person behind the avatar.
Thanks everyone.
thanks all. π
Thanks everyone
thanks folks!
great job hosting, thanks @split gazelle
Thanks for hosting @split gazelle
WE ARE LIVE in BROOKLYN! ASK AN ENGINEER! https://youtu.be/9YoWMhHrAEo
ASK AN ENGINEER 1/22/2025 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/
-----------------------------------...
10% off! Use code: cellardoor on checkout, expires 11:59PM ET go go go go! https://adafruit.com/new
Adafruit Industries, Unique & fun DIY electronics and kits : New Products - 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/Cost...
Yep, really want to play adafruit cyberpunk sidescroller game
Like to see the final boss-lady
what is the discount code AdaHeart for?
adaheart is prolly our valetines day gift guide code / discount
do you have a link for it?
@feral mortar https://www.adafruit.com/explore/adafruit-valentines-day-gift-guide-gifts-for-a-special-someone
Adafruit Industries, Unique & fun DIY electronics and kits : Shopping Guides - 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/C...
I recently tested out generative 3d modeling
https://www.somenice.com/2024/12/generative-3d-modeling/
https://en.wikipedia.org/wiki/Gigabit_Multimedia_Serial_Link
From Wikipedia, the free encyclopedia
Gigabit Multimedia Serial Link, commonly referred to as GMSL, is a serial link technology that is used for video distribution in cars. It was developed by Maxim Integrated. Maxim Integrated was acquired by Analog Devices in 2021.
Gigabit Multimedia Serial Link, commonly referred to as GMSL, is a serial link technology that is used for video distribution in cars. It was developed by Maxim Integrated. Maxim Integrated was acquired by Analog Devices in 2021.
GMSL is an asymmetric, full duplex SerDes technology - which means that it transports data at a high rate in the down...
using shielded twisted pair is a brilliant way to detach some build components from the main body.. the difference in doing shielded vs unshielded is trivial, so it's something easy enough for makers to do on their own
looks like the routing in the example requires trace route length impedance matching. can't remember what that's called.
a PITA. π
for advanced pcb designers
argh ... now i want a gyro ππ
π
Adafruit CLUE - nRF52840 Express with Bluetooth LE https://www.adafruit.com/product/4500
Do you feel like you just don't have a CLUE? Well, we can help with that - get a CLUE here at Adafruit by picking up this sensor-packed development board. We wanted to build some ...
would be a great panel mount cable for custom raspberry pi enclosures
Dual Panel Mount Extension Cable with HDMI / DVI and USB Type-C - 1 meter long https://www.adafruit.com/product/6118
NeoPixel LED Outdoor Netting - 40 x 20 LEDs - 1x2 Meter Sizing https://www.adafruit.com/product/6163
Adafruit Sparkle Motion with wFL External Antenna - WLED and xLights Board https://www.adafruit.com/product/6167
Adafruit Sparkle Motion - All-In-One WLED and xLights Board https://www.adafruit.com/product/6100
TheΒ Adafruit Sparkle Motion with wFL AntennaΒ is the flagship in of ourΒ series of "Sparkle Motion" boards, that are our attempt to make theΒ best ...
β¨
could we use one of the outputs for a speaker
What's the silkscreen font for the text on the back of the sparkle motion?
might be my favorite pcb silkscreen easter egg
The silkscreen giving Papyrus font vibes lol
If its a classic esp32 it has a dac for audio.
finally I can wear my sparkly human suit
Round(value) to a lower decimal point so the output value looks more stable.
Pdm mic will sense pressure changes
for the drum question. maybe something useful here?
https://learn.adafruit.com/gemma-powered-neopixel-led-sound-reactive-drums/overview
I think Chris lee wrote a guide on a DIY puffer controller too.
i don't doubt your commitment to sparkle motion
Just remember to pass?
Thanks @open girder and good night. π
Thank you Adafruit, Have a great week
Thanks for taking time for us
thank you!
Great show, see you next week!
Howdy!
π π
π
π
I think we have a coffee theme today... β
Hello! π
πΈπͺ π
Good evening, @clever summit π
Good Evening Mr. Callaway!
π
Lars is uncomfortably close...
what's that JP? You're giving me free adafruit stuff? thanks!
free stuff on your datafeed
This is Lars' twin brother Sven, and Sven's girlfriend, Lottie...
Wow spaced out the show. Hi all
hello!
Blind motor controlled by daylight. π€
https://www.adafruit.com/product/997 Just hook up a relay to the ultrasonic sensor to open the valve when the water is low
Depending on how involved a setup you want for breakfast...
Getting a Wallace and Gromit vibe here...
It's amazing how powerful the new M4 Mac Mini is for the price, very happy with mine
That's how our hands work.
Yesss I love mine too
emmet brown had different machines
mostly....
Lol
"Make me an espresso HAL"
"I can't let you do that Dave."
I don't know whether JP's in the market for an automatic dog food opener/dispenser...
JP, add one of those gesture sensors to it, so you can make the hadouken gesture at it to make coffee
Lol. Everyone's staring at the screen...
Checking for AIO throttle limits is pretty simple https://adafruit-playground.com/u/CGrover/pages/cedar-grove-weather-architecture-v2-0#aio-transaction-throttling-code-examples-3188608
'Closing time - one last call for caffeine now, so finish up your espresso-o'
yeah can do both timer and pin wake
Could you make it check every time someone makes a coffee...
Matter connect to the valve linked above
That'd be nifty if you could maybe connect an ammeter between the unit's plug and the wall outlet to trigger a read upon sensing a ramp up in current (from use)
That would work.
(For you movie buffs: Walther makes a fine PPK as well π )
Can you set this up to send you text to your phone when water is low
Could even cut the power if it senses there's an insufficient supply of water
Thanks JP
Thanks JP, good show!
Thanks JP!
I bet FoamyGuy makes a good cappucino
π
And bye all. π
Thank you, JP and all!
FoamyButNotTooFoamyGuy
π€Ώ
heyhey
π
the debugger is also an nRF5340, its very meta π
Hi from Costa Rica folks, can't believe I'm here on-time-ish.
π
guessing dropped messages are received packets that were not processed ?
How's it going in WA? It's been sub-freezing temps here all week
It rained here - on frozen roads this morning
Oh no late too the party, got to excited playing with work things (new wippersnapper lower 1second poll period). Oh no twitch stream today π€·ββοΈ hey all π
Rather rude of the Canadians to send us such cold air π₯Ά
You're welcome π
Live, thanks
twitch is up
Oh, thanks, eh
We actually finally got to about freezing temps and not -30, earlier this week was brutal
We also made it up to freezing today at last π
(I haven't seen -40 in over ten years, but I kinda miss it)
... and after 30 seconds back in it you will be good for another 10 ha
wdym turn on?
All are welcome to come and hack in Costa Rica. It's about 23C, very little clouds so I can see the ocean from here, the sunset is about to start (4:30pm here), and the tucans are about 5m from the window I have in front.
for logging maybe implement a CPY logging backend, then you can get everything that goes through the logging subsys
Are there any current Circuitpython boards that use the BW16 WiFi/ble chip (ai-combo AT command set)?
Or other AT WiFi boards
did you have an example program to compare with from the sdk ?
and no you should not need to do anything, thats all taken care of by the driver
I'm hoping to not write AT stuff
But when I looked it seemed easier to put Micropython on the BW16 coprocessor π
Or port airlift/Nina
you would also be able to get printk's
a lot of subys and drivers log through the logging system, might make lifer easier down the road if you don't have a seperate log view for the zephyr side
what are you looking for atm?
where is the error issued in the source code ?
the error sounds like communication doesn't work, do any other wifi related actions work before that?
Bit OT, but I'll probably watch after this, a talk from 3C about hacking the wifi on the esp32, if I'm reading it correctly they have a complete "free" wifi stack for the esp32. And they were able to port it to the esp32c3 as well.
so driver includsion is dictated by devicetree, if the device is not defined in DT then it will not compile in the driver
other thing is enabling the relevant subsys in Kconfig, in thise case should only be network
so you are checking if the device is ready?
you would get an error there if its not defined but if you currently use the DK definitions you shouldn't need to do anything
oh and for samples, its a good idea to check the Nordic fork, they have more samples there for their own devices
I mean you don't have to use them verbatim, the things they call is just Zephyr APIs that are not under their license
so even looking at the nordic fork taints your code ( potentially ) ?
( how do you ensure that autocomplerte doesn't bring in licensed code ? )
would copilot help bring in the comments too ?
yea am surprised it doesn't suggest you the whole block
thats also my primary use of it, generate giant boring to write switch statements
Hi Scott, and all present.
(I keep meaning to ask our DeepDive hosts if it wouldn't be terribly inconvenient to bump up the text size a smidge)
so you don't use the config tool to change settings - just to view help?
what is you screen size?
Ooo, that's lovely - thanks much!
you can configure this in the logger
it drops when it can't keep up, you can force it to log no matter what
the message dropping
but yea it should also tell you where the log originates from
every module defines a logger, not sure why the info is dropped here
sec I can give you a snippet for the dropped messages
what backend do you currently use?
CONFIG_LOG_SPEED=y
CONFIG_LOG_MODE_IMMEDIATE=y
CONFIG_LOG_BLOCK_IN_THREAD=y
is what I usually do if I want immediate log and no drops
but it messes with timings
you could also additionally log all zephyr stuff over RTT
and if you want to forward printk's to the log subsys
CONFIG_LOG_PRINTK=y
oh and you can increase the buffer for log too which can help
CONFIG_LOG_BUFFER_SIZE=32768 f.e.
embedded.fm is a great podcast
that usually fixes issues if you deferred logging
which prints are you missing?
CONFIG_LOG_DEFAULT_LEVEL=4 should get you there
but that gets you everything that isn't explicitly configured to another level
so includes kernel
what irritates me is that you don't get any subsys names in your logs
are the logs you get all your own?
might be that you don't have logging at all
because printk is seperate to logging
ah yea thats early kernel stuff
Do you have CO2 sensors, and do they pickup them discharging extinguishers?
but yea typically you get a timestamp and the subsys logged per line
maybe add a LOG_INF to your main
just to check it works
oh that looks better
hm yea maybe increase your log buffer too then
not sure why its still dropping
yea dbg is debug log level
maybe net_mgmt: is a subsystem then ?
Yeah, cause you also have <err>
yea
is spi_nrfx_spim the communication between the two chips ?
spim is the nRF spi peripheral
Need a slight angle change and a window sticker for Dragon Cam
its saying "adding interface" from the nRF driver right before, maybe that did not finish before you make the call?
at least the breaze is away from your window π
so some early initializers are already trying to bring the if ?
I would double check that the line that errors out is not making assumptions, sounds suspicious that the driver was adding the interface right before and then the network manager complains that the request times out, might just be going to nowhere
yea thats what I meant, the onboard jlink can do rtt logging, then you can see Zephyr verbose logs there and are not cluttering your logs
on zephyr side is just a kconfig for the rtt logger backend and to read it there are a couple different cli tools, jlink has the rtt viewer tool
its essentially your auth to the AP, its where you provide your key n stuff
but is a bit weird that that would log such low level error about the interface
but I have done extremly little wifi stuff with Zephyr so far
btw does the wifi shell sample work on its own as expected? If you haven't tried it I would maybe compile that with your current settings to make sure its not a configuration thing or wrong board target
(I despise articles like that: "WPA is the WPA that handles WPA on behalf of WPA..." If I'm looking at (especially) Wikipedia, unpack the acronym in sentence one)
I think the issue you have is pretty much on the zephyr side, not nordic specific
Technical writing 101 (or even writing). If you define a word you don't use it to explain
then maybe track back from there what you do differently than the shell code
I would do a little hello world wifi thing that only does an init and scan in one function and not call the cpy stuff, just to make sure the assumptions of what the order of operation is is correct
I wonder if similar logging was added to both shell and CP ? -
it was amazingly quick to get a response from the wifi shell !
yea its like a pop quiz but code π
wdym bringing it up yourself?
generally no, you should never interact with a device directly if you are interacting with a subsys
perhaps you could discuss the software architecture
- and compare if you were to add CP to the shell
vs.
what I think you did - add zephyr to CP ? ( not sure if that's what you dod π )
the way Zephyr uses the term shell here means more a shell program, its a little helper that gives you new commands to the overall Zephyr shell
you would have to wait for the event to fire
so in the event callback "if event == the thing: do the next step"
yea thats why I would maybe try to replicate that basic function that the wifi shell utility implements just to make sure things are sound and then see what differes in your order of operation
oh and that is also odd, I never ever had to set that env variable π
did you run the setup script in the sdk?
which might be deprecated I think west might be doing it these days
ohno I mean in mainline zephyr
they have this script that setups the zephyr environment globally
yea it sets up all the paths that west would be looking for
yea there is an event
what its called in this case no idea π
so apparently you can grab a wifi interface and then register a wifi ready callback
oh wait might be an nrf library
hm yea looks like a helper library provided by nordic
so wpa supplicant has its own events, looks like you need to register for them
net_mgmt_init_event_callback(&net_wpa_supp_cb,
wpa_supp_event_handler, WPA_SUPP_EVENTS);
net_mgmt_add_event_callback(&net_wpa_supp_cb);
net_wpa_supp_cb being your cb function
yes sorry, the callback object
oh what did you change?
NET_EVENT_SUPPLICANT_READY and NET_EVENT_SUPPLICANT_NOT_READY is the actual event name to listen to
that tells you if the interface is up
afaik
do you actually wait for the scan done event?
ooh yea that would explain it
if you query it if its still in progress I would expect a hard error somewhere
yea π
the net manager is fully event driven, need to be dilligent and only act on things when it fired the event that allows you to do that
so no synchronous logic possible
Zephyr has a lot of great primitives that you could maybe just wrap around
a lot of them handle locking internally so less stuff to think about
if you want to use Zephyr work queue without manual locking you could have a single thread be the owner of the queue to handle adding and dispatching work and have work come in and go out via a mailbox or zbus
ah actually I think work queue was thread safe, just need to make sure the data you put into it is also, otherwise you need to lock it to not delete it while in use
"band" in wireless, is just how wide is the bandwith of a all of the channels.
Thanks with the dive, have a nice weekend.
thanks for streaming, have a great weekend!
It is looking good this zephyr journey.
Thank you Scott! All a nice weekend!
Thanks for letting us observe! Have a nice weekend, all!
you too!
?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
πΈπͺ π
