 The show, it's me, John Park, and here we are at John Park's workshop. I have so many cool things that I'm excited to show you today in the workshop. First of all, there's Lars back there spinning around. I don't even need that on right now, but I was just excited and started turning all the fun things on. Lots of cool projects and updates and things to show you today. A new project in the works, too, that we'll launch today. I've got a CircuitPython parsec I'm going to do. I have, what, a recap of the JP's product pick of the week show I'm going to do. Take a look at the jobs board, some plants, succulents and such. I don't know much about plants, but I got one back there. And it's not just because I'm a hipster modular synthesis, but because I actually needed to show you the plant today. If you don't know that, that's sort of a meme in the modular synth world, where people producing ambient, particularly music with their modular synths usually have a succulent or two or 10 in their videos. So what else? What are we going to do? First of all, this is distracting. Come on, Lars. Let's turn that off. Interesting fun fact about this TV. This is an old Westinghouse. And I just a couple of times now have realized if I turn this on, let's see if this happens again. OK, now it's cool and happy. Sometimes when I try turning this on, because I am powering this, which is the Game Bueno Dazzler. Is that his name? Yeah, the Dazzler here running off of Feather M4. This is essentially a graphic card for HDMI. And I'm powering it off the TV. This TV is old enough that the USB port on here is labeled as service. And I think they were expecting service technicians to use that for something, not for me to power up my device. OK, now it's working fine. A lot of time it seems to stall and just show the Westinghouse logo when it boots up. And I'm suspicious the only time I've seen that happen is when I'm trying to leech some 5 volt off the USB port there. I don't think they wanted that port used that way. Let's see. Second of all, very important. So a quick quiz. What do these records have in common? We've got Run DMC King of Rock, Houdini Escape, Elvis Golden Records Volume 4, LL Cool J Radio, UTFO debut album. The thing that all these have in common is that I bought them at Record World in the South Hills Mall in Poughkeepsie, New York, back in 1981-ish or so, late 70s, early to mid-80s. And I just got a T-shirt from Record World. Can you believe this? Anyone here in the chat remember Record World? It was on the East Coast, mostly, I think, New York, Tri-State Area, New York, New Jersey, Connecticut, maybe? Maybe Massachusetts. I don't know how far they went. But I just was so excited to get this logo, because look, it's the greatest. And now I have a T-shirt for it, and I'm highly, highly excited about it. This is not an official plug, but the brand is here. I bought it myself. I didn't get it for free. But local vintage, if you're from that area of the world and you want to get nostalgic for some old logos, mostly from the 80s, check out, what are these guys? Local vintage with a Y, because that's the best shirt. They can stop making shirts, because I have the best one now. There's no cooler shirt now. In the chat, over here in our Discord chat, Abadis is also correct. They are all being held by JP. Definitely understood the assignment. That is exactly the other thing those records had in common. I was just holding them right then. Very good. What else? I see a Winamp player on there. Thanks, Yinescu. We got a Winamp player running. And yes, Todd also correct. The round end about 12 inches in diameter. They typically run at 33 and a third revolutions per minute to play accurately. What else? We've got a help wanted sign up. This is the Adafruit job board. And if you head over to jobs.adafruit.com, you can take a look at open positions, as well as people who are looking for work. I'm just realizing, do I need to bring that up? I'll bring it up in this tab. I forgot my new special trick with all my Chrome apps. Let's see. Let me find this Chrome window here and bring up jobs. Stand by. My previous session didn't save properly, so I had to go back a little further in time. So here's jobs.adafruit.com. How about that? I ought to show it right there, yeah. So if you go to this available for hire thing, you've got to be logged in. With just your Adafruit account, your Adafruit email. And then you can search through people who are looking for work. So there are hardware designers, electronics design engineer, 3D and CAD, robotics engineer, and Dijon France. Are you looking for that person? Because they're here. Lots and lots of people posting their skills and looking for work. So if you're looking to have someone help you out with a project maybe for hire, then take a look at the jobs.adafruit.com job board. That's what I recommend. All right. Next thing up, I have a show on Tuesdays, right at this time, but on Tuesdays, so not this day. That is called JP's product pick of the week. There's the logo right there. And during the show, I show a new or old. In fact, this week it was one of the oldest, pretty much the oldest product that we sell, product ID 14. And it is this Minty Boost kit. It is the version three of this venerable kit. And during the show, I do some demos. I also did a little time lapse of the build. I'm actually going to show you that as a picture and picture of my recap here in one minute. And it'll be one minute long. But during the show, which lasts about 15, 20 minutes, I like to show off a cool product and give you a humongous discount on it. So 50% off this week. You could get this one for, I think, fewer than 10 US dollars. Get a Minty Boost kit and then add yourself a Mint 10 or a deck of cards or something like that to contain it. And build yourself a great little USB 5-volt charger that takes very common AA batteries. So here's a little recap I did. Get ready for it because here it is. My product pick of the week this week is the Minty Boost kit, version three. So this is a USB 5-volt source that you can use to charge things like your phone or an iPod or your Zoom player or who knows what, using just some common AA batteries. You get the custom PCB. You get the Boost converter that takes your battery power, whatever it is, two, three volts and boosts it up to five volts. We have some capacitors, a inductor coil, a couple small caps and some resistors and a diode. These resistors are used to let an Apple device in particular know that it's okay to charge. Plug this in and you watch the charge up there at the top. When I plug that in, you can see it is now charging. So even though this is a super modern device, it is able to charge from the Minty Boost no problem. It is the Minty Boost kit, version three. Yes, it is. Next up, great time for CircuitPython Parsec. All right, for the CircuitPython Parsec today, I want to talk to you about a new to me, at least, serial program that allows you to communicate with your devices and read out debugging and send information to your microcontrollers, which is super, super useful. So I'm on a Mac and usually I use screen. Works really well, except for one major problem, which is anytime I disconnect, which is every time you reset or unplug and replug the board, you've got to rerun the screen command. So what I'm using now is called TO. And this was a tip from Todd Bot, thank you Todd. Let me get the URL for you here. It is at github.com slash TO, slash T-O-T-I-O. And here's how it works. I have a feather, no, I have a, what is this guy? I have a NeoTrails M4 plugged in here and I'm plugged in over USB. You can see I'm actually sending it some info that's causing these lights to blink. That's coming from another program. And let's say I'm debugging and I want to spy on that info. So if I have print statements in my program, which I do here, you can see there's various print statements, where those print out is a serial debugger port, a serial port of some kind. So what I'm going to do is run this command, which is TO, and then the port it's on. In this case, dev, TTY, USB modem, and I'll just double click that with tab completion, double check that, yeah, so there it is. When I hit enter here, you can see TO connected. It gave me some little messages to say it connected. And now it's printing out info. This happens to be one of my MIDI to LED types of programs that I have running. Now, here's the really cool part. Unlike screen, if I go ahead and reset this board or unplug it and re-plug it, I'm just going to hit the reset button on there. It is going to disconnect the board, but now it tries to and succeeds at reconnecting. Same thing happens if I pull power. So let's say we pull power for some reason. We go and noodle around with a circuit, connect it to a board, let's say, plug it back in. When that reconnects, we're up in business again. So really excited about this. I think there are also some other advanced features that I can check out. But this is TO, I can quit it by hitting, I believe it's control Q followed by a T or control T followed by a Q, that is it. That'll quit the program, control T followed by a Q. And then we can reconnect as we did before. So really cool, very helpful for any of your debugging on your microcontrollers. That is my circuit Python Parsec. It is TO, the serial, what is it called? The serial something or other. That's my circuit Python Parsec for the week. Try that one more time. That's my circuit Python Parsec for the week. It is TO. Whew! That's circuit Python Parsec. Like I said before, thank you again, Todd, for that tip. I know so many of you watched me over the years on here, particularly in circuit Python Parsec moments, dealing with screen, which is kind of a pain in the neck with that need to reconnect a lot when you're developing, especially if you're very iterative like I tend to be. So let me actually bring up the site for that. I'm gonna go back over to my browser here for a moment. And there you can see, so there's TO. TO, a simple serial device IO tool. Those were the words I was searching for when I closed that. It says it's a simple serial device tool which features a straightforward command line and configuration file interface to easily connect to serial TTY devices for basic IO operations. And you can see there actually in this little GIF that's running, there's a bunch of different commands that you can check out even while it's running. You can use this control T, which is essentially invoke TO commands and then another letter. So you get help about those and a whole bunch of other settings for that. On Mac, I just installed it with brew. So brew install TO, with spaces between those words is all it takes. And once it installs, invoke it with just TO and the path to your device. Super cool, very helpful tip. Thank you Todd for that one. All right, let's see. What else have we got going on here? Zarnlin over in our chat, let me bring up our chat here says, you discovered TO, now you're ready for the powerful world of Minicom. Am I, am I ready for that? I don't know if I'm ready for that. Okay, so next up, actually I wanted to do a little update on the Walkman person project. I'm not gonna, I mentioned this last night on show and tell. I'm not going to work on that this week because I'm waiting for Lady Aida to take a look at some issues I was having running the amplifier under here over three volts. And I had switched to using a little five volt boost converter, which unfortunately is unavailable right now due to chip shortages. First of all, a shout out to Brent Rubel, our own Brent who recommended me these great little storage cubes from Hey. A little home good store called Hey. They've got these great little collapsible storage cubes. So that that you see in there is the two iterations of my Walkperson project. And I wanna show you the state of things here. First of all, I picked up some very inexpensive, new Walkman style headphones that are probably not that great, but they look the part. So I'm excited about those. Those were like $8. I couldn't find any of mine. I'm sure they're somewhere, but I couldn't find them. So I showed last night on show and tell the circuit on breadboard, which I can just place under here for a second. And let's do that little view there. Widen that view out a little bit. So there is screen, Neo Keys, the Feather M4, the amplifier, a little stereo out 3.5 out jack. And then I've got that little boost converter and a battery on here. So what I've been doing is working on putting all of that together into a Walkman-like package. And I showed that all put together last night. I just wanna show you the pieces of it as I'm working on it. So this design right now is just to figure out some of the spacing things. I'm gonna widen it a little bit because I decided to put a little Feather wing doubler in here to deal with my connections. There are the connections off of this two inch TFT screen. And what I'm using, what I like about this is it's essentially point-to-point soldering to a board that then the Feather will plug into and since there's a whole bunch of these Feather pins that are tied to a second pin, makes it really easy to plug and play with your wiring. So that'll go like that. I'm gonna get a little extra space in here so this'll fit that width, maybe about three more millimeters of width there. But I've got a slot there for the SD card, which is actually in that other one right now, but you can use this extender, which is on a little spring release to pop that in and out and take the SD card in and out for different sets of songs. And I've got the little port there for USB on the Feather. Pull this back out. I just used some, in order to not have a bunch of screw holes, I just used some little, I modeled some little standoffs there. Let me bump up my exposure. There we go. Some little standoffs there that these just press fit onto with a little bit of a fillet there, little skirt type of shape to strengthen that base of those because they're kind of skinny. So that just snaps right onto there. Same with the screen, which has a couple of mounting holes there that snaps onto. There's nothing back here, so I may try to put something back there as the Reese Brothers, what they think about that. And then there's a whole, half a hole on this side and a whole hole, or half a hole on that side for this encoder and then a full hole there for the stereo out, 3.5 millimeter headphone out. And then right now these don't really have a snap fit thing. I'm gonna probably leave that to Reese Brothers, but right now that just kind of holds together but I don't have any snaps or anything. And then this fits into it. And I could possibly just reverse the way this works and have a slimmer extension on the two halves and then this top just caps that, might work pretty well. But that is where, let me flip that around, that is where I have my Neo-Key. I've got the cable for Stem-AQT to connect that up to the board and to the rotary encoder over here, push encoder. There will be a little slide switch. I don't think I have one right here, but a little slide switch going to the enable pin, which allows me to turn the whole project on and off. There'll be a LiPo battery in there, fitting right about down there. And then like I said, right now this somewhat silly idea of mine was this fits in between the two halves, whereas it should be the other way around where those fit up into there and it holds it. This actually kind of holds together right now just for testing purposes and it is deliberately designed similarly to the Sony, the original Sony Walkman, this little separation line here. There is a bulge on the original, but it made it really hard to print flat, so I'm not sure if that'll survive the designer, if it'll be an extra part or something like that. And the piece that I think is really cool is submerging this little button row down low enough that we don't get the big full height button because those look kind of goofy sometimes. But you can see I built like a little shelf that these press against so that whole board kind of slips in there, but then can't move down. Right now it can slide a little bit side to side, it didn't put a stop in there or anything, but this just made it easier to get something that works and then can be refined. So I've been modeling all that in Rhino using Grasshopper as the sort of procedural flow graph of how things are built, which makes it easy to adjust things after the fact sort of like a proper parametric CAD program. So that's the progress on the little cute MP3 person player Walkman thing, click, click, click. And this one's not fully wired and therefore not functional right now, but that's where we're headed with that. It takes a little bucket of parts and move those over there. And let's see. So next up, let's get into the new project. So, oh no, wait, but first I have, I told you this show is packed today. Let me get some water here. Before I move on to the project, I just noticed sitting onto the camera over there under my record albums is my favorite laptop I ever got there. My IBM was this the X23, I think, ThinkPad. I got it back in like 2001 or something. And I've always loved this and I've always loved the design. And so I was cruising around on the free section of Craigslist and found this beauty. This is a 17 inch IBM LCD VGA monitor. Sorry, that display is kind of dark today. Let me see if I can boost that just in here. Yeah, it's not gonna look that great. So this is, in fact, let me head over there. Let me get behind the bench there. So, slide that over a bit. So this is what it says on the tin. This is a 17 inch LCD panel. And I just love that IBM late 90s early 2000s styling. I worked at IBM around that time. And so I've always had a fondness for this style. I propped it up on some aluminum stand there, but look at that. I love these diagonal vent lines, very hard-edged cyber kind of look IBM had going back then. This, if I can switch cameras real quick. Hold on, let me plug in my camera switcher. So you can see here, this has a kind of unusual, I haven't seen this type of a tilt design before, where it just pivots right from the bottom, which allows it to lay down a kind of a nice angle for seeing over. I'm not sure if they had some intended market for this. You can also see it's got this great wavy line made out of the buttons here, super cool. Reminds me a little bit of that, I think late 80s, early 90s phone from Radio Shack, the black one that's that artist pallet one. And also the next computer style, they all kind of have a similar design language. This one does have a cover that pops off the back that allows you to access the Vesa mount. So you could mount this onto, I won't pop it off now, mount this onto an arm of some kind, monitor arm. And what I'm gonna do with it, I don't know, but one thing I can do with it, let's see if this is gonna power on right now. Is, let me switch cameras again here. I'm just running an iPad to it. I have one of these iPad lightening to VGA connectors. This has a VGA cable coming off the back. It's actually plugged in inside of this little piece of casing here. But look at that, it looks pretty nice, even just as a little informational display. And you can see that's just connected right up to my iPad so I can still use that as control. But VGA is pretty interesting because you can, it's an analog signal, not digital if I'm not mistaken. And you can send out from, I think ESP32, some flavor of ESP32, there's some projects out there for sending out to VGA, also the RP2040. And so while I have some monitors, including that big one over there that do have VGA, this one's nice and small so it was easier to grab and develop for. And this could make a really cool little cyber terminal of some kind, a really simple computer running just right off of a microcontroller where this is the display. So very happy about that. Thank you Craigslist Free. If you don't know about Craigslist Free, check it out. As long as you don't get murdered, picking up your stuff is a good deal. All right, so that brings us to our project this week. So I'm gonna unplug this like so. This is by the way the little dongle that I have. So I've got one of these that works with lightning. I have one of these that works with like a Thunderbolt connection mini display port, one of those on older Macs. And then there are a lot of converter, little converter boxes. In fact, if you look on Adafruit, there's some boxes that'll take various things to VGA, which is nice. And it's a, I think 1280 by 1024 image. And this goes without saying, I love the sort of square, nearly square aspect ratio on that thing. How cool is that? So let me get this out of the way. And actually I'll go real quick and confirm that I'm not making that up when I say that we've got some VGA outs. I know I at one point got a little box that allowed my Dreamcast to run out to VGA. I think over whatever proprietary AV port that the Dreamcast had. So this could make a cool retro gaming monitor for that era of stuff that wasn't quite CRT era of retro things. You can see how my place gets so cluttered because I can't resist getting cool stuff. So bring up the browser again here and let's go to Adafruit VGA. Okay, so we have HDMI to VGA video adapter. So that one is a little converter box in there that is presumably powered by the HDMI signal and converts it out to VGA which is kind of neat. Here's another one with a different audio cable I guess or it's internal to it. And is that all we have? We just have those two converters. Yeah, and so I'm curious actually if you look at, let me look at the chat real quick. If anyone mentioned some of the projects, play Doom on it, says Andy Calaway, good idea. Yeah, in fact, let me look real quick in my browser window here and then I'll open it up. RP2040 VGA. When I was looking into doing composite video, I was running into way more projects that did VGA. I think it's a friendlier standard to deal with and particularly if you look at video synthesis, all the video synth projects out there and some of the video mixer projects and things tended to be VGA based. So I'm thinking that could be a fun way to go. Yeah, so here's a PIO assembly VGA driver for RP2040. So that means that one of the sort of PO threads or cores is running the VGA protocol here to send out your video. So lots of neat stuff about VGA, looking forward to digging into it. Yeah, you can see here's a nice diagram. We have of the little DIN plug there, we have a ground and then there's separate red, green and blue channels as well as a vertical sync and a horizontal sync. So those are the ones you're using and that's why the color is so much better than a composite signal because we have three separate channels instead of just two wires where all that color data is being crammed in. So yeah, let me know if you have any favorite projects to check out doing microcontroller things over VGA, be interested to find out. All right. So let's get into our main project. This is something that Phil PT, Phil Tarone, Mr. Lady Aida, suggested to me just yesterday and he and Lamor and I talked about it. They'd seen a video of someone doing a pretty neat house plant as input device for a synthesizer and this uses typically capacitive touch. So we wanna use a microcontroller that can do capacitive touch and then run some alligator clips from the microcontroller's touch pads to the plant and then when you start the microcontroller, if it recalibrates capacitance based on what it's connected to, it won't start playing immediately but when you grab leaves, you'll get some different effects. Now you can do sort of an analog version of that which is my intention is to base the capacitance value or rather base what I hear on capacitance value. Right now I'm just doing a simple, the simplest sort of touch IO thing in circuit Python which is either touch or not touch. However, one of the neat things about using the plant is that you can get places on a plant leaf that you touch that are just on the cusp of pinging that true value on the capacitive touch and you can get sort of really cool noise as it pings on and off the synthesis method that you're doing. When it comes to synthesis methods, that is not easy to say, a couple of things that come to mind with this sort of project are using a microcontroller that can do MIDI output. So touch a leaf, send some MIDI signal, could be CC values like a knob, could be send a note, could be send some kind of an arpeggio. And you can do that over Bluetooth or over USB so a lot of our microcontrollers that use the NRF 52.840 chip are great for this sort of thing. And in fact, that's why I've picked a blue fruit, one of these, not this exact one, but circuit playground blue fruit. This one's in the cool little case there. This is the NRF 52.840 and it has, I think six or seven capacitive touch pads on here among all these pads here. You can clip an alligator clip or just touch them directly, use some foil tape, maybe conductive paints, a few different ways you can do that and record whether you're doing a reaching a threshold essentially of capacitive value. Another method instead of using MIDI, which is super great, but I kind of was interested in making a little more self-contained than that is to actually do sound generation on the microcontroller itself. In fact, let me bring up the project I'm using for the core of the code here. One second, I'll bring this up. This is Kevin Walters, where'd you go, Kevin? This one right here, circuit playground express USB MIDI controller and synthesizer. So it's the and synthesizer part of this that's what I'm using. If you take a look at this guide, this shows how to use a circuit playground express, but I'm gonna use the blue fruit as a MIDI controller and or a basic synthesizer. And so in this basic synth code, there is code to generate a waveform at different pitches as well as modulate sort of AM amplitude modulation of that waveform, changing some of its, I think it might be its pulse width modulation using the velocity of a MIDI press and then there's a pitch wheel and mod wheel as well. So there's a bunch of different ways to adjust this. Right now, like I said, I'm just gonna do note on, note off, but I'm essentially not using the MIDI portion of this code. Instead, I'm gonna, and I'll show you the code in a minute, just trigger the waveform here. And here's a Sawtooth waveform bit of code right here. So I'm just playing these waveforms at some three different set pitches using CapTouch. We could go up to I think the six or seven that are on here, but for now I'm just gonna use three. So let's head over to the workbench. I'll show you how this is put together and we can do a little demo of it. And I just noticed in the chat, a nice comment from Todd Baugh, USB-C to USB-2 to HDMI to DVIA to VGA to Ethernet to PCMCIA to RJ45, perfect. Is that a cable we sell? So what you can see here I've got is my circuit playground, blue fruit. Whoa, let's make a noise and let me switch cameras here. Make that the big one. And then I have connected, I'm sorry, plant. That's probably not nice for it to get tugged like that. Forgive me. So what I have going on here are three of the capacitive touch pads are going to three of these leaves that are mostly separate from each other. There's sort of three sections of the plant here. And that helps because if you just connect to different leaves on the same sort of plant base, then you will tend to trigger the capacitive touch on all of them just because there's so much water in the plant. If it's a healthy plant. So what I've got is not only the alligator clips running to these leaves to measure my capacitive touch triggering, but I also am running a great little cable that we have, little Adafruit cable here that goes from two alligator clips to a mono three and a half millimeter jack, which is great. This is what we tend to use for different control voltage and gate signals in Eurorack modular. So it's a really convenient one to be able to send out a mono signal can be audio can be control voltage, whatever you want. So what I'm doing is just running. I have a cable here that goes out to a quarter inch patch cable, which is sort of what you're used to from a guitar type of interface. And I'm plugging that into this cool little delay pedal. And thank you C Grover for this. He was clearing out the studio by the way and gave me this gig of delay pedal. So what I'm doing is generating a PWM audio output, but instead of just going over the tiny little speaker that's built into here, I'm going to be going through this effects unit so that we get a nicer sound. So let's see if we hear something here. So there you can see, even though I had set this up just to play three notes, we have sort of these six different sounds we can do. So we have the, especially if I just touch the alligator clip, just plays the solid note. Same if I touch the plant and really hold it, I'm not hurting it, but hold it pretty strongly near to the probe. So anywhere near there and I'm getting pretty much the solid sound. But as I grab it lightly and further away, I'm triggering really fast that on off value. And that's what gives me that super high pitch screen, which is pretty cool. It's sort of almost like getting a sort of harmonic out of a guitar string by just lightly touching it. It's not working under the same principle, but as far as how you're playing it, it almost feels like the same sort of thing where there's the real note and then there's this sort of harmonic type of, on leaf is getting sad. I'm gonna unplug from that. So thanks for coming to my performance here of the plant. I know so little about plants. I actually don't even know what this plant's name is. I'm sorry. So if there's a plant person in there and also don't tell my wife that that one's sagging, it is not broken, but you know what, there was this cute little butterfly steak thing in here, which maybe was there for a reason to hold that one up from drooping. So let's take a look. I can unclip. No, let's leave the clips on the board, but I'm gonna remove that from the plant. And I probably should put a little copper tape over these just so they're not as pokey because you don't want to cut into the plant and that should still act as the capacitive antenna that we want it to act as. So you can grab just a little bit of, probably aluminum foil would work. I've got this little adhesive copper tape and just line the inside of the alligator clip so it's still making nice contact but not chewing into the plant. I don't actually even see teeth marks. That might be wishful thinking, but I don't actually seem to see any damage. So don't tell my wife. Hope she doesn't watch this episode. So let's bring this over. Actually, I'll show you one of the reasons I loved both this addition to the performance being able to play the kind of two modes on the leaves as well as the guitar pedal, which guitar pedals are the best or effects units are the best for making these little simple waveform based synths sound amazing. So just always slather in the reverb, the echo and the delay and you can really take things up a whole bunch. Snake plant. Oh, that's a common name for this is snake plant. Oh yeah, I've heard my wife and daughter talking about that. That sounds right. So if I unplug my little guitar pedal from here, in fact, I'll unplug the alligator clips from that. Now we will, let me reset it. So one thing you can do is reset the board and that gives you a recalibration essentially of the capacitive touch. So now I can use, I can just use these, right? So nowhere near as compelling as A, some cool delay effects pedal and B, having the plants involved. And it really, I think it really elevates it from something very simple to something more interesting. And of course, you get the visual aspect of the plant which you can't lose with that. Also, you could use a battery for this. You could power this off of battery and then nestle it neatly somewhere over in here, especially using that nice little plastic case that we have. But what I'll do now is let's grab this and just go over what I have happening in code so far. This is like I said, a fairly simple first stab at this. And oh gosh, before I do that, plant talk over in our discord, Dexter says the Dracaena Trifasciata is a species of flowering plant, the family Asperagackenye, native to tropical West Africa from Nigeria, East to Congo. Commonly known snake plant, say Georgia's sword, mother-in-law's tongue, vipers boasting hemp, among others, thank you. Or just just baby Groot, one of those, one of those too. So let me plug this in. And by the way, if we've still got Adam going here, notice I unplugged my Trellis M4 and there's a chance this'll reconnect when I plug in here if it grabs the same USB port. It did. So I don't know if it, three, yeah, it must have just grabbed the same port. I don't think that would work if we had a different port shown. Oh, by the way, over the YouTube chat, thanks Jason Edelman for the snake plant icons. I just had to, the moderation software made me agree to show those, those are great. So yeah, you can see this is reconnected here. I don't think I'm sending out any print statements, but it is connected. So let me open up the code.py running on here. And what I'll do with this is actually, I'll probably show a version running in Circuit Python as well as in Arduino. So this can be a leaping off point guide for a few different projects. So some of this code in here is not necessary only because I started with Kevin's USB based code and haven't commented some stuff or gotten rid of some stuff yet, but main thing, main change from his guide is we no longer are using audio IO. We're using audio PWM IO and I'm adding touch, touch IO. And then I've just set up these four. So like I said, we have I think six on here, maybe seven touch pads we can use. Then ignore this MIDI stuff, it's not being used. We turn on the speaker, we use the DAC output which is the board speaker, but that does also go out over a zero which is what I'm connecting up to to go to the guitar pedal. And here is the code for creating the pitch and the waveform. So we have a reference frequency and then math that happens to that based on the MIDI note that was coming in or I'm actually leveraging some of that just to make it easy. So I don't have to know frequencies. I just can send out like MIDI note 46 and that'll work. The wave form here is this sawtooth wave that's created based on the pitch that you send it and there's a function to convert the MIDI note to that pitch frequency and Hertz. Generate the sawtooth and I don't have the neopixel code hooked up now, but I might hook that up. That would be kind of nice to do a little visualization. This is the conversion of a note to an LED being turned on or off and the note frequency based on MIDI note to feed into that sawtooth wave generation. I'm not using pitch bend right now. I may try to use the, one of the control channel CC continuous controller values or velocity based on an analog read on the plant. I haven't tried that yet. And then I created this little function here that just takes the note frequency based on a hard-coded instead of a MIDI note, a hard-coded note per plant leaf and then generates the proper wave form and plays it. So it makes the wave form plays it almost instantaneously as I touch the different leaves. When I let go, the option is to run this function in the stop the DAC mode. That's what cuts off the note. And then I create a little state variable for each of those four leaves. Again, this could be optimized for right now. I just have it very explicit. And then in the main loop, this is all that's happening is these essentially three things. I have if A4 is being touched and it hasn't been touched. So just a sort of state change. So we don't sort of like debouncing it. If I touch A4, then we're gonna use that play touch note function with note 46. When I release it, it turns that off. When I touch A5, I have note 49 and when I touch A6, I have note 52. So I was just grabbing some notes that I thought sounded good together and slightly minor triad kind of sound. The rest of this, I've commented it out for now because we're not using it. And that's what is playing those ever or echo pedals, like $50 ones out there used or even new ones sometimes. Oh, buffering. Andy Callaway says we're buffering. Let me see if my stream health sounds okay. The bit rate got a little slow. Hopefully we're not. Yeah, it's buffering. Oh no. All right, hopefully that's better. I just kicked the software. Hopefully it restarts. Let me know if we've got smooth happening yet. Buffering, buffering. Healthy on YouTube now, yay. Thank you for the note, Andy. We're back. Back just in time for me to finish up, I think. So that's what I have having with this. I'm gonna look at that main adjustment, which is gonna be analog, so that instead of just true false for a touch event with cap touch, we can have a variable value which we can then convert into a range to use to sort of adjust the sound instead of pinging it on and off the way I am currently. But I kind of like that, so who knows? That could be the happy accident that stays in it. All right, let me see. Any other thoughts or questions over in the chats? If not, I'll say tune in tomorrow for a deep dive with Tim. He's been working on some really cool stuff. If you saw any of his cap touch screen show and tell, last night, and there's also gonna be a giveaway of some old conference room touch screens. I remember those from the Disney buildings. We had those things all over the place. What are they called? Crestron, yeah, the Crestron remotes for scheduling meetings. They've got those running with Circuit Python right now. Looking really cool. So that is gonna do it for me for today. Thanks for tuning in, everyone, for Adafruit Industries. I'm John Park, and this has been John Park's Workshop. Bye-bye.