From Cambridge, Massachusetts, it's The Cube, covering MIT Chief Data Officer and Information Quality Symposium 2019, brought to you by SiliconANGLE Media. Welcome back to MIT CDOI Cube, everybody. You're watching The Cube. We go out to the events. We extract the signal from the noises. Day one of this conference. Chief Data Officer event, I'm Dave Vellante with my co-host Paul Gillan. Stuart Bond is here as a research director at International Data Corporation, IDC. Stuart, welcome to The Cube. Thanks for coming on. Thank you for having me. You're very welcome. So your space, data intelligence, tell us about your swim lane. Sure. So my role at IDC is I follow the data integration and data intelligence software market. So I follow all the different vendors in this market. I look at what kinds of solutions they're bringing to market, what kinds of problems they're solving, both business and technical for their clients. And so I can then report on the trends and market sizes and forecasts and such. And within that, part of what I cover is everything from data integration, which is more the traditional ETL change data capture, data movement, data virtualization, types of technologies, as well as what we just call data integrity, or what I'm now calling data intelligence, which is all of the, tell the metadata about the data. It's the data catalogs, it's the metadata management, it's the data lineage, it's the data quality, data profiling, master data intelligence. It's all of the data about the data and understanding, really answering what I call answering the five W's and H of data. It's the who, what, where, when, why, and how of data. So that's the market that I'm covering and following and it's why I'm here. Were you here this morning for Mark Ramsey's talk? Yes, I was. So he kind of went through your herd and he started with EDW, kind of threw ETL under the bus a little bit. MDM and then the enterprise data model said all that failed, but that stuff's not going away. And I'm sure they're, you know, Glaxo's still using, you know, all those, all that tooling today. So what was your reaction to that?  Yeah, it's true. Or saying, well, maybe there's a little, well, haven't we been saying the mainframe's going to go away for years and it's still around? So I think that obviously there's still those technologies out there and they're still being used. You can look at any of the major ETL vendors and there's new ones coming in the market so that it's still alive and well. There's no doubt that it's out there and it's the biggest segment of the market that I follow. So there's no- And there's open source tooling, right? Yeah, there's no doubt that it's still there, but Mark's vision of where things are going, where things are heading with data intelligence really being at the core. We talked about those spiders, we talked about that central repository of information about knowledge of the data. That's where things are heading to, whether you call it a data hub, or whether you call it a data platform, not really one big huge data platform, one big huge data repository, but one place where you can go to get the information about the data so you can find out where the data is, you can find out what it means, both the business context as well as the technical information. You can find out who's using that data, you can find out when it's being used, why it's being used and why do we even have it and how it should be used so it's being used appropriately. So, you would say that his vision, actually what he implemented was visionary, he's skating to the, they skated to the puck so to speak. Is that, yeah. Yeah, yeah. And that's, we're going to see more of that, we are seeing more of that. That's why we've seen such a jump in the number of vendors that are providing data cataloging solutions. I did a, IDC has this work product we call a market glance. I did that beginning of 2018. I just did it again in the middle of this year. And the number of vendors that offer data catalog solutions has significantly increased, like 240% increase in the number of vendors that offer that. Now, it's off of a small base. These are not exhaustive studies. It may be that I didn't know about all those data catalog vendors a year and a half ago, but it may also be that people are now saying, well, we've got a data catalog, but you've really got to peel back the layers a little bit and understand what these different data catalogs are and what they're doing because not all of them are created equally. Well, they hit your radar if you don't know about it. 99% of the world doesn't know about it. Mark talked this morning about some interesting new technologies they were using, the spidering to find the data, bots to classify the data, tools to wrangle the data. I mean, there's a lot of new technology being applied to this area. Which of those technologies do you think has the greatest promise right now? And how automated can this process become? It's the spidering and it's the cataloging of the data. It's understanding what you've got out there. That is growing crazy. We just started to track that and it's growing a lot. That has the most promise. And as I said, I think that's going to be the data platform of the future is the intelligence knowing about where your data is so you can then go and get it. You know, it's not a matter of all the data is one place anymore. Data's everywhere. Data's in hybrid cloud. It's in on-premise. It's in private cloud. It's in hosted. It's everywhere. I just did a survey, got the results back in June 2019, just a month ago, and the data is all over the place. And so really having that knowledge, having that intelligence about where your data is, that has the most promise. As far as the automation is concerned, the next step there, it's not just about collecting the information about where your data is, but it's actually applying the analytics, the machine learning and the artificial intelligence to that metadata collection that you've got so that you can then start to create those bots, to create those pipelines, to start to automate those tasks. We're starting to see some vendors move in that area, move in that direction. There's a lot of promise there. You guys, at least when I remember of IDC, the software group had this pretty robust taxonomy. I'm sure it's evolved over the years. So how do you sort of define your space? I'm interested in how big is that space?  Right. So my coverage of data integration and data intelligence is fairly small. It's a small little market at IDC. I'm part of a larger team that looks at data management and analytics and information management. So we've got people on our team, like Dan Veset, who covers the analytics, the advanced analytics. Shannan Gopal, Carl Wolfson, he's been on theCUBE, he covers database management technologies. Those, I apologize, I don't have that number off the top of my head. Okay, I know, but your space, really. My space. Yeah, because that software market is so fragmented and what IDC has always done well is you put people on those fragments and you go deep in there. And so somehow you've been able to not make your eyes bleed when you do that and it's a challenging job. So the data integration. But you put it all together and it's important. Yeah, the data integration market's about six and a half billion dollars. Substantial size. Yeah. But again, a lot of vendors. A lot of vendors. A growing number of vendors. And the market's growing? The market continues to grow. As the data's becoming more distributed, more dispersed, there's a need to continue to integrate that data. There's also that need, that growing need for that data intelligence. It's not just, you know, we've had a lot of inquiries lately about data being fed into machine learning and artificial intelligence and people realizing our data isn't clean. We have to clean up our data because we're garbage in, garbage out. It's probably more important now than ever before because you don't have someone saying, I don't think that data's right. You've got machines that are looking at that data instead. The technology that's out there and the problem with data quality, it's not a new problem. It's the same problem we've had for years. A lot of the technology is there to clean that data up. And that's a part of what I saw. I looked at the data quality vendors. Experian is here. SyncSort, you know, and all of the other data quality capabilities that you get from Informatica or from Vantaho or from a click through Podium, that all is there. And so that part is growing and there's a lot of more interest in that data quality and that data intelligence side again. So the right data can be used. Good data can be used. The trust in that data can be increased. We're used for the right reasons as well. And that's adding that context and understanding. That's semantic. Having all that metadata that goes around that data so that it can be used most importantly. It's one of those markets that, maybe relatively small, it's not 100 billion, but it enables a lot of larger markets. So, okay, so it's six, six and a half billion and it's growing it, is it growing single digits, double digits? It's growing, it's hovering around the double digits. It is, okay, so it's pushing 10%. And then who are the big players? Who's driving the share? Is there a dominant player or are there a bunch of? So Informatica's number one in the market. Followed by IBM. And SAP's right up there, SaaS is there. Talend is making a good, yeah, they're making a nice headway in size, yeah. But there's a number of different players. There's a lot of different players in that market. And the leading market share player has what? 10%, 15%, 50%, is it like a dominant? Share, I don't know what to put in the spot there. That's tough to say. Informatica's big. It's over a billion. It's over a billion, yeah. Right, so they've got maybe a sixth of the market. Okay, so but it's not like Cisco has two thirds of the networking market or anything like that. And what about the cloud guys? Are they participating in this and how do you guys deal with that? The cloud guys, yeah, the cloud guys, so there are some pure cloud solutions. There's a RELTO, for example, Pure Cloud, MBM, Master of A Management. I'd say there's less pure cloud than there used to be. But someone like an Informatica is really pushing that cloud presence and that cloud capability. So running this tooling in the cloud, but the cloud guys directly are not competing at this point yet? Is Amazon? No, so Amazon, Google, yes. So those cloud guys, yes. They are Google announced Dataflow back in, or data, sorry, data fusion back at Google Cloud. Yeah, that's right, yep. And so they've got an ETL tool in the cloud now. Amazon has Glue, which is both a catalog and an ETL tool. Microsoft, of course, has Datafactory and Azure. So those guys are coming on. They're coming on. I'm guessing if you talk to Informatica, they said, well, they're not as robust as we are and we've got a big install base and we go multi-cloud and is that kind of the posturing of the incumbents or? Yeah, that's the posturing. And I shouldn't, maybe that's, I don't mean it as a pejorative. If I were those guys, I'd be doing the same thing, but we were talking earlier about how the cloud guys essentially killed the dupe, right? Do you see the same thing happening here or is it, will the tool vendors be able to stay ahead in your view? Depends on how they execute. And if they're there and they're available in the cloud along with those cloud providers, they're able to provide solutions in the same way, the same elasticity, the same type of consumption-based pricing models that the cloud vendors are offering. They can compete with that. They still have better solutions than what? And multi-cloud and hybrid is a big part of their value problem. That the cloud guys aren't really going hard after.  Some of them are anyway. And some of the cloud guys, they have the hybrid capabilities because they've got some of what they've built comes from on-premises worlds as well. So they've got that ability to. Microsoft in particular, right? Microsoft and Google. Google, the data fusion came out of the. You're saying it's part of the Anthos initiative or? I apologize if the Google folks are watching, but. I know. It's a soup of acronyms in our business. It is. What tools have you seen or technology have you seen for making, for governance of unstructured data that looks promising? So I don't really cover the unstructured data space that much. What I can say is, just as in the structured data world, it's about the metadata. It's about having the proper tags about that unstructured data. It's about getting the information of that unstructured data so that it can then be governed appropriately. It's making structure out of that. That is, I can't really say because I don't cover that market explicitly. But I think, again, it comes back to the same type of data intelligence. Having that intelligence about that data by understanding what's in there. What advice are you giving to the buyers in your community and the sellers in your community? So the buyers within the market talk a lot about the need for that data intelligence. So data governance to me is not a technology. You can't go out and buy data governance. Data governance is an organizational discipline. Technology is a part of that. To me, the data intelligence technology is a part of that. So really, for organizations, if they really want to get a good handle on what data they have, how to be enabled by that data, they need to have that data intelligence. They need to go out and look for solutions that can help them pull that data intelligence out. But the other part of that is measurement. It's critical to measure because you can't improve what you're not measuring. So that type of approach to it is critical. And you've got to be able to have people in the organization. You've got to be able to have cooperation, collaboration across the business, IT, the Chief Data Officer office. You've got to have that collaboration. You've got to have accountability in order for that to really be successful. For the vendors in this space, hybrid is the new reality. In my survey data, it shows clearly that hybrid is where things are. It's not just cloud. It's not just on-premise. It's hybrid. That's where the future is. They've got to be able to have solutions that can work in that environment, that can work in that hybrid cloud ability. They've got to be able to have solutions that can be purchased and used, again, in the same sort of elastic type of method that consumers are able to get services from other vendors in that same type of. Great. All right, so we've got to run. Thank you so much for sharing your insights and your data. I know I was firing a lot of questions at you. You did pretty well.  I know what that's like. So thank you for sharing. And good luck with your challenges in the future. You got a lot of data to collect and a lot of fast-moving markets. So come back anytime and share with us your update. I've got space for me right now. Yeah, right. Okay, and thank you for watching. Paul and I will be back with our next guest right after this short break from MIT CDO IQ. Right back.


Hello everyone. Today we are going to discuss on the topic Android operating system. First of all, we will see learning outcome. At the end of the session, students will be able to describe Android platform architecture and features. Talking about Android, Android is a mobile operating system that is based on modified version of Linux. It was originally developed by startup of the same name Android Incorporation. In 2005, as a part of its strategy to enter the mobile space, Google purchased Android and took over its development work. The main advantage of adopting Android, it offers a unified approach to application development. Developers need only develop for Android and their applications can run on numerous different devices based on Android operating system. Talking about platform, Android is the software platform from Google and the open handset alliance. That some say has the potential to revolutionize the global cell phone market. Talking about open handset alliance, it is an alliance of approximately 30 organizations committed to bringing a better and open mobile phone to a market. Features, as Android is open source and freely available to manufacturers for customization. There are no fixed hardware and software configurations. However, Android itself supports the following features. The first feature is storage. Android has SQLite lightweight relational database used for data storage purpose. It has the connectivity of JSM, CDMA, UMRS, Bluetooth, Wi-Fi and Wi-Max. It has also messaging which supports both SMS and MMS. It also has media support H2.63, HEAAC, MP3, MIDL, etc. More features, multitasking, user can jump from one task to another and same time various applications can run simultaneously. It also has hardware support which consists accelerometer sensor, camera, digital compass, proximity, sensor and GPS. Web browser based on the open source webkit layout engine coupled with Chrome's JavaScript engine supporting HTML5 and CSS3. It has multi-touch support which stands for multi-touch screen. It also has beautiful user interface. Android OS basic screen provides a beautiful and intuitive user interface which has flash support flash 10.1. It also has tethering that is it supports sharing of internet connection as a wired or wireless hotspot. It also has resizable widgets. Widgets are resizable so users can expand them to show more content or shrink them to save space. Talking about open handset alliance. In the diagram it is given hardware manufacturer, then mobile developers, then commercialization developers, then semiconductor companies. These are all alliance of approximately 30 organizations committed to bringing a better and open mobile phone to a market. A code taken from its website says it based Android was built from the ground up with the Android which is available as open source since October 2018. Google opened the entire source code under an aperture license. With the license vendors are free to add proprietary extensions without submitting those back to the open source community. So now you will see the Android platform architecture. So first architecture is the Linux layer. It is a layered architecture approach. Linux layer this is the layer on which Android is based. This layer contains all the low level device drivers for the various hardware components of an Android device. These contains all the code that provides the main features of an Android operating system. For example the SQLite library provides database support so that an application can use it for data storage. Android runtime. At the same time layer as the libraries the Android runtime provides a set of core libraries that enable developers to write Android apps using the Java programming language. The Android runtime also includes the Dalvik virtual machine which enables every Android application to run in its own process with its own instance of the Dalvik virtual machine. Actually it contains Android applications which is compiled into the Dalvik executable. Dalvik is a specialized virtual machine designed specifically for Android and optimized for better empowered mobile devices with limited memory and CPU. Application framework. It exposes the various capabilities of the Android operating system to application developers so that they can make use of them in their application. Applications. At this top layer you will find applications that ship with the Android device such as phone, contacts, browser, etc. as well as applications that you download and install from the Android market. Now we will go layer by layer. The first layer is the red layer that is Linux kernel. It provides the core operating system infrastructure such as memory management, security model, networking, various device drivers. It is a core layer which supports a high configuration of operating infrastructure which contains the memory management, security model, networking, various device drivers. The green layer that is native libraries and Android runtime. It contains the libraries like a surface manager, opengl, sgl, ssl, sqlite, then webkit. And the right hand side we see Android runtime which contains core libraries and Dalvik virtual machine because Dalvik virtual machine is an important which is developed for especially for Android operating system. Native libraries are located in at the heart of the Android platform return in cnc++. Surface manager library responsible for rendering windows and drawing surfaces of various apps on the screen. Media framework library provides media codec for audio and video. When we develop code from the audio and when we develop from the video so the major important library is media framework library. The blue layer application framework and applications which contains home, contacts, phone and application framework contains activity manager, package manager, telephony manager. Every application framework used by developer to develop an Android app. So in this application framework, collection of APIs required for Android application development, layer to develop apps and reside in the application layer along with pre-built apps that come bundled with the platform or device. This application layer also contains some other managers which is required for the Android developer to develop the apps. Window manager manages windows and drawing surfaces. It is abstractions of surface manager libraries. Content provider provides mechanism to exchange data among apps. Package manager keeps a tab on the apps installed on the device. Telephony manager it enables app to leverage phone capability of the device. So this is all what we have discussed now from this diagram that is from application framework. Resource manager used to store the resources of an app such as bitmap, strings, layouts and other network. Location manager deals with the location awareness capabilities. Notification manager deals with notifications on mobile devices. View system it contains the user interface building blocks such as buttons, checkboxes and layouts and performs the event management of user interface elements. These are really required for Android developer to develop the apps wherever it requires the developer to use these managers to develop the Android app. So what we have discussed it is about all Android platform architecture which shows from the bottom up that is Linux kernel, middle, libraries, Android runtime, application framework and topmost layer is the application. Pause the video for a while and answer the question. Question one Android OS is roughly divided into dash number of sections and dash main layers. The answer is Android OS is roughly divided into five number of sections and four main layers. Second question in Android OS developer will be using dash layer to develop app. The answer is application framework or we can say application also they are using to develop app. So application framework and applications both are correct answer. These are the references for this topic. Thank you.


When I ask people one of the top reasons why they've not been able to reach their goals, you know what surprisingly comes up quite a lot? It's that people feel tired. People feel tired, lazy and unmotivated. Now being tired is actually a pretty complex thing to figure out, but in my mind there are two tests you can run in the next 30 days that will dramatically give you way more energy and help you feel amazing. What's up guys? Alex Hine here, author of the book Master of the Day. Now look, actually I have a free download for you there in the description there below where you can actually get the first chapter of this book. Now if you want more energy and you are feeling tired, I've got the resources in here, the exercises, the little routines and things that I've talked about that will help you figure out maybe why that's the case. So again you can download the first chapter there in that weight loss challenge below when you sign up on that thank you page you're going to get the first chapter of my book also for free. So check that out below. So let's talk about energy for a second here. My philosophy on doing life experiments is that you shouldn't do little life experiments. You should do massive life experiments that could change your life in a big way because if you try one little thing like eating one more fruit a day to have more energy, you don't really know if it works or not. But if you do something dramatic that's a huge shift, you're going to see some dramatic results if it does anything. So here for this 30 day absurd energy test, I want you to try two things and it revolves around just digestion and sleep. So the first thing here is digestion. People don't think about it quite a lot but one thing I noticed is that when my clients would go on like a detox or a cleanse, they reported having a lot more energy and they felt a lot better when they were eating lighter or eating more plants and less carbs. So one of the things that I've noticed that works really well for people is called the specific carbohydrate diet. It's what I've used on and off for 10 years for my own digestive illness problems and the specific carbohydrate diet is essentially very simple. You can think of it globally as like just meat and plants and fats. So you can think of it as strict paleo or as the whole 30. They're all the same thing and they honestly typically probably originate with her to begin with. So basically what it means is that like for breakfast for example, you're orienting it more around meat and plants. So breakfast could be for example, eggs and veggies. Your lunch could for example be salmon, veggies and then some salad with some olive oil and some balsamic. And then dinner could be chicken or a meat or a vegetarian or vegan meat replacement with a sauteed veggie mix. Now the thing with the specific carbohydrate diet is that you can also do baked goods without sugar and just by using coconut flour which tends to be on the sweeter side. So I want you to try that just for 30 days and you're going to notice that surprisingly your energy throughout the day is absolutely amazing which is kind of interesting because a lot of people don't think about digestion as the first step towards having energy. Now the second thing is obviously sleep. You know people come to me all the time and they're like I feel so tired and you look at their habits and it's like they sleep five hours, they get a coffee this big from Starbucks and eat a muffin for breakfast and they're wondering why they're gassed by noon and it's like come on guys, let's just try to work on a few better habits. So we've tackled digestion already. For now I want you to focus on the two things that I've noticed are really the biggest issue with sleep which is that coffee and screens. No coffee after three or things with caffeine which include chocolate even, soda but also the thing with screens is that most people now think of the body as a machine. Like for me during my long period of being just having awful sleep I figured I could work till 11 o'clock at night, push a button and then pass out by 1130. Body doesn't work like that so I find that I have to disconnect by 10 if I plan on sleeping by 12 and for me the golden rule of screens is no screens that are close to me. If I watch TV or watch a movie or Netflix I pass out no problem. So just the idea of eating earlier, not having caffeine late, focusing on removing any work that you have to get done because you're not going to go from frantically working at 11 to being asleep by 1130.  Now speaking of comfy beds I just ordered a lull bed so let's go see take a look outside see what that looks like this whole bed in the box thing and then we'll set it up and try it out. Alright guys so mattress just arrived from lull we're going to drag it inside I'm going to come back in a little bit actually I got to change sweaty then we're going to drag it inside and unpack it and take a look at what it looks like so we'll come back in a bit and we'll open it up. So when you get the lull mattress it's pretty cool because now there's this whole wave of these mattress companies and they send the mattress to your door and it's rolled up and compressed so at first I was thinking you know this might not be that good or that firm because how good could it be if it's coming in a box like this but it's actually a really solid mattress and for me I prefer this because it's certainly easier to deliver I just get it at my door I take all my stuff apart in my bed I got rid of the old mattress actually sold it and then you basically just cut open the lull mattress and it's going to be pressurized or compressed but the cool thing is that as soon as you start opening it you're gonna you're gonna see it instantly start inflating so it's pretty easy to unpack you just pull it out of the box there as soon as you cut it open you're gonna feel it begin to inflate so you can see it already there it's sucking up some of that air now for me I previously had a pretty cheap IKEA mattress and I really wanted to upgrade to something that was more substantial nicer firmer so it'll also last longer and honestly I just sleep a lot better on a firmer mattress so this definitely is on the firmer side that's personally what I prefer but you should see what works best for you obviously delivery was super easy it was obviously just as easy to set up because you just open it up you throw it on your bed frame and then you lay down for a nap it takes a little bit of time to air out I noticed so it could take a couple days to kind of get you know the package smell gone but after that I didn't notice too many issues with it and laying on it I mean you could see I left my camera on there on the mattress while I was jumping on it and it had no problem staying there so the mattress is super cushy the topper I really like to because the topper gives it like a more of a luxury feel and it has the firmness but also the softness on top that I noticed and that was something that I thought was pretty cool and it felt pretty cool to me even though it's currently the middle of the summer and some of the hottest days but overall you can see how easy it is to work with the law company and to get one of these mattresses shows up at your door you unpack and it's a real mattress like you can see the thickness and solid mattress


Hi everyone, Joe for Jasper's CaseBreaks.com coming at you with a brand new release, just dropped yesterday, 2020 Panini Black Football. Six box, half case, pick your team at number three, half case from a fresh case right here. A very big thank you to all of these lovely people here for getting their spots straight up. I appreciate that. Thanks for hanging with me on a Thursday the 27th. We got last spot mojo in this, that we have to figure out. And as you saw, there are some number block spots as well, which we upload the videos of Sarah with the Falcons, ended up having the last spot mojo. Let's get that star next to her name, 60% of the time, last spot mojo hits 100% of the time. So it's important to acknowledge that mojo. Here's the bangles, et cetera, number block. So it works just like our standard number block break, but only for those teams and only for this break that we're doing right now, pick your team three. We'll use that dice to unlock that. Then there was the Dallas Indianapolis, Vegas Raiders, blah, blah, blah, blah, blah, number block as well. And all those randomizer videos are in separate videos. I hope I uploaded both. I think I did. I did. Good job, Joe. There's the case right here. You know, they didn't find the right size box this year. You gotta add. All right, we'll go one, two, three for the left side, four, five, six for the right side. And it's six. One, two, three, four, five, six. So we're going to save these six for next time. In fact, we'll mark these. This will be for pick your team four.  I'm going to confuse them maybe with future number block breaks or future RT breaks. All right. And here we go. Good luck, ladies and gentlemen. Five trading cards inside, tiny little boxes right here. That's where we're looking at. I like that they add that little shelf right there, right? That little divider, because the packs it's here and doesn't rattle around. All right. Looks like we got a autograph on the bottom as well as a redemption, I think. Now, for those number block groups, if there's any non-numbered cards, we'll randomize them to one person as one lot. All right. So there's like three non-numbered base cards in the Dallas group right here. I'll randomize it to one person in the break. All right. Here's Sheridan, John's with that one. We've got to 99, AJ Dillon. That'll be for the Packers. Tyler Brenner. There's the redemption and behind Jacob Eason is 46 out of 50, Antonio Gandy-Golden for the Washington football team. That will be for, that's a number block team actually. So it's going to be Redskins six is on this list here. That'll be for Dillon. Dillon Moore with that one. This is a non-numbered Colt going to that Dallas group right there. So there you go. There's an example right there. So we'll set that, we'll set that right here. All right. Redemption is CD-LAM, rookie signature materials, copper. Not sure what that copper parallel is, but CD-LAM is a cowboy, right? He is. He's a cowboy. So that goes to Robert Runkle and Dallas Zero. Zero gets any and all Redemptions and a free top loader. Next one. We've got 28 out of 99, Terry Bradshaw, Steelers. Steelers eight is going to be Robert. We've got Jalen Rhaegor. That's a nice looking relic in there. 11 out of 50, four color patch. Futuristic is the set. That does look futuristic. I like that for the colors in the background there. Fly Eagles Fly. That'll be for the Cincinnati number block. They're part of that. So Philly one is Mark H. There you go, Mark. We have Brandon Iitt, 141 out of 199, two color patch and silver ink autograph. That looks pretty sharp. Mark Longoria with the Niners. Your brother's team is about to lose to my Dodgers. Unless Joey Bart ties it up with one swing of the bat. All right. 18 out of 25, Jalen Hurts. Nice. So Philadelphia once again is a number block team. So Philadelphia eight is going to be Insanity to Luck. There you go. Nice. There is another non numbered Colt right there. That'll be part of that group. All right. 27 out of 75, Justin Herbert going to the Chargers seven to number block team. Go to Jen, Dwayne Haskins, Jet Black Materials, 36 out of 75 for Washington. Washington six is going to be for Dylan. There you go Dylan. Behind Malcolm Perry is, wow, Justin Herbert, three out of five. Woo. So you got the auto on the window over the Chargers colors there. That looks real sharp. And three out of five. That kind of the green against the black looks really cool too. See that? Nice. Chargers are a number block team. Chargers three on this list here. Benjamin. There you go, Ben. All aboard the Big Head Express. Woo-hoo. It's nice. Then we've got a Ram. They're stadium mates. 17 out of 50. Rokio with the Rams. Gets the Terrell Lewis. Wow, Kenley Jansen. What are you doing? And Richard with the Dolphins. Was I dancing on the grave of the Giants too early? Uh-oh. It'll be my fault. I'll just call Dave Roberts and say that's on me. That one's on me. All right. Halfway through this half case break. Two out of five for the boys. Neville Gallimore. Cowboys are a number block team. Cowboys two, David Batson. David with Cowboys two. All aboard the Big Head Express. Woo-hoo. Cole Comet. Rookie Influx. Three color patch. Five out of 25 for the Bears. Richard with the Bears. The Bears straight up. We've got Van Jefferson. 84 out of 199. We've got a yellow patch and silver ink autograph for the Rams. Rams, Rokeo with the Rams. And behind Kishan Vaughn is Claiborne Chasen. 14 out of 50. Kind of likes what he does with the K right there. 14 out of 50 for the Jags. Colton for the Jags. And that's for Tampa Bay. That's going to be part of the non-numbered group in that. All right. Two boxes to go. Right away from a Dodgers win. Second of the two seven inning double headers. Bottom of the seventh.  Seven out of 99. Stefan Diggs. Actually looks kind of good in Buffalo gear, huh? Buffalo. Bills are a number block team. That goes to Buffalo seven, Jan. We've got Darington Evans. 59-75 for the Titans. Tennessee nine. 69 that is nice. Out of 75. Tennessee nine is going to be for John Paul. Behind Fletcher Cox is Josh Kelly. 63 out of 99. Jersey in autograph. Nice three-color patchnado. Sean, what do you like about Josh Kelly? Got great speed, he says. Nice. Crushing it at training camp. Maybe a little thunder and lightning between him and Eckler. I don't know. We'll see your lightning and lightning. And there's Jeff Okuta. 70 out of 199 for the Lions. That's going to go to Bryce and the Lions. Got the Lions straight up. Oh, the Chargers are a number block team. Sorry. There you go Bryce with the Jeff Okuta. And then it's Chargers three. It's going to be for Ben. There you go Ben. That's not numbered. And the last box. Good luck. Second half in the store ladies and gentlemen. That goes to Tyler Brenner. And the Packers. We've got Brian Edwards. Nice. This could be an interesting playmaker for the Raiders this year. 74 out of 125. Vegas. The last Vegas Raiders are a number block team. So that goes to Raiders four. And that will be for Robert. There you go Robert. And there he is. There's his autograph. 49 out of 50. There's the silver and the silver ink. Brian Edwards. So Raiders nine is a different. No, not a different person. It's Robert Runkel. Raiders nine. And last but not least is Gabriel Davis. 32 out of 99. Four color patch. Silver ink autograph. So that's a sharp looking set right here. 32 out of 99. So Buffalo two is going to be for volleyball Nancy. There you go Nancy. Buffalo. Buffalo gold. Buffalo silver maybe. There's Justin Jefferson right there. For Minnesota. Part of that Minnesota non-number block. Alright, let's do that randomizer. Remember, second half in the store ladies and gentlemen. Go and get it. So let's grab the Cincinnati list right here. We're going to do these one at a time but the same dice roll. Seven times. One, two, three, four, five, six, and seven. So it'll be Ryan. You'll get the non-number cards in the Cincinnati group. I think there are a couple of cards in there. And then the next group is the Dallas group. Once again seven times. One, two, three, four, five, six, and seven at the final time. No doubt about it. Robert had the odds. Robert gets a couple of those non-numbered cards. There you go folks. A great Pick Your Team 3 break of 2020 Panini Black Football. Just dropped yesterday. So a pretty new release.  I'm Joe. I'll break more of you next time. Bye bye.


Welcome to the show it's me John Park and it's time for John Park's workshop here we are we're ready to go and hello everyone over in the YouTube chat I see Noe and Pedro have joined us hey guys also Marie Meyer, Davo Dessa, Anthony Bekerra, Martin Colenac, Larry Beattie welcome one and all and of course we've got plenty of people over here in the Discord chat if you're wondering where some of these people are chatting and you're over on Twitch or some other place where there's a seeming ghost town of chat or lack thereof head to the Discord it's adafru.it slash Discord you'll get an instant invite and you'll want to head over to the live broadcast chat channel and that's where all these good folks are such as Andy Calloway Mr. Certainly okay you're on see Grover Jim Hendrickson hello and Mr. Certainly did I mention that yes welcome Darth Vader Lars all the good people and I think we should we should get going so let's see first of all what's what by popular demand people really liked the teardown of last week's Halloween animatronic eyeball doorbell and so I'm gonna go ahead and do the the hacking of said doorbell so we looked at how it works now we'll go ahead and start connecting up to our own microcontroller and driver boards so that we can make it do what we want make it play the sounds that we want should be a lot of fun I'm looking forward to that we'll also do a little bit of exploration of how to figure out what is actually in there what motors you need to drive and therefore what kind of hardware you need those kinds of things will learn a lot along the way and have fun I hope let's see what else is up I'm gonna get a sip of water that's something and let's see I think that's that's all the preamble so let's get into it first of all I want to mention that we've got some ate a fruit things to check out first of all always important to remind you to check out our jobs board if you're looking for work if you are looking to hire someone you can head to jobs dot ate a fruit dot com and if you head over to the jobs site you'll see that we've got a bunch of positions that are posted there it doesn't cost anything to use it it doesn't cost anything to post and you can also post your own info if you click at the top there's either search jobs or available for hire and there you can see a bunch of people available hire including 3D and CAD dash on J quote bracket double quote bracket ah in the United States I don't know what that's about and I'm scared to click on it but most the other ones don't look too scary so maybe check those out I'm sure what's happening there really and that's the jobs board so head on over to jobsidefruit.com, if you want to learn more. Let's see. Also, I want to mention, if you head to the Adabox site, go to adabox.com. That'll get you there. We are now making a shift to talking about these in terms of seasons. It's a little broader scope than particular holidays that they might have been, or dates that they might have been built around before. Seasonal, we have a winter Adabox coming up. So if you're interested in subscribing, you can head to adabox.com. You can also get a subscription for someone else as a gift, if you'd like. And that is going to be coming out sometime in the winter. So that's as specific as we can get right now. At the top here, it says, actually, January slash February 2022 is when this should be shipping. And this is going to be Adabox number 21. That's 21st of these that we've done. Wow. Boy, howdy. And should be a good one.  I don't know yet what the theme is exactly. I know what we're planning as far as what's in the box, but as far as theming of it, there's some mysteries surrounding that right now, coming from Mr. Lady Ada and Lady Ada. And they won't tell me. So I've got to get my costumes and stuff together. Let's see. What else is up? The product show I do on Tuesdays, have you heard of this? This is called JP's product pick of the week, every week. I pick something from our catalog, our massive catalog of cool items. And I show it off. I demo it. I show you how it works. Software to code it. Hardware to hook it up. And there is usually a massive, massive discount available during the show. You don't need to do anything special other than buy it during the show. So there's not a coupon code that you need to worry about. No puzzles to solve, no secret links to discern, no steganography. You don't have to figure out secret codes inside of a number station. None of that. It's just buy it right then while the show is happening.  It's often an astonishing 50% off this week. It was the three pack of the Permaproto full-sized PCB breadboards. And I've done a little bit of a recap, so check this out. The Permaproto full-sized breadboards. These are perf boards in the shape and, more importantly, design of a breadboard. These are real nice, high-quality PCBs that you can use to transfer your circuits from a typical breadboard where you press your components in into a much more permanent home by soldering it into this guy, the Permaproto. These come in different sizes, but this is a really nice one if you're building a project that has a sort of luxurious amount of room on it for input. If you have a smaller microcontroller, you can get quite a few buttons and switches and encoders on there. And that is how I like to use these. It is the Permaproto full-sized PCB for making your projects a little more permanent. Boy, I was so hopeful and optimistic back then, back on Tuesday, that it was going to get fall-like and cooler out. And now you can see them in t-shirts again. I had a flannel shirt and everything. I was so excited, and now it's hot. But actually, that segues a little bit into the conversation about the seasons. Mike P. asks over in Discord if this is still going to be four times a year. And yes, the eight-a-box is still quarterly. We're just calling the theming around it season-based. So there'll be four a year, winter, summer, spring, and fall, which Mr. certainly says is the North American for seasons. Sure. And Steve O'Keefer on asks, can I get those in low-quality PCBs instead? I bet you can, but not at eight-a-fruit. We refuse to sell you the low-quality PCBs here at eight-a-fruit. All right. Yeah, and while joking aside, one thing that you'll find with the higher-quality PCBs. By the way, someone had asked the other day about cutting them in half. And I found one that I had cut in half. I can't remember what I was using half of one of these for. But with the higher quality, you get pads that don't lift off if you ever need to desodder them, or even while you're soldering them. So these are very nice quality. And I've never seen them corrode or do anything weird. I think these are probably gold-plated traces. So nice high quality. All right. What else have we got going on? Hey, this is a good time to do the Circuit Python Parsec. All right, let me get that set up right there. OK, so this is a nice back-to-basics one right here today for the Circuit Python Parsec. What I wanted to show is how you can use the eight-a-fruit wave form. Let me say that again. I want to show you how you can use the eight-a-fruit wave form library to import a sine wave and use that to generate a tone that you can hear. So what you'll see in my down-shooter here is I have a Circuit Playground blue fruit connected to our little Stemma amplifier and speaker breakout. And when I press the two buttons, I'm going to play different tones. So these are nice, smooth sine wave forms. And the way that those are created is with this code. I import the board for the pin definitions, digital I.O. so I can use the buttons to bouncer to make the buttons even friendlier to use. And then I'm importing audio cores, raw sample, and audio PWM I.O. so that I can output over that audio output pin. And then I'm importing eight-a-fruit wave forms sine. Then I am setting up two sine waves. I have sine wave low, which is created with this sine wave and then a sample rate of 8,000 and a pitch or frequency of 440. Then I take that sine wave that gets created and I essentially turn it into a table or an array. And that's what this raw sample does. Raw sample takes that array and turns it or takes that waveform, turns it into a sample array. And then I'm doing the same sort of thing again, except this time with a higher pitch, 660. So this is equivalent of an A and an E. Then I set up the audio output on the board's audio out pin. Sometimes that's A0 on this board. It's just called audio. Then I set up my buttons and then in the main loop when I press a button, it does this audio play, sine wave low sample, and then it loops that. So this is essentially a single waveform and just keeps looping that over and over again so it plays constantly. And then when I do that with the high sample we get the higher pitch. And so that is how you can use eight-a-fruit waveform to import a sine wave and play it back as a tone inside of Circuit Python. And that is your Circuit Python Parsec. Let's see, let me check. I saw some questions and activity over in the chat there. Why are all the pins on the screen connected to ground rail asks Adam Bryant? Which screen are we talking about? I'm not sure. If you can clarify, we'll try to answer that. All the pins on the screen connected to the ground rail. I don't know. What did I show? Now I don't know. Are you talking about this little guy here? This? Probably not. It's a mystery. All right, well, if you get this message please respond and I'll try to figure out what the question is. And by the way, with that waveform library there's also a square wave in it. And I'd love to lobby to get a sawtooth on a triangle and some other waveforms put in there which are useful for sound things of course but also stuff like making LEDs fade up and down or blink on and off using the square wave. A pulse wave would be cool. But since we don't want to compute those in real time we're actually just taking those and using that raw sample to generate kind of a little table, a little lookup table of values that we can play back. Which is pretty cool. So it becomes a sample in essence. Oh, Adam asks here too, why are all the pins on the screen connected to ground? Was it the cut PCB? Could be. The video of you in the plain shirt. Was that during the Circuit Python parsec? It might have been. Now I don't remember. I don't have a quick easy way to review that. Now I'm dying to know. Let's see, I don't think I can play this without it playing its audio. I'll have to go back and, yeah, something I did in the, well, here's the Permaproto. Okay, so, oh, I know. You're talking about the display. Okay, that was something I explained in the larger show. I didn't actually connect the screen to the ground plane. I actually am using the STEMIQT cable for this connection. So it's I squared C connection. But I just wanted to essentially bolt the screen onto here mechanically. If I put it somewhere where it just wasn't gonna use any pins, it was kind of off center. So I created a whole bunch of confusion for everyone by using a couple of these right angle headers, which allows me to slide that screen into some header pins that look like they're connected to ground, but they're actually not. So it's a big fake out. So sorry about that. I could have just and probably should have just plugged it in down there and maybe really wired it, but I didn't feel like it or left it alone. But instead I got a little fancy and hooked it on there. And these, by the way, I didn't drill holes through for these nylon fasteners. They're just acting essentially as feet so that this thing doesn't tilt at an angle. Mystery solved, I hope. The other way to deal with that, by the way, is to cut traces. So if you do need to use something like that where those traces are connected, you can score with a hobby knife between them and remove that connection and then plug into them and use it just as a mechanical connection to solder to. Thank you for asking, Adam. That was a very good question. And maybe I got a little fancy for my own good and confused things. All right, so let's see. Next up, oh, lovely AE72 says make a Commodore SID simulator with the Adafruit Waveform, that would be cool. There are a couple of SID-based synthesizers that I've seen that just use that chip and allow you to play the synthesis on that chip without having a full Commodore 64, which is kind of cool. All right, let's see. Next up, so let's get into this. I'm gonna head back to my browser window here for a second and let's talk about this doorbell a little bit. So this is what I'm working with. This is a little $15 doorbell. You can get them all over the place anywhere from Halloween stores to hardware stores, big box stores, probably Target, Amazon. They're available all over the place. And this company called Jemi, they make a lot of motor sound, animatronic types of things for holidays in particular. They also do a lot of the, I found out last week from someone on our chat, some of the best lawn inflatable types of animatronic things, giant spiders that sit up on your roof and stuff like that. I think they maybe even have done some of the stuff that uses versions of the Halloween mask. What's the mask call? I'm forgetting now, but our digital eyes. Do I have one around? What's it called? Monster mask, that's it. Some of those, I've seen at least one werewolf that uses the monster mask, which is pretty cool. Or a version of that, TFT eyeballs. So last week I took this apart and we looked at how it works. And I was actually surprised to see I didn't find any teardowns online. People collect these and this fandom wiki page goes through the history of them and where you can buy them, which versions exist, what phrases are on them. And the one I have does these four, enter at your own risk, welcome good evening and you rang. I think those are the ones that are on mine. One thing that's popular among people of the internet who are fans of these is to rip the sound from them. So they'll either get a microphone or even better create a sort of line in by soldering to the speaker output and then going through a audio interface into their computer and they'll make high quality recordings of the sounds. So I wanted to try taking this set of phrases which are on the spider, which is not the version I have, and be able to play those on mine as well as control the timing of the eyelid and eye motion, maybe change the eye motion myself. So this is sort of the answer to the question, why would you want to connect your microcontroller? There's a perfectly good one already in there that does everything, but for the sake of customization, modification, understanding how it works, it's all a lot of fun to go in there and figure out what makes this thing tick and how to drive it yourself. So the first thing we'll do is actually take a look at determining what is actually in one of these so you know sort of the specifications that you need to be able to handle when you're gonna drive it yourself. So let's head over to the workbench and I will start off by exploring the motors here and figuring out what their specifications are. And before I do that, I'm gonna get my chat up so that I can see you there, hello. So since I have this set up right now, the first thing I'm gonna do is actually check the current of the motors. But before I do that, let's zoom in here on the motors a bit, try to focus on them. And if you're not experienced with these, the first question is just, what kind of motors are we dealing with? And the options for motors in electronics tend to be three kinds typically for spinning motors. So there's gonna be simple DC motors, either brushless, generally brushless DC motors. Servo motors, which are a little more expensive but can be controlled to go to specific angles. And then stepper motors, which are even more complicated to control, so more expensive, can go to very precise positions and you will not find those in toys. You're not super likely to find servo motors in toys unless they're remote control things generally. So nine times out of 10, if you open up an inexpensive Gizmo like this, you're gonna find DC motors. Other clues that we have DC motors are gonna be just the general shape. So I don't have any out, let me see if I have one I can grab from somewhere else, but just learning to identify what these motors look like is helpful. Do I have any? No, I don't have any readily available. So, but this metal, flatted cylinder type of shape with a plastic end, very typically the DC motors, this one's blue. You usually see them in this white, the plastic part. And then another clue is this capacitor here. You will often see a, let me get something to point with, you'll often see a little sort of beige colored disc soldered between two terminals, which help to deal with a lot of the noise that comes off of these motors so we don't interfere with the electronics on the microcontroller itself. Other things that we have to look at, okay, what's the power supply that's driving this? What's the voltage of that? And then we also have in the case of this one, an LED to consider and a speaker. We have audio on here and we have a little speaker built into the back lid. So the first clue for us in figuring out what we're gonna be, where our requirements for driving this thing are just gonna be the voltage that is supplied by the batteries. So this is three batteries, three alkaline AAA batteries are what came in the toy. And that's what we'll start with there. If you need to replace your batteries, this is what you're gonna be looking at. It's these guys right here. And these are actually the ones it came with. So these start off life at a, nominally at 1.5 volts. So that's gonna be four and a half volts of DC that drive this thing. So the somewhat reasonable thing to guess at first with toys like this is if they aren't doing anything terribly fancy with boost converters and buck converters is that probably these motors can handle something close to just that straight up battery voltage. And it's pretty common for these to be able to handle anywhere from maybe three volts at the low end, three, four volts at the low end and they'll still turn up to nine or 12 volts. But in this case, I'm just gonna guess that something around four and a half, five volts will be safe to drive those with. The next thing we can do after guessing is to check the voltage. But just cause I have things set up for this and I don't wanna reset it up before I do that, let's just check the current draw. So the way that I'm doing this is first of all, I took a picture of this board here before I started pulling the connectors off. And one thing that we saw last week that I thought was great is that this board connects to almost all the peripherals using two pin JSTXH connectors, which are pretty much the same connectors that you find in our battery packs. If you look at the battery pack for our LED glasses, same type of connector there, or similar type of connector. Actually, these are pH size and these are XH size. But the JST connector is a pretty common one. Adafruit happens to have some things that make it handy for dealing with this. One thing that I had laying around was a kit of JSTXH connectors. So that's the exact connector here. Here's a spare one of them.  And we also have, I don't have any right here that are the ones we sell, so I made some of my own. We have in the store some little pigtails that are in different numbers. So these are the two pin JSTXH. So what I've made here is essentially something that I could plug one of these motors into and then I have bare wires on the end that I can plug into whatever I've got driving it or we can terminate that in other things. I'm gonna use screw terminals, but I've got one case where I did some little pins on the end of it. So this gives me a connector that allows me to hook up all these peripherals to my own microcontroller and avoid the board there. So looking now at the layout of things, the eyelid motor, so that's this motor here, when this turns, it pulls the eyelid open. And I don't know if I can make it do that without actually driving the motor, but we'll see that happen in a second. So what I've done is I've connected my multimeter and I'm gonna be using it in current measuring mode. So we switch our leads out to measure current and then I've got the output, this is the port that drives the motor. And what I've done is I've set one wire from that motor, so this is the motor connector. One of those goes directly to the board. The other one travels through my multimeter in current measuring mode. So that means with the power coming from this battery pack, I still have that connected, and the button that's on the front to ring the doorbell is still connected, so I'm gonna reach around there and press that. I'll put this multimeter into min-max mode and I'll press the button and we'll see it's drawing about 0.1, maximum, okay, 0.2, about 0.2 amps or 200 milliamps. So I know that my current draw needs to be roughly that, this is measuring the max, so it probably didn't go any higher than that if this thing is measuring quickly enough, but you can give yourself some leeway there too just to be safe. So we know we need to be able to supply about 0.2, 0.3 or 200, 300 milliamps to that motor. The other motor is actually drawing less and that's the one that moves the eyeball side to side and it's because this one is essentially stalling, it's pulling and stopping and holding actually, it's pulling and holding in that eyelid open position and I can just turn that around for fun so you can see that. So again, we'll clear this out, let me set the range, put it in min-max and it'll stay on max. Press this, it opened up and I don't have the speaker connected right now so it's not, you're not hearing any of the audio out of it but it does still also do the audio. So that was less that time and it probably had to do with me flipping this upside down so it was easier for the motor to pull that stuff. That's my only guess is that we gotta assist from gravity, could be wrong there but that's my guess. So next thing I'll do is I'll detach that and we'll do the sort of easier measurement and the one I actually did first which is just what's the voltage it's supplying. So let's look at that same connection there. Let me put some stuff here. So I'm gonna disconnect the leads that are going there. I'm gonna disconnect the motor entirely so that motor there plugs into that port and now I'm gonna switch my multimeter into voltage measuring and I have the leads of my multimeter going into some little Dupont connector wires so that I can plug those in and you'll either get a negative or a positive on here depending on what you pick.  This has a little plus sign right next to it so I know what happens to be plus. It doesn't matter. Either way we're just finding out the voltage on this and it will in this case go, it should go positive and negative because the motor heads in one direction and then the other is a chance this one only goes in one direction and then just let's go. So it might not go negative. This one does for sure. So let's try them both. So again, I'll set this to min max and I'll press the button. So it's trying to turn the motor to pull that eyelid and we get a max here of 4.4. So like I said about, oh, you can't see that. So 4.5, 4.4 volts. That's what we were getting off of that one. This I think I'll, let me consult my photo. I took a photo last week before I took everything apart that I'd remember where it goes and actually it's down here at the bottom. Yeah, so these are the two motors down at the bottom. So let me switch this out and this one actually has the same orientation. So the positive is marked on the board on the right and I will clear this, hit the button. And so you can see this one goes up to 4.5 and then goes down negative 4.5 roughly. And so that's the eyeball kind of sweeping back and forth as it turns positive and negative. So there's some kind of a motor driver, like an H bridge motor driver that can send positive and negative voltage which the DC motor is happy with. And this is another clue that it's a DC motor you're dealing with. I don't think you're gonna see that with something like a stepper or a servo motor. They're gonna get positive voltage and then other methods of controlling them. So if we look at the minimum and maximums, it didn't store them. All right, why not? Let me try that again. So 4.3 max and then it should drop negative. Yeah, minimum is negative. All right, so those are our clues on that. Then I'm not gonna mess with the LED right now. We can, yes, that it's gonna require something like a 2.2 volt, 2.5 volt, something like that. You can even just look up based on the color. You could detach this and do the full current draw if you wanted to as well. And then there's the speaker. And actually this is one that I need to find out. Just generally you find somewhere between like four and eight ohm speakers in these things. So it's a safe bet to start with a audio amplifier that can drive that as a, that can drive four or eight ohm speakers. If someone knows of some of the better ways to figure out what we're dealing with with the speaker or with checking the audio signal coming out of it, I'd love to know. I'd like to write that up. In this case I guessed and it just turned out okay and it didn't ruin anything. But that's another part that you'd wanna figure out. So let's see, what I'm gonna do next is take a look at how we can drive this. So what I decided to go with, if you look at our requirements, we have two motors. We have a switch we wanna read. So I wanna read pressing that switch. We have a speaker we wanna drive with the audio amp. And we have five volt roughly motors and the current draw is actually nothing too strong. So the Adafruit Cricut is a really good candidate for that. There's our Cricut board. And I can drive this from a feather. There's also versions that you can drive from a Raspberry Pi, from a micro bit and from a circuit playground express or circuit playground blue fruit. I'm using a feather RP2040 in this case. And what we wanna do here is actually, I'm gonna remove some of these and put in these nicer connectors I made. What I wanna do is be able to just plug in stuff from the doorbell into the Cricut and then write code on the feather that will drive those things. So the Cricut takes care of, it has a port here that we can plug in a battery pack, alkaline battery pack or wall power depending on how you're using this thing with a DC AC DC converter, wall wart. And then I'm using one or two of these signal inputs here or in-outs, I'll use the input to read the button. When it gets pressed, we could use one of these outputs to drive the LED in here inside of the eyeball. I've got audio output. And by the way, one of the gotchas with audio output on the Cricut that I forgot at first and thought, what's not working here? There's a jumper that you need to close when you're using the audio system on here. So I've closed that little pair of pins on there with a jumper so that I know the audio amplifier is gonna work. It's a little class D amplifier. We'll connect to that. This may or may not be necessary. You can place a capacitor across ground in five volts to avoid brownouts, even out, smoothing out the voltage on the whole board. And then I've got two motor ports that I'm using to drive DC motors. So what I'll do is I'll take these nice little guys here. We might as well use these and connect those up. So I used silicon wire and connected and soldered to the little loose guys, but we sell these pigtails essentially, I think a five pack in the store. So they might be a better way to go. So I'm using silicon wire, which one of my favorite things is you can just trim the insulation with your fingernail and then we'll plug in to our Cricut board.  So for this, again, with these you can change in code which is positive and which is negative. So it actually doesn't matter too much, which way you go for the DC motors. The stranded wire is a good choice for these terminal blocks. In fact, better than what I had in there before, which was little Dupont connector pins. So I will connect that up. And so this is the eyeball side to side motor and I'm plugging that into motor one. These are marked on the silkscreen as motor one and motor two. So motor one will be to drive the eyeball left and right and that'll just connect like so. Well, we get all of these connected up. So next we have the eyelid. I don't need that anymore. This one is orange and gray. I was able to match the colors pretty well of what's in there which helps you to not get so confused. I think that's how I had that. I hope so, cause this is the one I don't wanna get wrong cause it will yank the thing open when it's already open, if I get it wrong. It is actually a pretty sturdy mechanism. I didn't break anything so far. So let's see. One thing you can do is move things just a little bit lower power and not for very long at first to see which direction motors are going. You can also loosen up the motor mounts so that they wiggle in there instead of binding. Then audio. So the speaker is this little green wire connected here and it's nicely mounted into the plastic here and it uses this whole cavity as a resonator so you don't wanna mess with that if you can leave that connected and use the speaker that they used that'll work best. So for green wire that's gonna go either of those, polarity doesn't matter in this case into the little audio out. I'm gonna twist this a little bit. This is the one trick with stranded wire and screw terminals is you don't want like one little bitty thread to bridge their connections and it happens sometimes. But you also don't really wanna solder like tin those because they don't get grabbed as neatly by the screw terminal. And then lastly I've got my switch connection already there so let's start hooking some things up. I can move my, clear out my space here a little bit. Out again. Okay, so we'll do, I'm not gonna use this battery power for now. I may, we'll see. So this is gonna be the speaker and now it connects right in like that. We can do the switch which I have plugged into signal one and ground here. Do the motor for the eyeball and then motor for the lid. And I think I got those right. All right, so why don't we give it a shot right here and then we'll go and look at the code but I've got this doing some stuff already. Not quite everything but I'm gonna give this power and I happen to have a really beefy five volt wall wart switching power supply actually. Okay, so with the Cricut, if you're not familiar with these, the power is supplied by the Cricut board. You can program the feather here over USB-C but you're not using that for powering the whole thing. And then there's also a little micro USB B connector for flashing the firmware of the Seesaw chip on the Cricut. I don't need to touch that most of the time. Should just be fine. Maybe flash it once. So now I'm not really doing anything on the board physically. I'm actually gonna use this button here when I press that that should be read over signal one on here and then it should tell our motors and speaker to do stuff. So let's see what happens. Okay, so I got the lid backwards. So it opened at the end. Let's turn this off and I will switch those around. Yeah, so that motor only goes one direction during the animation. The eyeball goes side to side but the lid only pulls open. So what I'm gonna do just for safety of the device is I'm gonna unplug this connector so that it doesn't try to open itself a second time when it starts up. And then I'll plug it in once it's running. Power that up, press the button. Okay, now I can close that. Here you can see it scooted when it closes up. Okay, so now it should work. So what you're gonna hear now is a different voice track, a different audio file. It'll do the ding-dong and then it's gonna do a different voice track. That guy loves to scream. So let's take a look now at the code that I've got running on there so far and maybe we can mess around with that a little bit. Let's see, can I, I might have to bring this power supply over there. You know, in fact, let's just look at the code first and then we'll see if we wanna mess around with it. Adam Bryant says use an analog meter to measure the speaker. Oh, that's an interesting idea. Right, so let's jump over to the code. We can leave that there. And yeah, it does sound a bit like a Wilhelm scream. That's a good point. Work, okay. So let me grab the code here. Okay, so here's what I've got running on there. I'm importing the Cricut library. It's a little cut off there. Importing the Adafruit Cricut library as Cricut and that actually takes care of a whole bunch of stuff at a high level other than the audio. Audio is handled on the feather and it's just using the amplifier circuit on the Cricut. But everything else is handled essentially by the seesaw chip on the Cricut and these are the commands we're using. So for example, for the button, we're just saying button is a variable for Cricut signal one. So signal one is that part of that little block of six input output pins that we have there. Then I'm setting that pin mode to be an input pull up. Audio I'm setting up as a PWM audio on the, this is a feather RP2040 so it does PWM knot, doesn't have a DAC and it does that over A0. And then I'm setting up a set of audio MP3 files as this little list called ring one, two, three, four and five. I should probably give them a different name because these aren't the rings, the ring is this one here called ring zero. These are actually the voice files. And I start off with the first one in this list. So I have a variable called current audio file and that starts off as this one here, the first one. Then I set up the MP3 decoder. So this is using audio MP3 which is built into Cricut Python. MP3 decoder, open the ring zero, zero MP3 file. That's just the ding dong part. Then I'm setting up my two motors. So I called the motor I and motor lid and those are the motor one DC motor one and DC motor two outputs of the Cricut. Then I've created a function here for opening a lid and this is mostly through trial and error. I just figured out that setting the throttle to full speed, it's actually not backwards, full speed ahead is the direction I need to send it. And remember before when I ended up switching the leads we could have also just switched it in code if we wanted to. So I set that for just a quarter of a second. So time sleep 0.25 is enough to get it open. And then I set the throttle to zero which is essentially like stalling the motor. It holds it open. I believe the stop it might be the stop command or idle there's something that kind of just puts it into neutral. But this I think is holding it there so that it can fight the springs that would pull it closed. And then close lid is my function for closing it. And this is just for clarity. You could of course do this other way is like just have one lid function that you give an argument to zero or one that sort of thing. But for clarity I made two functions. And then that's all the setup that's necessary. And here's what happens in my main loop. And again I've kept it pretty verbose for clarity. So first thing is we check the button. If the button goes low that means we've pressed it. So that's why it says if not SS which is for seesaw digital read button it'll print that it's been pressed. It will set the decoder to be the ring and then I play the decoder file. Then I open the lid after it plays that ding dong. So that's why it says while audio playing pass. So this means we don't have to do something like know how long it is and set that in as of time. Instead just say while audio is playing what do we do inside the loop we just pass. Then that means we're just gonna hang out here until that audio file is done playing. So it goes ding dong. Then we run the open lid function. And then I'm changing what this decoder value is. And there may be a better way to do this. I think if I looked at some of RMP3 player code like stuff that Jepler did there may be a better way but the way I decided to do it, first way I tried it that actually worked is this. So I just decoder change what file it's pointing at which is that audio files list and whatever the current audio file is. So it starts out as zero. So it's the first item in that list. And then I play. This time I don't wanna wait for the audio file and I in fact wanna do all of the looking around. So while it's playing I'm essentially looping this over and over again. So however long that audio file is it's going to drive for half a second in one direction at almost half speed, .6 speed throttle. Then it's gonna pause there for a second. Then it's gonna go for three quarters of a second. The rest of that direction. Then it's gonna switch and back and forth. So it's this little kind of look, stop, look, stop, look, stop that's ideally gonna look like it's picking out different trick or treaters in your front yard. It'll loop through that cycle. So I don't want that cycle to be too long because I don't want it to go on forever and ever after the audio clip is done. And you could make this a shorter cycle and then it would stop pretty much right when the audio ends. But when the audio ends it's done doing that and it does this, throttle zero. So I stop that motor and then I run the closed lid and then I increment the audio playback file. So the next time we press the button it will go to the next one in the list. And I'm using modulo of the length of the list minus one so that we loop back around over and over. So every time we press it we'll just run through those five audio cycles. And so that is the basics of how this works. The, some of the setup for it was just finding the audio files. You could use anything you want, right? Any MP3 file that you can play back. The ones that they recorded for these devices sound particularly good because they're in sort of a range that works really well for that speaker, sort of the sonic range that it's in works really well. I tried playing a little song that I'd written and it sounded terrible because it needed a lot more bass than that speaker could give, but that screaming guy and all of his creepy sayings works really well on there. And let's see. So if, yeah I think that's probably a good place to stop with that. You can imagine it's free to you to code up whatever you want it to do. I haven't got the LED hooked up yet only because that's the only thing on there that wasn't on a connector so I will have to cut or splice the wiring on that to use that and then still be able to put the thing back together. I was hoping for a totally non-destructive hack but I will have to cut the wires for the LED or desolder them to be able to use that. So let's just have one more look at this guy before we wrap up. We'll hear a different phrase this time because I haven't turned it off so it's ready to cycle to the next one. Also one thing I did was I have, let's see can I put me in the corner there. I have not opened the eyeball all the way. It'll actually open that far if we drove that motor for a little longer so I decided it looked kind of neat to have it creepily partway open. So again that's the kind of choice you get when you're driving it with your own microcontroller. Other reasons you would do this is we can have wireless, right? If we used a, let's say ESP32S2, we could connect this to the internet over wifi. If we used a NRF52840 based feather we could do Bluetooth stuff, trigger things off of your phone. Also you can add a lot of other sensors so you could maybe add a light sensor or a distance sensor to the project if you want. And the other thing I'm thinking is it may be plausible, let me unplug this for a second to turn it off. It may be plausible to fit this in here either as is, we may have clearance or more likely extend the back. So make a longer back or 3D print your own back on there if you wanted to or you could sort of neatly wrap all those wires through a little hole in this maybe come through the battery port and have this extended in somewhere else. So you've got options there. Again, not to disrespect the designers of this cause it's fantastic they've done what they've done for the low, low cost of $15 for this thing mass produced. It does what it does, it does it really well but we get to kind of explore and hack and modify if we want to. And in this case, the chip on here is just an epoxy covered blob. So there's no reverse engineering it or taking over and putting different audio on there. You're not gonna be able to do that unless you're super, super Uber hacker. But for me, I just wanna take over these and they made it really easy with these connectors. So I get to mostly take advantage of the physical form, layout, enclosure and mechatronics that they've designed but with my own audio in this case and my own animations. You can imagine I've gotten really tired of that guy screaming, oh by the way, one other thing let me go back over there. The original was louder than this and another thing to know about the Cricut is that it has a little potentiometer that you can turn with a screwdriver. This is tying a little trimmer pot that you can adjust the volume with. So check this out, let me get set up for it and then I'll, so we can get really loud or much quieter while we're testing which is nice. Unbelievably loud, sorry about that. I don't know if I'll have a ringing in my ears for this to the day based on that one. So thanks for coming by and hanging out. Lots of fun to play around with these and hopefully it inspires you to go and look through your bin and Halloween stuff or holiday stuff. These jemmy people make all sorts of Christmas stuff, Santa things, reindeer. I don't know what other, they definitely do Halloween and holiday, Christmas, winter holiday kind of stuff but there's probably more. I think they did SpongeBob stuff though, it'd be kind of a fun one to hack so. Especially you can get these on clearance. I see people finding these for a couple bucks on clearance mostly because the batteries have leaked out at the store over time. So get them cheap and hack at them. Have a lot of fun. All right, check in with our Discord before I go. Where'd my Discord go? Have I lost it? There you are. Hey Discord. Thanks, yeah thanks Jim Hendrickson and Halloway, Foamy Guy. Foamy Guy, volume knob for testing is so nice. Working gadgets like that before and hearing it play a million times so your work can get sold. Oh, one other funny story I want to share. While I was in process of this, I had unplugged a motor and I plugged it back in to test it into the main board, the original board and I had the speaker unplugged but when I hit play I was hearing sound and I was like that's weird. Do they have like a tiny speaker built onto the board or something? No, it turns out I plugged the DC motor into the speaker output and the DC motor was acting as a speaker which is, I'm sure makes a lot of sense to some electrical engineers out there but for me I was like whoa, why is the DC motor a speaker? But it is, everything's a speaker and every speaker is actually a microphone. So, transducers man, how about it? Let's see, other thoughts and questions. Marie Meyer asks, do you have a link for that site? So they're called Jemi, J-E-M-M-Y. They may or may not even have their own site. I think they just manufacture stuff and sell it to retailers. So the site I was looking at was a fan site, fandom.com, so jemi.fandom.com. And this is just, this one just happens to be about their eyeball doorbells but I think if you hit the Jemi Industries Wiki you'll see their number one for Halloween and Christmas. These are some of the kinds of things. Novelties, yeah, they did Billy Bass. I don't know if they were the inventors of it but I see their name around Billy Bass. Probably they are, were the manufacturers originally. And so yeah, tons of stuff, large scale things, werewolves and so on. Probably Paint Your Dragon or on Phil Burgess has knowledge of this. See, Grimaces DC motors do that. The cheaper the motor, the louder the sound. Yeah, it was definitely discernible. Sounded like a tiny speaker, freaked me out. All right, I think that's gonna do it for today. So thanks everyone for stopping by and I'll see you on Tuesday for another John Park's product pick of the week. Tune in tomorrow for Scott's Deep Dive where he continues to put Circuit Python onto the bare metal of raspberry pies and upsets the natural order of the universe in doing so, but very exciting. Imagine the power we'll have. I think that'll do it. So thanks everyone. See you next week.