 Life in New York. It's ask an engineer everybody and welcome to ask engineer. It's me Lady Aida the engineer with me Mr. Lady Aida Camera control behind the scenes. We're here. We're on discord. We're broadcasting live from downtown Manhattan This isn't me and mr. Lady Aida and baby Aida is resting peacefully But we're on exciting show for tonight lots of electronics new products. It's not out yet and more Can't get mr. Lady Aida. What's on tonight's show on tonight show the code is clear knob 10% off the nature for store all the way up to 11 59 p.m. That includes free stuff. So we'll talk about the free stuff in just a second A different live just got finished up with show and tell there was some awesome amazing show and tell folks Thank you for coming by We'll talk about a couple of the projects But make sure you watch it across all the different places where we post our vids Which is pretty much everywhere talk about Desk of Lady Aida including what we did for great search JP's product pick of the week some in New York City factory footage We got a two fur which is 3d printing and a to fruit. I owe this week. We're going to do ion mpi We got some really cool top secret. I'm going to do some new Products we're going to answer your questions. We do that on discord a to fruit dot it slash Discord or discord dot gt slash a trip we have Our video going out on every Place you can possibly stream. So we do all the questions on discord hang out over there It's easier to ask and get answers there throughout the show and especially at the end All that and more on you guessed it ask an engineer Okay, so uh first up um, let's do a little bit of uh Code stuff housekeeping and then um, we'll jump right in so we got freebies Beep beep Free me mobile. Yeah, so what do they get besides when you know using the code? What do you get when you start out? So when you use the code you get 10% off But when you order $99 or more you get a free Half size promo proto brand board. Um, we'll go get back to those free nudes later But uh, we're waiting for some shipments to come in At 149 or more you get a free rp 2040 dev board. This is the kb 2040 with an rp 2040 chip stomach qt Buttons eight megabytes of flash usb c castaway pads and it's pro micro pinout compatible So it's a great board for all sorts of uh electronics projects Free p.s. Gram shipping with orders over $199 and $299 or more you get a free micro bit v2 Um, it's a great micro controller board that can run micro python or arduino or circuit python le these sensors buzzers buttons and more Okay, a little bit of reminder for the folks who are seeing us on our show Um, and also on our website, you can see this here. Um starting march This year we're raising our purchase order minimum from $50 to $100 and removing the p.o. Processing fee Yeah We used to have to charge a fee because it took us time to do these pios and then we noticed no one else Is really doing purchase orders under $50. So we said well, we'll remove the p of uh fee But the purchase orders need to be over 100. So this is for schools for educators and for other other folks But I told the team I would help get the word out because it saves everybody time and a little bit of money Um, next up, I just have like one I'm not going to do news really in the same way tonight because we have a lot of stuff to get through But um, I've been waiting to use this salute emoji for a really long time because it's really funny to me And so I want everyone to pour one out for the balloons that got shot down the most recent ones um So it had a deferred stuff in it. We think um, well, the yeah, it looks like they used our Si something something that the uh triple output rf. Yeah, these are basically science projects and things that are perfectly fine to do And legal and everyone got a little nutty about um this stuff non aliens not um World war three Um, you could put a balloon up in the sky and it does all sorts of neat stuff And you could look at the blog posts that we have about this But um, a couple of our boards got shot down it seems. Um, so You did your survey that's me I really just I just think that woji is really it isn't really fun It's not smiling. It's excellent. Also, like I just imagined in my very like syncing or something like like A different board is kind of like 20 in a ways. Yeah, just sometimes there's certain things I'm just like there's a lot people use our ultimate gps modules because they They're they're known to be good above I think 40 000 feet and um, you know, our our emitters are very popular as well Yeah, anyways, I'm glad we didn't get blamed for all of this. Um, a couple years ago There was a russian uh commercial airline Flight and it crashed and it was not terrorism or anything It was just a mechanical error and they said oh, there's a barometric pressure sensor issue and so cnn googled for barometric pressure sensor and instead of looking at ones for airplanes or whatever they just found our photo so there's this like Adafruit board Adafruit logo Adafruit board in the back black background like bme280 and then like A couple journalists are like adafruit sport in this russian plane. It's like no, it's not and I had to email I'm just like, can you please not say that and can you take can you update your post or can you not like say it was a native reporter wasn't And uh, anyway, so I'm glad we didn't get blamed for these balloons, but um You know our stuff was probably a news where the russian thing. No Okay, doki. All right. We just did a bunch of live shows. Thank you jp for um hosting Um, it's hard to pick favorite I'm not supposed to pick favorites, but I'm just gonna I'm just gonna talk about a couple tonight that I there were some Cool. Yeah. Well, um, check out Ann's project. Um, what that we just published. It's a really neat retro floppy project where he has a screen on it and For the youngins that save icon used to do something. It was a floppy So it's just a neat retro project from circuit python and then um guy at the end Had a really neat project and I thought the comments were kind of funny Um that they were saying about it. So it's a a face detecting Uh device. This is a peep wardens company where this is a non-connected Face recognition and it sees your face on a little clock and then it displays the wrong time And uh guy said yeah like on twitter i'm nebel person Because it's funny you do fun whimsical projects and pranks and stuff like that and there's like people that are just like miserable and Angry and they'll try to make you um not want to do your project So guys said I changed it so it's 11 11 and it's whimsical and uh you had extra wishes But I thought there's a really neat project It just shows um how easy it is to glue these things together with Maybe the minimal amount of code that looked at a face Recognizes the face makes it action changes the time keeps real time, but then it can uh change And then changes back and they can do other things like store a small amount of uh face I think I think like eight or so But it's non-connected so you don't have to worry about your face data getting uploaded to the clouds So I thought that was neat so check that out and it's uh circuit python and there was uh example code But now there's a library so uh good work and then um Also, uh, Todd got it's just on a roll. It means beautiful synth and like this amazing music stuff Good work. Todd. I mean it was It was delightful. We were watching if we're not posting this show until you're probably wondering what we're doing We're watching it On sunday as we do desk of lady eta and we do this in two parts First part you were showing the latest and greatest what were you doing on sunday as I go sweet Okay, um, well first of all showing um the esp 30 sorry the the rp 2040 tester brains board that um I showed off a couple of times ago and we use now because originally we're using tc 36 baseboards I can't get tc 36's and so I use this opportunity to be like, okay, let's redesign these boards to use the rp 2040 pico, which I have tons of um, and also really it's a good board and it has um bitbang usb host now um So one of the things that we we did already was we implemented uh rp 2040 programming for rp 2040 So it programs itself over usb Which is perfect because we have so many rp 2040 boards and now the next board that we are Uh targeting is the esp 32 series because traditionally I use a raspberry pi to program these Which is totally great and fun and works well, but um, I really like solid state programming as much as possible Like no sd cars. No lindis linux operating system. Like no operating system is is best. So um, we have the the spiles for the tester brains are up on github You can download the boards and fabricate them yourself. They're completely unsupported and then in the ate a food test bed Arduino library you can see all of our example code for programming boards from an rp 2040 stand alone what we use for our testers and uh And I'm gonna tell you something. So one of the things just kind of working with lady eight over the last decade plus um the engineering of the product for Her isn't where I think the challenge really comes from it's designing it for manufacturing and testing Um because you crank through designs, but then it's like how do you actually do a full like test yielding test is actually It's a second half, right? So this is the hidden half because it's one thing to make something But it's another thing to be able to make it quickly efficiently And and perfectly come on every customer support return. No one talks about this. No, it should be failure I'm informed. So it's like it's my in my best interest like every board that goes out is tested Um, you know once in a while, there's mistakes that occur, but like there's 100 test coverage Assuming people follow the instructions Um, but it has to be fast. Like if it takes minutes Um, and every few seconds Counts so like I was talking, you know, this is not public but behind the scenes talking to tac who's been writing this esp32 programming code And we're going back and forth every night and we're like, okay. Well, how can we shave two seconds off? It's like, okay, instead of programming at 921 kilobot. How about we upload two megabits? Okay, that's sped it up Okay, let's do the stub loader because that allows you to send bigger packets of data. Okay, that's sped it up Okay, now there's a compressed file upload capability. So let's gzip the file. Okay That's sped it up and like how do we get as close as possible to You know the optimal You know, it's for example, uh, you want to verify that the file was read instead of reading it back You do an md5 sum over the flash memory and you compare that so it's like you don't have to read the file You just compare the md5 sum is is is calculated much faster. So All these little things like add up because when you're making a thousand boards a day You multiply that by a minute each you can see how it So check it out like no, you know, we also looked around like no one else was sharing this No one else was doing this and we know um because we got emails from people who run businesses are like, thank you so much Like I just took off 20 hours of our testing I took a 40 hours difference between how I was doing it before and how I'm doing it Yeah, so especially for folks doing esp 32 our p20 40. We already have it's very fast over the usb host Um, it works wonderfully and then esp 32. We just did stub G zipped file upload from Internal flash memory so not the micro sd card and that's because it's even faster when you don't have to do the micro sd card We're writing so just one second two second here there and we got it down I think to 10 seconds to write a one megabyte file to the esp 32 which is basically as fast as esp tool does it I don't know if it was a rumor or whatever. It was like Steve Jobs is telling Steve Wozniak like make the boot up even faster because you're saving lives If you can get like 10 second if you could boot up 10 seconds more. I don't know if it's do fast boot is nice though I don't even know if it's a real story, but I like it. Yeah, so it's like it's but it you know, you can Sometimes there's a lot of uh fables. Um, but there's lessons to be learned But it's interesting. It's like if you can save a few seconds off a boot up That's actually human life. So anything. Yeah, and then when we test again if we're testing a thousand boards a day You've multiplied out it ends up real fast. So I I like to get test Um for my control board is if I can test under 10 seconds, that's good. That's the way to go, right Um, then we do the desk of lady either where you uh, also do the great search We do the great search on this earlier. Yeah, but I said reverse. Um, so what did you help folks find on dgt.com? Okay, so this week, um doing a board update So, um, I'm ordering the macro pad pcb's and one of the components the pam a 301 is not recommended for new designs Which historically would mean that I have a couple years before I need to swap it out, but With chip shortage post chip shortage of note is that um nrnd ends a lot faster sometimes unexpectedly so And so I'm always um, I'm much faster now to replace parts. So let's stand for for the folks aren't Not working nrnd stands for not recommended for new designs. Yeah, so it basically means they're still selling it But it's lifetime limited. They they reserve the right to discontinue you go Don't put in any design because we're not going to help you. Yeah Um, it's like buying the milk and it expires like tomorrow like in theory, you know, if you drink it tonight, you're good But still, uh, I didn't get any from that recommended for a new dairy for new dairy Um, so found a couple options including, you know, the pam 8302. I think at 83 or four But also an nau part as well. So a couple different options. Okay. Um We're gonna do some back-to-back. So JP's product pick of the week That's when we broadcast live from the product page And give you a discount and then i'm gonna do a quick one minute video with JP's cap piano that I wanted to get out That he shows on JP's workshop because it's a really cute video. So here we go It is the esp 32 s to reverse tft feather This is the 240 megahertz tin silica processor on here. We've got four megs of flash We got two megs of ps ram. This can do wi-fi no bluetooth, but this can do wi-fi 2.4 your hertz wi-fi it has the native usb has a usb c on it, which i love one of the nicest features of it is This panel mount option that you've got and you can see there's the four little mounting holes So i've mounted it into a little case that i made i cut this uh out of acrylic on a laser cutter And it gives me a kind of a neat little way to very quickly add an esp 32 s to feather to a euro rack project and mount it All all in one. Um Here you can see it's uh, it's just sort of a temporary solution here and the jacks aren't connected up to anything This is just sort of a proof of concept. It is the esp 32 s to reverse tft feather And don't forget we have a deep dive with tim every single friday at 2 p.m. Pacific 5 p.m Eastern you can learn about how to make a lot of the stuff and all the units of circuit python and more speak it up It's python on hardware time We have a gigantic newsletter. There's a lot of things in it I'll mention two things and then we're going to talk about the thing that people are going to questions about later So i may as well just uh use that for this segment. So circuit python 802 is released Bug fixes and more updates when we're doing a 80 release or any, you know, major release then we immediately start to have some other releases afterwards and then You can check out. I actually love that we do quick really after a big release We do a lot of little mini releases because it means that people are using it and they're getting all the little We try to test but we don't test it. We can't test everything rapid feedback. Um You can check out some of these neat things you can use an ipad or an android with circuit python micro prison and um There's this neat block level device for circuit python I know isn't that cool so it's you can Yeah, I know right You do that over like a robot us that might be good for our little, uh, kid toy That's right one of the things so one of the things that I looked into right because it's um when you do You are you can do like, you know, you aren't over um web right because you just send data back and forth And so we have you know web serial that we have a repl for but how do you do file transfer? And I was like, oh man, I wonder if you could write like nfs or samba on I don't like a low level micro controller, but it turns out it's actually a little bit too complicated You know nfs also doesn't support it as much but I tried to do samba But it turns out there's no like micro controller samba implementation But won't that be cool to show up as a disk drive and you just like drive your crossover? Yeah, maybe when we get to the bigger chips, we can do that, you know, then we get to like the m7 chips on a Unrelated note to this but I was just reading about this before We started doing some of our shifts today, you know, there's a lot of talk about chat gbt and co-pilot and ghostwriter and all these things that Some of it is for human language and some of it is for programming The programming stuff's interesting. I saw someone today was talking about its repl They have something called ghostwriter, which helps you write code And on one hand, you know, it could be dangerous because, you know, you can get a bunch of codes It's nonsense or garbage On the other hand, what they did is they hooked it up in the repl And I thought that was really neat because the the ai Was using code and going back and forth with the programmer and they had it plugged into a repl And eventually you it got it right because the repl is interactive Like there's one of the things I really like about circuit python and just python in general Is you can you can kind of do very fast iterations when we were doing cricket For aida box and we were doing a lot of robotic stuff It was just like kind of I I can't imagine compiling and then sending it to a microcontroller Over and over. Um, but anyways, uh, check that out. There's a lot of I think that's going to be more Interesting use of some of this stuff other than just like oh write the code for me I think it's going to be more of like a partnership between a huge amount of human language Ability that can get you the code that you're looking for and then interactively working on it in a rebel anyways so The news of the week that I wanted you to talk about later because someone's going to ask about this is And we're going to have we have it as a new product too. Um, It's a raspberry pi Debug from why in the world Would raspberry pi release this and what does it do? Why is it interesting? So the raspberry pi debug probe it's an official product from the pi foundation And of course it features the rp rp 2040 and it's like rp 2040 debug exception, right? Because you're using an rp 2040 to debug an rp 2040 the rp 2040 chip is based on the arm cortex Uh, m0 plus chipset, which means it has swd debug, which is actually nice There's a standard for debugging these chips And if you're used to like me if you've done like printf debugging, which works, you know, totally fine You print where you are and you just sort of figure out Um, where your program's crashing or what the values are But once you get to any complexity Gdb step debugging is really the way to go and that's where you you know connect to it And you can step through line by line the code and print out all the variables means very very powerful I you know love using gdp for more complicated projects and it will definitely help you find like those really tough Bugs you can have it watch a variable when the variable changes it interrupts Or when you enter a function or when you exit a function or whatever. It's it's you know, awesome um But the issue is uh, you know swd The programmer dongles are kind of expensive. Um, you know, even even the cheapest jlink right now is like 60 bucks They're very good. They're totally worth the money. But if you're a student Or you're just a beginner you maybe you don't want to spend, you know, you start at 60 It easily goes up to a thousand dollars For these debug probes. So, um, this is a census staff compatible debug probe that is designed to work with open ocd which is an open source Debug connector and then you would use gdb to step through Your program and see where it's failing It's useful for when you're writing code in arduino or cc plus plus using the pico sdk In circuit python, you know, you would use this to debug the circuit python core Not to debug your circuit python program. I think I mean you could but it would be weird because your code is being interpreted, right? Um, but for people who are doing, you know, arduino or cc plus plus programming. This is really great It's got two ports and we'll talk about it in the new park section But there's a uart port So it also has a usb to serial converter which is handy because you can also do printf debugging And then the debug port which is that swd port and um, there's on the pico h There's a plug that it goes in directly. But um, you know, these pins can be Plugged into it comes with cables. It can be plugged into a breadboard or soldered a lot of our designs You know, like the feather have a swd connector. You would just plug these pins into instead All right, um, get that delivered to your inbox every single week. Um, I found on hardware newsletter. Go to aetherforddaily.com. It's completely separate site has nothing to do with your store. We don't spam You don't harvest your emails. We don't do anything like that. That's why I have a separate site just for newsletter So go check it out at aetherforddaily free service provided by aetherford just to Show cool stuff and price on our harbor. All right It's our hardware news and more and our guides. We have a bunch of guides this week Lots of guides. What's on the big board? Okay this week Um new Well, I'm trying to remember. I think we And this guy just went in I think This this camera guide. These are updates. Um, can you can make this a little bigger or is it small on purpose? What the size of it? No, that's fine. Okay. It's good. Yeah, um, so this is the Guide for the obu 5640 camera breakout. Um, we're going to get into camera stuff and this is sort of our first foray This is a high resolution camera with a wide angle lens We have support for it. Um in circuit python and there's some support in arduino as well um In circuit python we recommend the rp20 40 and the esp 32 series of chips the s2 and the s3 in particular Both work with this camera The 751 technically works, but in reality we had so many problems with it that we don't really recommend The samu 51 anymore This full tutorial you can be easily Pretty easily once you've got it wired up get jpeg data or raw Uh, binary data and the jpeg data can be compressed and up to like I think 10 adp So, um useful for getting You know snapshots and also Uh processing uh live data and you can use it for like machine learning stuff. Um, Photography videography making animated gifts all sorts of fun stuff Okay, next up. Can you scroll down? I just want to see what's below this Uh, did we do the gravitar? Um, I think maybe we mentioned it last week, but I'll I'll mention this Yeah, as well So gravitar, do you know when you sign into a website and you're like, whoa I remember I had that icon like 10 years ago There's a service gravitar. You probably set it up at some point So if you want to change it because gravitar is something that's used on like millions of websites It's a project by the folks to do wordpress now We use it in our account system and also in the forums So if you want to check out how to change it and also check out their privacy policy They have a good one Um, we have a little how-to guide because I looked around and like there's nothing great So I'm like, hey, you should write a guide because I just updated Um, her At gravitar as well. So, um, I gotta do that on mine. So I think I have like the old data fruit logo Yeah, we also have the two guides for the Neo-key and micro sd card bff. I don't know. I think eliz did that this week We've got a bunch of updated guides just fixing some stuff. Um, the uh, e-ink display got an i-spy connector So that now has i-spy documented we're slowly going through nice i-spy Um, but we're We're going through and doing all the ink displays slowly but surely as they went out of stock Okay, so then uh, we got the music cat piano should line out. So that's just, you know, we're starting Um, the first hack which is just adding line out and then we're going to redo the whole guts with a rp2040 Um, a lot of our iot boards like this has on the esp32 s2 qt pie are getting Whippersnapper essentials pages. So maybe like go to go through the qt pie I think this one is in progress. Yeah, so good. Yeah, so whippersnapper set up. Well, that's the original one Uh, keep going go to the essentials So, um, we're adding these essentials pages that let you get started with like analog inputs Reading a push button. I have quick starts. I feel like they're quick starts. Um, this one. I think it's it's in progress So well, there's some images missing But we're gonna have you know for every board we'll have the wiring diagram for that board So it's more I specified so maybe go back because I think that one was um, he was working on it. So go back one go back one Go back and then click on the his uh, I think that was the one that Scroll down And whippersnapper essentials essentials. Let's see if this one and scroll down. Yeah You know, I know go down come on and put yeah See if this one has the no, I think that they're still working on the images Can I can use you must? Yeah. Well what? I want to see Yeah, so this one for example, um, oh the first one So using this on whippersnapper, we have the image of the board itself. So every Every board will have its own unique images for The tutorial Okay, so we'll do that. I think images are just loading really slowly too. Just kind of odd Okay, I'm doing a billion things on this computer. Yeah, there's computers. We're streaming All right, so then uh, go back to the front page Yeah, we'll show that with the whippersnapper essentials I think I think your images are still loading and then finally, um, that there's not favorites, but One of our favorites is uh, this floppy thumb thumb drive that has a color display. This is um Inspired by a nanoraptor tweet render of a floppy disk that had to explain it and we're like, let's make that real and so um And and knowing Pedro and a couple other folks from the Adafruit team got together and made the whimsical uh physical Alrighty, let's do some advanced manufacturing made in New York City factory footage factory. Let's do some 3d print and stuff. We got a twofer another twofer. Let's do it first night. Um, We're gonna do this 3d printing speed up But first we're gonna play a Really cool video that shows All about whippersnapper And now Pedro did and that's part of Adafruit.io and you can start using whippersnapper right now It's free. It's our code. It's easy. So we have all those essentials that you were talking about from the guy That's right that will load on your browser because your browser's not streaming Yes, so uh, here we go You can build projects with neopixel LEDs and whippersnapper Adafruit snow coat solution for iot projects With Adafruit.io and whippersnapper you can control neopixels with an easy to use web interface Just tap on the color picker to change the color of the leds Whippersnapper now has support for both neopixel and dot star leds allowing you to make glowy iot projects You can create custom triggers to make leds reactive time based or even a scheduled event In this demo, we have a motion sensor set up So the color of the neopixel leds will change whenever motion is detected With whippersnapper you can plug and play sensors with stem aqt to create sensor aware projects There's a huge list of supported sensors like temperature humidity and much more 3d print our enclosure designs to make projects using the raspberry pi pico w or an adafruit feather with stem aqt breakouts Use a light sensor to detect when the room is dark to turn on a strip of leds You could even have the colors of the leds change depending on the temperature or humidity Whippersnapper makes it easy to set up a new device Just search and choose to support a dev board with wi-fi capabilities The site will walk you through installing the firmware onto your device and set up your wi-fi so you can quickly get up and running Once our dev board is set up you can easily add neopixels or dot stars and start glowing The color picker allows you to quickly test your leds so you know it's working Our 3d printed case secures a pair of stem aqt sensors with a command hook so it can hang on the wall 3d printed diffusers cover up the led strips and make the space look much cleaner so they can blend into the surroundings Command hook clips keep the led strips in place without the hassle of drilling into your wall Our enclosure is mounted near an outlet and uses colored filament that complements the color of the walls So it looks nice and clean We hope this inspires you to check out adafruit's whippersnapper and start using leds to make glowy iot projects Okay, and don't forget before we go on to ion mpi and the new products the code is clarnom or clerk knob um 10% off all the way up to 150 mpm or whenever you want to try that code off. Let's get it This week's ion mpi, which by digit key is infion Lady, what is the new product of the week this week? Okay. I'm glad you asked this week, uh, mpi ion mpi is It's a long one the infineon bgt 60 ltr 11a Ip which yes, it's my favorite and this is a pretty amazing chip And we'll show it maybe on the microscope later It's a all in one 60 gigahertz radar module That's not only is it a full like radar module, but the antenna is built in as well. Very cool So this is a 60 gigahertz Doppler radar sensor It's only about you know, six and a half by three and a half millimeters Wide got a bga pads on the bottom and then the the cool like weird golds thing with squares with feet Those are the antennas on top It's configurable, but it also has a very basic autonomous mode Where it just tells you if motion was detected and the direction of the motion whether it's coming towards or away from you Um, but for more advanced usage, there's also an spi interface and pretty much everything is integrated like you basically just need a crystal A couple of passives and you're ready to go So um Doppler in case this is a nice image from wikipedia Doppler in case you're not aware of how this works is compared to um infrared reflective sensors right infrared reflective sensors like um ir and time of flight they send a Wave of light and then they measure how much was reflected back and so it's like a quantity time of flight They measure the time it takes Doppler a little bit different it what it does is it can detect the motion because as something's moving the The high frequency waves that you bounce back the frequency shifts just slightly called the Doppler effect It is commonly when you're in high school or grade school, you know when you're listening to a siren as it You know a fire truck goes by The Doppler effect makes the frequency change as it passes you and that's you know that motion Yeah, wow. Wow. So that um that effect of things in motion the waves that are emitted or hitting them that bounce back Um change in frequency slightly that's the effect and so you can measure the speed of something um, and you know, it's often again Dopplers are used for um, you know radar detecting of cars so usually you have those radar detector guns that um traffic police use they bounce a radar off of you they can tell how fast you are going Without having to like count ticks or something um, so Uh and mailboxes. So, you know, we've talked before about using radar for detecting speed But another useful thing that these radar Doppler sensors are used for is to detect whether a human is there And usually you do human detection not with time of flight sensors or with what infrared you use it for a hand But usually use a pyr sensor and pyr sensors are great for Locating and measuring whether something that emits infrared light your heat is moving so people large animals You know, you'll see these often in restrooms where you know when you open the restroom it detects that there's a human there Or sometimes if you're in front of a door it detects and it opens the door Zoo pyr sensors are very common very inexpensive and they've been wrong around for a long time There's a couple downsides of pyr. This is from uh, infineons Documentation and they did a really good job here So pyrs, I will say you know, they're going to be less expensive But there's a couple things where radars Sensors are better. Um, so first off they have um, they can have wider range 24 gigahertz Especially you can be a couple meters range or more Um, and you know like with the car detection, you know, you can be Quarter of a mile Um, one thing that's nice about radar compared to pyr is pyr only detects if there's movement Whereas because you have that Doppler effect, you can tell whether something is leaving or entering the area like it detects the motion Forward or backwards and so their example is of an automatic door, right? You only want the door to open as people are Entering and you know not exiting like it knows whether you're Pat you've just passed the door or whether you're entering the door You know, this is like the science fiction movie thing Or how does the door know when like which direction you move because they have radar sensors in the future not pyr um, most important thing is that you can put a radar sensor behind a material and it doesn't have to be um It can be opaque to light right whereas pyr sensors They have a lens and you can't have anything blocking the lens like it it has to be exposed And so you can see a pyr sensor because it's got this gray or white blobby, you know lens thing Whereas radar can probably be put behind a material of wood or plastic It doesn't have to be visible so it can have a glass you can have a much nicer look um So overall, you know for a lot of things like sensitivity and resolution and direction and distance and different materials and size they're also these sensors are much smaller than uh laser or um, which is you know time of flight or ultrasonic sonar or infrared or pyr but They're not as cheap right so they are less expensive and they're a little bit more complicated Um, but this ltr the bgt 60 is a great sensor to get started Uh, so here's the uh block diagram again, it does kind of everything for you You wire it up has an antenna built-in. You just have to give it a crystal It can run on its own. It's got a you know p detect and t detect at the top is the built-in capabilities The mode select at the top the qs one through four You can tell it whether you want it to be an autonomous mode and how sensitive you want the autonomous mode to be Or there's an spi mode as well compared to this bgt 24 This is the 24 gigahertz again the 60 gigahertz it's higher frequency the antenna is much smaller You can see the antenna on this shield, you know, it's up gets up two inches by one inch It's not it's small, but it's not tiny um, the the bgt 60 is is much much smaller Um, one thing to note uh power supply you will need to give it 1.5 volts That's the logic level as well. I think it's so I'll just be aware when you wire this up to your 3 volt of my controller You'll need to give it a regulator and level shifting if you don't want to deal with uh the bga package um You can get it in This cute vgt 60 ltr 11 ip shield. It's minimal right. It's not that much bigger than the chip itself and it has the crystal I think has some a regulator built in it only has the four pins though power ground um motion trigger and directional So it only gives you like four bits whether somebody's moving Or not and which direction they're moving in towards or away from the sensor Um, but there's also a little dev board that you can plug it into but that's like the most minimal solution There's also this like fancy board. That's the thing I showed yesterday the demo board which has A main core on top of it as well I think I think it's a cypress chip and then the infinean radar shield at the bottom There's also this really cute uh all-in-one is kind of like a sensor to go board. Um, it has the spi and uh GPIO pins brought out and also the sensitivity um and threshold timing just like a pr sensor Is configurable with two many trust me and you can see the sonar on the right You need to sort of see the uh, not sonar the radar on the right. You can even see the antenna Um, this is the pinout. Uh, if you want to integrate this it does come on a pick-and-place reel you can build product but uh If you don't want to uh do the layout I did check out an ultra librarian, which is linked to from digikey has the pinout and and Pad definitions so you can just download it directly into your CAD program On uh, there's actually two places on github. Um, so there's A radar. This is the shield that just has the GPIO pin. So this is a very simplified Um library that only does like the GPIO. There's also a separate Library file for spi mode if you're interested in um The spi mode, uh You know, there's example code. You'll have to do the hardware abstraction layer, but You can set all the little tweaks and knobs you want to Customize the GPIO and of course you can still have irq output if you want to be told You know when the sensor is triggered But again, I think that you know, it has this built-in simple mode You can start with that and then If that doesn't work for you upgrade to using spi control available on digikey, there was like 4,000. There's 4,000. There's a lot Yeah, um, so we're gonna do two things. They have a cool video We're gonna play that and then we're gonna bounce out of iampi and we're gonna show Um, because we're testing out microscope stuff. So we didn't want to have this as part of iampi So we're gonna just do that really quick. So see you on the other side Hi, I'm arishi jen and as a radar system application engineer I often get told that radar is too complex We've been listening. So let's move away from complexity And go towards simplicity This is our bgt 60 ltr 11 shield In the center here is the 60 ltr 11 mmic with the antennas integrated in the package already This reduces complexity to design antennas at the user end It's a really small package with an extremely low power consumption It supports different modes of operation Including a completely autonomous mode without requiring any mcu or any signal processing. Now, isn't that simple? So let me show you how this works All you need is a battery connection and connect the power supply here You see the led start detecting me already The green one is for motion detection whereas the red one is for direction detection As I move my hand towards and away you see the red one starts blinking and stopping When it is blinking it means i'm coming towards it and when it stops that means i'm going away The radar also works through different materials As you see I have it covered here with a plexiglass And it still detects my hand movement It's a Doppler based motion radar sensor It detects a human target up to five meter range and is also less than five milliwatts in power consumption All right, we've previewed the idea of this in our top secret And now we have a chip and we have a setup and we're gonna continue to figure out We have a kind of an old microscope, but it had hdmi out So the idea is we would do like a really cool close-up video while we're playing chip tunes and the Simon is called chip tunes So you can hear a little bit of the music in the background right now, but then uh, here's the lady eta And you can see Yeah So yeah, well what I'll do is I'll have a camera like directly on you Maybe I'll yeah traces because it'll be like a reaction video like oh look a chip Yeah, you can see the traced the trace antenna on the opposite side. Yeah You can see the part marking here. All right, so that's the idea. Okay. Um before we go off into uh Your product land don't forget gets clear now. Let's kick it First up, uh, this is the a gs o2 ma sensor It's a it looks a lot like those like dht 11 or 22 sensors and it's actually made by the same company Which is why it looks the same So the a gs o2 ma has a mox gas sensor inside a little microcontroller chip That acts as an iSquad c peripheral Basically means that you can use this as a low-cost and simple TV oc total volatile organic compound Sensor gas sensor, you know for ethanol Methane and similar gases it can detect those in the air It basically does a simple calculation to do parts per billion Um, you can also read the gas resistance is only one gas resistance plate It's you know, not super calibrated, but it's very inexpensive and you know plug-and-play works with three to five volts one thing I will note about this sensor is um, it needs to run at under 30 Uh kilohertz clock for iSquad c which is unusual because the default iSquad c clock for many boards is 100 or 400 mega kilohertz So, uh, you have to tune your iSquad c controller to run I use you know 20 kilohertz for example, um, some Controller chips like the rp20 40 and esp 32 were happy to do this I told it. Hey, please want a 20 kilohertz and they're like sounds great So did the um at mega 328, but there are other chips The samv series that was not very happy about running at that low speed Um, and so just be aware that you have to make sure that you know Maybe check on a oscilloscope that you can run your iSquad c controller at 20 kilohertz before you pick up the sensor other than that It works pretty well Next up we have a new camera lens for the m12 camera from raspberry pi. This uh really nice Um lens mount on the camera allows you to plug in screw in different lenses We've got like wide and we've got I think a narrow telephoto and this is a portraiture one So this one has um a narrow uh Field of view and also I think a narrow um focal range And so you you know, it'll focus nicely on a face and get like the depth of the face Um, but it'll kind of a blurry background for that cool, uh modern portraiture look Yeah All right next up. This is what we were talking about earlier. Yeah, this is the pico debug probe kit from raspberry pi foundation So this is kind of an all-in-one the simsys dat board for debugging rp20 40 but also other Chips as well. It's also by the way an rp20 40 dev board that you can just re program You can load whatever code you want on there. It's got two JST sh connector three pen and it comes with three sets of cables Let's go the overhead because I feel like this would be it. Yeah, we have a new overhead. You have a new overhead too So let's test it out So you can if you move your head over People could see you as you're doing this too. Look at that. Oh, I have two or not. I can get rid of you Yeah, let me get rid of me because this is I'm not ready for that yet. All right. Okay, so hold on the focus. I know I'm I get I get this new this is all new So you're gonna like it. Okay. So this is uh your classic, uh raspberry pi pico h Uh and it comes with this connector at the end and uh earlier raspberry pi Um pico boards came with three pins at the bottom instead I'm showing this because it's you know convenient. Uh, you can show that this Plugs in nice and smoothly. This is the cable that comes with the Pico probe and then you know, you plug this into this is You for your and d for debug and you can plug this in here nicely and now Um, you still have to separately power these two But then you this shows up as an open ocd device that you can then use to run Gdb for debugging with um step debugging where you actually go through line by line You could observe variables. You can um have it break and it enters a function leaves a function When a variable gets changed when memory is attached, whatever. It's very very powerful And um if you like to do uh, so if sorry if you have um the old uh our raspberry pi rp20 40 boards you can use This cable that has the plug headers or this version that has the socket headers So those are two options and then there's also a usb to serial converter as well built in So this other port the one labeled you gives you ground arcs and tx That you can use to um read and write uart data for printf debugging. There's of course, uh, you are here But sometimes especially when you're doing like usb host Staff or usb debugging. Um, you don't want to use the printf debugging on here You want to use a printf over a hardware serial pin? Like one of these in which case um, you can use the usb serial converter and one of these plug them in and you can do both uh gdb printing Sorry gdb step debugging and printf, uh, uart debugging as well Okay, next up. Um, you know, we have that code clear knobs. Yeah, these are clear maps. Uh, they've got a We have a bunch of colors. We have a bunch of colors. So clear set is made out of a different material So it's more expensive. Um, I do want to show that on this side of these This is nice because it shows all the different angles. These are clear knobs. Um, they are used with six millimeter um D shaft or t18. Uh, you can use either because as you see there's a little I think it's like a one or two millimeter um The uh set screw Uh, and the top has a black marking so you can see the positioning of it griff touch amateurs or Um, what are encoders either one and they're clear. They're clear knobs Yeah, fyi I can pick clear different colors. Yes. All right, and then the star of the show tonight besides yule Our team our community our customers everybody who makes this go in The esp 32 s3 reverse tft so many Words and letters there. It's a esp 32 s3 feather Um, as you can see here and so let's look at the back first So the the back is the front the front of the back. Okay, so this is um, you got your esp 32 s3 mini module four megabytes of flash two megabytes of ps ram dual core 240 megahertz tin silica processor with wi-fi and bluetooth low energy does not have bluetooth classic by the way But it's a latest s3 um, and then you've got all the little accessories that you would Want on that back and I'll show this on the overhead It's got usb c For data and power. It's got a lipo battery that charges automatically reset button A standard qt port for i-squared c 2 3.3 volt regulators one for the i-squared c port one for the main board so you can have like ultra low battery usage and power max 17 o 48 battery monitor So you can check your state of charge a little neopixel for Neopixeling and then all the gpio you need i-squared c analog input spi ur Etc a gpio plenty and then on the flip side You get a 240 by 135 pixel IPS display very tiny display with again the reset button is also on the front because it's useful and 3 gpio 0 1 and 2 connected to buttons that you can press um, and you can press them to make it do stuff so I can actually show on the overhead Okay This thing so on the overhead you can see the buttons Uh, you know I press d1 d0 d2 So we already have an esp 32 s2. This is just the s3 version. So it's actually kind of, you know the same Pinout and everything Reset is handy because you can enter the bootloader Although I don't think I'll enter the bootloader because it will um So there's a uf2 bootloader already programmed in For drag and drop of course you can erase it. Um, this works with arduino and circuit python Because we have support for both of those modules And the reason I like the reverse mount style is that you can put like a feather on top But then the tft isn't blocked, right? So if you want a feather wing you want to add a head gps or real-time clock or Lore radio, and then you still have the tft on the front Shift this down a little bit. Um You still have the tft on the front with some buttons that you can use to have it Do different things uh display status sensor output battery warnings, etc And yeah, I think it's great for iot projects. We'll have whipper snapper support and again, like I said circuit python All in one. I mean you can do a lot of projects with no soldering Just plug in the stem and qt in the back and you have buttons in a display All right, let's do products New new new All right, um, don't forget the code is clear knob. We have some questions lined up You can continue to post them over on just sort of if you want, but we're going to do a special top secret here Yes All right, we have at least two things. Okay, first up first up. Um, yes We did a after hours desk of ladiata where we actually tried out some of the av stuff that we've been playing with Um, but I also talked about this board. So this is the rp20 40 bone's feather So I took the rp20 40 feather and just squished it off so much that um, there's space over on the side To add more things. Um, and in this case, I added a dvi port. Uh, it's got some resistors in line Um, it's also got, uh, your heads in the way. You can Man's always right. Thank you. I'm a big head. You also got the um utility and c ec pin brought out I squirt sees connected through so you can actually do edid detection Um, there's a stomach ut port over There And then at the very bottom right there's hpd. So it's a hot plug detect Um, so we've been doing some hacking with pico dvi and I think this would be a great little dev board Uh, I also want to redo the scorpio board actually now because we have more space I won't have to I've done more squishing But I have to fab this first to make sure because this is all a 402 if I'd have to make sure that everything still works All right, and then here comes a big deal Ready? Yes. You're gonna Well, this is even better because it's like the reveal You're gonna angle it Have you there so you know Okay, because I don't have to reveal With my pointer So this is uh the feather m7 the metro m7 First prototype with the new fancy silk screen. Thank you for zooming in as much as possible Um, so you can see yeah, I'm just getting the light I am x and then on the back You know you back it up because I want to show phil b's beautiful silk screen and let's just mess around the I think that's a good tilt Yeah, it's it's tough. Okay. We'll hold it out. Looks good. Um, so this is the Silk screen. So, you know wanted to take inspiration from the seven line, which is purple here in new york city And it has, you know, the newer trains have this cool Like what stop is next display? And so phil b kind of took inspiration from that and Showed off what's a available on this metro board. So, you know, this is whenever we have a new chip we tend to do a metro because um we've got The, you know swd connector lots of gpio. It's like it's kind of easy and Spacious aesthetic ut port, you know different power out inputs usb dc three volt output as wi-fi Has the jumpers for the boot select because the boot loader is kind of funky on the imx But this board is pretty much ready to go. We've got uh panel fabricated And we're going to uh release this shortly. So this will be pretty exciting To get a new chip going. I mean like the chip shortage. We couldn't do this Because the chip shortage we were we had the design done like two years ago But we couldn't release it because we couldn't get uh microcontrollers, but now we can That's a secret. It's a secret not out yet. Don't ask Okay, we're gonna balance right to questions. I lined some up lady You can start to look at them and answer them Right away that might be faster. Yeah, I'm ready. Yeah, so Did you want me to read the questions you want? Yeah, okay So I first learned about resistor packs on death of lady aida. Is there something equivalent for smd capacitors capacitor a to make design smaller? Yes, there are smd capacitor arrays. We've used them once in a while Um, there was one time in which we had uh a board with Two crystals on it and so we were like well instead of having four 15 picofarad capacitors We just used a 15 picofarad capacitor, right? That's the only time I've used them I don't use them as often because you often don't want the same value of capacitor All next to each other like usually you have a point one one ten And then another power pain you you know or power supply point one one ten You don't tend to have four point ones in a row, but if you did, you know for um So, you know, you have a bus line and you want to have You know 10 or 20 picofarad caps on each one just to you know do springing Yes, uh capacitor. Okay. I have a small part to where I'm using PID 2090 I want what I want is on the screen to be displayed on a web page It do a web server in real time My thought is to use html5 canvas and read the videogram It somehow displayed that way. I think that's a 3.5 inch tft 2090 in which case You just use the raspberry pi and wire it up to the raspberry pi using I mean, I would actually just use the pi tft which is the the plug-in version of the 3.5 inch Or you just follow the same wiring and then just Mirror the htmi display onto it and then you can do whatever the heck you want Octoprint direct gpao for a pi camera Um, I don't know you'll have to ask octoprint people. I've never I've never actually used octoprint Will arduino classic shields be compatible with new metro m7 A lot of them will be but note that there's no arduino support for the metro m7 right now There's only circuit python. So you'd have to use them within uh circuit python Okay, uh for the pi debug probe, we're gonna add that debug head into the rp2040 based feathers as a new web Not all of them because not like that dvi one didn't have space but the um generic like rp2040 feather Yeah, I'll probably swap out the swd For this connector because it sounds like they've stabilized on this is the standard Um, okay any thoughts you would use just as a switch detect two physically light objects in contract Moving apart such as one leg you'll break pressing down towards another Most switches I found require too much force. Um, oh so physically light moving apart Yeah, physically light stuff is tough because Uh, you don't have a lot of pressure, but there are some fairly sensitive Uh, fsr the forces of resistors those might be fine Um, I'm trying to remember what else would be a good Contact Yeah, it's really tough like you want like a piezo. Maybe there's some piezos that maybe when you press on them lightly They would detect motion. Yeah, I'll do the next one Uh person's working on launching their first product brand where a few things you issue known or done differently when you first start a fruit Well, if you really want to you can watch all of our shows going back to kind of the very early stages of aterford Especially when launching a product or brand Looking back. I wouldn't change a thing because even the things that were terrible. Um, it makes you robust and um You have knowledge and we shared it, but I'll say this and maybe you need to hear this Reassurance, um is really the thing that uh I wish there was someone saying like hey Um, you know, you're publishing every day. That's weird. You have a blog. It's an electronics company But that's the right thing to do. You're doing a show every week. It's super weird Um, who doesn't who's gonna do an electronic show every week? Um, the idea that we're telling our story Each week in some way and it's now part of the entire culture of the company in addition to sharing our files and code I think that was like just one of the things where it would have been nice for someone to To say like hey like that's going to be the weird thing that that works out and it's okay. So, um, find people that Kind of give you that that thing because it can get hard and lonely more of like a personal thing because like It's a lot of work running. Yeah, so I think that to surround yourself with really good people because I think those are the times where it's like Like this is really hard. It's not necessarily the work. It's sometimes the emotional overhead of a lot of things Yeah, um, you can do this one and then I'll do the last one Okay, so with many boards having quick connect meant for iSquaredC simply get two GPIO pins that are kippled for general iO Is there any engineering comments you pass on someone middling the pins for other use? Um, totally go for it. It's just Just be aware that somebody might plug iSquaredC into your design um I have done it. I have said like oh like we have iSquaredC and it's not being used for iSquaredC They're just connected to GPIO use them for like a button for wiring, but it's You know, it's it's tacky. I'm okay with being tacky, but it's a little tacky status the beta box I love answering this one because we sent off kind of the almost final new revised design for all the parts that we can get So things are moving Uh swimmingly so that's the components to God discontinued. I start over so the good news is absolutely going to ship We're going to see how fast we can do it, but we're still aiming for the next couple months or so Yeah, uh next up you want to do these As possible use display port plugs instead of the dsub dvi for scorpio bones Same signal different vector. I I would just go with the standard connector I've got right now. It is more popular than display port to be honest, and there's adapter cables. I'd rather just Use the one I've already got stopped. Yeah, uh We bigger to trivia chris. Yeah, I think we will um, we just have to figure out Payphone here. Yeah, we I think we will because we're as you can tell we're I just put on social media this setup I think I'm gonna do it so we can do the Uh payphone stuff again the payphone the clear phone. Yeah, we'll probably do one Do you think we like like wield the payphone down the reaction video watching the first video one? Oh, yeah, we should probably do that. What? A reaction video of us watching like our first video that I did. Oh, is that the thing now on youtube? It's a thing really I look adorable and young I'm using the teenage filter from tiktok now Okay, uh them's the question. So we have to thank everybody. Thank you. Um Very much appreciate it. Yeah, just a little bit of a reminder Clearing off is the code 10% off in native for star. Oh We have until left left 59 p.m We thank you very much for joining us on this Wednesday night. Thank you so much be good to one another share information and knowledge and It's really cool to see a lot of people building companies and brands and products and ideas off Little bits of pieces that we can get out in the world. I feel like people are trying to get back into doing I mean like I lost here's were or three years were so emotionally exhausting But if you made it this far like get back into doing stuff. I I love seeing people Slowly kind of peeking out. There's folks. We know that are like we're the survivors and like we're now able We're crawling out of the rubble and we're like we're here and then there's new folks that are around That are starting to jump into electronics. It's a really good time to jump into electronics Never have you been able to do so much with uh Small budgets right now is a great time Especially since like and I'll be honest like we have a lot of inventory over stock Instead of a lot of people so parts are going to be really cheap soon I think there's going to be a lot of over stock and you'll be able to buy Components if you want to go into a manufacturing run and you're using something that was over stocked We get stuff. We're pretty cheap. Thanks today running some stuff behind the scenes here and uh aid of fruit and um This has been aid of fruit production. We'll see everybody next week. We have a bunch of videos and shows and more. Yay Here's your moment of zener. Bye everybody