 Life from New York, it's ask an engineer. Hey everybody and welcome to ask engineer. It's me lady Ada the engineer with me Mr. Lady Ada on camera control and controlling the universe from inside of his Boltzmann brain We got an exciting. I mean watch a video about that. Yeah, watch a video You know exciting show for you tonight. We've got all sorts of news and new products and videos Everybody's favorite segment chip shortage. Yeah, that's back. It's back Oh, you know, we don't overdo it, you know as as You know, you want to beg for chips sparingly There's so many chips to beg for I know but we actually we actually cut some in we had some great essentials and just an hour ago Very exciting stuff. So some parts are coming in but for the next hour We're broadcasting live from this factory behind us where we do all this kidding and manufacturing and testing and coding and picking placing So let's kick it off. What's on tonight's show Mr. The code is fuel 10% off in the free store all the way up to 11 59 p.m. Tonight use it or lose it You also get free stuff. We'll talk about that in a bit. We have a bunch of eat a fruit live shows We'll talk about that and more including show until we get some time travel little updates news and more things that are going around in World makers hackers artists and engineers We've got everyone's favorite segment It's back and it's never kind of gone away and who knows when we're gonna stop doing this this week It's chip shortages TDK and Ventsense from the bail bag We read your letters that you sent in we got some advanced Manufacturing made New York City footage and I'm gonna make an announcement. I'll even say it now We're done doing time lapses of the Disney building across the street. It's done. Okay You do some three ones the last two years You do some 3D printing videos. We got an MPI brought to you by digikey this week. It is a new product from microchip We've got some new products. We've got a top-secret video. We're gonna answer your questions We do that over on discord a to fruit dot it slash discord We're discord dot tg slash a to fruit join all 35,000 of us and more all that on tonight's show Ask an engineer Okay, let's kick it off right away. I heard like no more the mouse doesn't get any more free Video time on this show Yeah, like we change up stuff all the time You know, it's great about impermanence is change because you know We've been doing the time lapse of the building across street and it's like, you know what like It's time to turn the page on the chapter like it's the building's built Let's do maybe we should do time trap time time lapses of other things that we want to see Well, there's the other side of the building we could point it out Plants there's also time lapses that we can do of like maybe some of the some of the manufacturing things So anyways, I'm just gonna shift gears We do free stuff in addition to the code codes fuel Lady to what do they get when they spend some bucks? When you buy stuff from a to fruit calm and I did mention we have grand central's back in stock And we also have some teensy fours if you act quick You can get some free goodies in your cart Automatically added $99 or more. You get a free permaperto half-sized breadboard. It's a lovely way to make your projects permanent 149 or more you get a KB 2040 This all-in-one my controller board is adorable features the RP 2040 eight megabytes of flash a stomach UT port USB-C and it's cast-related great for all sorts of Arduino or circuit Python projects 199 or more you get free UPS ground shipping in the Continental United States and As you mentioned back by popular demand and because we actually got some chips in we have a circuit playground express For $299 or more orders. It's a wonderful way and a wonderful gift For people who want to learn programming and electronics. No certain was required. Everything is on the board All right, and don't forget to make an account on a deferred calm Verify your account and do two-step authentication do that for all of your online activity It's that sites that haven't if you notice it's all security everywhere if they don't have it email them and say Hey, I really want to factor authentication because if you read the news everything is leaky. It's unending. It's never gonna end computers Just were made to copy and share it's not going away. You can't put the genie back in a bottle so This has been something that's been helpful for our community and you know just for the folks who know how we do things Ita for it's the very first day that someone steps into our data for we start doing training about What's important with email when they use a deferred email? Of course there are two-step authenticated But we also do things like hey, this is what a phishing attempt or an email looks like because this is happening in all of our lives We do a daily stand-up meeting In shipping and I think it was like a week or so ago I said hey like watch out You know a lot of us are getting a text message spam just in our personal life and it's like log into your you know TD bank account and someone's like yeah, I got one of those I have chased and then the other person said Yeah, I got one to log into your chase account, but I'm you know, I don't even use chase banks So this is happening everywhere and there's probably No way to ever stop it. So all you can do is continually Educate and make people feel like it's safe to talk about how all these computers and things are are out there And how they can be used or misused and phones are now a supercomputer in our pocket. So Get a taste of it at Adafruit and then great practice share This type of practice if even if you're at a company where they're thinking of this stuff all this Extra layers and there's no way to stop it But these extra layers are just ways to help protect your data and that's one of the things that we've always Made sure that was a core promise is like we guard your data Tenaciously one of the things that we always say if there's if we're if there's no data You don't have to worry about it. So we don't do lots of logging and like info sharing with third parties There's a lot of things that we decided not to do Guess one thing that I like to always Hear from customers are like I love going to the Adafruit site because I have an account there And I'm logged in but when I when I go off the website later I don't get a weird email that says hey you still have stuff in your cart It is like weird that a lot of sites you go to a website now. You're on newsletters forever or you Think you're gonna buy something then you get an email. There's no cookies. Yeah, and so borrow any of your info We we actually delete a bunch of logs after 30 days We really don't want to keep that stuff and then the other thing that we did is on learn We just updated our learn guide. You can use Ubiquiz and You can also if you're on Linux off the we have we updated all the guides. So we're also educating how to do this Yes, so that's our security Notice that we want to we're gonna continue to get the word out. I use off you all the time I go like I love it. I grab a Yubi keys You know, there's all sorts of improvements on You know, if you're especially if you're someone who you we use as passwords. I know you're not supposed to but I know people do Two factors gonna help you. Yeah, and I'll just say this so maybe I can send it over We love you much. Thank you for doing all the things you do So send us much later. Okay So we do a series of live shows Like this one. Oh, yeah, this is live Special thanks to knowing Pedro who did you show and tell make sure you watch it on any of our streaming platforms? JP's doing the one next week. And then I think we're gonna be doing The one after but we'll see Disc of Lady Aida we do that show every week Lady Aida. What was on the desk this week? And I remembered to do this again. What it's gonna stop. So you got okay? That's fine No, I remember we talked about so we actually a lot of light sensors We did the Guva UV sensor. I put that together the LTR 329 and the LTR 303 And we actually ended up going out to a park and testing out the UV sensor outdoors as well Because it's hard to test UV sensors indoors lamps don't usually Don't Trigger off they really give you be sensor so we I Got that going I got so I showed off the circuit Python libraries and we also got the tester for the max 17 048 which is the new New part for the week. Yeah, and then we did the great search. That's the Time when Lady Aida uses her power of engineering to find All the parts you need on digikey.com Okay, so this week yet another part that's unavailable the CCS 811 is a very popular gas sensor from SIO since I think and we Looked to find a alternative and we found a couple good options. Okay, and then JP's product pick of the week That is Tuesday's a little bit of a programming at the Thursday. JP's off See one see JP's workshop, but we do have a product pick highlight of the week this week It's the PCF 8574 it is a GPIO Expander that runs over I squared C with two convenient STEM a QT connectors on it And this allows you to add up to eight Digital inputs or outputs so you can use these as current syncing LEDs or you can use them as inputs for buttons and switches I'm essentially running each button to a ground rail and that ground rail goes to this negative input or ground on the PCF 8574 and then each of these they're labeled pin zero through seven run to the other side of each of these switches as I press buttons on my Button board here. I am turning on and off a little print statement here. It is the PCF 8574 GPIO expander with STEM a QT And on Fridays, we do deep dive with Tim tune in 2 p.m. There was a Pacific 5 p.m. Eastern There was a big ol Series of videos that we did last week. We'll talk about the circuit Python day And he's a guy who's coming out from Tim and he's been showing off how he built the guide in the video So if you're interested in deep dives on graphics and game programming with circuit Python and Python check these videos out Okay time travel I think I'm gonna do is Think I'm gonna have a little spawn on the eight a box site because I do a little update every week And then I could probably just link to the timecode and to say like here's our latest message They do this every week. So eight a box. We're still Squirreling away all the parts that we can stuff I live in my cheeks. So yeah, so we can So eight a box is thousands of thousands at a time. So right now we put in thousands of products But there's chip shortages so they go in and I like a hundred at a time. Yeah So we've been we've been writing the the the chip shortage wave to run eight a fruit eight a box has been a little bit more challenging So we went from maybe we could do winter. Maybe we could do spring or in summer I think this is gonna be autumn edition. We'll see but the challenge that we have and I think that's why I'm gonna put This on the side is we don't want to send you an email for no good reason and say hi There's no updates, but we also want to make sure you're updated. So people email us and they're like is there any updates? We're like no no updates. We don't charge the credit cards or anything until we ship. So it doesn't matter how long it's the last We have a huge Waiting list for people to get on so folks are coming going off eight a box. That's fine. But as of right now No new updates not sure if we're gonna Tell you that there's no updates But we'll continue to talk about this with our team with our community and the eight a box customers I think using this form of Media is the way to go because it's like oh if you're really curious it We kind of plaster this everywhere and we have the show every week and everything so people also tell others like oh if you want update Yeah, I'm just discord and all this stuff. So I'm just you know We're always reluctant to blast email if there's no good reason. There's no action. There's nothing to do But we'll do that too if needed a Defrere I oh update. So what's new updates? Yeah, lots of updates So I owe now has more beautiful components. You can configure them on off boring. Well now you can put custom labels You can also assign icons of the components you can use font awesome emojis, which is really neat He's really neat. Yeah components now can display their units, you know like metric Yeah, you see your percentage or volts or whatever much more customizable and more so I got all this going on here You can see in the screen. It's beautiful. It's functional. It's free. It's easy. It's no code This is one of the only and best services that works with any hardware if the hardware is not there you can do a Poor quest pull request and we got to this week two people added sensors people can add boards It doesn't have to be from Adafruit by the way. It can be from any vendor. We take pull requests for sensors or Boards from anybody we support multiple other vendors boards where it's not locked in And we're gonna be adding more and more right now. It's just we we have the hardware on hand So we know for sure it works with our stuff, but we we're really excited to see more and more people Submitting pull requests to adding new sensors. I scored C sensors and now you can add Digital and analog sensors as well custom sensors. You see the photo edit a little bit of Jason and submit it Yeah, I was thinking about how we've been doing a lot of Stuff with learn and Adafruit IO and our store over the the years and how we have a weekly show So but I also been thinking about how I've used some other, you know internet of things services and they've gone out of business or I've used them and all of a sudden they say no you have to use you can only use our hardware or you can Only use this hardware you have to Pay for this type of service and stuff. We have a pro version, you know plus version of Adafruit IO You know, please support it But we're not gonna ever do that. We're not gonna force you to use more only our hardware Because it doesn't seem to make sense with how internet of things stuff should work so You know on one hand There is endless gigs of videos of us doing the shows every week on the other hand I'm gonna use that for future proofing ourselves. So I'm just noticing a lot of the websites out there Are starting to change their terms of service and do things are like by the way you can only use this device and oh Like you know how there was a free tier where there's not a free tier anymore, and I feel like They should be ways to support these services and sites, but I don't know it feels like a you know a rug pull Well, we you know We don't sell hardware like a lot of IOT companies they sell their hardware at cost or below costs to try to make money on Subscriptions and yeah, we don't have VCs. And so there's nobody Calling us every night saying where's your subscription model? We weren't you pivoting to coin? Well, you know, we yeah, there's we don't need you know any kind of blockchain You know where's subscription revenue? We make money You know if you if you go pro we just give you more More feeds, but that's because it does cost more to run the service if you're using a lot of feeds It's been working out. We've managed to build build a business and a company and also have things like I so anyways I wanted to mention that because it's it's rare and unique And I have to remember to to talk about this more because with Adafruit is kind of just assumed But it's very different out there This is this is different than the rest of the world Oh, and if you guys have other requests for components or things There's a place you can submit an issue if you don't know how to do a PR First of we can help you and we have a guide on also how to add components But if you have a component that we sell That you want added put in a issue request and you know if when we add it or somebody else does you'll get notified Okay, it's everybody's favorite segment It's a chip shortage every day. It's a chip shortage in every way this week. It's TDK Lady Aida arrived. Yes Okay, this part can't we get we can't we definitely cannot get this part the TDK ICM 2948. It's a popular 9 DoF Sensor, you know the LSM 90s one disappeared its end of line It's actually ironic where we actually got a couple of LSM 90s ones the problem though with the LSM 90s one is the price like basically went up like six six times Over the course of this ship shortage But the whoa, there's double the TDK Well, because you wanted more TDK the ICM the Sorry 20 now for 2948 Yeah, a lot of especially the same company that makes the MPU 6050 and so this was a quite popular Sensor because a lot of people, you know moved from the 6050 to this So the great sensor it has like fusion built in if you use like their firmware It's a cool chip and guess what guess what guess what we can't get any film Yeah, so we can't get any of these chips. Yeah, so I went to the website I was like well, maybe I can like Find What TDK stands for you thought maybe you could find it. Yeah, and so what do we use it in? Well, we use it in our ICM breakout, which we have a lot of people waiting for It's the stomach UT boards a really easy way to add 9 DoF sensors to your project Again, this is a really cool sensor with the accelerometer gyro and magnetometer built in we can't make it used by children To learn yes, there's People who are making robots that help children and orphans. Yeah, and old ladies cross the street safely. Yeah It's also used video game systems entertainment Things that bring joy, you know, so we went to the digi-key site because we're like well, maybe we can find some there No, and there's not even you can't even back order. I mean you can but they're like, we don't know when we're gonna get it And we did order. What was the date? I think we have it on the next slide. We ordered 3000 in December of 2021 and Now we're getting told we might not get some until July 2023 not this July next July or January 2024, okay, I'm not convinced that this planet will it be habitable then I would like to get these sensors before Like some apocalypse occurs Please Please miss your TDK TDK Please we really want us. Yeah, I don't guys show us. Please send us like one or two thousand pieces in the chat TDK stands for Tokyo Dinky Kagaku, yeah Which translates to? Hey, could you please send us some chips? Yes Thanks on ending wave of chip, so I'm going to Just play the bit the sound the song again, but yeah, we really need to yeah Like this one is particularly since it's been it'll be three years three or four years since they were ordered. Yeah, okay That's this week's chip chart. Don't worry. We'll be back with another segment probably next week Yeah, someone's asking about teachers. Yeah, maybe we'll do it. We'll see we might have to I really funny You know in other sites like not really not a different sites like people talk about chip shortage It's somebody's always like check out this cool tune and they have sent this in the clip of the 30 seconds song on YouTube Yeah, someone said we're YouTube influencers begging for chips now. It's true Yeah, if only we could influence you too. Yeah All right, so we get your letters. This one is from Ron very short and nice Email to us and our team just wanted to say you guys are a very good company deal with every transaction smooth Ron not a lot of words. Why why use many word when few word better? Yeah If I had more time, I would have wrote you a shorter email. So thank you Ron. I really appreciate that That's nice. We share these with our team every single week because you know how it goes you always don't get the The good sprinkles you have to you have to you have to make sure you distribute those Sometimes people are mean. All right, Python on hardware time I'm not gonna say we have like a Circuit Python day hangover because there's a lot going on on Friday But we're still kind of like whoa that was like that was intense So there was an unending day of things but before we get to some of the highlights about that that we wanted to mention circuit Python 8 beta is out and Lady Aida Not only is this poster. I think there's still some available. Yes, expressive still gave us they gave us permission to use the expressive logo As part of it because it's a big chunk of what we're talking about with Circuit Python 8, but what are some of the things you have any favorite things? I'm gonna say Wi-Fi workflow, but the Wi-Fi workflow is the biggest thing You know express if we also ESP 32 As a chip that supported we've supported the ESP 32 s2 and s3 And like the c3, but really for that original ESP 32 natural flavor We needed to have Wi-Fi workflow or web workflow so that Well, I call web, but it's Wi-Fi workflow and we have a web browser interface to it That basically allows you to upload files to have file editing to have a repel access Because we don't have we have USB CDC But we don't have that mass storage for drag-and-drop, but we're hoping you know with the web interface You can easily upload files and it'll make it a lot easier for people to use ESP 32 with circuit Python such only exciting We have a couple boards We're gonna be adding more ESP 32 boards, but folks out there if you have Look in your box. You probably have some weirdo ESP 32 Chip module breakout board deaf board submit PR And we will add support for your board all the pins and the namings and you know defaults hardware And if there's a screen we can have that the screen has a repel It'll show the IP address when it connects. Wow, wouldn't that be fun? So it's definitely an invitation out there. Okay one thing, too There's a new feature a dot ENV file So you could put like all the Wi-Fi stuff in instead of like a secrets file Yeah, I think that's neat because if you feel like old school and there was like remember like window Dot I and I files. Yeah, it's kind of like that. Yeah It's really a standard, you know a CPython ism that we are we're using And we have a tutorial also how to get started with the ESP 32 So if you're you know, you can actually use honestly our feather definition It'll probably work for a lot of boards because a lot of people use the room module But it's just the pin names might not be like, you know, if you think about it What's the future with a lot of microcontrollers? Well, they're probably gonna be Bluetooth Wi-Fi They'll probably do things with batteries and screens things like e-ink, and I'll probably have a scripting language like Python and That's what we have a circuit Python. Yeah, and the dot ENV stuff you're gonna need to put things like Bluetooth Values names and stuff like that. You'll need to put Wi-Fi Passwords credentials and so and so that's really powerful that you could do that just by plugging in shows up You use B Drive could do that and now you're doing this like it's like a full-on little computer on the internet Okay, so circuit Python day. We're calling it a success. Thank you so much The entire team especially like a report to cat any help coordinate a lot of it So all the videos are on our YouTube. You can check out the circuit Python day introduction Celebrating code and community circuit Python day panel discussion the development sprint intro video the circuit Python project build with maker Melissa the special edition circuit Python theme show and tell The circuit Python need preview the circuit Python day chat with cat any Jeff and Dan and from the eye circuit Python day game jam Stream and then there was also an additional one Reimagining IOT deployments with circuit Python and that was from Blues wireless So it was a day you can watch all the stuff all the videos are up and they're still more going on and we'll probably have I think there's gonna be some like office hour sprints coming up That the team's doing love them. Yeah, yeah, Tim and Tetrick you're doing and then check out the rest of newsletter We have circuit Python target support. Yes We're really excited a lot of people wanted and thank you to mark to for adding that PR It was a community contribution, but it's really handy You could check out the latest circuit Python show Brent was interviewed there and then just like the unending projects I really like this. Uh, this is kind of night of that. What is what is it from a movie or something? Yeah, it's from a record And then a scientific circuit Python that was one of the talks was from Twitter And then just you know unending projects and more all made talk about a really neat 3d printed case for this Raspberry Pi pico Step sequencer and program circuit Python is kind of amazing to see this project go from like a tweet like sketch And then like real and then playing stuff and like look at it like that looks so cool That's something you can make and I got the OLED. He's got that those little stripes that make it so 80s. Yeah Cool and so join the fun You can get this delivered to your inbox every single week Good eight of four daily and speaking of how we do things eight of four daily comms a completely separate site There's nothing to do with your store account at all whatsoever We call it eight of four daily comm and that's so you know that this is just for newsletters There's no spam. There's no ads. There's nothing. There's no sponsorship on these letters It's just newsletters and you can subscribe and subscribe anytime or you can also read on the website Like I just showed I do that is this week's Python hardware Thank You Blinka Yeah, all right We're an open source hardware company. We have two thousand seven hundred and seventeen guides and We do a bunch of open source. Yeah this week on the big board Okay, we had a bunch of new and update guys. It's always update guys were really updated. So First off we updated the two-factor authentication guide it now talks about UB keys and I think we also added a page on Linux and if not, we're gonna add that The how to set up a raspberry pi for a Wi-Fi access point you can see it's using the original pi one Paint your dragon went through and completely cleared it out and and redid the whole thing We published the circuit Python ESP 32 quick start. That's a new guide by Carter I chipped in a little bit too. Like we said circuit Python 8 now has ESP 32 support for the original not s2 not s3 not c3 ESP 32 if you want to get started we show you how to set up your Wi-Fi credentials connect over the Wi-Fi workflow We're also working on getting Thauney working and we're gonna update this guide with all the latest but it's a you can get started now and then We also have a new guide ESP 32 s3 tft feather. Thank you. Can't me for writing it up Our Arduino and circuit Python support all the files. It's basically the ESP 32 Tft feather, but with a different module, but still the downloads are all updated and corrected now Liz capped off an amazing month of Sorry three months of Raspberry Pi Azure IoT Projects with circuit Python started with making a little temperature humidity sensor that just sends data to the cloud To now how you can have three or four devices and you can have a hub and it's on a Raspberry Pi with Python and it's displaying your status and check-in and You know your billing costs, so it's a really a powerful project that pulls together that the previous few projects To really show how easy it is to make, you know industrial grade enterprise grade IoT with circuit Python Python and Microsoft Azure and thanks to Microsoft for Sponsoring these guides and we love doing them JP updated the flying faders guide the motorized fader guide to now have Arduino support I had circuit Python before but now it's Arduino fide and Jepler updated the camera images for circuit Python guide We refactored the library in eight To use the ESP 32 camera module, which is gonna be much more supported than our kind of hand just cobbled together version And we're also adding ESP 32 support again, not S2 or S3 As to an S3 are supported. We're now adding the original. Okay more guides ahead We're on our way to 2800, okay, it's time for some factory footage and Like I said, we're gonna be switching gears up. This is some sky Because we're tired of showing this Disney Village. That's beautiful So we'll have I think we're just gonna do some fun weird time-lapse Is because enough enough with the building 3d printing All right, we've got two projects. We're gonna show this IOT project and then we're gonna do a fun speed up This one's a skull with a skull within a skull within a skull within a skull that sounds metagoth You can build an IOT project and take control of it on your phone using Adafruit's whippersnapper IOT projects just got a whole lot easier with Adafruit's whippersnapper You can connect I squared C sensors and do useful things with your data Capture temperature data to detect the humidity in a room so we can trigger a smart outlet and turn on a humidifier Adafruit's Qt Pi ESP32 S2 is a small yet powerful IOT dev board that works great with whippersnapper Whippersnapper is Adafruit's no-code solution for making IOT projects with support for dozens of Wi-Fi enabled dev boards Dozens of IOT dev boards are supported and can be easily configured without having to install software or write any code Now with support for Adafruit's STEM a Qt sensors You can daisy chain multiple boards together for a plug-and-play experience with dozens of STEM a Qt sensors You can detect light temperature humidity pressure and the air quality just to name a few You can 3d print a snap fit case to house your sensors and use the mounting holes to secure everything together Make it portable with the USB battery bank and start plotting your data on the go Setting up whippersnapper has gotten even better start by choosing your dev board or just type it in the search box There's lots of new ESP32 based boards to choose from Access your boards in the new devices page and quickly see their status and firmware You can even update them by clicking on the update firmware link Updating your devices now features an easy to follow wizard that walks you through each step Just follow along to download the firmware and install it by dragging and dropping it onto your board Add your Wi-Fi credentials to automatically generate the secrets jason file needed for connecting your board to your network Upload it to your dev board just like dragging and dropping a file to a USB flash drive The LEDs on your device uses different colors to indicate their status so you can easily tell what's going on You can add components to your device by clicking on the large plus icon Choose from a list of basic pin components or the new iSquared C STEM a sensors whippersnapper will automatically scan for connected Components and let you enable features the scd-30 sensor has temperature humidity and co2 levels You can set how often to read the data using the drop-down menu Creating components automatically creates feeds and stores your data so you can start logging and plotting Make beautiful dashboards display your data using line charts gauges and other blocks You can customize their appearance with the edit layout feature to resize or rearrange them however you like Dashboards work great even on mobile devices, so you can customize them when you're on the go Create a new timer action to make a feed turn something on for a set amount of time and then turn it off automatically In this example, we're turning on a dehumidifier connected to a smart outlet whenever the sensor detects the humidity in the room is too high More fun features have been added to whippersnapper like the ability to use emojis in your titles We think this is a great way to tell your dashboards apart We've also added the ability to change the icons and the various labels when configuring your components Whippersnapper is free when using two devices with a limit of 10 feet To unlock more devices and feeds you can upgrade to an Adafruit IO plus plan Just head on over to IO dot Adafruit comm to get started We hope this inspires you to check out the latest features and Adafruit's whippersnapper and start making IOT projects And tune in every Wednesday at 11 a.m. To learn all the stuff on 3d hangouts the longest running at 3d printing live show in the known universe All right, lady You know a little bit of a note here a little hug report a couple of things people really are digging whippersnapper and Adafruit IO Feedback though it's getting easier and easier every day. I'm so sorry You're gonna save so much time. Yeah the experts The cranky pants who want you to cut your teeth on things You got to learn the hard way. Yeah No, you don't actually Well, it's why I like it's like we have like, you know, we we have these tutorials for azure Like this extremely powerful cloud that does a ton of stuff and whippersnapper, which is plug-and-play, you know It's like you can there's space for both Yeah, I wanted something that basically like school kids could use like you could just plug in some sensors You type in a few things to get your wi-fi set up and then your data is logged. You can track data like So, thank you. Um, all right, let's do some ion mpi An api brought to you by did you key need for this week? It is microchip lady. What is this weeks? I'm api and glad you asked, you know, what's funny is I don't think we've done microchip chips before We've done some microchip other sensors and products But this I think is the first, you know microchip or at least avr chip that we've covered on ion mpi Because you know, we haven't used avr chips. I mean we use them all the time, but you know, we haven't really talked about new ones as much but there has been a lot of innovations in the 8-bit avr microcontroller line from microchip and There's a new series that came out and so I wanted to check it out. It's the dd series Um, the microchip dd now be, you know, just to be clear. It says avr 64. It's not 64 bit. That's just the size of the flash and then dd Is the the series and then 32 is the number of pins in this package in this case is a 32 pin qfn So what is this? It's an 8-bit micro. Um, so if you're used to avr microcontrollers like the at mega t or at t tiny or at Manga 328 this will be familiar. Um, they run up to 64 megahertz and again, it's one instruction Per per clock cycle You know, some of them aren't but many of them are including a hardware multiply which is a two cycle hardware multiplier runs at 24 megahertz 16 32 64 k of flash 248 k of ram, you know the bigger the more expensive etc and of course there's e prom there's also nv ram and they come in all sorts of different packages from 14 to 32 pin including a 28 dip which is like Quite brave of them to come up with a dip chip of a new microcontroller these days um, but you know, if you're used to using um, you know, risk chipsets, uh, like, you know, risk five or Arm cortex you might be like, well, why why would I want to go backwards to an avr 8 bit? Well One thing is simplicity. I mean like there was nothing as easy as as controlling an avr You could really just put in register command. You don't have to worry about locking the bus or like Muxing this or like this controller affected that. I mean it's very simple Um, it's very straightforward. It's very fast. You know, your interrupts will go off very quickly because there isn't There's not as much sharing of of this this backend resource. I found Um, they're very inexpensive because you're not paying the arm licensing fee And you know, there's actually a surprising, you know, a lot of people they only move to maybe a 32 bit processor not because they need uh, literally the um amount of of Your speed or the number of bits in it in a multiply or add But because they need all the peripherals, but um, there's some really cool peripherals Um, so we'll go with this in a second. So there's a bunch in the family. What I do like is that um Microchip has kind of like done a very standardized way of like how many pins how much flash And memory and they made this little grid where it's like You can kind of get any config and anything, you know, obviously you're gonna get You're gonna get more timers in when you have more pins and I think there's like two underlying dies But basically you pick your number of pins Then you pick the amount of flash and you're mostly paying for for flash memory Um, and the s ram increases with it as well So there's there's a range not all the more in stock right now or released right now Um, so these are you know, the families basically You double the flash you double the ram e-prom stays the same and the nvm memory stays the same Okay, so on to the peripherals So there's some cool things so one it's running at 24 megahertz Which is a little faster than the standard like 16 or 8 them used to but it's got Five timers 16 4 16 bit. Sorry. Yeah 4 16 bit timers and a 12 bit timer There's two uarts two hardware uarts You can use one for like debugging and then you can use one for You know different hardware you can have two hardware uarts because you have It's really if you don't have a uart, they're really you can't bit bang a uart very easily There's spi. There's i squared c There is a 12 bit adc. So usually it's 10 bit, but this one is 12 which is quite nice Um, that's as good as you're going to get on that cortex and it's multiplexed to just about all the pins I mean, you know on the 14 a bit, you know, half the gpio have adc on them 23 on the 32 pin 7 on the 14 Uh, there's a 10 bit DAC, which is cool And there's the analog compatible zero detector These do not have the peripheral touch controller You can kind of fake it with a one mega ohm resistor and they don't have an op amp They do have two cool things the ccl lot and the mvio and the ccl lot is Is interesting. I think I forgot to add of image actually. Yeah, sorry the next image is the ccl lot. So let's go to the ccl lot, so It's kind of like a micro cpld And you can kind of make like a manchester encoder or you can make an sr lot. You basically get like three or four different modules and each one has like a Logic lookup table so you can Turn it into any kind of gate and then you can take events or interrupts and be like, okay This interrupt x or that interrupt. I want to generate A third interrupt or something or I want that to come in, you know, so this gpio Triggers this or triggers that so it's an interesting like if you would normally have You know an external piece of logic that just kind of helps you do a little bit of glue It's built into The chips now and I think it's I think it's probably handy when you're just doing like counter timers motor control Interrupt manipulation where you want, you know only trigger on this when not this interrupt, etc. So Instead of doing that in software, which is slow You can do the instant instantaneously in hardware with these logic lookup tables The other thing that's cool, and I haven't seen that cc a lot. I've seen before but the mbao is is new and interesting so It's a way of basically having you know Two voltage domains for your microcontroller So what you normally have is like let's say you have a five-volt mcu like these mcs went up to five volts And you need five volts because you're doing some canvas stuff or you're interfacing with hardware that you know, it needs to be five volts Um And You want a three-volt sensor will usually use a logic level shifter, right? either use like a An iSport c shifter use some fats and some pull-ups And that works fine, but like now your board's gotten bigger. It's more complicated. The volunteer else has gone up What this System does and there's some code that shows what it looks like is you basically have a separate vdd io vdd io 2 And it can be higher or lower than the core voltage in here. It's 1.8 But it could be 1.2 3 or 1.2 5 or 5 to 3 or 5 to 2 whatever And then there's one port for the gp io that could be i2c spi You are or just plain gp io and that port can run on the second voltage and it does It's it's completely logic safe for that voltage Um, so for example Instead of losing a logic level shifter you run your core at 3.3 volts Some stuff is at 3 and then you have an lcd, you know a lot of lcd modules They want to have five volt logic and power not a problem Um, you give it that second five volt power supply and you don't have to worry about logic level shifting Um, likewise you can go the other way. You have a five volt core. You want to connect your three volt sensor Not a problem. You use the mv io. You set that port up to be 3.3 volt and you talk to the sensor um at that logic level so pretty neat um, and there's a I kind of just love this diagram. This is like no logic level shifter. You do it all in so check out uh tb 3287 that's the app note on how to get started with this You know, it doesn't generate the voltage on its own. You do have to supply the voltage um, so you do need to have the power supply but you probably Need that any ways to power the sensor So you have enough current for the sensor and here's the best part. All this is in stock Yes, you can actually buy it and it's pretty affordable Um, so these chips, uh, oh, it's going to go back. Sorry. Yeah these chips are unit one They're about a dollar 25 to a dollar 60 um in quantity 100 which is kind of the standard pre manufacturing quantity for microchip They get down to a dollar. Uh, so these are You know a lot more memory a lot more a lot more timers Um, especially if you're always hungry for timers and and there there's never enough Um, these are a great upgrade from you know, you're at megas. You're maybe some x megas even Um, at tiny's uh swap them in with this And you'll be happy. You can also get a dev board. I'll show it off really quickly if people want to see it But it's basically curiosity nano Um, I like these dev boards because they're breadboard friendly and they've got the little debugging interface As well on the debugging interface usually has serial as well Um, but these are uh, these are nice. It uses um, updi by the way for programming and debugging Um, this is a great way to get all the gpio. It's castillated, but you can also um, breadboard it up and There's a tutorial on using this with the um, you can see vdi o2 here So you can use that if you want to test out the mvio preferable we just chatted about um, and finally, uh, there is support in mplab, of course, which is um, the microchip slash avr idee, but if you want to use arduino um, spence kanday who has some really great avr and mega tini course Uh, he's either added or is in the process right now of adding Uh, dd series as he says they've done the dd the dd parts are shipping. So Um, they picked up a couple of different chips and they're adding support So you'll see that if you want to use arduino core that could be Interesting mix to mix, you know arduino with this kind of new peripheral chip Vibran digi key. It's really in stock 537 at the time of this printing by printing. I mean screech awning And uh, here's a little short video The avr dd family is microchip's latest addition to our portfolio of eight-bit avr microcontrollers Whether you're designing a household appliance a robust controller board for a factory application Or an extremely low power iot sensor node connected to a device on the other side of the planet The avr dd product family makes it easy to prototype and get your product to market faster The family features high performance devices with large memories that are available in low pin count packages They offer extremely low power consumption to increase battery life in portable applications These mcu's are also excellent options for safety critical and secure applications that require small form factor solutions They offer noteworthy analog and real-time control capabilities including a 12-bit differential adc in a small 14-pin package Other key features include a user configurable event system Configurable custom logic and many other core independent peripherals so you can easily customize your design This microcontroller family is available in 14, 20, 28, and 32 pins in SOIC, spdip, vqfn, and tqfp packages with 16, 32, and 64 kilobytes of flash memory available in each of these packages All right, thank you in the chat, you know sometimes folks kind of say exactly the thing that um You're thinking of but they just crystallize it better. So guy in the chat says well that helps with my what else to add to digikey car problem That's exactly that's why we do these because it's like you're you're checking out and you're like well You know if you have a free shipping tier if there's all these Whatever you're doing on the digikey side if you're like well, I may as well This is why we do impi because it works and it's interesting. We were talking, you know with the um With the audio muted, but we were saying it's like some weeks We're like, oh, let's do an impi an impi and sometimes we're we're looking at some of the new products We're like, oh, maybe maybe not and it's like wow. This is actually pretty interesting But this is this is a really neat Yeah, so they don't as I mentioned they don't have the dip in stock yet But they do have the I think the so I see is in stock. So it's big enough. You can solder it onto one of our breakout boards Um and get started or again, I do recommend the curiosity nano. It's like 20 bucks or so But it kind of has everything and you can get started With it and you don't have to worry about like, you know how to wire the crystal or like the power supplies Um, that's interesting. I mean like I think it's cool that they're continuing to innovate in this like 8 bit aviar land Like I know that everyone's kind of moved on and they're like rp 2040 or like raspberry, you know pie or risk 5 or ESP 32, but it's like there's actually still a lot going on in 8 bit. Okay, quick question before we do, uh New products, um, could that micro chip cpu be as a seesaw type board on a future read every board It could be especially since it's got You know the DAC and maybe this this ccl lot and the nbio Right now, of course, it's a very new chip. I wouldn't like gut everything to start over Um, but it's very affordable. You know, it's a dollar each and it's probably going to get you more Less expensive, you know, it's going to get cheaper. Um as time goes on So definitely, you know, there's a couple different series of the da series And then this dd series, but um, they're they're taking the new peripherals from that their design Designing and they're adding them back into from the arm cortex land Back into the aviars. I think that's kind of neat Don't forget the good fuel Let's do some new products Oh, new new new I forgot. Sorry. I was new new No, no, no, no. That was my 433 minutes of new silence um, okay, first up we've got from iRobot we've got the create 3 which we We have the crate 2 and now we've upgraded to the create 3 This is basically this is cool because you know, you and I met over Roomba hacking People used to take Roomba robots and you would plug into like the debug port and need to be able to control it And people were doing this and like I think iRobot was like, oh, wow, that's kind of interesting idea Yeah, of course, you know, you want to build robots But the most annoying part of building a robot is the chassis And the motor driver and the you know, drawing the sensors my favorite robot base because I'm like if they've made millions of Robots that it's the most successful household robot if they've figured that out. This is what I want as a robo chassis. Yeah um So it's not you know, I even like that they've got like little drill spots and everything Um, it's so it's basically like the guts of like the iRobot robot, but it's not like It's not like they just remove the vacuum like it is redesigned specifically, but it's designed based on Yeah, the iRobot, so just so you know, it does not do any vacuuming the tagline isn't it's all the parts that don't suck But that could be that could be um So it's what's cool is it's not got wi-fi and bluetooth. They've updated it. You no longer need a cable So you can control it remotely. They've got a python web editor Um, they've got like all sorts of example code for sensors. They've got a sensor port Um, it's it's really neat. I like that. They are continuing to do this. You know, I know that Um, you know iRobot, I think they just got purchased and I know that they they are still You know making robots for homes and making robots for industry um, but they their the roots are from You know college kids who'd like to hack together robots and I'm glad that they Um are coming back to it. So I think this is a really nice upgrade It's a really good deal. Like you would not be able to build this kind of quality robot chassis for the 300 at this cost like It is it believe me like the motors and the battery and the charger And the case and the injection molder and the sensing and the wi-fi bluetooth connection It is cheaper just to get this and hack what you want onto it. Yeah, and then here's a little video r.o.s. As well Built from the blueprint of a Roomba robot vacuum meet the create three educational robot iRobot's new mobile robot development platform for learning ross 2 A canvas for your creativity the create three arrives pre-assembled and ready to go with a suite of smart technology Program the create three to perform simple behaviors sounds and movements to grasp the fundamentals of robotics computer science and engineering Or tap into advanced applications including autonomous localization navigation and telepresence The create three lets you mountain power payloads connect and run third-party hardware Use its cargo bay for storage and dock the robot on its home base charging station As a connected robot You can talk to the create three in multiple ways And choose between running ross 2 the iRobot coding or iRobot education's python web playground Looking for ways to get started explore the iRobot education learning library for basic tutorials and sample projects Or check out the 3d simulation of the create three using ignition gazebo Or the iRobot coding app for increased access to robotics education and research What will you create Next up Next up by popular request. We have another p ir sensor. This is a mini all-in-one p ir sensor that is you know pcb or breadboard compatible p ir sensors are great for detecting Small animals or humans basically warm things That reflect ir radiation So these work about five meters away. We've carried like the standard four pin version for quite a bit where it's like power ground You know delay time and output This one has an output enable pin and also adds a sensitivity pin so you can adjust how sensitive it is So if you're you know need a little bit more control over your p ir you'll need to add the external resistor divider, but These sensors are a very easy and handy way to Make a pretty advanced, but you know project embeddable p ir sensor for detecting human motion and the story of the show tonight besides you ladyata our team our customers our community and all The people who come together to show and share all the important things The world of technology to you build yourself Is this product tonight? It's the max 17 048. So the reason we have this is We love the lc 709 203 lipo Charge monitor and fuel gauge It doesn't use an r sense and it's very inexpensive and it uses i squared c Unfortunately, it is end of line and while we still can get the lc 709 203 eventually we will not be able to because it's no longer being made So once we exhaust our reserves, we'll probably switch over to this the back 17 048 which Like the lc chip is a fuel gauge that is It does not require an r sense You just you know plug the battery and then it monitors the battery While it's under load This one has some neat things like for example in addition to of course voltage And percentage it'll also tell you the charge or discharge rate, which is handy So if you go back one you can see on the screen You know It running, you know the battery is running the feather and the oled It's a pretty powerful feather So it's the charge rate is going down 21 percent an hour and this is handy if you're like You're you know, you want to estimate whether your Battery how long is going to take your battery to run out? So obviously you can just always just time it with a timer see how long your project runs But with this it's quite nice because you can See okay 21 that means this will last five hours on this battery. So as you You know try swapping out different batteries. You can see what the Rate is of change It also has a lot of low power modes and alert modes It has an interrupt output If you want to be interrupted when the charge rate goes above or below a certain amount the voltage Percentage goes above or below a certain amount And it's controllable over i-squared c so we've got arduino and circuit python slash python code available for it And that's new products I Forgot sing the new song before so i'm singing twice. That's okay new new new new new new new Well, you're you're a scientist that you know time doesn't Matter in a lot of formulas. It doesn't have to move forward The era of time you can use it you can go it can go either way Yeah in laboratory settings or in a vacuum. You can play this video backwards Yeah, so it doesn't matter that you did it at the beginning. I mean here's the thing you're a floating boltman brain anyways Yeah, I was telling a little more about the story about the History of the law of thermodynamics and i'm like, oh, yeah, let me tell you about boltman brains. This is great anyways, let's do some top secret and um While we're doing top secret you can put your questions up in the discord channel And uh, let's do some top secret Let's look in the vault Yeah, well, we got a quick video. We shot this in the park. So you can check it out Okay, lady. What is this? Hey, we're here in washington square park in a beautiful sunny new york afternoon and i'm testing out a uv sensor. This is the isport c uv B sensor from genicom and i've got here an esp 32 And it's printing out the uvv law data and it's converting it to an index not sure this index calculation is correct But uh, hopefully this data I can capture it and then do some analysis And that's top secret this week, um We're gonna roll right into questions. Okay. I have a couple lined up. We off we answered the microchip one That's done Sweet About the seesaw thing. Okay, uh Is it better behaved on i squared c than the lc 709 203 f Um, I don't know whether it what is the is it referring to any of the new product because it's similar. Um, I think so Um, but it's hard to know if there's any weird exceptions the lc 709 does require quite a bit of clock stretching Um and some platform, you know, a lot of platforms are okay with it, but not not all platforms are I haven't measured the clock stretch. The fact of the matter is like The boards I would be using this with support clock stretch and I haven't had any problems with them Um, I did not try this on a raspberry pi yet Which is usually the picky, you know the pickiest because it doesn't have hardware support for clock stretch Which is another reason why i3c is removing clock stretch support I totally know those fields. Um, but so far it's it's been solid I'm not had any issue with it and I know that people have been using the sensor for a bit So I think it's a little bit better But I don't I can't promise it will work with every platform forever in the future Okay, scott left left a little teaser before his maternity leave about the esp 32 sx bile any more info um well, uh The reason we don't have bile yet is you know, we want to integrate nimble support um It's not easy. It's it's not trivial It's not coming any time soon soon, but it's something that we will we will eventually attack Okay, question on the lc 709 203 f there's a few battery volume examples curious how different It would be to add some other battery sizes like one come come on 200 The the the max 17 doesn't you know, they do have like some Pre-programmed table and you can contact maxim I'll say it to be honest You you don't really need to use the pack size thing it's it's it helps a little bit, but it's um The batteries pretty much act the same no matter what so you just want to get For them for the lc get close for the maximum. It doesn't seem to care Okay, and then this one someone on youtube about the curiosity board header holes are not a line I think it's an innovation from spark fun Yes, it's not aligned to help hold inline headers in place for soldering or Or have enough friction to make good electrical content. I will say I don't use it. It's like it's it's a stagger header I I don't use it and I I I probably should I just Just never did Um, but it is it is it is it doesn't look like they're even but they do work in a breadboard And it basically holds the pins. I would not trust it instead of soldering Um, but it's probably going to be easier to solder and keep the pad straight Okay, uh, how much stuff will the i3c break that uses 8 fruit i2 speed? Clock stretching well i3c does not well when we covered it last couple months ago It does not appear to support clock stretch. So It will not support clock stretch. However i3c is still like not here yet. It's It's very very very early. Um, I haven't seen any microcontrollers that support it probably only like processor chips because they all that inline interrupt and the re-addressing Um, I I do not know what will happen to clock stretch chips if you try to put them on i3c line Okay, I mean why not a standard if you can't break it, right? Is it possible to communicate over wi-fi or not esp32 s2 but not using a web server? Yeah, sure you can Open up a socket and just send bytes over it I don't know if there's an example code for it, but there's Detectably possible Okay Them's the questions for the night Oh, no one more snuck in what's the status of the new displays with iSpy? Seriously deal. I gotta redo like all of the displays um Which i'm like not super excited about but um as I yeah Yeah, I have to I have to redo a lot. I didn't actually did I just send out a board. That's a little iSpy breakup basically like so I was doing it and then like A lot of shit changed and I just approved all new samples of the tfts Um, and they're all compatible, but I have to change some things and I have to like redesign a bunch of boards And so I'm going to add iSpy connectors So like it's happening. It's just like happening With a slight delay But then again time it does not exist. So it's fine Um, all right, that's our shift from tonight. Yeah I think everybody uh Code is fuel special thanks to zea who's behind the scenes in our slack channel Doing stuff anymore. This has been an aid of fruit production. Thank you so much everyone for joining us Tonight we very much appreciate it. We'll see you all during the week of lots of new surprises new products new guides new everything and more Thank you so much for being a cool great place where lots of people can come together The world needs more of this We'll help lead the way together. Here is your moment of zener Thanks everybody