1 00:00:02,340 --> 00:00:05,400 Welcome to The CircuitPython Show. I'm your host, Paul Cutler. 2 00:00:06,100 --> 00:00:13,340 This episode is a replay of my other podcast, The Bootloader, and the live stream Tod Curtin and I recorded on CircuitPython Day 2026. 3 00:00:14,280 --> 00:00:20,620 We do use video and screen sharing, so you may want to check out the video on the Adafruit YouTube channel, which I've linked to in the show notes. 4 00:00:21,900 --> 00:00:23,380 And with that, here's the episode. 5 00:00:43,460 --> 00:00:44,620 Welcome to the bootloader. I'm Paul Cutler. 6 00:00:46,480 --> 00:00:47,100 And I'm Tod Kurt. 7 00:00:47,940 --> 00:00:48,580 If you haven't heard of us, 8 00:00:48,720 --> 00:00:50,140 we're the host of The Bootloader podcast, 9 00:00:50,720 --> 00:00:52,199 but you can find in your favorite podcast player 10 00:00:52,220 --> 00:00:55,120 on the first Monday of each month or at the bootloader.net. 11 00:00:55,840 --> 00:00:56,660 The show works like this. 12 00:00:56,920 --> 00:00:58,480 Paul and I each have brought a few things to share, 13 00:00:58,720 --> 00:01:00,300 all about CircuitPython for the last year. 14 00:01:00,760 --> 00:01:02,580 And a big thank you to Liz, who's on camera control. 15 00:01:03,400 --> 00:01:04,440 Paul, let's break down some of the numbers. 16 00:01:05,120 --> 00:01:07,240 Yeah, it's crazy that another year has gone by already. 17 00:01:07,900 --> 00:01:09,260 Since last CircuitPython Day, 18 00:01:09,380 --> 00:01:12,460 CircuitPython 10 was released in October with a ton of improvements. 19 00:01:13,180 --> 00:01:15,460 This was the first release to add some audio effects, 20 00:01:16,040 --> 00:01:17,000 full Fruit Jam support, 21 00:01:17,200 --> 00:01:19,640 including the new CPsaves partition for SD cards, 22 00:01:20,140 --> 00:01:21,540 and a bunch of graphics updates, 23 00:01:21,600 --> 00:01:24,840 including better PICODVI support to work on more monitors. 24 00:01:25,880 --> 00:01:26,080 Okay. 25 00:01:27,220 --> 00:01:28,920 It's going to be like 100 degrees today, I think. 26 00:01:29,940 --> 00:01:31,980 So what was CircuitPython to you last year, Tod? 27 00:01:32,560 --> 00:01:36,780 So last year, CircuitPython 9 was all about synthio. 28 00:01:37,220 --> 00:01:40,640 It was like when synthiO really got going and really got good. 29 00:01:41,340 --> 00:01:45,060 It kind of existed before, but it was like we had to try to figure out how it worked right. 30 00:01:45,660 --> 00:01:49,140 But with CircuitPython 9, we could make real interesting sense in CircuitPython. 31 00:01:50,100 --> 00:01:55,080 This year, it's all about audio effects because a synthesizer voice by itself is just okay. 32 00:01:55,360 --> 00:01:59,180 But having audio effects after that, like delay and reverb, chorus, and like that. 33 00:01:59,740 --> 00:02:03,060 Like version 9 had echo chorus and reverb created by Mark Gamblor. 34 00:02:03,320 --> 00:02:03,720 Thank you, Mark. 35 00:02:04,080 --> 00:02:08,940 But then very soon after that, right after 9 was released, and right, I think for the 10 betas, 36 00:02:09,119 --> 00:02:11,880 Cooper added multi-tap delay, phaser, and distortion. 37 00:02:12,220 --> 00:02:14,960 And like both kinds of distortion, like a simple clipping distortion, 38 00:02:15,560 --> 00:02:18,260 but also like this sort of soft overdrive distortion. 39 00:02:18,820 --> 00:02:21,880 And then Cooper made some really important changes to how the effects works. 40 00:02:21,930 --> 00:02:23,140 We can chain them together. 41 00:02:23,660 --> 00:02:24,580 It was kind of hard to do that before. 42 00:02:25,000 --> 00:02:27,320 And so now you can basically plug them together like guitar pedals, 43 00:02:28,500 --> 00:02:30,440 which is great because it kind of matches how synthio work. 44 00:02:30,480 --> 00:02:33,940 Because synthio kind of looks and acts like a semi-modular synth 45 00:02:34,040 --> 00:02:37,040 where you kind of connect little cables together to make a synthesizer. 46 00:02:37,480 --> 00:02:39,220 So it's like we've got this modular synth on one hand, 47 00:02:39,260 --> 00:02:41,260 and then we've got a guitar pedal board on the other. 48 00:02:41,800 --> 00:02:43,380 So it's all becoming really interesting. 49 00:02:44,300 --> 00:02:47,260 And then earlier this year, Tim, aka FoamyGuy, 50 00:02:47,740 --> 00:02:52,120 added a granular pitch shift to complement the pitch shift effect that Cooper had it earlier. 51 00:02:52,680 --> 00:02:53,380 They're both relevant. 52 00:02:53,460 --> 00:02:54,620 Pitch shift uses less resources. 53 00:02:55,280 --> 00:02:58,080 Granular pitch shift can sound better for larger pitch shifts. 54 00:02:58,980 --> 00:03:02,020 And then also the audio mixer module is updated. 55 00:03:02,580 --> 00:03:05,660 So it's a level in pan knobs can be modulated with LFOs. 56 00:03:06,360 --> 00:03:10,780 Oh, and did I mention that all these effects have parameters that can be modulatable with SynthiO's? 57 00:03:11,200 --> 00:03:13,600 They're like LFOs are like automated knob turning. 58 00:03:13,840 --> 00:03:17,600 So you can have things on your synthesizer or now audio. 59 00:03:17,620 --> 00:03:23,440 effects that can automatically have their pan shifted or their distortion amount change, things like that. 60 00:03:24,660 --> 00:03:41,640 And then to bring it home, earlier this year, Tim added the audio I2S In module, and now the audio duplex module, or I forget what it's called it, but it's let you can, both of them let you do stereo audio into CircuitPython as well as playing audio out via I2S. 61 00:03:42,040 --> 00:03:47,580 So you get high quality, 16-bit audio. And so now we can truly have CircuitPython-based guitar pedal. 62 00:03:48,100 --> 00:03:55,600 or effects boxes, which you might have heard a couple of hours ago when Cooper was demonstrating that. 63 00:03:56,360 --> 00:04:03,060 And also, just in the last episode, what are these segments called we're doing on CircuitPython Day? 64 00:04:03,480 --> 00:04:03,860 Live stream. 65 00:04:04,440 --> 00:04:05,780 Last live stream, there we go. 66 00:04:06,140 --> 00:04:17,540 Tim demoed how he had hacked the Teenage Engineering Ting handheld effects unit with the entire alternate CircuitPython firmware that lets you do cool real-time effects. 67 00:04:17,579 --> 00:04:18,400 of your voice. 68 00:04:19,100 --> 00:04:20,260 And so it's like CircuitPython 69 00:04:20,380 --> 00:04:21,120 and a commercial product 70 00:04:21,500 --> 00:04:22,780 and it sounds cool 71 00:04:22,840 --> 00:04:23,760 and it's fun to play with. 72 00:04:24,060 --> 00:04:24,500 It is cool. 73 00:04:24,600 --> 00:04:25,380 I can't create music, 74 00:04:25,540 --> 00:04:26,260 but it's been really fun 75 00:04:26,360 --> 00:04:27,340 watching the different projects 76 00:04:27,460 --> 00:04:28,540 that you, Cooper and Liz 77 00:04:28,640 --> 00:04:29,940 have done with the new audio effects. 78 00:04:30,860 --> 00:04:31,020 Yep. 79 00:04:32,280 --> 00:04:33,380 So after 10.0, 80 00:04:33,480 --> 00:04:35,120 we then saw 10.1 in February 81 00:04:35,460 --> 00:04:37,020 and 10.2 this past April. 82 00:04:37,760 --> 00:04:39,920 10.2 included the latest ESPIDF 83 00:04:40,020 --> 00:04:41,220 as well as the MicroPython 84 00:04:41,420 --> 00:04:42,600 1.27 merge. 85 00:04:43,000 --> 00:04:44,800 So thanks to Dan for keeping up with Upstream. 86 00:04:45,440 --> 00:04:45,560 Yeah. 87 00:04:45,960 --> 00:04:46,060 Thanks. 88 00:04:46,880 --> 00:04:47,520 Thank you to MicroPython. 89 00:04:47,780 --> 00:04:48,820 which made all this possible. 90 00:04:49,680 --> 00:04:54,820 I like that CircuitPython is still merging in updates to MicroPython as time goes on. 91 00:04:55,680 --> 00:05:00,620 I think that's pretty hard to do because CircuitPython has deviated a bit. 92 00:05:00,800 --> 00:05:04,420 So I think Dan's been the one who's mostly responsible for the merges. 93 00:05:04,500 --> 00:05:05,180 So thank you, Dan. 94 00:05:05,980 --> 00:05:07,440 Jeez, that must be a really hard task. 95 00:05:08,100 --> 00:05:10,020 So, Paul, what's your first one for this show? 96 00:05:10,520 --> 00:05:13,880 If there was another theme over the last year is that it was the year of the Fruit Jam. 97 00:05:14,800 --> 00:05:17,480 This credit card size CircuitPython powered MicroPC was. 98 00:05:17,580 --> 00:05:22,120 a hit. It was first released in July of 2025, but it was hard to find the first few months. 99 00:05:22,620 --> 00:05:26,900 And in the last Ada box, late last year, Adafruit shipped them to all the subscribers. 100 00:05:27,760 --> 00:05:30,560 I'm not going to go into all the hardware specs. You probably know them by now. 101 00:05:30,960 --> 00:05:34,240 But Tod, let's share a few of our favorite Fruit Jam apps from the last year. 102 00:05:34,860 --> 00:05:39,260 My favorite is probably Sean Carolan's Pac-Man clone. Originally written for the Wii O 103 00:05:39,500 --> 00:05:43,820 Terminal, Cooper Dalrymple ported it to the Fruit Jam and upstreamed it to Sean. 104 00:05:44,100 --> 00:05:47,780 Sean vibe-coded Pac-Man in an afternoon, and it's a fantastic port. 105 00:05:48,380 --> 00:05:56,020 I had him on a recent episode of the CircuitPython show, and he shared where he got the game resources, how he recreated the sounds of Pac-Man, and more. 106 00:05:56,400 --> 00:05:59,000 I'll have to admit to losing a few hours just to playing it. 107 00:06:00,520 --> 00:06:03,800 Yeah, it's, I find it really fascinating. 108 00:06:03,980 --> 00:06:05,300 I got myself on the wrong screen. 109 00:06:05,560 --> 00:06:13,200 I found it really fascinating that we're at this stage where we're able to recreate old hardware in Python running on a chip. 110 00:06:14,500 --> 00:06:18,120 like no OS involved, no super high-powered system. 111 00:06:18,560 --> 00:06:20,280 You know, it used to be if you wanted to do emulators, 112 00:06:20,400 --> 00:06:22,640 you had to get like a really powerful desktop computer or something. 113 00:06:22,740 --> 00:06:26,240 But now it's like, oh, yeah, we can do this on a thing that, you know, 114 00:06:26,420 --> 00:06:27,100 fits in your hand. 115 00:06:29,220 --> 00:06:31,200 What was one of your favorite Fruit Jam things this year? 116 00:06:31,420 --> 00:06:35,340 So for me, that was the Zork player. 117 00:06:35,560 --> 00:06:36,880 So if you're unfamiliar, 118 00:06:37,700 --> 00:06:39,400 Zork ran on this thing called Z machine. 119 00:06:40,100 --> 00:06:43,200 It was a virtual machine created in 1979 to run, 120 00:06:43,220 --> 00:06:45,660 run many of the text adventures created by Infocom. 121 00:06:46,639 --> 00:06:49,280 Infocom, they did Zork, they did Hitchhikers of Guide to the Galaxy, 122 00:06:49,520 --> 00:06:50,720 they did a ton of games. 123 00:06:50,860 --> 00:06:54,240 Like, in fact, on this webpage, Dan has a picture. 124 00:06:54,860 --> 00:06:56,860 And the cool thing about this Z-machine, virtual machine, 125 00:06:56,990 --> 00:07:00,820 is it let Infocom get put Zork and all these other games 126 00:07:01,260 --> 00:07:03,400 on all the platforms of the 1980s, 127 00:07:03,560 --> 00:07:10,400 like the Comber 64, the Atari ST, the Sinclair CX81, I think, even. 128 00:07:11,000 --> 00:07:12,600 And thanks to that, 129 00:07:13,180 --> 00:07:14,460 Dan was able to do the same with a Fruit Jam. 130 00:07:15,760 --> 00:07:21,700 His port has that cool retro CRT, 80 by 24, green screen CRT effect. 131 00:07:22,320 --> 00:07:25,640 I think for maximum this nostalgia, you should hook your fruit gem up to a CRT, you know. 132 00:07:26,820 --> 00:07:31,900 But Dan wrote this Z code parser in CircuitPython instead of C, 133 00:07:32,040 --> 00:07:34,960 which is what most people have been doing for the last, you know, 40 years or whatever. 134 00:07:35,500 --> 00:07:39,840 And it works nicely with the Fruit Jam OS, which if you have the CircuitPython-based OS, 135 00:07:41,040 --> 00:07:42,580 but writing OS is in CircuitPython, right? 136 00:07:42,620 --> 00:07:47,500 But if you run a Fruit Jam OS, it works nicely with that. 137 00:07:47,600 --> 00:07:50,560 So it just becomes another app for your free gem. 138 00:07:51,180 --> 00:07:54,500 And it's a lot of fun to use this as just Zork and Z machine 139 00:07:55,790 --> 00:07:59,920 because it's the first chat system that we normal folks got to have access to. 140 00:08:00,480 --> 00:08:05,540 And learning how to use how to play Zork and how to use the language that Zork wants 141 00:08:05,620 --> 00:08:10,440 is kind of not that different from the prompt engineering we've had to learn recently 142 00:08:10,460 --> 00:08:15,580 of like, how do I phrase this thing so the LLM will spit out something that will work. 143 00:08:15,920 --> 00:08:20,700 And so now you too can be eaten by a grue or get lost in a maze of twisty passages, 144 00:08:20,980 --> 00:08:22,180 just like 1980s kids. 145 00:08:23,440 --> 00:08:24,820 Yeah, I was terrible at Zork. 146 00:08:26,080 --> 00:08:26,920 But Dan's been busy. 147 00:08:28,060 --> 00:08:28,940 Yeah, yeah, yeah. 148 00:08:29,260 --> 00:08:30,040 He's been doing a lot, huh? 149 00:08:30,620 --> 00:08:35,460 In addition to the Z machine, he also released a handful of classic screensavers and another game, 150 00:08:35,760 --> 00:08:36,240 Moon Miner. 151 00:08:36,940 --> 00:08:37,880 Yes, yes, yes. 152 00:08:38,300 --> 00:08:40,419 It's related to the classic Lunar Lander game for, 153 00:08:40,440 --> 00:08:44,480 from the 80s, your mission is to retrieve minerals from the moons around the solar system. 154 00:08:45,060 --> 00:08:46,120 It's all physics-based. 155 00:08:46,420 --> 00:08:50,440 You try to land your rocket ship based on how much thrust you're giving it and the gravity below. 156 00:08:51,080 --> 00:08:54,760 You need to make a safe landing to harvest the minerals, and you can't tip over either. 157 00:08:55,420 --> 00:08:58,320 I'm not good at Zork, and I'm not good at physics games either. 158 00:09:00,320 --> 00:09:08,920 Yeah, this one, this one of the earlier vector, black and white vector game coin up arcade games called Lunar Lander. 159 00:09:09,420 --> 00:09:10,880 But it was totally a physics game as well 160 00:09:10,880 --> 00:09:13,520 where you had to navigate your fuel 161 00:09:14,130 --> 00:09:16,160 and land on these little platforms on a lunar surface 162 00:09:16,400 --> 00:09:17,520 and I was terrible at it and it was, 163 00:09:17,840 --> 00:09:18,980 but it had such good sound. 164 00:09:20,860 --> 00:09:21,900 What's your next one for us? 165 00:09:22,760 --> 00:09:24,400 So our host for CircuitPython Day, 166 00:09:24,500 --> 00:09:27,080 Liz Clark built a hardware music visualizer 167 00:09:27,220 --> 00:09:31,000 for the Fruit Jam modeled on the old Atari video music box. 168 00:09:31,560 --> 00:09:34,100 She calls it the Fruit Jam video music machine. 169 00:09:34,780 --> 00:09:36,800 And let me see if I got a picture up here. 170 00:09:36,880 --> 00:09:37,380 I can show you. 171 00:09:38,000 --> 00:09:38,920 So this is kind of what it looks like. 172 00:09:38,920 --> 00:09:42,300 The white screen is just a monitor. 173 00:09:42,900 --> 00:09:47,040 The device that she built is this cool kind of 1970s-looking thing 174 00:09:47,160 --> 00:09:49,480 with wood grain and these step switches 175 00:09:49,620 --> 00:09:51,680 and the cool brushed aluminum knob. 176 00:09:52,360 --> 00:09:54,980 So the original Atari video music hardware 177 00:09:55,500 --> 00:09:56,560 was released in 1977, 178 00:09:57,380 --> 00:09:59,420 and it was the first commercial video music visualizer, 179 00:09:59,420 --> 00:10:01,020 as far as I'm aware, 180 00:10:01,620 --> 00:10:02,520 but it had no CPU. 181 00:10:02,960 --> 00:10:05,940 The video it output was created just with logic chips, 182 00:10:06,420 --> 00:10:07,420 clocked from the video signal 183 00:10:07,580 --> 00:10:08,900 and modulated by the audio signal, 184 00:10:08,920 --> 00:10:12,180 It looked like a piece of hi-fi gear with four knobs and 12 buttons. 185 00:10:12,940 --> 00:10:15,100 You wouldn't know it was like something for your TV. 186 00:10:16,420 --> 00:10:18,560 It looked like something that would just belong in your amp stack. 187 00:10:19,260 --> 00:10:22,540 But with those controls, you can get a neat range of effects that reacted to music. 188 00:10:23,200 --> 00:10:26,840 Granted, all these effects were variations of colorful diamonds or lines, 189 00:10:27,400 --> 00:10:31,380 some of which that Liz has put up here on her demo. 190 00:10:31,980 --> 00:10:32,840 But they were still pretty neat. 191 00:10:32,900 --> 00:10:33,920 This is like 977. 192 00:10:34,620 --> 00:10:37,000 So Liz took the design inspiration for the entire video music 193 00:10:37,020 --> 00:10:40,020 It made this cool Fruit Jam-based thing. 194 00:10:41,820 --> 00:10:53,800 And the code that she has for it is pretty cool because it takes the audio from the mic that's, oh, yeah, instead of having to feed a mic into it, it just reads from a built-in microphone. 195 00:10:54,400 --> 00:10:56,560 So it takes audio in real time, it takes audio in from the mic. 196 00:10:56,960 --> 00:11:04,400 It gets a spectrogram of that audio using FFT, and it does analysis on that spectrogram to use it as inputs for the various visual effects. 197 00:11:04,900 --> 00:11:09,600 And this kind of process, this loop, is really useful for a lot of audio projects. 198 00:11:10,080 --> 00:11:17,540 Anytime you want to do any kind of, I want to look at the audio at a more kind of higher level than just looking at the amplitude. 199 00:11:18,400 --> 00:11:19,200 This is the same process. 200 00:11:19,360 --> 00:11:25,740 So if anyone is interested in doing any sort of audio project that actually does audio analysis, look at Liz's code. 201 00:11:26,140 --> 00:11:27,760 You can get some cool techniques from it. 202 00:11:29,080 --> 00:11:30,960 I love audio reactive projects. 203 00:11:31,160 --> 00:11:34,860 My first CircuitPython project ever was an audio reactive process. 204 00:11:34,880 --> 00:11:40,880 project with a PDM in mic and an 8x4, so a 32 neopixel feather wing. 205 00:11:41,180 --> 00:11:42,640 Still sits on my desk to this day. 206 00:11:43,280 --> 00:11:43,680 Oh, coolP. 207 00:11:44,020 --> 00:11:45,840 Yeah, I love audio reactive stuff. 208 00:11:47,740 --> 00:11:48,980 So what's your next one for the show? 209 00:11:49,420 --> 00:11:50,480 Where to start with this one? 210 00:11:50,640 --> 00:11:53,640 First, let me start this by saying, I'm not a game designer. 211 00:11:54,020 --> 00:11:55,680 I don't know anything about designing games. 212 00:11:55,800 --> 00:11:58,960 So if I get some of the details wrong here, I'll just apologize up front. 213 00:12:00,300 --> 00:12:04,200 One of the knocks against CircuitPython is that it's not that fast when compared to Arduino 214 00:12:04,260 --> 00:12:09,740 or C, and that's okay. That wasn't a primary feature for CircuitPython. But that perception may be 215 00:12:09,840 --> 00:12:14,480 why CircuitPython doesn't have a lot of homebrew games for it, and that's where picogame comes in. 216 00:12:15,260 --> 00:12:20,680 picogame was created by Vladimir Smitka, and he's created a great write-up of picogame on Chiptron 217 00:12:21,360 --> 00:12:28,160 EU. picogame is a small 2D game engine built on top of CircuitPython and requires about 200K of 218 00:12:28,240 --> 00:12:34,180 RAM to run, and it can also run on the RP2040 and 2350 family, as well as a number of boards 219 00:12:34,200 --> 00:12:39,400 from expressive. What Smitka, as he goes by in Discord, has created, is a game engine written 220 00:12:39,450 --> 00:12:45,300 in C, compiled into CircuitPython. This handles all the graphics, including collisions and other 221 00:12:45,620 --> 00:12:50,760 computationally heavy tasks. On top of that is a set of Python libraries to help with USB game 222 00:12:50,880 --> 00:12:57,680 pads, keyboards, audio, synthesis, animation, score saving, and more. This lets the programmer focus 223 00:12:57,760 --> 00:13:02,600 on what's important, the game design. And the game programming is done in CircuitPython, 224 00:13:02,760 --> 00:13:05,240 and we all know that Python is one of the more popular languages, 225 00:13:05,880 --> 00:13:10,600 and CircuitPython tries to conform as much as possible with C Python or desktop Python. 226 00:13:11,760 --> 00:13:13,740 Smitka shares his motivation for creating picogame 227 00:13:14,040 --> 00:13:16,520 in that he had a PicoPad that you see on the screen here, 228 00:13:16,900 --> 00:13:20,079 a checkmade handheld gaming device that uses an RP2040. 229 00:13:21,340 --> 00:13:24,380 The PicoPad has a picture of a defender-like game on it, 230 00:13:24,720 --> 00:13:28,680 and Smitka tried to recreate it, but found display I.O. too slow. 231 00:13:29,260 --> 00:13:30,540 And so picogame was born. 232 00:13:31,180 --> 00:13:32,500 With picogame using a core, 233 00:13:32,620 --> 00:13:37,300 written in C, performance goes way up, and the article also shares the impressive performance 234 00:13:38,050 --> 00:13:38,180 stats. 235 00:13:38,420 --> 00:13:42,600 There's an Adafruit game called Bouncing Balls that runs at about 115 frames per 236 00:13:42,800 --> 00:13:43,300 second normally. 237 00:13:43,940 --> 00:13:48,700 With picogames compatibility layer, more than double to 250 frames per second. 238 00:13:49,700 --> 00:13:52,000 We mentioned Dan Cogliano's moon miner game earlier. 239 00:13:52,660 --> 00:13:57,560 Smitka rewrote that in picogame, and not only was it six times faster, the code was 240 00:13:57,740 --> 00:14:00,620 40% smaller thanks to the engine's native functions. 241 00:14:01,700 --> 00:14:04,260 So what can you create and how do you create a game with picogame? 242 00:14:05,460 --> 00:14:07,640 Well, it's got a great documentation website. 243 00:14:08,340 --> 00:14:10,940 And just starting at the top, it's got what is picogame? 244 00:14:11,720 --> 00:14:13,060 You can see it in action here. 245 00:14:13,600 --> 00:14:17,200 It tells you what it gives you, and then right here it shows you what can you build. 246 00:14:18,360 --> 00:14:23,700 So not only does it have the example games in there, you can try them right in your browser. 247 00:14:25,460 --> 00:14:30,859 Yeah, the simulator aspect of picogame is really cool because it lets you kind of work on something 248 00:14:31,240 --> 00:14:36,080 wherever you're at, you don't have to have the particular piece of hardware you're designing for with you at all times. 249 00:14:36,480 --> 00:14:42,560 Right. And what I love about this with the games is not only can you play them right in your browser, you scroll down, 250 00:14:42,980 --> 00:14:46,720 and you can see that this Tetris clone is running in less than 200 lines of CircuitPython. 251 00:14:47,520 --> 00:14:49,500 Oh, we're not seeing that. We're just seeing your browser. 252 00:14:50,240 --> 00:14:55,140 Oh, no. I'm not quite sure how to change that, to be honest. 253 00:14:55,700 --> 00:15:00,840 So let me drop this in the Discord. But if you hit that link, you'll go right to the 254 00:15:00,880 --> 00:15:06,460 playground where you can try the games in the browser and see the code that makes up each game. 255 00:15:07,200 --> 00:15:07,480 Yeah. 256 00:15:08,840 --> 00:15:10,840 So the development has all been in the open. 257 00:15:10,980 --> 00:15:14,660 Smitka has shared progress and asked for feedback in the CircuitPython Development Discord 258 00:15:14,900 --> 00:15:15,140 channel. 259 00:15:15,640 --> 00:15:19,700 There was even a recent discussion about if I understood it right, including picogame 260 00:15:20,320 --> 00:15:22,800 in the CircuitPython core and not as a library. 261 00:15:23,740 --> 00:15:25,240 I think this is an awesome idea. 262 00:15:25,460 --> 00:15:30,320 The batteries included nature of having this built right into CircuitPython would make it a great fit. 263 00:15:30,700 --> 00:15:32,060 pair it with something like the Fruit Jam 264 00:15:32,350 --> 00:15:33,860 and we'll have to get the word out to the maker 265 00:15:33,910 --> 00:15:36,060 and homebrew game communities that there's a new game 266 00:15:36,440 --> 00:15:37,480 platform on the block. 267 00:15:38,340 --> 00:15:39,800 If you want to see picogame in action, 268 00:15:40,180 --> 00:15:42,100 tune into FOMI guys' Game Jam 269 00:15:42,220 --> 00:15:43,960 Scream later today at 6 p.m. Eastern. 270 00:15:44,560 --> 00:15:45,960 He'll be building his game and picogame 271 00:15:46,230 --> 00:15:48,100 and I'm looking forward to see what he comes up with. 272 00:15:49,200 --> 00:15:50,700 I think there's a PR 273 00:15:50,860 --> 00:15:51,660 currently open 274 00:15:52,400 --> 00:15:54,280 in the in the CircuitPython 275 00:15:54,820 --> 00:15:56,580 GitHub repo, which means 276 00:15:56,740 --> 00:15:57,620 there is a 277 00:15:58,300 --> 00:16:00,000 pre-built UF2s, I think. 278 00:16:00,120 --> 00:16:03,320 I think that's what happens with the PR is you get kind of pre-built versions, 279 00:16:03,980 --> 00:16:08,680 which means you can try out picogame in CircuitPython right now without having to do any sort of compiling, 280 00:16:09,520 --> 00:16:10,140 which is very nice. 281 00:16:10,860 --> 00:16:11,400 Oh, that's awesome. 282 00:16:11,420 --> 00:16:15,000 I didn't even realize that you could just install one of the UF2s off the PR. 283 00:16:15,120 --> 00:16:15,480 That's genius. 284 00:16:16,180 --> 00:16:18,360 Yeah, I think that's the way it's all set up. 285 00:16:18,600 --> 00:16:22,700 But yeah, it sounds like Scott's been working with Smitka to help get it into CircuitPython, 286 00:16:23,440 --> 00:16:27,100 because this is like some pretty low-level changes to how the display stuff works. 287 00:16:27,260 --> 00:16:28,920 And so I'm really looking forward to it. 288 00:16:29,060 --> 00:16:29,600 Yeah, I'm excited. 289 00:16:29,880 --> 00:16:30,920 What's your next one for us? 290 00:16:31,840 --> 00:16:35,240 So another neat project outside of the Adafruit community that I saw recently. 291 00:16:35,860 --> 00:16:40,420 It's building a autonomous Lego train with CircuitPython and LIDAR. 292 00:16:41,520 --> 00:16:43,780 This is from Lorraine from Element 14. 293 00:16:44,480 --> 00:16:48,160 She also posts a nice YouTube video describing the design hurdles and how it all comes together. 294 00:16:48,220 --> 00:16:51,280 And you can actually see the final effect in action. 295 00:16:51,860 --> 00:16:54,440 But her project immediately taught me two things that I should have known. 296 00:16:54,600 --> 00:16:57,880 Like, wait, you can get a Bluetooth-controlled Lego train. 297 00:17:00,240 --> 00:17:01,040 Like when did this happen? 298 00:17:01,500 --> 00:17:03,640 I'm going to have to get, yeah, I might have to get one of those. 299 00:17:04,740 --> 00:17:10,240 The other is there are serial controllable 360-degree LIDAR scanner modules. 300 00:17:10,760 --> 00:17:11,880 They're like 70 bucks. 301 00:17:12,439 --> 00:17:15,540 I'll put a couple of links in the show notes for like later. 302 00:17:15,620 --> 00:17:18,880 If you're listening to this on a podcast, clearly I'm not as good at hackers I thought I was, 303 00:17:19,140 --> 00:17:20,339 that I missed that these two things existed. 304 00:17:20,839 --> 00:17:24,439 I thought lighter scanner is like a hugely expensive, like multi-thousand-dollar things. 305 00:17:24,600 --> 00:17:26,640 You can only put on top of your smart car or whatever. 306 00:17:26,920 --> 00:17:31,020 But now you can get them, and they're about the size of a deck of playing cards. 307 00:17:32,100 --> 00:17:33,020 So her project is really funny. 308 00:17:33,030 --> 00:17:38,360 It uses CircuitPython on a Seeed XIAO NRF 52840 to talk BLE to the train, 309 00:17:39,160 --> 00:17:43,400 and then talk serial to the LIDAR scanner, and control Neopixels along the way. 310 00:17:44,260 --> 00:17:46,120 And let's see if there's a, I forget if there's actual picture. 311 00:17:46,320 --> 00:17:48,260 This is kind of the picture of the final result. 312 00:17:48,860 --> 00:17:51,740 And this is a perfect use for CircuitPython because, you know, 313 00:17:52,320 --> 00:17:54,400 CircuitPython, BLE on the NRF chips is really great 314 00:17:54,840 --> 00:17:57,280 and doing cereal and neopixels is so easy. 315 00:17:57,980 --> 00:18:02,020 The only real complexity was the data coming off the LIDAR 316 00:18:02,560 --> 00:18:05,180 is just kind of this raw data that you need some math, 317 00:18:05,920 --> 00:18:08,320 some algorithms to actually parse and something useful. 318 00:18:08,900 --> 00:18:12,520 But fortunately, she found some Python code for the Raspberry Pi 319 00:18:12,610 --> 00:18:17,420 written in normal Python and was able to quickly port this to CircuitPython 320 00:18:17,660 --> 00:18:19,720 because this is one of the great things about CircuitPython 321 00:18:19,750 --> 00:18:21,000 is it's almost like real Python. 322 00:18:21,160 --> 00:18:24,380 And so if you find algorithms, there's a good chance it'll work 323 00:18:24,880 --> 00:18:27,000 or you can get this work for CircuitPython. 324 00:18:27,760 --> 00:18:30,680 And so the result is that she's got this autonomous light-up train 325 00:18:31,120 --> 00:18:35,180 that moves along a track on her wall up near her ceiling 326 00:18:35,420 --> 00:18:36,440 and it knows where it's going. 327 00:18:36,580 --> 00:18:39,240 So it doesn't run into the ends or if there's something on the track, 328 00:18:39,280 --> 00:18:39,860 he knows to stop. 329 00:18:40,600 --> 00:18:41,440 Yeah, it's like, yeah, sure. 330 00:18:41,820 --> 00:18:44,820 You know, she notes that you could have done this 331 00:18:44,920 --> 00:18:48,940 with maybe just a couple of ultrasonic distance sensors, 332 00:18:49,620 --> 00:18:51,860 but that's not nearly as fun as using a LIDAR scanner. 333 00:18:52,420 --> 00:18:52,700 Right. 334 00:18:54,440 --> 00:18:55,500 So this is cool. 335 00:18:55,940 --> 00:18:56,440 Watch the video. 336 00:18:56,800 --> 00:19:00,400 She shows in the video, I don't know how well this will play, 337 00:19:00,880 --> 00:19:02,880 but getting data off the lighter scanner. 338 00:19:04,400 --> 00:19:10,460 It basically gives you a sort of 360 donut around it showing you how far things are. 339 00:19:10,720 --> 00:19:13,100 And this is her hand playing around with the lighter scanner 340 00:19:13,940 --> 00:19:18,260 and just giving the raw data out at certain arcs of the view that it has. 341 00:19:18,840 --> 00:19:19,840 But it's really cool. 342 00:19:20,120 --> 00:19:22,280 I highly recommend checking out this article. 343 00:19:22,780 --> 00:19:23,460 and watching the video. 344 00:19:24,040 --> 00:19:25,220 Yeah, watch the video for sure. 345 00:19:25,420 --> 00:19:30,620 And like you mentioned, I love the fact that she was able to take Python code and port it to CircuitPython. 346 00:19:31,020 --> 00:19:32,100 Like I mentioned earlier, right? 347 00:19:32,600 --> 00:19:35,940 CircuitPython tries to conform as much to see Python as it can. 348 00:19:36,400 --> 00:19:40,300 And that's just one of the benefits is that portability, which is just so cool. 349 00:19:41,940 --> 00:19:43,760 So what's your, I guess, maybe final one? 350 00:19:43,860 --> 00:19:45,280 Is this, are we almost done? 351 00:19:45,660 --> 00:19:47,280 Yeah, time flies when we're 352 00:19:47,280 --> 00:19:47,620 live. 353 00:19:48,240 --> 00:19:48,420 Yeah. 354 00:19:49,920 --> 00:19:56,140 By now, I'm guessing most folks have heard that our favorite CircuitPython code editor, Mu, was sunset back in December of 2024. 355 00:19:56,980 --> 00:19:59,820 We've seen a couple of really strong online editors since then, 356 00:19:59,960 --> 00:20:03,480 and now we have a spiritual successor to Mu called RV Circuit Studio. 357 00:20:04,400 --> 00:20:08,060 Created by Armstrong Subaro, RV Circuit Studio is a full-featured circuit 358 00:20:09,070 --> 00:20:10,460 Python ID, itself written in Python. 359 00:20:11,240 --> 00:20:13,680 It has so many nice touches, I'll probably forget a few. 360 00:20:14,180 --> 00:20:16,340 But the first time you started up, it asks you, 361 00:20:16,780 --> 00:20:20,480 where do you want to back up your code.py file, which is so nice. 362 00:20:21,180 --> 00:20:22,240 Just pick a local directory. 363 00:20:22,280 --> 00:20:27,120 on your PC and it will also save it there when you update your code.py on your micro controller. 364 00:20:27,860 --> 00:20:31,100 And then when you plug it in a board, it will detect whether it's running the latest 365 00:20:31,260 --> 00:20:35,300 version of CircuitPython or not and open the download page to your board to help you 366 00:20:35,540 --> 00:20:38,400 if you're running an older version to make it easy to download. 367 00:20:39,860 --> 00:20:41,980 So here's a, here's RV Circuit Studio in action. 368 00:20:42,140 --> 00:20:46,560 The first thing that you might want to do is hit the settings button and make the text 369 00:20:46,680 --> 00:20:49,400 size a little big, a little bigger than it is. 370 00:20:49,480 --> 00:20:50,600 It's a little small when you start. 371 00:20:50,610 --> 00:20:52,240 And I've got it blown up for the, the, the last. 372 00:20:52,260 --> 00:20:57,340 live stream today. But everything that you need is right along in the menu bar. So you can see 373 00:20:57,440 --> 00:21:03,360 you can open files here. There's a play button for the REPL to start and stop. One thing to note is 374 00:21:03,440 --> 00:21:09,260 that Control C and Control D does not work down here. You actually have to use the button to start 375 00:21:09,300 --> 00:21:16,380 and stop your code. I've got a nice pink feather RP2040 with a very old DPS 310. 376 00:21:16,660 --> 00:21:22,220 Oh, limited edition pink feather. That's right. Very proud of that. And this is a 377 00:21:22,240 --> 00:21:28,280 is a temperature and barometric pressure sensor, and I'm just printing the temperature in Celsius 378 00:21:28,600 --> 00:21:34,100 to the Rupple. So one of the other nice things it does is it makes Tod Bot's serial plotster 379 00:21:34,500 --> 00:21:40,680 obsolete. It has its own serial plotter built in. So you can see it plotting along the temperature. 380 00:21:40,680 --> 00:21:45,920 You can see when I grabbed it and it actually changed the temperature. But here's where my favorite 381 00:21:46,180 --> 00:21:52,020 feature might be. In the left-hand sidebar here are a ton of code snippets organized by type. 382 00:21:52,620 --> 00:21:55,980 I don't know about you, but I learn a lot by cobbling together different bits of code. 383 00:21:56,440 --> 00:21:58,720 And here it puts a ton of examples right at your fingertips. 384 00:21:59,460 --> 00:22:05,840 From debouncing, there's an example for that, to PWM to battery voltage monitoring. 385 00:22:06,180 --> 00:22:07,160 It's all built in. 386 00:22:08,380 --> 00:22:12,560 Like I mentioned, it's a Python app available on Windows, MacOS, and Linux. 387 00:22:13,040 --> 00:22:17,880 But it's not a native app, so you'll need to use the built-in menu bar, like I mentioned earlier up here. 388 00:22:18,940 --> 00:22:22,000 Everything in the UI has a toggle so you can hide or show the project explore. 389 00:22:22,060 --> 00:22:23,820 the snippets and more. 390 00:22:24,360 --> 00:22:25,740 It has a debugger built in 391 00:22:25,840 --> 00:22:27,280 and you can step through functions 392 00:22:27,420 --> 00:22:29,040 like you would find in most modern IDs. 393 00:22:30,040 --> 00:22:32,420 You can also reformat your code using the black linter 394 00:22:32,720 --> 00:22:34,840 and it will also prompt you to install it 395 00:22:34,840 --> 00:22:36,260 the first time when you try to run it. 396 00:22:37,440 --> 00:22:40,100 And lastly, one of my favorite features is the library manager. 397 00:22:41,540 --> 00:22:43,400 What it does is it shows you all the libraries 398 00:22:43,520 --> 00:22:46,060 that you have installed in a list and they're color coded 399 00:22:46,300 --> 00:22:48,340 if the library needs to be updated. 400 00:22:48,580 --> 00:22:50,460 And there's just one button to click update 401 00:22:50,840 --> 00:22:51,980 and it will update all your 402 00:22:52,000 --> 00:22:54,660 libraries for you right in the ID, which is great. 403 00:22:55,140 --> 00:22:58,680 And then it's got another button right next to it called Browse the Bundle, where if 404 00:22:58,680 --> 00:23:02,460 you click that, you can look for any library that you need in the official bundle. 405 00:23:03,180 --> 00:23:06,600 I wasn't able to get the community bundle up and running within it. 406 00:23:06,640 --> 00:23:08,320 I'm sure I'm probably just missing something. 407 00:23:08,820 --> 00:23:11,320 No, I actually opened an issue on this. 408 00:23:12,280 --> 00:23:17,400 And it's an official response that he will not support the community bundle. 409 00:23:17,960 --> 00:23:18,420 Oh, bummer. 410 00:23:18,660 --> 00:23:18,820 Okay. 411 00:23:18,960 --> 00:23:20,020 Yeah, it's a bummer. 412 00:23:21,100 --> 00:23:21,960 But either way, my. 413 00:23:21,980 --> 00:23:22,920 My hat's off to Armstrong. 414 00:23:23,340 --> 00:23:23,480 You know, 415 00:23:23,660 --> 00:23:25,220 thanks for creating RV Circuit Studio. 416 00:23:25,940 --> 00:23:27,640 When someone asked me for an editor recommendation, 417 00:23:27,980 --> 00:23:29,660 this is now my go-to for CircuitPython. 418 00:23:30,360 --> 00:23:31,120 It runs locally, 419 00:23:31,520 --> 00:23:33,880 has install packages for MacOS, Windows, and Linux. 420 00:23:34,420 --> 00:23:36,180 It does all the major things you would expect, 421 00:23:36,440 --> 00:23:38,880 and there are so many nice touches from the code backup 422 00:23:39,380 --> 00:23:40,120 to the snippets, 423 00:23:40,240 --> 00:23:42,900 to the library manager to using black for code formatting. 424 00:23:43,480 --> 00:23:44,260 I could go on. 425 00:23:44,420 --> 00:23:45,520 I'm a big fan. 426 00:23:46,000 --> 00:23:48,380 Yeah, and it's also written in Python itself, 427 00:23:48,680 --> 00:23:49,360 like desktop Python. 428 00:23:49,900 --> 00:23:50,740 So if you want to learn, 429 00:23:51,160 --> 00:23:51,840 like if you're pretty good at, 430 00:23:51,860 --> 00:23:56,880 CircuitPython and want to learn more like quote unquote real Python. You can totally peruse his, 431 00:23:57,500 --> 00:24:01,500 app here and kind of see how things work. But because I think it is written in Python, 432 00:24:02,060 --> 00:24:06,760 some of these other aspects we might expect from an application, like be able to do Control 433 00:24:06,900 --> 00:24:12,940 C in the Ripple or use the native file edit view menu doesn't really exist. So just beware. 434 00:24:13,120 --> 00:24:17,740 It's kind of its own little self-contained world. Yep, it sure is. What's your next one for us? 435 00:24:18,360 --> 00:24:21,700 This is another retro-inspired project from Liz Clark. 436 00:24:21,880 --> 00:24:22,420 Thank you, Liz. 437 00:24:22,520 --> 00:24:25,060 This is the chip tune player. 438 00:24:26,040 --> 00:24:34,140 It's a inside this cool little arcade-looking box is a feather, an I-2-S audio DAC, 439 00:24:34,440 --> 00:24:38,660 and a touchscreen display that has a SD card little holder at the top. 440 00:24:39,460 --> 00:24:43,200 And it lets you load up an SD card with retro chip tunes and play them. 441 00:24:43,420 --> 00:24:46,920 And you think, oh, that's just like a MP3 player or a wave player. 442 00:24:47,040 --> 00:24:49,080 But no, it's so much cooler. 443 00:24:49,980 --> 00:24:54,340 because Liz made a CircuitPython library that uses synthio to emulate the 444 00:24:54,700 --> 00:24:57,040 AI-8912 sound chip. 445 00:24:57,640 --> 00:25:00,360 This is a chip that's been in many coin-out video games from the 1980s. 446 00:25:00,680 --> 00:25:03,700 All those bloops and bloops you might think of old video games are probably sounds 447 00:25:03,840 --> 00:25:05,360 generated from the AI8912. 448 00:25:06,100 --> 00:25:10,880 Unlike today's modern fancy game sound generation hardware, back in the 80s, 449 00:25:10,880 --> 00:25:15,140 you had to use one of these special chips to make noise, and they had very specific limitations. 450 00:25:16,280 --> 00:25:19,460 For the A1-892, you got three whole channels of sound. 451 00:25:19,840 --> 00:25:22,340 and each channel could either play a square wave or white noise, 452 00:25:23,020 --> 00:25:25,120 and you could adjust the pitch and the volume, 453 00:25:25,580 --> 00:25:26,120 but that was it. 454 00:25:26,460 --> 00:25:28,680 If you wanted to do any sort of envelope generation, 455 00:25:29,280 --> 00:25:31,300 there was one envelope generator for the whole chip. 456 00:25:32,360 --> 00:25:33,760 It infected all the voices. 457 00:25:34,500 --> 00:25:35,240 There was no filters. 458 00:25:35,580 --> 00:25:36,540 There was nothing. 459 00:25:37,840 --> 00:25:42,380 But with that, a clever game designer could make a whole video game soundtrack 460 00:25:42,660 --> 00:25:43,700 with game sound effects. 461 00:25:44,470 --> 00:25:47,520 And so some of my favorite arcade games from that time period 462 00:25:47,520 --> 00:25:48,820 that use this chip are Frogger, 463 00:25:49,400 --> 00:25:50,820 Tron and Spy Hunter. 464 00:25:51,510 --> 00:25:52,200 I love Spy Hunter. 465 00:25:53,060 --> 00:25:55,280 So these chips are very beloved, 466 00:25:56,020 --> 00:25:58,240 so much so that there's a whole special file format 467 00:25:58,700 --> 00:26:02,160 called VGM files for video game music 468 00:26:02,840 --> 00:26:05,640 that stores the various chip instructions 469 00:26:06,180 --> 00:26:08,060 on how to make sounds at certain times. 470 00:26:08,480 --> 00:26:12,140 And there's entire fan websites out there that will, 471 00:26:12,590 --> 00:26:14,080 let me see if I can show you it real quick here. 472 00:26:14,660 --> 00:26:17,360 It's called VGA rips. 473 00:26:18,460 --> 00:26:18,880 There we go. 474 00:26:19,420 --> 00:26:23,640 So these are VGM files for various games or other things. 475 00:26:24,100 --> 00:26:30,600 And you can just download these and stick them on the SD card and play them in Liz's thing 476 00:26:31,920 --> 00:26:37,020 because her CircuitPython library parses these VGM files and then runs that through the 477 00:26:37,679 --> 00:26:38,860 AI8912 emulator. 478 00:26:39,720 --> 00:26:44,620 And the library is pretty cool because it's a great demonstration of how Synthio does stuff 479 00:26:45,000 --> 00:26:48,200 and how you had to use it for something actually useful. 480 00:26:48,760 --> 00:26:56,100 because like, A, doing three square waves and some noise with a simple envelope, that's something that Synthio can totally do. 481 00:26:56,660 --> 00:27:01,900 And being able to like have that as a, here's a thing that accomplishes a specific goal is very cool. 482 00:27:02,280 --> 00:27:09,760 I've been for the last like year or so trying to do an SN 76489, I think, a sound effects chip emulator. 483 00:27:10,280 --> 00:27:13,160 This was a chip that you could buy from Radio Shack back in the 70s and 80s. 484 00:27:13,700 --> 00:27:17,720 It's about the same complexity as this chip that Liz emulated. 485 00:27:18,460 --> 00:27:18,840 So thank you, Liz. 486 00:27:18,960 --> 00:27:19,940 I might be still in some of your work. 487 00:27:21,280 --> 00:27:22,220 Got to love open source. 488 00:27:23,180 --> 00:27:23,320 Yeah. 489 00:27:24,220 --> 00:27:28,720 And like you, I was a big spy hunter fan, but I think I loved the Tron video game even more. 490 00:27:29,180 --> 00:27:30,000 Yeah, it was good. 491 00:27:31,700 --> 00:27:31,920 All right. 492 00:27:31,980 --> 00:27:33,580 Well, I think we have time for one more. 493 00:27:33,820 --> 00:27:38,800 And Tod, I'll let you share it as it's one of the most innovative uses of CircuitPython I've seen in the last year. 494 00:27:39,280 --> 00:27:39,440 Yeah. 495 00:27:39,560 --> 00:27:41,560 And I forgot to bring up a screen for this. 496 00:27:41,960 --> 00:27:42,240 Here we go. 497 00:27:42,280 --> 00:27:42,900 I think maybe this. 498 00:27:43,240 --> 00:27:44,480 He has a really nice website for it. 499 00:27:45,060 --> 00:27:46,420 It's called PICOTTY. 500 00:27:47,680 --> 00:27:49,700 There's actually a really good story about this as well. 501 00:27:50,680 --> 00:27:58,020 So CNX Software Embedded System News is a really old embedded software blog, very handy to look at. 502 00:27:58,520 --> 00:28:01,480 But so what is PCOTTY? 503 00:28:02,120 --> 00:28:02,660 Imagine this. 504 00:28:02,820 --> 00:28:06,520 You've got a whole cluster of servers and you need to manage them remotely. 505 00:28:06,740 --> 00:28:07,200 What do you do? 506 00:28:07,880 --> 00:28:12,399 So PICO TTY helps you manage that server cluster with a collection of PICO's 507 00:28:12,960 --> 00:28:16,480 running CircuitPython, and then a Raspberry Pi 2W as a manager. 508 00:28:17,040 --> 00:28:20,560 It's a real niche tool for system administrators to manage groups of machines, 509 00:28:20,980 --> 00:28:24,220 but it shows how useful CircuitPython can be even in these demandian environments. 510 00:28:24,920 --> 00:28:26,680 The problem with servers is that they're headless. 511 00:28:26,820 --> 00:28:28,200 They've got no screens, no keyboards, 512 00:28:28,880 --> 00:28:31,260 but you still need to be able to remotely type on their keyboards 513 00:28:31,500 --> 00:28:33,800 and see their console messages, especially when they boot. 514 00:28:34,540 --> 00:28:38,220 Normally it means you have to buy some expensive remote management KVM hardware, 515 00:28:38,900 --> 00:28:41,080 but security researcher ChironGV, 516 00:28:41,100 --> 00:28:44,720 created a low-cost system for network serial console 517 00:28:44,970 --> 00:28:46,800 for a networked serial with keyboard injection 518 00:28:47,460 --> 00:28:48,660 using Raspberry PiCicos. 519 00:28:49,500 --> 00:28:52,440 They're in CircuitPython using the USB serial 520 00:28:52,740 --> 00:28:55,980 and USB Hid modules that are built in CircuitPython. 521 00:28:56,560 --> 00:28:58,880 The CircuitPython PICOS feed keystrokes to the server 522 00:28:59,330 --> 00:29:00,740 to type commands on their keyboard 523 00:29:00,770 --> 00:29:02,180 because it looks like a keyboard to the server. 524 00:29:02,800 --> 00:29:05,260 And then it receives console messages over USB serial. 525 00:29:05,920 --> 00:29:08,940 This does require that the server is configured 526 00:29:08,950 --> 00:29:11,060 to actually output console messages via server. 527 00:29:12,060 --> 00:29:13,320 which is something that like Linux can do, 528 00:29:13,500 --> 00:29:15,700 but Windows can't do, I think. 529 00:29:16,840 --> 00:29:18,620 And then the reason why there's a PICO is that you've got, 530 00:29:19,280 --> 00:29:21,200 sorry, the reason why there's a Raspberry Pi 2W in there 531 00:29:21,500 --> 00:29:22,120 is it's a hub. 532 00:29:22,200 --> 00:29:25,080 It receives all the messages from the PICOS 533 00:29:25,260 --> 00:29:26,860 and lets you control the various PICOS. 534 00:29:27,400 --> 00:29:28,720 Via a nice web interface, 535 00:29:29,040 --> 00:29:30,720 you can see different server messages 536 00:29:31,180 --> 00:29:32,480 from all the different servers in real time. 537 00:29:32,560 --> 00:29:33,400 You can send keystrokes. 538 00:29:33,820 --> 00:29:36,260 You can even do OTA updates of the PICOS 539 00:29:36,420 --> 00:29:38,640 if you want to update like the version of Circa Python or whatever 540 00:29:39,200 --> 00:29:40,460 without having to touch anything. 541 00:29:40,560 --> 00:29:43,520 As long as you can access the Raspberry Pi 2W, 542 00:29:43,900 --> 00:29:47,280 you can access all the servers and all these little picos controlling the servers. 543 00:29:47,920 --> 00:29:50,540 So this is kind of the architecture diagram of what he's got set up. 544 00:29:50,620 --> 00:29:52,140 Here's the, here's the Raspberry Pi 2, 545 00:29:52,620 --> 00:29:54,140 here's the various picos, 546 00:29:54,230 --> 00:29:56,160 and then these are the various servers down at the bottom here. 547 00:29:56,760 --> 00:29:59,600 And if you wanted to, you can even make a little 3D printed enclosure 548 00:29:59,800 --> 00:30:04,880 that includes four of these modules for these picos and a Raspberry Pi. 549 00:30:06,020 --> 00:30:07,800 It's something that I wish I needed. 550 00:30:07,880 --> 00:30:10,340 I needed this like 20 years ago back when I was a system in. 551 00:30:10,760 --> 00:30:11,460 Don't need it now. 552 00:30:12,540 --> 00:30:16,820 But I've got a home lab with like maybe four servers that I could perhaps benefit from this. 553 00:30:17,030 --> 00:30:18,260 But so cool. 554 00:30:18,520 --> 00:30:22,600 And it's kind of neat to see the ghost of my past job kind of pop up. 555 00:30:23,240 --> 00:30:24,580 What a great use of CircuitPython. 556 00:30:25,160 --> 00:30:29,820 For so often we think of makers or maybe people new to programming or coming to CircuitPython. 557 00:30:30,000 --> 00:30:35,000 But here it is in a commercial production environment being used with real world servers, 558 00:30:35,180 --> 00:30:36,280 which is just so cool to me. 559 00:30:36,860 --> 00:30:37,220 Yeah. 560 00:30:37,660 --> 00:30:38,380 Well, that's our show. 561 00:30:38,800 --> 00:30:39,920 Thanks for hanging out with us. 562 00:30:40,100 --> 00:30:41,460 and to learn more about The Bootloader, 563 00:30:41,620 --> 00:30:42,760 visit thebootloader.net 564 00:30:43,040 --> 00:30:44,880 or find us in your favorite podcast app. 565 00:30:45,600 --> 00:30:47,980 Stay tuned for JPs Workshop at the top of the hour, 566 00:30:48,380 --> 00:30:49,960 and thanks to Adafruit for having us. 567 00:30:50,200 --> 00:30:52,340 And until next time, stay positive.