 And welcome to Desk Aladieta overtime edition special edition. We're doing a little bit of AV hacking here I do the electronics hacking and mr. Aladieta who's behind the camera is doing AV hacking. We also have baby Aida in the background Maybe we'll have some squeaks for us. Yeah, I just wanted to show you just a quick Well, first of all, we're gonna try out a couple overhead things and things. So it's gonna computer see how that goes. Okay, cool so Pico DVI is this neat Module that is written by the Raspberry Pi team that takes advantage of the PIO peripherals to generate DVI output DVI output is the predecessor of HDMI HDMI requires a licensing fee. DVI does not and so this is DVI also doesn't support audio So Pico DVI is the library Philby our resident seek code hacker and pixel pusher extraordinaire Kind of forked this and turned it into an Arduino library so that we can write code that uses DVI output from within Arduino Take advantage of all the libraries and accessories and tutorials that we already have so he did that which is awesome and We have in the Aida fruit shop if you want to do this DVI hacking a little DVI breakout board Which just you know breaks out the three data differential pairs TX 0 1 and 2 and they're differential so it's plus or minus and then The clock and then over here is the EEPROM for sync The way that you can identify a monitor is there's a little I squared see EEPROM that hangs off of there's two pins We'll show you I squared CS SD and SCL and a five volt line and The monitor side not this this is the sourcing side so the syncing side has an EEPROM Which you can read and tells you what the resolution is available This is you know I'll get pulled from like VGA monitors had this And it's called an ED ID and I've told you like lost hours of my life to ED ID hacking because it was designed Before like Jason or XML and so it's like in this weird packed format And it's very hard to manage Anyways, and so this is like a little demo video just showing you know You've got your RP 2040 Pico and it's wired up to that DVI and even a breadboard which like this shouldn't work but The magic of short differential signal lines and plenty of grounds in between You can have you know, I think this is 720p color output of ebbins head and Raspberry Pi logos bouncing around but you know we love ebbins head But what if we could have any graphical output? That's what we're trying to work on And so we've also Carried for people who want to do hacking on this if you don't want to just do wiring up like that and you're okay with using a Pico Itself we've got the Pimoroni DV and VGA boards and this has like everything is pre-wired and ready to go So you can start hacking But we want to make something that's really all-in-one and I'm a little biased here because I actually like designing things for myself I need an HDMI compatible video generator to test our DVI slash HDMI monitors. I need to have some that displays a gradient and checks that the EDID is programmed we've had a lot of boards that go out without the EDID programmed and as Is this post a message on on terminal Hudson's most recent project Linux machines cache the EDID and so it's very very hard to Debug on Linux because it's doing you a favor. It's like oh, you know The EDID is this, you know, it's the same monitor. The EDID is the same I don't want to read that whole two kilobytes over I squared C Windows doesn't Windows actually reads it properly every single time. So very unfortunate for Linux and any developer who's using a Raspberry Pi or Linux to Decode and debug ED IDs But one of the first boards that I wanted to do with The the feather bones is a DVI output. So let's go to well, this is yeah, are you seeing this squished or is that just me? Sorry, oh, it's not squished. It's just a smaller. Okay. Yeah, you're on a different resolution. No, I mean a V We're learning all about it. Okay, so let's go to the overhead Okay, this is our pixels new Elmo overhead zoom in zoom out. We will we'll zoom in. So this is the original feather RP 2040 We still sell this a slight modification of this Has to has SWD pads in the center if you want to use SWD, although Nowadays people are using the the Pico probes. We might tweak the design to use the three pin SWD debug And I get the every 2040 flash memory boot pin all that good stuff And then when we wanted to we want to do more with this because the same B21 chip is We're getting some but I'm like the romance is over with Sam D You know best friendship with Sam D has ended RP 2040 is new best friend So we designing all of our Sam D feather M zero series to use the RP 2040 Which is basically the same price, but it's so much more capable a ton more ram And of course is better for circuit Python and micro Python support has great Arduino support, too So the first experiment was just like, okay, let's make this RP 2040 Scorpio And you can see like we basically have various, you know, the left side is kind of similar But we squished a lot of stuff over and we got rid of this and then we pulled this back And then this flash chip is of SOIC. We're using Exxon And then it gave us just enough space here that we could add in the level shifters and Stem aqt port and this two by eight header that we use for the neopixel output on the Scorpio But that wasn't even enough we want an even more space and so on some desk of lady eight as we did show how we squished us even more by using a 402s by using smaller packaged diodes resistors capacitors and I think even the one not the regulator, but a transistor We changed footprints and also moved with 7 7 rule 11 mil drills, but still keeping it to layer so it's low cost and so Let's go back to the computer Practicing moving back and forth The bones file which is not published because again, it's it's not tested. This is actually the first board I'm doing with the bones file I'll open up the bones Bones bones bones Loading the bones So this is that bones file So I took everything in the feather and just like squished it to hack all the way to the left Which leaves a huge space and this is you know really taking advantage of you can see much smaller drills tighter packing 0402 components, you know, I put some parts here. I changed this sod 123 to sod 323 You know just using small small small small everything neopixel is small too But what I do like is that these pin numbers are the proper GPIO pin numbers and I have 8 GPIO in a row that are available and this is really important because pio needs to have contiguous pins So for example DVI use use 8 GPIO you really kind of want them in a row You also get better signals as well. So oh wait, let's go back to the bones bones And so you see this spot here makes it so I can it's like I want, you know, like MIDI output Like, you know, I could fit a MIDI jack here. Let me kind of weird, but like why not? This is you know USB host could fit over here Micro SD small version micro SD larger version DVI which is what I was just showing you You know This is iSpy connector Maybe a Bluetooth or Wi-Fi module Laura DWM RS 232 which would kind of stick out the ends because it's the ones that are through a whole mountain enormous and would be way bigger So this is you know, again, it's just experimentation with This balance file. So the first one I want to do is DVI so you can see this is the DVI connector inline resistors and then I've got this is this over here systemic UT or and Let's see So this is what it looks like. So there's inline 220 ohm resistors There's a hot plug detect on the client side the sync side when the monitors plugged in this gets pulled up This hot plug gets pulled to this five volt line, which is connected to V. Hi, which is either The five volt from USB or like the battery voltage, which is like three and a half four volts You know, it's a little naughty to do that. You should have it be a proper five volts But we're being naughty and you know, it's we're already overclocking this chip to like 250 megahertz So this is not within spec anyways The hot plug detectives is just a divider to get down to three volts all these Ios and you can see them here in order and then The I squared C don't forget because we're providing five volts here the I squared C lines are five volt logic level possibly So I have a little shifter here That will bring it from that high voltage down to three volts using the thoughts the Standard dexamic UT level shifter and then you but you still have all the stuff we love about feather RP 2040s a bazillion capacitors for all the, you know, three of one point of old logic power input and filtering Reset button USB boot button Sorry, the yeah the boot load button and this button is also a user button. You can use this as input It's connected to one of the GPIOs so you can use as an input Li-poly battery charging and a little neopixel and then You know, you know the the detect pin because we don't have a separate GPIO I just bought the detect pin out because I feel like that's the most useful and then for like ultra hacking There's also the CEC and utility these are used for like different like I think like Ethernet over HDMI It seems like you could use this to trigger which one it is or something I don't know. Well, you know, I figured I'll break it out for like advanced hackers. Anyways So I just wanted to show this off This feather, which will be great for generating DVI signals and you still have all these GPIOs Left over for whatever you wish, you know, you can connect any other accessories And I hope to you'll definitely have Arduino support for the DVI output and there's C Support using Pico SDK and hopefully as well we'll get maybe some sort of circuit Python support That's okay. That's on my desk. Let's go to the overhead and Zoom in. Oh, yeah. Yeah, zoom in. Let's just see what happens. That's kind of nice. Get used to this Let's get let's look at this very small Yeah, sister pack and then if you could move the You know that the camera physically and see how close you can get or how far you can get where it still stays in focus Yeah See what happens because there's probably like what's the what's the closest you can get and still have it focused So you probably have to back it up. Yeah, that's pretty close. Yeah, so back it up physically a little bit and then that's pretty good See, I mean, you can actually No, no, no, this is it. This is that's pretty good. You can actually see. Yeah, look at that Oh, is it not? It looks like it's in focus maybe. Yeah, I think you can back it up It's kind of struggling. Yeah, I'm gonna be hooking up the microscope soon. Okay. This is now back You can see the markings. Yeah, so now back back it out Yeah, and I'll probably be slightly sharper this time. Anyway, it's you back in And then you can see those nice solder joints. Yeah, good work and then on the right hand side, there's a little menu pop that out and let's Draw something. Oh, yeah. Yeah, just draw something. Okay. So this is my whoops, this is the 74 Yeah, LVC This is not a great interest. Well, I can get you a pen because I think we can use a pen. Oh, yeah We can use a capacitive touch pen. Yeah, right and go off to the side. Is there a clear or anything? Does it clear it or do you have to erase it? Okay, I Don't know what this means. What is that? I think that's a race. Oh, that was a race. This is pencil Oh, this is a little bit better. That's black. Yeah Okay, cool. I can change the color to be like this is like all right So this is good practice for you Pete because tomorrow on ask an engineer. Maybe we'll use the Annotation feature I kind of like the annotation, you know, if I want to show like what everything is but yeah, you definitely use a little white board You just need to have You definitely want to have a yeah, I mean I can I can remove this and then it's just a white board Yeah, and then nice. Yes, and I can Yeah Yeah, what's the on the right on the left-hand side your left is the same thing I got it. Okay, cool And then I think you can move When get to the little hand move a little get the hand. I think you can move the annotation around You can pick it up and move it. Maybe I don't know what the hand is and I want to hand it Maybe like a raise hand or something. Yeah, I Thought it would move something around Should probably read the book do not know Yeah, okay All right, cool Yeah, this has different Yeah, thicknesses is markers Yeah, markers translucent. I think but yeah, so that's the thing. It's a highlight whereas the pen is yeah opaque So they both have reasons, but yeah, I think a capacitive pen would be good. All right. It's nice We'll get that going on and This for people who are wondering this is the Elmo visual presenter. Yeah one. Yep. Maybe I can have it look at itself Done self-aware. Whoa. Yeah, there's a USB port in the front And we're gonna have a little light and we're gonna do some stuff that's made it for you Yes, we're gonna try this out autofocus zoom in out home take a photo freeze-frame power. Yeah SD USB this is for storing stuff on the USB key. Yeah, it does other stuff and then we also have a we have our microscope We're gonna have that so we're just trying to up our game. Yeah, so y'all have beautiful pixels. Whoa, it's another dimension. Okay That's uh Okay, that's our overtime edition. Bye. Thanks everybody. Bye