WEBVTT

00:00:00.000 --> 00:00:01.560
<v Chris Gammell>This is The Amp Hour Podcast.

00:00:02.980 --> 00:00:05.460
<v Chris Gammell>Released March 5th, 2023.

00:00:07.940 --> 00:00:09.460
<v Chris Gammell>Episode 622.

00:00:11.560 --> 00:00:14.260
<v Chris Gammell>Building firmware and hardware for trade shows with Mike Stich.

00:00:30.000 --> 00:00:33.360
<v Chris Gammell>Welcome to the Amp Hour. I'm Chris Gammell of Contextual Electronics.

00:00:33.800 --> 00:00:35.860
<v Chris Gammell>I'm Mike Stich of Jumptuck.com.

00:00:36.220 --> 00:00:37.220
<v Chris Gammell>Hey, Mike. How are you doing?

00:00:37.920 --> 00:00:39.340
<v Dave Jones>I'm doing great, Chris. How are you?

00:00:40.060 --> 00:00:47.240
<v Chris Gammell>I feel a little guilty that I'm making you talk to me on a Sunday when you and I talk pretty much consistently throughout the week, all week.

00:00:47.640 --> 00:00:49.280
<v Dave Jones>You and I are coworkers.

00:00:50.180 --> 00:00:55.660
<v Dave Jones>Yeah, I know. I talk to you all the time, and honestly, it does not get old, so I'm happy to be here.

00:00:56.460 --> 00:00:59.660
<v Dave Jones>I'm a huge fan of the show. Like I've said many times before,

00:00:59.660 --> 00:01:05.920
<v Dave Jones>I have the cleanest bathroom because I always save the amp hour for bathroom cleaning day because it makes unpleasant chores a lot better.

00:01:06.340 --> 00:01:07.780
<v Chris Gammell>When you're in the shitter, listen to the amp hour.

00:01:08.360 --> 00:01:10.000
<v Dave Jones>That's what we always say.

00:01:10.400 --> 00:01:12.780
<v Chris Gammell>I did want to say up front, so Mike and I are coworkers.

00:01:12.940 --> 00:01:14.140
<v Chris Gammell>We're going to be talking about working together.

00:01:14.440 --> 00:01:16.300
<v Chris Gammell>We work together at a company called Goliath.

00:01:16.400 --> 00:01:20.600
<v Chris Gammell>We're not going to be promoting Goliath inherently here, but you probably will hear about it.

00:01:20.640 --> 00:01:22.820
<v Chris Gammell>If that bothers you, of course, welcome to turn off this episode.

00:01:23.760 --> 00:01:28.180
<v Chris Gammell>Mike is doing me a solid because what we will be talking about here is that

00:01:28.180 --> 00:01:33.720
<v Chris Gammell>I've been so busy getting ready for Embedded World, which is next week, that I completely forgot to schedule a guest.

00:01:33.840 --> 00:01:35.520
<v Chris Gammell>Mike said, yeah, I'll record with you.

00:01:37.240 --> 00:01:38.920
<v Dave Jones>I'm super excited for Embedded World.

00:01:39.020 --> 00:01:40.840
<v Dave Jones>It's our second time going there.

00:01:41.240 --> 00:01:44.140
<v Dave Jones>It was on my bucket list as one of the conferences I've never been to,

00:01:44.320 --> 00:01:49.780
<v Dave Jones>and I was totally vindicated at the critical mass of awesome engineers that just wander up

00:01:49.780 --> 00:01:53.460
<v Dave Jones>and are working on the most interesting projects that you've never heard of.

00:01:53.680 --> 00:01:58.600
<v Chris Gammell>I think the only thing I don't like about it is that it reminds me that there's not a good Embedded Show in the U.S. anymore.

00:01:59.040 --> 00:02:00.880
<v Chris Gammell>It's just very frustrating to me.

00:02:01.200 --> 00:02:03.320
<v Chris Gammell>I feel very grateful we get to go.

00:02:04.160 --> 00:02:09.660
<v Chris Gammell>Like you said, talk to all these great engineers, but I'm just like, why can't we swing this in the U.S.?

00:02:09.660 --> 00:02:11.200
<v Chris Gammell>That part doesn't make sense to me.

00:02:11.200 --> 00:02:18.180
<v Dave Jones>Yeah, it also, you know, it's missing some kind of like social component of it, I think.

00:02:18.280 --> 00:02:22.420
<v Dave Jones>Like there are like after hours meetups that we went to and they were also interesting,

00:02:22.620 --> 00:02:25.560
<v Dave Jones>but it seems like you have a lot of booth conversations.

00:02:25.720 --> 00:02:30.280
<v Dave Jones>There's a lot of people there, but there's nothing that kind of brings them together outside of the show,

00:02:30.380 --> 00:02:31.500
<v Dave Jones>even though it's a really cool city.

00:02:31.600 --> 00:02:37.500
<v Dave Jones>You could have like an excellent party, like almost like the Maker Faire, Maker Meetup on setup day.

00:02:37.520 --> 00:02:37.980
<v Dave Jones>Yeah, the BJ's Pizza.

00:02:38.440 --> 00:02:39.500
<v Dave Jones>Yeah, yeah.

00:02:39.500 --> 00:02:40.340
<v Chris Gammell>Oh, that one.

00:02:40.440 --> 00:02:41.460
<v Chris Gammell>Oh, that's not the one.

00:02:41.460 --> 00:02:43.440
<v Dave Jones>No, I was talking about the paella one where everyone goes to that one.

00:02:43.540 --> 00:02:45.840
<v Dave Jones>I think the BJ's Pizza was more like it was smaller, right?

00:02:46.200 --> 00:02:51.520
<v Dave Jones>But like that paella thing, like everyone under the sun was either there or trying to get into there.

00:02:51.600 --> 00:02:53.960
<v Dave Jones>And I'm like, where is that for Embedded World?

00:02:54.220 --> 00:02:57.420
<v Chris Gammell>Yeah, I mean, it is like a lot of, I think any kind of trade show though,

00:02:57.440 --> 00:03:00.660
<v Chris Gammell>it's just like a lot of individual companies, they're all doing their own thing.

00:03:00.720 --> 00:03:04.640
<v Chris Gammell>They're all focused in like, I don't know, whenever I see like promo from like company,

00:03:04.640 --> 00:03:09.260
<v Chris Gammell>like I saw one from a CTO of a company and they're always just talking about like,

00:03:09.260 --> 00:03:10.540
<v Chris Gammell>oh, come see our booth.

00:03:11.140 --> 00:03:13.520
<v Chris Gammell>Like that is, that's not the point of a trade.

00:03:13.600 --> 00:03:16.420
<v Chris Gammell>I mean, like, yes, it is what you're going to a trade show and you are seeing this stuff,

00:03:16.440 --> 00:03:19.300
<v Chris Gammell>but like the booth itself is not really the whole thing.

00:03:19.380 --> 00:03:23.300
<v Chris Gammell>You know, you're there to see the content and like to see the parts.

00:03:23.300 --> 00:03:26.600
<v Chris Gammell>And like, I could care less about how it's being actually displayed.

00:03:26.600 --> 00:03:29.060
<v Chris Gammell>Like, oh, you've got wood grain in your background.

00:03:29.160 --> 00:03:29.620
<v Chris Gammell>Who cares?

00:03:29.780 --> 00:03:31.280
<v Chris Gammell>You know, it's just, I don't know.

00:03:31.500 --> 00:03:33.220
<v Chris Gammell>It's, there's a lot of like focus.

00:03:33.320 --> 00:03:38.180
<v Chris Gammell>I feel like in companies from like the, what the, what the booth looks like, or like, you

00:03:38.180 --> 00:03:40.000
<v Chris Gammell>know, like just internally focused sort of thing.

00:03:40.380 --> 00:03:42.580
<v Dave Jones>I didn't know you had the wood grain envy, Chris.

00:03:42.660 --> 00:03:45.360
<v Dave Jones>I mean, maybe next year, circuit board finish.

00:03:45.360 --> 00:03:50.040
<v Dave Jones>We can try and find some more custom wood grain solder mask or something like that.

00:03:50.040 --> 00:03:50.400
<v Chris Gammell>Yeah.

00:03:50.780 --> 00:03:55.920
<v Chris Gammell>Well, and you and I have been working on, you know, kind of a quasi product sort of,

00:03:56.060 --> 00:03:59.900
<v Chris Gammell>I mean, like, and again, we don't need to talk about details too much, but like, you know,

00:03:59.980 --> 00:04:00.760
<v Chris Gammell>hardware, firmware.

00:04:01.080 --> 00:04:05.800
<v Chris Gammell>I think one of the things that's interesting about it is that we're trying to do, I think

00:04:05.800 --> 00:04:11.800
<v Chris Gammell>we're kind of abusing the notion of dev boards a little bit more than I normally feel comfortable

00:04:11.800 --> 00:04:12.100
<v Chris Gammell>with.

00:04:12.380 --> 00:04:12.640
<v Chris Gammell>I don't know.

00:04:12.680 --> 00:04:13.600
<v Chris Gammell>I don't know how you feel about that.

00:04:14.100 --> 00:04:15.060
<v Dave Jones>What do you mean by that?

00:04:15.100 --> 00:04:15.900
<v Dave Jones>Like expand?

00:04:16.300 --> 00:04:18.100
<v Chris Gammell>Well, like, okay.

00:04:18.100 --> 00:04:22.020
<v Chris Gammell>So I think about dev boards as kind of like this, the starting place, right?

00:04:22.020 --> 00:04:26.320
<v Chris Gammell>So you think about like a lot of the ones that we have on our bench, it's really to evaluate

00:04:26.320 --> 00:04:28.140
<v Chris Gammell>the functionality.

00:04:28.140 --> 00:04:29.840
<v Chris Gammell>It's to break out pins and whatever.

00:04:30.100 --> 00:04:34.340
<v Chris Gammell>But now like we took like feather form factors type things, or we're taking these click headers

00:04:34.340 --> 00:04:37.580
<v Chris Gammell>and it's just like, we're just trying to really shove as much stuff as possible.

00:04:37.580 --> 00:04:43.900
<v Chris Gammell>You know, it's like somewhere between like a, a large dev board, like a large, fully broken

00:04:43.900 --> 00:04:48.360
<v Chris Gammell>a dev board and like a, you know, a module you might just solder down to a board.

00:04:48.420 --> 00:04:52.440
<v Chris Gammell>And we're like, well, the thing in the middle, we'll just use that and abuse it and, and like,

00:04:52.540 --> 00:04:53.600
<v Chris Gammell>and like reuse it a lot.

00:04:53.700 --> 00:04:54.140
<v Chris Gammell>You know what I mean?

00:04:54.240 --> 00:04:54.740
<v Chris Gammell>I don't know.

00:04:54.800 --> 00:04:55.560
<v Chris Gammell>Maybe that doesn't make sense.

00:04:56.120 --> 00:04:57.680
<v Dave Jones>Well, I think we're in a special use case, right?

00:04:57.680 --> 00:05:01.340
<v Dave Jones>Because we're not like taking one of these pieces of hardware to market.

00:05:01.460 --> 00:05:04.760
<v Dave Jones>Like the Goliath part of it is a service.

00:05:04.860 --> 00:05:06.040
<v Dave Jones>It's a cloud service thing.

00:05:06.040 --> 00:05:11.460
<v Dave Jones>And the problem is not just with that company, with all IOT products and services is it's

00:05:11.460 --> 00:05:14.420
<v Dave Jones>like abstract and it's not here and you can't like grab onto it.

00:05:14.920 --> 00:05:21.360
<v Dave Jones>And so like, you really need a way for, for you to show off that gives like a mnemonic

00:05:21.360 --> 00:05:24.580
<v Dave Jones>device in the form of hardware for figuring out what's going on.

00:05:24.600 --> 00:05:29.720
<v Dave Jones>And I think this, this year is interesting because we took, you know, project boxes that

00:05:29.720 --> 00:05:33.920
<v Dave Jones>originally just, you know, had a plastic cover on them and you were cutting out like very

00:05:33.920 --> 00:05:38.760
<v Dave Jones>nice art for them out of vinyl stickers and putting it on there, but it's still just like

00:05:38.760 --> 00:05:42.080
<v Dave Jones>a inert face plate, which is not going to turn any heads.

00:05:42.260 --> 00:05:47.120
<v Dave Jones>And so I like the idea that you came up with, which is let's replace that inert face plate

00:05:47.120 --> 00:05:50.860
<v Dave Jones>with some kind of display that I can actually show you data and functionality.

00:05:51.300 --> 00:05:51.400
<v Chris Gammell>Yeah.

00:05:51.500 --> 00:05:54.840
<v Chris Gammell>And we'll have some stuff about that out sometime soon.

00:05:55.880 --> 00:05:56.280
<v Chris Gammell>Yeah.

00:05:56.320 --> 00:06:01.140
<v Chris Gammell>I mean, it's a PCB face plate, nothing special in, in that specific way, but I, hopefully it

00:06:01.140 --> 00:06:03.220
<v Chris Gammell>does make it a little bit more popping.

00:06:03.220 --> 00:06:07.100
<v Chris Gammell>And, you know, that's, and I, so one of the things that we wanted to talk about, so we've

00:06:07.100 --> 00:06:11.080
<v Chris Gammell>been doing, you and I have been working on E-Ink things a lot and you've struggled.

00:06:11.320 --> 00:06:14.960
<v Chris Gammell>I've heard you struggle with E-Ink a whole bunch.

00:06:15.640 --> 00:06:17.380
<v Chris Gammell>And definitely want to talk about that.

00:06:17.460 --> 00:06:20.620
<v Chris Gammell>I think we talk a little bit about MicroPython.

00:06:20.800 --> 00:06:23.260
<v Chris Gammell>I think that stuff's pretty cool that you've been doing.

00:06:24.880 --> 00:06:25.940
<v Chris Gammell>Unexpected MicroPython.

00:06:26.540 --> 00:06:27.200
<v Chris Gammell>Yeah, exactly.

00:06:27.400 --> 00:06:27.540
<v Chris Gammell>Yeah.

00:06:27.580 --> 00:06:28.280
<v Chris Gammell>I popped out of the woodwork.

00:06:28.780 --> 00:06:30.220
<v Chris Gammell>And then Zephyr, I think is a big one.

00:06:30.260 --> 00:06:32.720
<v Chris Gammell>Or really, our tosses in general, I think that's another good one.

00:06:32.720 --> 00:06:36.780
<v Chris Gammell>But I think before we do that, can you remind, so you've been on the show once before back

00:06:36.780 --> 00:06:37.900
<v Chris Gammell>in Badge Life times.

00:06:38.540 --> 00:06:38.940
<v Chris Gammell>Yeah.

00:06:39.800 --> 00:06:41.060
<v Chris Gammell>Different time as well, maybe?

00:06:42.120 --> 00:06:42.760
<v Chris Gammell>I don't know.

00:06:43.020 --> 00:06:46.040
<v Chris Gammell>That was, it was at DEF CON, I think.

00:06:46.360 --> 00:06:48.160
<v Dave Jones>2019, maybe DEF CON?

00:06:49.000 --> 00:06:49.620
<v Dave Jones>That sounds right.

00:06:49.900 --> 00:06:50.000
<v Dave Jones>Yeah.

00:06:50.000 --> 00:06:51.180
<v Dave Jones>I'm going to say 2019 DEF CON.

00:06:51.180 --> 00:06:51.400
<v Dave Jones>Yeah.

00:06:51.480 --> 00:06:56.460
<v Dave Jones>So we both decided to jump on the Badge Life train because we had hung out with all the

00:06:56.460 --> 00:06:59.440
<v Dave Jones>people in the Badge Life community many years.

00:06:59.520 --> 00:07:00.360
<v Dave Jones>And that was a ton of fun.

00:07:00.520 --> 00:07:04.120
<v Dave Jones>And if you don't know what Badge Life is, you must not be listening to the show because Chris

00:07:04.120 --> 00:07:05.060
<v Dave Jones>talks about it all the time.

00:07:05.240 --> 00:07:06.220
<v Dave Jones>It hasn't been for a while though.

00:07:06.360 --> 00:07:09.220
<v Dave Jones>I mean, yeah, because conferences went sideways.

00:07:09.220 --> 00:07:13.760
<v Dave Jones>So what I look at Badge Life is you have a bunch of people who are in the hardware world

00:07:13.760 --> 00:07:18.580
<v Dave Jones>or like hardware adjacent that want to do cool things and because of business can't.

00:07:18.700 --> 00:07:20.620
<v Dave Jones>They have to do the business things.

00:07:21.080 --> 00:07:24.360
<v Dave Jones>And so they're like, let's take all these cool ideas that I want to pour into my business

00:07:24.360 --> 00:07:26.500
<v Dave Jones>thing and it doesn't make business-y sense.

00:07:27.140 --> 00:07:33.540
<v Dave Jones>And let's make, you know, several dozen custom circuit boards and then give them out or maybe

00:07:33.540 --> 00:07:36.760
<v Dave Jones>sell them for cost or more than cost to my friends.

00:07:36.760 --> 00:07:43.380
<v Dave Jones>And that like became such a viral thing that people were like trying to, it was almost

00:07:43.380 --> 00:07:46.300
<v Dave Jones>like a rap battle of circuit boards.

00:07:47.080 --> 00:07:52.700
<v Dave Jones>And I mean, honestly, all these years later, like these are really good skills and really

00:07:52.700 --> 00:07:54.140
<v Dave Jones>good ideas that have bubbled up.

00:07:54.200 --> 00:07:56.440
<v Dave Jones>And I think the people that latched onto them, it served them well.

00:07:56.560 --> 00:07:57.840
<v Dave Jones>I certainly know it has for you.

00:07:58.180 --> 00:07:59.120
<v Chris Gammell>Oh yeah, I think so.

00:07:59.180 --> 00:08:03.700
<v Chris Gammell>I mean, yeah, that faceplate you're talking about, it's backlit LEDs that I like, you know,

00:08:03.700 --> 00:08:09.700
<v Chris Gammell>looked at Mr. Twinkle Twinkie's badges and, you know, use those as inspiration.

00:08:10.280 --> 00:08:13.840
<v Chris Gammell>And, you know, just like those, the same kind of concepts and trying to like bake stuff in

00:08:13.840 --> 00:08:19.360
<v Chris Gammell>and make it look, you know, maybe in certain cases, making PCBs look educational, but also

00:08:19.360 --> 00:08:28.440
<v Chris Gammell>like making, you know, making stuff just look clean and using the PCB as art is, is not exclusive

00:08:28.440 --> 00:08:31.100
<v Chris Gammell>to badge life, but it's definitely something that's highlighted there.

00:08:31.100 --> 00:08:34.760
<v Chris Gammell>And I think that that has found its way into some of the stuff that I've done in the past,

00:08:34.840 --> 00:08:36.680
<v Chris Gammell>which is, yeah, it's useful.

00:08:36.940 --> 00:08:38.340
<v Chris Gammell>It's, it helps to communicate.

00:08:38.840 --> 00:08:38.940
<v Dave Jones>Yeah.

00:08:38.960 --> 00:08:41.100
<v Dave Jones>I got to say these icons that are on the circuit board.

00:08:41.100 --> 00:08:46.200
<v Dave Jones>So basically what you've done is removed all the copper all the way through the board and

00:08:46.200 --> 00:08:50.820
<v Dave Jones>then put a back under mount LED that fires through the substrate.

00:08:51.360 --> 00:08:57.180
<v Dave Jones>But then like, you've also kept a little bit of copper around the edge of the icon that

00:08:57.180 --> 00:08:58.000
<v Dave Jones>is then plated.

00:08:58.540 --> 00:08:59.980
<v Dave Jones>Is it, are these in Enig?

00:09:00.580 --> 00:09:01.200
<v Dave Jones>Are they?

00:09:01.640 --> 00:09:02.460
<v Dave Jones>This one is Enig.

00:09:02.540 --> 00:09:02.860
<v Dave Jones>That's right.

00:09:03.160 --> 00:09:03.420
<v Chris Gammell>Oh, sorry.

00:09:03.480 --> 00:09:05.500
<v Chris Gammell>No, this one is, no, this one's a hassle.

00:09:06.160 --> 00:09:06.720
<v Chris Gammell>Oh, it is a hassle.

00:09:06.860 --> 00:09:06.860
<v Speaker ?>

00:09:07.600 --> 00:09:11.920
<v Dave Jones>So it's got like that silver, like just a thin silver lining around them.

00:09:11.960 --> 00:09:16.300
<v Dave Jones>And then when they're backlit, they grow, they glow like an icon, like on an LCD screen.

00:09:16.300 --> 00:09:18.320
<v Dave Jones>Like it's an amazingly great effect.

00:09:19.220 --> 00:09:25.040
<v Dave Jones>And, you know, I, and I don't think that probably only one out of 10 people that sees these things

00:09:25.040 --> 00:09:27.000
<v Dave Jones>is, is even going to realize that they're a circuit board.

00:09:27.080 --> 00:09:28.480
<v Dave Jones>I mean, it just looks like a finished product.

00:09:28.800 --> 00:09:29.440
<v Dave Jones>What a great trick.

00:09:29.800 --> 00:09:31.040
<v Chris Gammell>I hope people like them.

00:09:31.140 --> 00:09:31.760
<v Chris Gammell>We'll, we'll see.

00:09:33.260 --> 00:09:35.280
<v Chris Gammell>We'll have photos somewhere at some point, but.

00:09:35.860 --> 00:09:36.100
<v Chris Gammell>Yeah.

00:09:36.140 --> 00:09:37.960
<v Dave Jones>So that's what we're talking about last time.

00:09:38.680 --> 00:09:39.040
<v Chris Gammell>Yeah.

00:09:39.120 --> 00:09:42.380
<v Chris Gammell>Well, and, and at that time you were the editor in chief of Hackaday.

00:09:42.380 --> 00:09:45.360
<v Chris Gammell>And then, um, what's a nice way to say this?

00:09:45.920 --> 00:09:47.500
<v Chris Gammell>Uh, I, I poached you.

00:09:47.680 --> 00:09:48.200
<v Chris Gammell>You poached me.

00:09:48.220 --> 00:09:48.680
<v Chris Gammell>I think that's.

00:09:49.960 --> 00:09:52.640
<v Dave Jones>No, you know, I've been at Hackaday for so long.

00:09:52.640 --> 00:09:54.420
<v Dave Jones>I spent 13 years at Hackaday.

00:09:54.580 --> 00:09:57.440
<v Dave Jones>I was the editor chief for eight of the years.

00:09:57.580 --> 00:09:57.820
<v Dave Jones>Yeah.

00:09:58.060 --> 00:10:03.240
<v Dave Jones>And to tell you the truth, I was looking at it and I was like, I don't know where to

00:10:03.240 --> 00:10:04.780
<v Dave Jones>take this next, you know?

00:10:04.840 --> 00:10:06.580
<v Dave Jones>Like we can keep you in the stuff that we're doing.

00:10:06.880 --> 00:10:07.240
<v Dave Jones>Yeah.

00:10:07.360 --> 00:10:09.400
<v Dave Jones>And, and so I was like, you know what?

00:10:09.560 --> 00:10:11.180
<v Dave Jones>Like I, I needed to do something.

00:10:11.180 --> 00:10:15.600
<v Dave Jones>I needed to do something there or I needed to go do something else and someone else could

00:10:15.600 --> 00:10:16.240
<v Dave Jones>do something there.

00:10:16.300 --> 00:10:18.520
<v Dave Jones>And so I think the timing worked out right.

00:10:19.100 --> 00:10:23.160
<v Dave Jones>Um, you know, we made it through the worst parts of the lockdown and the pandemic.

00:10:23.160 --> 00:10:28.160
<v Dave Jones>And we had great community support with a couple of the, the remote icons, which were

00:10:28.160 --> 00:10:34.000
<v Dave Jones>the virtual, um, conferences had were well attended and great speakers and great production.

00:10:34.000 --> 00:10:41.660
<v Dave Jones>And, uh, I was so happy that last November they, they put on another one, uh, in person

00:10:41.660 --> 00:10:46.040
<v Dave Jones>at the, the, the super con again, which we've talked about here, here a ton, but you know,

00:10:46.060 --> 00:10:49.640
<v Dave Jones>you and I had worked a little bit on the side on some firmware stuff.

00:10:49.640 --> 00:10:51.960
<v Dave Jones>You know, we had, we were talking about badge life.

00:10:52.000 --> 00:10:53.920
<v Dave Jones>We had gotten together and worked on badges together.

00:10:53.980 --> 00:10:55.840
<v Dave Jones>We, we have a friendship that's been going on for a while.

00:10:55.840 --> 00:10:59.640
<v Dave Jones>And you'd been talking about this thing you were doing on the side of this contracting.

00:10:59.640 --> 00:11:03.900
<v Dave Jones>And, and, uh, I started looking at it when, when you said, Hey, I think I might go to this

00:11:03.900 --> 00:11:04.620
<v Dave Jones>company full time.

00:11:04.680 --> 00:11:07.480
<v Dave Jones>My ears perked up and I met all the people on the team.

00:11:07.480 --> 00:11:14.400
<v Dave Jones>And I think on the technology side of it, I sat at Hackaday for a decade, you know, grinding

00:11:14.400 --> 00:11:19.460
<v Dave Jones>my teeth as I watched IOT being done without security and without, you know, a plan for

00:11:19.460 --> 00:11:20.620
<v Dave Jones>future scaling and growth.

00:11:20.620 --> 00:11:23.520
<v Dave Jones>And I saw that these things were done the way that I think they should be done.

00:11:23.620 --> 00:11:25.220
<v Dave Jones>And I think the planets aligned.

00:11:25.340 --> 00:11:29.760
<v Dave Jones>So I was, I was glad to make the leap over to Goliath in January of 2022.

00:11:30.460 --> 00:11:31.040
<v Chris Gammell>Well, I mean, how's it been?

00:11:31.140 --> 00:11:35.220
<v Chris Gammell>So like firmware full-time, uh, mostly full-time, you and I still do content stuff, but like,

00:11:35.600 --> 00:11:36.280
<v Chris Gammell>how's that shift been?

00:11:36.280 --> 00:11:38.820
<v Chris Gammell>That's, I mean, that's definitely one, that's like one of the biggest things I wanted to

00:11:38.820 --> 00:11:39.220
<v Chris Gammell>ask you about.

00:11:39.280 --> 00:11:44.340
<v Chris Gammell>I think, you know, someone who you did firmware for fun, you did firmware for work as well,

00:11:44.340 --> 00:11:44.520
<v Chris Gammell>right?

00:11:44.540 --> 00:11:48.540
<v Chris Gammell>You worked on the badges as part of the badge you made, but you also did bad.

00:11:48.540 --> 00:11:52.300
<v Chris Gammell>You did all the stuff, uh, actually for this year, Supercon badge, but then other Supercon

00:11:52.300 --> 00:11:53.040
<v Chris Gammell>badges as well.

00:11:53.240 --> 00:11:55.180
<v Chris Gammell>So like, what's the shift been?

00:11:55.240 --> 00:11:56.180
<v Chris Gammell>What's, what are the challenges?

00:11:56.300 --> 00:11:58.100
<v Dave Jones>What are the, what are the good parts?

00:11:58.540 --> 00:11:58.680
<v Dave Jones>Yeah.

00:11:58.780 --> 00:11:59.700
<v Dave Jones>I mean, that's a great question.

00:11:59.780 --> 00:12:00.800
<v Dave Jones>Just a quick note.

00:12:00.900 --> 00:12:03.620
<v Dave Jones>I never did all the work on the, on the Supercon badge.

00:12:03.960 --> 00:12:04.120
<v Dave Jones>Oh, sorry.

00:12:04.240 --> 00:12:05.020
<v Dave Jones>I didn't mean to say that.

00:12:05.140 --> 00:12:05.740
<v Dave Jones>I mean, you contributed.

00:12:05.740 --> 00:12:10.480
<v Dave Jones>It was always a huge team of people, but I, it was a huge passion project for me.

00:12:10.840 --> 00:12:16.520
<v Dave Jones>And it is a big distinction of, you know, that was like, not my job description.

00:12:16.520 --> 00:12:17.940
<v Dave Jones>And that was a side thing.

00:12:17.940 --> 00:12:18.200
<v Dave Jones>Right.

00:12:18.200 --> 00:12:22.700
<v Dave Jones>And so like being able to do stuff for fun and you love it versus being able to do stuff

00:12:22.700 --> 00:12:25.040
<v Dave Jones>because it's like part of your job description is different.

00:12:25.040 --> 00:12:29.240
<v Dave Jones>For instance, when you're doing it as like a passion hobby project, if you get to something

00:12:29.240 --> 00:12:31.820
<v Dave Jones>that's really hard that you don't like, you can just be like, ah, whatever.

00:12:31.820 --> 00:12:32.220
<v Dave Jones>Yeah.

00:12:32.220 --> 00:12:32.820
<v Dave Jones>Yeah.

00:12:32.820 --> 00:12:37.900
<v Dave Jones>And so that, I think there's a little bit more like piano hanging over your head sort

00:12:37.900 --> 00:12:39.880
<v Dave Jones>of thing, especially on, on timelines.

00:12:39.880 --> 00:12:41.700
<v Dave Jones>I'm sure we'll talk about that more with the e-paper.

00:12:41.700 --> 00:12:45.400
<v Dave Jones>Cause I would, even though we got the e-paper stuff done with plenty of time for embedded

00:12:45.400 --> 00:12:50.220
<v Dave Jones>world, we hope it was still, it was still bumming me out.

00:12:50.220 --> 00:12:54.860
<v Dave Jones>But, um, and I should mention that I'm not on the firmware team at Goliath.

00:12:54.860 --> 00:12:58.260
<v Dave Jones>I'm on the DevRel team and, but it's a cool company, small.

00:12:58.260 --> 00:13:02.600
<v Dave Jones>We work very closely as team members and the people that are on the firmware team are amazing

00:13:02.600 --> 00:13:03.080
<v Dave Jones>and awesome.

00:13:03.180 --> 00:13:04.280
<v Dave Jones>And I'm learning a ton from them.

00:13:04.380 --> 00:13:08.860
<v Dave Jones>And so I think it really has been one of those things I always wondered, like, Hey, could

00:13:08.860 --> 00:13:12.380
<v Dave Jones>I, um, make a living doing code?

00:13:12.500 --> 00:13:12.600
<v Dave Jones>Yeah.

00:13:12.700 --> 00:13:13.320
<v Dave Jones>Could you hack it?

00:13:13.320 --> 00:13:17.580
<v Dave Jones>And so this gives me the chance to keep doing the stuff that I like and I'm good at, like

00:13:17.580 --> 00:13:21.820
<v Dave Jones>producing content and like just talking to people and being excited and going to conferences

00:13:21.820 --> 00:13:23.940
<v Dave Jones>and, um, spreading the gospel.

00:13:23.940 --> 00:13:25.060
<v Dave Jones>I mean, you've been doing a lot of firmware though.

00:13:25.220 --> 00:13:26.340
<v Dave Jones>You've been doing a lot of firmware.

00:13:26.600 --> 00:13:27.700
<v Dave Jones>I've been doing a ton of firmware.

00:13:27.700 --> 00:13:31.840
<v Dave Jones>And this is really like from the application side of it, which I really, really love.

00:13:31.980 --> 00:13:36.820
<v Dave Jones>And so, um, it's like, Hey, can we figure out all the ways that people could possibly

00:13:36.820 --> 00:13:40.360
<v Dave Jones>use this platform and maybe all the ways that we could possibly break it.

00:13:40.360 --> 00:13:45.900
<v Dave Jones>And so, um, just kind of chasing down quirks and like figuring out like how, what, what

00:13:45.900 --> 00:13:46.440
<v Dave Jones>just happened there?

00:13:46.440 --> 00:13:48.020
<v Dave Jones>Like, how did that, what did it do that?

00:13:48.040 --> 00:13:49.700
<v Dave Jones>And like, how do I attach these things together?

00:13:49.700 --> 00:13:52.500
<v Dave Jones>And oftentimes you're like, Oh, well, there isn't a way for that.

00:13:52.560 --> 00:13:56.160
<v Dave Jones>Maybe we should have a plan on when people need that, how we're going to do that, how

00:13:56.160 --> 00:13:56.980
<v Dave Jones>we're going to implement that.

00:13:57.040 --> 00:14:02.420
<v Dave Jones>And so it kind of is like a land grab on all of the different things that you could do

00:14:02.420 --> 00:14:05.680
<v Dave Jones>with this IOT, you know, device management platform.

00:14:05.680 --> 00:14:08.000
<v Dave Jones>And that's been super stimulating to me as well.

00:14:08.000 --> 00:14:15.960
<v Dave Jones>And I know pointers really, really well now, Chris, you know, I didn't know that before,

00:14:16.080 --> 00:14:21.080
<v Dave Jones>but, uh, but yeah, I mean, it's, it's like, I think, especially cause we're in, we're in

00:14:21.080 --> 00:14:26.500
<v Dave Jones>Zephyr, which is so many different pieces of hardware and we're in ESP IDF, which I had

00:14:26.500 --> 00:14:30.540
<v Dave Jones>done some dabbling in, but now I'm kind of in there and we've gone in and looked at other,

00:14:30.540 --> 00:14:36.480
<v Dave Jones>you know, like the Lotus toolbox platform and, um, you know, the, the Pico SDK for this

00:14:36.480 --> 00:14:37.860
<v Dave Jones>AstenTis project.

00:14:37.860 --> 00:14:40.000
<v Dave Jones>And then that pushed us into, to MicroPython.

00:14:40.120 --> 00:14:45.000
<v Dave Jones>It's just kind of this like mass consumption of all these different ways that people are

00:14:45.000 --> 00:14:48.260
<v Dave Jones>like putting these software platforms and RTOS is together.

00:14:48.260 --> 00:14:52.100
<v Dave Jones>And it's just fascinating to see, you know, it's like, it's like people doing jazz riffs

00:14:52.100 --> 00:14:55.960
<v Dave Jones>and everyone's jazz riff kind of accomplishes the same thing of making great music together,

00:14:55.960 --> 00:14:59.400
<v Dave Jones>but watching how people do it in a different way is like super interesting.

00:14:59.740 --> 00:15:04.920
<v Chris Gammell>I think, uh, you know, kind of the stuff that you and I are doing, the reason that this kind

00:15:04.920 --> 00:15:10.760
<v Chris Gammell>of felt like an okay shift for myself is because it is, it's a lot of different things day to

00:15:10.760 --> 00:15:13.440
<v Chris Gammell>day and that, that helps to keep things fresh.

00:15:13.760 --> 00:15:17.600
<v Chris Gammell>But I think also it does kind of feel like kind of, kind of like consulting, right?

00:15:17.600 --> 00:15:21.640
<v Chris Gammell>It's kind of like, uh, you know, we have a bunch of internal customers sort of thing,

00:15:21.700 --> 00:15:25.940
<v Chris Gammell>maybe some external customers, but it is a lot of like changing, a lot of

00:15:25.940 --> 00:15:28.240
<v Chris Gammell>of context switching pretty often, I feel like.

00:15:28.940 --> 00:15:33.940
<v Chris Gammell>And, um, and, and like you said, it's not necessarily like, like base level building from

00:15:33.940 --> 00:15:35.800
<v Chris Gammell>the ground up technology.

00:15:35.800 --> 00:15:41.200
<v Chris Gammell>So you're not like rewriting network drivers in Zephyr or, yeah.

00:15:42.120 --> 00:15:46.560
<v Chris Gammell>Uh, but it is kind of utilizing stuff that's out there pulling in different libraries,

00:15:46.560 --> 00:15:48.820
<v Chris Gammell>but then even just getting the puzzle pieces to fit together.

00:15:48.820 --> 00:15:57.880
<v Chris Gammell>That is something that I, I found to be really, uh, that I've been excited about for my own

00:15:57.880 --> 00:16:00.140
<v Chris Gammell>career, because I feel like that's always been something that's been missing.

00:16:00.380 --> 00:16:05.720
<v Chris Gammell>So like for this context, you know, I started that, the ABC board a long time ago and I hired

00:16:05.720 --> 00:16:06.380
<v Chris Gammell>a firmware engineer.

00:16:06.820 --> 00:16:08.580
<v Chris Gammell>And because I was like, I don't know what Zephyr is.

00:16:08.620 --> 00:16:11.460
<v Chris Gammell>And I had an NRI 52 chip on there and there was a cell mode and whatever.

00:16:11.460 --> 00:16:15.960
<v Chris Gammell>And I feel like if I was to tackle that today and like to go back, which I, I'm not planning

00:16:15.960 --> 00:16:19.580
<v Chris Gammell>to, I do feel like more capable than I, I would have in the past.

00:16:19.640 --> 00:16:20.020
<v Chris Gammell>You know what I mean?

00:16:20.020 --> 00:16:25.820
<v Chris Gammell>Like, like tackling new firmware projects, especially using Zephyr do feel a little bit better than

00:16:25.820 --> 00:16:26.700
<v Chris Gammell>it would have in the past.

00:16:28.440 --> 00:16:28.840
<v Dave Jones>Yeah.

00:16:29.000 --> 00:16:34.840
<v Dave Jones>And, and especially like seeing how these systems kind of fit together and chunk into one another,

00:16:34.840 --> 00:16:39.560
<v Dave Jones>like the, the manifest files in Zephyr are super fascinating.

00:16:39.560 --> 00:16:45.800
<v Dave Jones>I actually put in a talk proposal for Zephyr developer summit in June about that, just because

00:16:45.800 --> 00:16:46.940
<v Dave Jones>I've been having so much fun with them.

00:16:46.940 --> 00:16:52.800
<v Dave Jones>Like for instance, this latest project we're doing some GPS stuff.

00:16:53.140 --> 00:17:00.220
<v Dave Jones>And so I have GPS modules that are just streaming in NMEA 0183, like the, the sentences that

00:17:00.220 --> 00:17:01.500
<v Dave Jones>come from GPS modules.

00:17:01.700 --> 00:17:03.500
<v Dave Jones>And I'm like, Oh, I need to parse these.

00:17:03.560 --> 00:17:04.440
<v Dave Jones>I need some library.

00:17:04.920 --> 00:17:09.060
<v Dave Jones>And you can just put in the link to the library that you found.

00:17:09.060 --> 00:17:13.680
<v Dave Jones>I'm using one called M I M N E A, my M N E A library.

00:17:14.240 --> 00:17:18.300
<v Dave Jones>You put it in your manifest file and then you put the hash number for it.

00:17:18.600 --> 00:17:24.080
<v Dave Jones>And then West, the, the meta tool for Zephyr will always just like pull that in and you

00:17:24.080 --> 00:17:25.440
<v Dave Jones>can tell what directory you want it in.

00:17:25.480 --> 00:17:28.360
<v Dave Jones>So you could even have it like at the specific path that you want it to.

00:17:28.500 --> 00:17:30.800
<v Dave Jones>And then you could just point CMake to that.

00:17:30.960 --> 00:17:33.980
<v Dave Jones>And then that library is not part of your code.

00:17:33.980 --> 00:17:37.220
<v Dave Jones>So you don't really need to deal with like, Oh, am I changing it?

00:17:37.280 --> 00:17:38.740
<v Dave Jones>Am I, do I have licensing things?

00:17:38.820 --> 00:17:40.360
<v Dave Jones>Am I being a good neighbor like that?

00:17:40.560 --> 00:17:41.460
<v Dave Jones>It's getting pulled in.

00:17:41.520 --> 00:17:45.360
<v Dave Jones>And then also for any updates in the future, they won't break your code because you've

00:17:45.360 --> 00:17:46.500
<v Dave Jones>locked it to that hash.

00:17:46.620 --> 00:17:50.120
<v Dave Jones>But if you need to update, you can just change the hash and commit that.

00:17:50.280 --> 00:17:53.220
<v Dave Jones>So like, it's, it, it's kind of like so simple and brilliant.

00:17:53.380 --> 00:17:55.980
<v Dave Jones>I'm wondering why it took me so long to figure out this existed.

00:17:56.500 --> 00:17:56.540
<v Chris Gammell>Yeah.

00:17:56.560 --> 00:17:58.820
<v Chris Gammell>I feel like people always say like, Oh, I can do sub modules.

00:17:58.980 --> 00:18:02.280
<v Chris Gammell>I can do get sub modules and I know how to do that, but it's like, and you can, but then

00:18:02.280 --> 00:18:06.580
<v Chris Gammell>you have to kind of keep a scrap of paper or a file somewhere that says, well, I last

00:18:06.580 --> 00:18:12.220
<v Chris Gammell>pulled this at, you know, X date and you know, like maybe you have the commit written down

00:18:12.220 --> 00:18:16.360
<v Chris Gammell>somewhere or something, but it's, it's less of like a more, it's less explicit in terms

00:18:16.360 --> 00:18:19.780
<v Chris Gammell>of like, I want this specific date or commit of code.

00:18:19.840 --> 00:18:20.980
<v Chris Gammell>And that's really important.

00:18:21.060 --> 00:18:21.500
<v Chris Gammell>I feel like.

00:18:21.880 --> 00:18:22.060
<v Dave Jones>Yeah.

00:18:22.080 --> 00:18:22.480
<v Dave Jones>They're a pain.

00:18:22.560 --> 00:18:24.000
<v Dave Jones>I think some modules are a pain in the butt.

00:18:24.000 --> 00:18:29.040
<v Dave Jones>I mean, there's a, there's a dot get module file in your Git repository that shows you

00:18:29.040 --> 00:18:34.540
<v Dave Jones>what the sub directory is, but then I, I don't think the hash is in there.

00:18:34.600 --> 00:18:38.880
<v Dave Jones>I think you actually have to go into like the dot get folder and then maybe there's a

00:18:38.880 --> 00:18:39.660
<v Dave Jones>config file.

00:18:39.740 --> 00:18:43.160
<v Dave Jones>Like there's a, there's a whole tree that you have to go into to find what the hash of

00:18:43.160 --> 00:18:43.900
<v Dave Jones>that module is.

00:18:44.000 --> 00:18:47.080
<v Dave Jones>And yes, it's, I'm sure that actually, I'm sure there's a Git command and I just don't

00:18:47.080 --> 00:18:47.560
<v Dave Jones>know what it is.

00:18:47.600 --> 00:18:50.060
<v Dave Jones>There's so I'm sure people are yelling at their podcast devices.

00:18:50.260 --> 00:18:50.740
<v Dave Jones>I'm sure they are too.

00:18:50.840 --> 00:18:50.980
<v Dave Jones>Yeah.

00:18:51.120 --> 00:18:51.320
<v Dave Jones>Yeah.

00:18:51.920 --> 00:18:53.600
<v Dave Jones>But also like I.

00:18:53.700 --> 00:18:55.640
<v Chris Gammell>But you and I are like indoctrinated at this point.

00:18:55.700 --> 00:18:58.200
<v Chris Gammell>Like we should also say that like we're doing Zephyr all the time.

00:18:58.200 --> 00:18:59.900
<v Chris Gammell>So like, we're kind of just in it.

00:18:59.900 --> 00:19:00.000
<v Dave Jones>Right.

00:19:00.020 --> 00:19:06.080
<v Dave Jones>But like I then, I then put it in as a Git sub module into this project before I thought

00:19:06.080 --> 00:19:09.040
<v Dave Jones>to myself, oh yeah, West has a manifest file.

00:19:09.360 --> 00:19:14.140
<v Dave Jones>And then like getting a, getting a sub module out of your repo is a super pain in the butt.

00:19:14.420 --> 00:19:17.700
<v Dave Jones>And like, even there are some commands that are more modern, they're supposed to get it

00:19:17.700 --> 00:19:18.000
<v Dave Jones>out of there.

00:19:18.020 --> 00:19:21.440
<v Dave Jones>And I still ended up having to go in and, and edit it manually.

00:19:21.440 --> 00:19:29.920
<v Dave Jones>And it's just a bunch easier with that West manifest because you base, I don't know, it

00:19:29.920 --> 00:19:30.780
<v Dave Jones>is easier and it's not.

00:19:30.880 --> 00:19:35.480
<v Dave Jones>So for instance, you're not supposed to just clone the repositories for Zephyr projects.

00:19:35.640 --> 00:19:41.700
<v Dave Jones>You're supposed to use the West meta tool in order to initialize those, which then clones

00:19:41.700 --> 00:19:42.320
<v Dave Jones>them for you.

00:19:42.400 --> 00:19:46.520
<v Dave Jones>And then that'll pull in the repository, which has the manifest file.

00:19:46.600 --> 00:19:47.900
<v Dave Jones>You're, then you run West update.

00:19:47.900 --> 00:19:51.920
<v Dave Jones>It runs that manifest file, it gets all of the other repositories that you need at the

00:19:51.920 --> 00:19:53.900
<v Dave Jones>hashes that you said, and you're all set up.

00:19:53.980 --> 00:19:55.800
<v Dave Jones>So it's kind of like two different ways to approach it.

00:19:55.920 --> 00:19:59.920
<v Dave Jones>And I always seem to do it wrong halfway and then have to go back and start over.

00:20:00.660 --> 00:20:00.980
<v Dave Jones>Yeah.

00:20:01.180 --> 00:20:01.380
<v Chris Gammell>Yeah.

00:20:02.080 --> 00:20:06.720
<v Chris Gammell>I mean, so maybe we could roll back a little bit on like, so first off, what is Zephyr

00:20:06.720 --> 00:20:08.320
<v Chris Gammell>and why might people encounter it?

00:20:08.640 --> 00:20:09.100
<v Chris Gammell>Oh yeah.

00:20:09.140 --> 00:20:12.060
<v Chris Gammell>I'm not sure if we've, we had, I don't, I don't know why I'm asking you.

00:20:12.200 --> 00:20:15.600
<v Chris Gammell>I'm not sure if we've had people on the show talking about it specifically.

00:20:15.600 --> 00:20:19.060
<v Chris Gammell>I mean, definitely I've kind of alluded to it, but I'm not sure.

00:20:19.860 --> 00:20:23.420
<v Chris Gammell>Usually it was more like in a swearing out of my breath kind of way, you know?

00:20:23.500 --> 00:20:28.600
<v Dave Jones>So you know who I've really, really appreciated in the Zephyr project is a guy named Marty

00:20:28.600 --> 00:20:29.220
<v Dave Jones>Bolivar.

00:20:30.200 --> 00:20:30.960
<v Dave Jones>He is.

00:20:31.360 --> 00:20:31.720
<v Chris Gammell>Yeah.

00:20:32.180 --> 00:20:32.400
<v Chris Gammell>Yeah.

00:20:32.480 --> 00:20:32.700
<v Chris Gammell>Yes.

00:20:32.780 --> 00:20:32.980
<v Chris Gammell>Yes.

00:20:32.980 --> 00:20:33.520
<v Chris Gammell>Marty's amazing.

00:20:33.660 --> 00:20:33.840
<v Chris Gammell>Yes.

00:20:33.980 --> 00:20:34.220
<v Dave Jones>Yeah.

00:20:34.420 --> 00:20:37.880
<v Dave Jones>So he is one of the people driving the project.

00:20:38.060 --> 00:20:42.420
<v Dave Jones>He is employed by Nordic and they've grabbed onto Zephyr with both hands.

00:20:42.480 --> 00:20:43.820
<v Dave Jones>It is their, their platform.

00:20:43.820 --> 00:20:51.380
<v Dave Jones>So they've got a ton of people working on it, but Marty has been working on the, I don't

00:20:51.380 --> 00:20:51.660
<v Dave Jones>even know.

00:20:51.720 --> 00:20:55.120
<v Dave Jones>It's like the pre-processor that has all of the macros in it.

00:20:55.140 --> 00:21:00.280
<v Dave Jones>And you and I went to that talk at ZDS last year called Macrobatics that explained like

00:21:00.280 --> 00:21:05.700
<v Dave Jones>how all of this, like device tree stuff is getting, you know, compiled in, built into the

00:21:05.700 --> 00:21:10.120
<v Dave Jones>project and like where to go when things don't go right, which happens to me a lot.

00:21:10.120 --> 00:21:14.140
<v Dave Jones>And the way that he explains it and walks through it is really great.

00:21:14.260 --> 00:21:21.060
<v Dave Jones>There was also a talk from the 2021 ZDS that I saw on YouTube that I watched that like was

00:21:21.060 --> 00:21:27.260
<v Dave Jones>an aha moment in how your C code pulls in the parts of the device tree.

00:21:27.340 --> 00:21:31.900
<v Dave Jones>So device tree is like a whole nother language that describes the hardware, like each module,

00:21:32.020 --> 00:21:33.060
<v Dave Jones>what the address is.

00:21:33.060 --> 00:21:37.980
<v Dave Jones>So for instance, you would say, I have a UART, the UART is at this address in the memory

00:21:37.980 --> 00:21:40.460
<v Dave Jones>map of this specific chip.

00:21:40.800 --> 00:21:46.920
<v Dave Jones>And those things are all built into like the, the tree for Zephyr because manufacturers make

00:21:46.920 --> 00:21:48.240
<v Dave Jones>sure that their products are in there.

00:21:48.340 --> 00:21:53.060
<v Dave Jones>And then when you add something to the UART, you say, all right, I have a device on the UART.

00:21:53.160 --> 00:21:54.320
<v Dave Jones>That's not a good example.

00:21:54.400 --> 00:21:59.700
<v Dave Jones>It's let's say I squared C, I have a device on I squared C two that is at this device address

00:21:59.700 --> 00:22:02.020
<v Dave Jones>and it needs this specific driver.

00:22:02.300 --> 00:22:04.620
<v Dave Jones>And then that file just lives in there.

00:22:04.760 --> 00:22:07.940
<v Dave Jones>And when you get a different board, let's say you have a chip shortage and you're like,

00:22:08.000 --> 00:22:11.260
<v Dave Jones>okay, now I have a different, you know, humidity sensor.

00:22:11.620 --> 00:22:15.540
<v Dave Jones>You can just give it a different overlay file and everything in your C code will be the same

00:22:15.540 --> 00:22:20.900
<v Dave Jones>because it kind of has like an alias or it has like a way to find, to walk through instances

00:22:20.900 --> 00:22:22.680
<v Dave Jones>of this one type of sensor.

00:22:22.680 --> 00:22:27.080
<v Dave Jones>And it kind of makes it so that your C code never has to deal with changes in hardware or

00:22:27.080 --> 00:22:28.460
<v Dave Jones>minimally has to deal with it.

00:22:28.460 --> 00:22:33.000
<v Chris Gammell>To step back even further, I feel like Zephyr is a real-time operating system, right?

00:22:33.060 --> 00:22:39.180
<v Chris Gammell>So that means it has a scheduler that so we've had, oh shoot, free RTOS.

00:22:40.440 --> 00:22:42.100
<v Chris Gammell>I'm now blanking on his name.

00:22:42.200 --> 00:22:44.420
<v Chris Gammell>Brian Amos was on the show and I'll link that in.

00:22:44.600 --> 00:22:48.000
<v Chris Gammell>Brian's book is how I learned about RTOSs.

00:22:48.080 --> 00:22:50.260
<v Chris Gammell>It's about free RTOS, but it kind of applies to everything.

00:22:50.480 --> 00:22:51.440
<v Chris Gammell>And it's a great book.

00:22:51.500 --> 00:22:52.380
<v Chris Gammell>I highly recommend it.

00:22:52.380 --> 00:22:56.940
<v Chris Gammell>And basically, Zephyr is that, right?

00:22:57.020 --> 00:22:59.700
<v Chris Gammell>There is a scheduler.

00:22:59.920 --> 00:23:02.020
<v Chris Gammell>There's threads.

00:23:02.360 --> 00:23:07.220
<v Chris Gammell>There's queues and all of the semaphores and mutexes and all the things you read about

00:23:07.220 --> 00:23:08.380
<v Chris Gammell>every time you read about it in RTOS.

00:23:09.000 --> 00:23:13.480
<v Chris Gammell>But that's not really why most people are talking about Zephyr, I feel like.

00:23:13.780 --> 00:23:16.660
<v Chris Gammell>Most people talk about Zephyr because of the ecosystem aspect.

00:23:16.660 --> 00:23:22.520
<v Chris Gammell>And that's kind of what Mike has been alluding to as well, where all of these vendors kind

00:23:22.520 --> 00:23:27.260
<v Chris Gammell>of chuck into the centralized, here's how Zephyr is.

00:23:27.760 --> 00:23:32.240
<v Chris Gammell>And then each, you know, so they all develop like network drivers and Bluetooth drivers and

00:23:32.240 --> 00:23:33.800
<v Chris Gammell>all these different things that are centralized.

00:23:34.140 --> 00:23:41.160
<v Chris Gammell>And then a company like Nordic or NXP or Infineon, they all then make compatibility layers

00:23:41.160 --> 00:23:47.180
<v Chris Gammell>for their own chipsets so that you can retarget that same centralized real-time operating system

00:23:47.180 --> 00:23:50.760
<v Chris Gammell>towards all these different chipsets, but it all works the same way internally.

00:23:51.360 --> 00:23:53.820
<v Chris Gammell>Maybe you could compare that against FreeRTOS, Mike.

00:23:54.500 --> 00:24:00.840
<v Dave Jones>Yeah, I think one of the biggest things in my mind to compare it to is that Zephyr is maintained

00:24:00.840 --> 00:24:02.280
<v Dave Jones>by the Linux Foundation.

00:24:02.280 --> 00:24:10.960
<v Dave Jones>And so this model of having manufacturers come in and write the abstraction layers for

00:24:10.960 --> 00:24:15.200
<v Dave Jones>their own products works, I think, because those manufacturers look and say, oh, Linux

00:24:15.200 --> 00:24:18.220
<v Dave Jones>Foundation, this is probably going to be around for a while and it's probably not going to

00:24:18.220 --> 00:24:19.940
<v Dave Jones>take a big left turn.

00:24:20.640 --> 00:24:25.540
<v Dave Jones>And on the flip side of the coin, like FreeRTOS has been around for a while and it is open,

00:24:25.700 --> 00:24:28.520
<v Dave Jones>but I believe it was purchased by Amazon.

00:24:28.720 --> 00:24:29.400
<v Dave Jones>Do I have that right?

00:24:30.160 --> 00:24:30.900
<v Dave Jones>That is right.

00:24:30.900 --> 00:24:35.740
<v Chris Gammell>Yeah, but there's also like, there's not a ton, there's no sense, well, up until recently,

00:24:35.820 --> 00:24:38.500
<v Chris Gammell>there hasn't been that, it's not an ecosystem, right?

00:24:38.500 --> 00:24:44.340
<v Chris Gammell>It's a scheduler and a set of APIs that are standardized, but it's not like you won't go

00:24:44.340 --> 00:24:50.720
<v Chris Gammell>and download, like you will go to STMicro to get their implementation of FreeRTOS.

00:24:50.860 --> 00:24:54.140
<v Chris Gammell>You'll go to Nordic to get, well, they don't have the FreeRTOS anymore, I don't believe,

00:24:54.240 --> 00:24:59.960
<v Chris Gammell>or they used to, but you will go to NXP and get their implementation of FreeRTOS.

00:24:59.960 --> 00:25:04.440
<v Chris Gammell>You'll go to Espressif and you'll get ESP IDF, which is built on top of FreeRTOS.

00:25:04.440 --> 00:25:11.860
<v Chris Gammell>So like, that's one of the big differences in my mind is like how the hardware companies treat it and how it's not the same necessarily.

00:25:12.080 --> 00:25:15.720
<v Chris Gammell>Like the tenants are the same and often the calls are the same, the APIs are the same,

00:25:15.980 --> 00:25:20.960
<v Chris Gammell>but the actual, like the way that it's not centrally, there's no centralization there.

00:25:20.960 --> 00:25:25.740
<v Chris Gammell>And so you don't get the network effects, if you'll excuse the term, you don't get the network effects of,

00:25:26.160 --> 00:25:33.640
<v Chris Gammell>you know, if Bob Smith contributes a new driver to, you know, to talk to this distance sensor,

00:25:34.120 --> 00:25:39.520
<v Chris Gammell>to the FreeRTOS for STM Micro, it's not necessarily available for NXP, right?

00:25:39.520 --> 00:25:40.700
<v Chris Gammell>There's no centralization there.

00:25:40.700 --> 00:25:47.500
<v Chris Gammell>Whereas if Bob Smith sent it into Zephyr, then every single device that's out there,

00:25:47.740 --> 00:25:52.940
<v Chris Gammell>as long as they have the interaction or sorry, the interface layer to like an I2C bus on their own chipset,

00:25:53.000 --> 00:25:54.460
<v Chris Gammell>then they could use that driver.

00:25:54.880 --> 00:25:56.420
<v Chris Gammell>And that feels like a big difference to me.

00:25:56.780 --> 00:25:56.900
<v Dave Jones>Yeah.

00:25:56.900 --> 00:26:03.200
<v Dave Jones>And so there's just a lot more available in the main Zephyr repository.

00:26:03.560 --> 00:26:07.660
<v Dave Jones>And so for instance, they have a really well specced out API for sensors.

00:26:08.320 --> 00:26:14.520
<v Dave Jones>And so like every sensor that's in the tree uses this sensor API and it's really pretty simple.

00:26:15.360 --> 00:26:15.960
<v Dave Jones>They've got...

00:26:15.960 --> 00:26:16.820
<v Dave Jones>No.

00:26:17.680 --> 00:26:18.060
<v Dave Jones>No?

00:26:18.500 --> 00:26:19.220
<v Chris Gammell>Not at first.

00:26:19.320 --> 00:26:19.880
<v Chris Gammell>I mean, yes, it is.

00:26:20.120 --> 00:26:20.520
<v Chris Gammell>But this is what I mean.

00:26:20.560 --> 00:26:23.540
<v Chris Gammell>I feel like that's the other thing we have to say here is that it sucks at first.

00:26:23.540 --> 00:26:24.440
<v Chris Gammell>Nothing in Zephyr is simple the first time.

00:26:24.520 --> 00:26:24.620
<v Chris Gammell>Yeah.

00:26:24.760 --> 00:26:26.560
<v Chris Gammell>It's so confusing at first.

00:26:26.560 --> 00:26:28.440
<v Chris Gammell>Like really, like all the people...

00:26:28.440 --> 00:26:30.460
<v Chris Gammell>So like Mike said, like all of the Nordic...

00:26:30.460 --> 00:26:32.900
<v Chris Gammell>Nordic is 100% bought in currently.

00:26:33.420 --> 00:26:34.200
<v Chris Gammell>And that's amazing.

00:26:34.320 --> 00:26:35.520
<v Chris Gammell>That's bringing a lot of people to Zephyr.

00:26:35.920 --> 00:26:39.280
<v Chris Gammell>But like everyone I talked to who's like, yeah, I want to use Nordic parts, but like,

00:26:39.320 --> 00:26:40.180
<v Chris Gammell>oh, I got to use Zephyr.

00:26:40.320 --> 00:26:41.740
<v Chris Gammell>It sucks at first.

00:26:42.140 --> 00:26:44.120
<v Chris Gammell>And like that was my experience as well.

00:26:44.200 --> 00:26:45.620
<v Chris Gammell>I mean, honestly, I just had no idea what to do.

00:26:46.020 --> 00:26:52.180
<v Dave Jones>I think the thing that frustrated me the most is that I couldn't find solutions to my early

00:26:52.180 --> 00:26:52.680
<v Dave Jones>problems.

00:26:52.680 --> 00:26:58.920
<v Dave Jones>And I think when you first pick something up and you've done, you know, a fair bit of

00:26:58.920 --> 00:27:02.600
<v Dave Jones>work in Embedded before and you're used to build systems, that sort of thing, you figure,

00:27:03.060 --> 00:27:05.600
<v Dave Jones>well, I know the things that should be there.

00:27:05.800 --> 00:27:07.940
<v Dave Jones>I just am not getting it to work right.

00:27:07.980 --> 00:27:09.180
<v Dave Jones>I should be able to search for them.

00:27:09.680 --> 00:27:11.380
<v Dave Jones>And I would just get zero results.

00:27:11.900 --> 00:27:12.260
<v Dave Jones>Right.

00:27:12.260 --> 00:27:13.360
<v Dave Jones>And that was super frustrating.

00:27:14.160 --> 00:27:15.340
<v Chris Gammell>Like a button interrupts.

00:27:15.340 --> 00:27:17.580
<v Chris Gammell>Like you have to know, like, again, you have to look for it.

00:27:17.580 --> 00:27:21.960
<v Chris Gammell>Like if you search on Google for it, Google is just hopeless for helping you find solutions.

00:27:22.240 --> 00:27:26.640
<v Chris Gammell>But if you know that you should go to the samples repo and find the button thing, it's

00:27:26.640 --> 00:27:27.440
<v Chris Gammell>like, oh, okay.

00:27:27.440 --> 00:27:29.000
<v Chris Gammell>But who the hell was supposed to tell me that?

00:27:30.900 --> 00:27:31.260
<v Dave Jones>Yeah.

00:27:31.260 --> 00:27:37.080
<v Dave Jones>And I mean, even to the point where I like, I had reported some, some issues and the, I

00:27:37.080 --> 00:27:38.120
<v Dave Jones>guess I wasn't reporting on GitHub.

00:27:38.220 --> 00:27:43.360
<v Dave Jones>I'd gone, there's a, there's a discord for Zephyr and I was going in to ask questions.

00:27:43.360 --> 00:27:48.380
<v Dave Jones>And I think like pin control was a new thing that came out and like completely changed how

00:27:48.380 --> 00:27:50.460
<v Dave Jones>some parts of the device tree were working.

00:27:50.460 --> 00:27:55.220
<v Dave Jones>So I'd like spent five months getting really used to device tree and like figuring it out.

00:27:55.220 --> 00:27:59.920
<v Dave Jones>And then it changed and I'm like, oh, then, so I'm trying to learn it and I can't find

00:27:59.920 --> 00:28:01.280
<v Dave Jones>any documentation for it.

00:28:01.280 --> 00:28:04.800
<v Dave Jones>And I go into the channel and I'm like, Hey, if I can get, you know, I can contribute some

00:28:04.800 --> 00:28:07.460
<v Dave Jones>documentation, but I just, I can't find anywhere to do this.

00:28:07.480 --> 00:28:10.300
<v Dave Jones>And someone's like, well, did you go and look at the bindings index?

00:28:10.300 --> 00:28:13.200
<v Dave Jones>And I'm like, no, I didn't go look at the bindings index.

00:28:13.200 --> 00:28:18.400
<v Dave Jones>And it's like, I've been to the bindings index for a hundred times for other stuff.

00:28:18.400 --> 00:28:22.000
<v Dave Jones>And there was very little information there that was useful other than knowing whether

00:28:22.000 --> 00:28:23.640
<v Dave Jones>something's in Zephyr or not.

00:28:23.640 --> 00:28:27.880
<v Dave Jones>But lo and behold, if you go and look for a pin control on the bindings index for Zephyr,

00:28:27.880 --> 00:28:32.260
<v Dave Jones>there's, you know, 1500 words on how Nordic does their pin control.

00:28:32.260 --> 00:28:34.780
<v Dave Jones>And it's like every question that I had.

00:28:34.780 --> 00:28:38.360
<v Dave Jones>And so I think that kind of like discoverability is a big problem.

00:28:38.360 --> 00:28:41.160
<v Dave Jones>Like you said, you have to know there's a samples folder.

00:28:41.160 --> 00:28:45.860
<v Dave Jones>And I also think the tests folder is really good because every subsystem in Zephyr has

00:28:45.860 --> 00:28:50.400
<v Dave Jones>a test and you can see how every possible function can be used for each subsystem, which

00:28:50.400 --> 00:28:52.700
<v Dave Jones>is wholly invaluable.

00:28:52.700 --> 00:28:58.700
<v Dave Jones>But like, you gotta, you know, you gotta walk 10,000 steps in Zephyr's shoes before you

00:28:58.700 --> 00:29:01.120
<v Dave Jones>kind of develop that intuitive sense.

00:29:01.480 --> 00:29:06.200
<v Dave Jones>But once you do, you can kind of expect how each part of Zephyr is going to work from your

00:29:06.200 --> 00:29:07.120
<v Dave Jones>previous experiences.

00:29:07.340 --> 00:29:10.960
<v Dave Jones>And so it's just that, I call it a vertical learning curve.

00:29:11.080 --> 00:29:12.360
<v Dave Jones>Like it's like running into a wall.

00:29:12.440 --> 00:29:15.500
<v Dave Jones>But once you get over that first wall, things are pretty good.

00:29:15.860 --> 00:29:15.980
<v Dave Jones>Yeah.

00:29:15.980 --> 00:29:20.100
<v Chris Gammell>Well, and you and I are both very excited that Zephyr just hired a DevRel person like

00:29:20.100 --> 00:29:21.120
<v Chris Gammell>you and I are DevRel people.

00:29:21.620 --> 00:29:24.020
<v Chris Gammell>And so Benjamin is their new DevRel person.

00:29:24.160 --> 00:29:27.660
<v Chris Gammell>So we think a lot of the things that are going to, for beginners specific, they're going

00:29:27.660 --> 00:29:28.220
<v Chris Gammell>to get better too.

00:29:28.340 --> 00:29:29.640
<v Chris Gammell>So we're very excited Benjamin's there.

00:29:30.100 --> 00:29:30.200
<v Dave Jones>Yeah.

00:29:30.200 --> 00:29:34.540
<v Dave Jones>I got to go on a tangent here because you mentioned before, like nobody wants to work on, you

00:29:34.540 --> 00:29:37.120
<v Dave Jones>know, network stacks for our tosses and stuff like that.

00:29:37.760 --> 00:29:43.160
<v Dave Jones>But one thing Benjamin is excited about is Seed Studio has this thing called the WIO terminal,

00:29:43.740 --> 00:29:48.740
<v Dave Jones>which is like a 4.3 inch color LCD screen and some buttons.

00:29:49.500 --> 00:29:50.220
<v Dave Jones>And it's cheap.

00:29:50.640 --> 00:29:51.300
<v Dave Jones>So cheap.

00:29:51.740 --> 00:29:54.020
<v Dave Jones>40 bucks or some 35 bucks or something like that.

00:29:54.420 --> 00:29:56.820
<v Dave Jones>And I can't remember the microcontroller that's on that.

00:29:56.880 --> 00:29:58.460
<v Dave Jones>It's a SAM 51, maybe.

00:29:59.240 --> 00:30:00.120
<v Dave Jones>SAM D51.

00:30:00.280 --> 00:30:00.360
<v Dave Jones>Yep.

00:30:00.580 --> 00:30:01.080
<v Dave Jones>SAM D51.

00:30:01.080 --> 00:30:04.520
<v Dave Jones>And then, but it's got a real tech wifi on it.

00:30:04.660 --> 00:30:05.860
<v Dave Jones>And you're like, we need connectivity.

00:30:06.300 --> 00:30:10.640
<v Dave Jones>I should also say it's in like a consumer electronics type of enclosure.

00:30:10.640 --> 00:30:13.940
<v Dave Jones>Like it's really slick, you know, Apple-y white and shiny and stuff.

00:30:14.480 --> 00:30:18.700
<v Dave Jones>But I'm like, oh man, if I had nothing else on my plate, I'd really like to figure out

00:30:18.700 --> 00:30:21.220
<v Dave Jones>how to hack a real tech wifi driver into Zephyr.

00:30:21.340 --> 00:30:24.220
<v Dave Jones>But imagine, imagine the work that's sitting there.

00:30:24.300 --> 00:30:29.900
<v Dave Jones>So if you're up for a challenge, anyone listening, try and get the real tech drivers to work in

00:30:29.900 --> 00:30:30.160
<v Dave Jones>Zephyr.

00:30:30.360 --> 00:30:32.040
<v Dave Jones>I really want to work with this board.

00:30:32.820 --> 00:30:34.380
<v Chris Gammell>I mean, that is, I mean, that's a weird thing too.

00:30:34.380 --> 00:30:38.300
<v Chris Gammell>It's like this, you know, like open source projects generally are like this weird mix.

00:30:38.900 --> 00:30:43.980
<v Chris Gammell>I feel like there's definite, sorry, there's definite commercial interest because we've

00:30:43.980 --> 00:30:46.280
<v Chris Gammell>talked about all these chip vendors are like buying into it.

00:30:46.360 --> 00:30:50.840
<v Chris Gammell>There's ecosystem partners they're buying into, but then there are just like people that are

00:30:50.840 --> 00:30:55.040
<v Chris Gammell>just into embedded that are like chucking their time in as well, which is amazing.

00:30:55.040 --> 00:31:02.400
<v Chris Gammell>And it does feel kind of weird as an open source project that also has kind of a very clear

00:31:02.400 --> 00:31:03.780
<v Chris Gammell>commercial intent at the beginning.

00:31:05.240 --> 00:31:06.260
<v Chris Gammell>It's interesting.

00:31:06.440 --> 00:31:09.900
<v Chris Gammell>And all these chip companies coming in too, like a lot of them have come in and they're

00:31:09.900 --> 00:31:11.640
<v Chris Gammell>like, well, we've always controlled everything.

00:31:11.640 --> 00:31:14.600
<v Chris Gammell>And now they're like, we don't get to control much of anything.

00:31:14.720 --> 00:31:18.080
<v Chris Gammell>It's very interesting to watch it from the outside, you know?

00:31:18.280 --> 00:31:18.400
<v Dave Jones>Yeah.

00:31:18.400 --> 00:31:22.940
<v Dave Jones>But from their perspective, like think about us, Chris, like we generally will pick a sensor

00:31:22.940 --> 00:31:24.320
<v Dave Jones>because it's in the Zephyr tree.

00:31:25.180 --> 00:31:25.380
<v Chris Gammell>Oh yeah.

00:31:25.700 --> 00:31:25.820
<v Chris Gammell>Yeah.

00:31:25.840 --> 00:31:26.180
<v Dave Jones>You know?

00:31:26.380 --> 00:31:26.920
<v Dave Jones>And so.

00:31:27.140 --> 00:31:27.220
<v Chris Gammell>Yeah.

00:31:27.220 --> 00:31:32.260
<v Chris Gammell>The impetus to actually like contribute and like, and like once you are in there, yeah,

00:31:32.300 --> 00:31:33.400
<v Chris Gammell>you're, you're good, you know?

00:31:33.480 --> 00:31:33.700
<v Dave Jones>Yeah.

00:31:33.800 --> 00:31:39.320
<v Dave Jones>And so if you are, if you have a sensor department at your chip company and you have any kind

00:31:39.320 --> 00:31:43.660
<v Dave Jones>of Zephyr support at all, like on your roadmap should be like a driver for every one of our

00:31:43.660 --> 00:31:48.480
<v Dave Jones>chips should be in there because you start to capture that whole segment where they're like,

00:31:48.480 --> 00:31:52.300
<v Dave Jones>okay, we're building an IOT device and we need X, Y, and Z sensors in there.

00:31:52.300 --> 00:31:54.920
<v Dave Jones>What is already supported so we don't have to write our own stuff.

00:31:55.300 --> 00:31:57.620
<v Dave Jones>And if your company has that stuff supported, you're going to get sales.

00:31:58.200 --> 00:31:58.280
<v Chris Gammell>Yeah.

00:31:58.380 --> 00:32:01.140
<v Chris Gammell>So let's go back to device tree too, because I feel like that kind of ties into this.

00:32:01.200 --> 00:32:02.600
<v Chris Gammell>So like, so like Mike said, right?

00:32:02.620 --> 00:32:05.620
<v Chris Gammell>So you have a I squared C temperature sensor, right?

00:32:05.700 --> 00:32:06.280
<v Chris Gammell>How about this one?

00:32:06.320 --> 00:32:08.260
<v Chris Gammell>We'll just use a real sensor that Mike and I would talk about all the time.

00:32:08.300 --> 00:32:09.020
<v Chris Gammell>The BME 280.

00:32:09.240 --> 00:32:11.700
<v Chris Gammell>That thing is great little chip.

00:32:11.860 --> 00:32:12.760
<v Chris Gammell>I squared C based.

00:32:13.140 --> 00:32:15.500
<v Chris Gammell>I have not written a lick of code for it.

00:32:15.500 --> 00:32:21.000
<v Chris Gammell>And yet I am able to implement it within five minutes of plugging into any system that I

00:32:21.000 --> 00:32:22.720
<v Chris Gammell>build, which is amazing.

00:32:22.960 --> 00:32:23.140
<v Chris Gammell>Right.

00:32:23.180 --> 00:32:27.040
<v Chris Gammell>And it just spits out pressure, temperature, humidity, you know, in a non, you know, like

00:32:27.040 --> 00:32:30.080
<v Chris Gammell>Arduino, you could say Arduino does the same thing, but it's, you know, it doesn't have

00:32:30.080 --> 00:32:32.040
<v Chris Gammell>all of the other bells and whistles that we're looking for.

00:32:32.040 --> 00:32:38.080
<v Chris Gammell>Um, and so like, that's just in there, you know, and all you have to do at device tree

00:32:38.080 --> 00:32:43.920
<v Chris Gammell>level then is say, this is, uh, address 28 on the I squared C bus, sort of the addresses

00:32:43.920 --> 00:32:44.760
<v Chris Gammell>your X 28.

00:32:45.140 --> 00:32:51.080
<v Chris Gammell>Uh, and, uh, you know, I think power pins with whether it has a sleep mode or something like

00:32:51.080 --> 00:32:51.280
<v Chris Gammell>that.

00:32:51.280 --> 00:32:53.260
<v Chris Gammell>And then you're, you're just like hooked up and you're good.

00:32:53.880 --> 00:32:54.240
<v Dave Jones>Yeah.

00:32:54.320 --> 00:32:57.540
<v Dave Jones>And you know, there's a K config, uh, for it.

00:32:57.560 --> 00:33:00.760
<v Dave Jones>So you just turn on sensors and, and it enables it.

00:33:00.760 --> 00:33:05.180
<v Dave Jones>And then even on the C side of things, there's some stuff you need to do to get it out of

00:33:05.180 --> 00:33:05.820
<v Dave Jones>the device tree.

00:33:05.820 --> 00:33:07.860
<v Dave Jones>And that's true of any device tree thing.

00:33:08.260 --> 00:33:13.240
<v Dave Jones>Um, but once you've said, Hey, go look in device tree for my BME two 80 sensor, then it literally

00:33:13.240 --> 00:33:16.000
<v Dave Jones>is a command that's like sensor fetch.

00:33:17.000 --> 00:33:19.900
<v Dave Jones>And that just says, go to this sensor and get all the readings.

00:33:20.300 --> 00:33:23.620
<v Dave Jones>And then you have to know what readings are available in this case, it's temperature,

00:33:23.740 --> 00:33:24.340
<v Dave Jones>pressure, humidity.

00:33:24.340 --> 00:33:29.240
<v Dave Jones>And so then there's a subsequent command that that's the gets temperature out of the struct

00:33:29.240 --> 00:33:32.040
<v Dave Jones>that you return and gets pressure out of the structure that you return.

00:33:32.120 --> 00:33:34.980
<v Dave Jones>It's like four lines gets you all of the information on that sensor.

00:33:35.100 --> 00:33:35.580
<v Dave Jones>It's incredible.

00:33:35.900 --> 00:33:35.920
<v Speaker ?>Yeah.

00:33:36.000 --> 00:33:39.740
<v Chris Gammell>I feel like it's one thing that, uh, as a hardware person, like I'm used to like either

00:33:39.740 --> 00:33:45.160
<v Chris Gammell>writing my own driver, which is a travesty, uh, for multiple reasons, namely if you read

00:33:45.160 --> 00:33:46.060
<v Chris Gammell>the, the, the code.

00:33:46.060 --> 00:33:52.800
<v Chris Gammell>Uh, but then also like the actual, like I expect to be interfacing to, uh, registers

00:33:52.800 --> 00:33:57.920
<v Chris Gammell>and that is when a sensor is in tree, it doesn't feel like that's happening anymore.

00:33:58.480 --> 00:34:01.780
<v Chris Gammell>And because the soft, like we're talking about like device tree and all these other things

00:34:01.780 --> 00:34:05.320
<v Chris Gammell>as well, you're at like a higher level and it feels much more software.

00:34:05.580 --> 00:34:06.800
<v Chris Gammell>Is that, is that your take on it?

00:34:07.400 --> 00:34:07.760
<v Dave Jones>Yes.

00:34:07.880 --> 00:34:11.960
<v Dave Jones>And if you want that automatic, you know, white glove treatment, then great.

00:34:11.960 --> 00:34:16.720
<v Dave Jones>You have it, but at the same time, since you've said, I have an I squared C device, go to the

00:34:16.720 --> 00:34:17.580
<v Dave Jones>device tree and get it.

00:34:17.640 --> 00:34:19.560
<v Dave Jones>You have an I squared C pipeline to that.

00:34:19.620 --> 00:34:22.540
<v Dave Jones>And you can just use regular write and read commands like you would.

00:34:22.760 --> 00:34:27.660
<v Dave Jones>So if you want to like, if you have something that's in tree and there's some configuration

00:34:27.660 --> 00:34:32.880
<v Dave Jones>that for some reason you think the tree driver doesn't set, you can set that yourself sideband

00:34:32.880 --> 00:34:36.660
<v Dave Jones>or like you and I've done, Chris, if you have a driver that, or if you have a device

00:34:36.660 --> 00:34:40.560
<v Dave Jones>that's not, doesn't have a driver in the tree, you can just, you know, use your

00:34:40.560 --> 00:34:41.620
<v Dave Jones>own I squared C commands.

00:34:42.040 --> 00:34:44.840
<v Dave Jones>And for simple stuff that totally works for harder stuff.

00:34:44.840 --> 00:34:48.940
<v Dave Jones>Like what was that time of flight sensor that you were working with?

00:34:48.940 --> 00:34:49.240
<v Dave Jones>Yeah.

00:34:49.240 --> 00:34:55.520
<v Chris Gammell>The VL 5301X is not in tree, but the O0X is or something like that.

00:34:55.640 --> 00:34:56.000
<v Chris Gammell>That's STM.

00:34:56.000 --> 00:34:55.980
<v Speaker ?>Right.

00:34:55.980 --> 00:34:58.600
<v Dave Jones>And so we ended up just ordering different hardware, right?

00:34:58.680 --> 00:35:03.220
<v Dave Jones>Because like, if you go and look up that, the library, there's a C library available to

00:35:03.220 --> 00:35:03.320
<v Dave Jones>it.

00:35:03.320 --> 00:35:04.800
<v Dave Jones>It is non-trivial.

00:35:04.800 --> 00:35:13.300
<v Dave Jones>Like there is a ton of configuration and like maybe even calibration stuff that's going

00:35:13.300 --> 00:35:13.680
<v Dave Jones>on there.

00:35:13.860 --> 00:35:19.040
<v Dave Jones>And we looked at it and we're like, you know, drivers are fun, but there's a sibling to

00:35:19.040 --> 00:35:22.360
<v Dave Jones>this chip that we could just pay to order and then not deal with any of this.

00:35:22.420 --> 00:35:22.980
<v Dave Jones>And it worked great.

00:35:23.180 --> 00:35:23.280
<v Chris Gammell>Right.

00:35:23.700 --> 00:35:26.480
<v Chris Gammell>And then it was like literally like 10 minutes later, we're like, oh, now it's working.

00:35:26.600 --> 00:35:27.300
<v Chris Gammell>Move on to the next thing.

00:35:27.300 --> 00:35:31.280
<v Chris Gammell>So again, like that kind of like consulting context where it's like, we just need to get

00:35:31.280 --> 00:35:35.700
<v Chris Gammell>things working and like, and reliable and then move on to the next thing.

00:35:35.700 --> 00:35:37.020
<v Chris Gammell>Cause there's always more stuff to do.

00:35:37.020 --> 00:35:37.240
<v Chris Gammell>Right.

00:35:37.240 --> 00:35:39.380
<v Chris Gammell>That's, and I feel like that's how a lot of people work.

00:35:39.420 --> 00:35:42.480
<v Chris Gammell>Some people want it, you know, like, so some people listening are, I'm sure are firmware

00:35:42.480 --> 00:35:45.140
<v Chris Gammell>people and they want to do it their way.

00:35:45.260 --> 00:35:45.340
<v Chris Gammell>Right.

00:35:45.340 --> 00:35:49.740
<v Chris Gammell>They want to control all the code and they want to make sure the license is, you know, perfect

00:35:49.740 --> 00:35:53.000
<v Chris Gammell>so that they, they're, they don't have any like liability there or whatever.

00:35:53.400 --> 00:35:53.960
<v Chris Gammell>That's fine.

00:35:54.060 --> 00:35:56.300
<v Chris Gammell>But not, I said the fly.

00:35:57.300 --> 00:36:04.260
<v Dave Jones>I think it's great though, because you could start off with a proof of concept and, you

00:36:04.260 --> 00:36:08.320
<v Dave Jones>know, like once you get past that vertical wall of difficulty with Zephyr, you start to

00:36:08.320 --> 00:36:11.160
<v Dave Jones>have that little cookbook of stuff that you've done in the past.

00:36:11.340 --> 00:36:15.420
<v Dave Jones>And you can kind of always pull those out and put something together quick and be like, okay,

00:36:16.000 --> 00:36:18.100
<v Dave Jones>the concept that I'm looking at is going to work.

00:36:18.340 --> 00:36:22.900
<v Dave Jones>Now let's drill down and make sure that there's, you know, zero risk or as little risk as possible

00:36:22.900 --> 00:36:27.020
<v Dave Jones>because we've spec'd out the driver, we've written our own, we've done whatever hardening

00:36:27.020 --> 00:36:27.700
<v Dave Jones>that we need to.

00:36:28.140 --> 00:36:33.280
<v Dave Jones>But the fact that you can take something that has, you know, you need an RTOS because you're

00:36:33.280 --> 00:36:37.660
<v Dave Jones>dealing with connectivity and connectivity is going to have threading and probably encryption

00:36:37.660 --> 00:36:42.900
<v Dave Jones>and like a whole bunch of other really, you know, queuing and a whole bunch of other stuff

00:36:42.900 --> 00:36:44.500
<v Dave Jones>that you probably don't want to deal with.

00:36:44.620 --> 00:36:49.680
<v Dave Jones>And even if you did want to deal with, you're going to just get into the doldrums of bug hunting

00:36:49.680 --> 00:36:51.840
<v Dave Jones>and testing and all of this stuff.

00:36:51.840 --> 00:36:56.180
<v Dave Jones>And if you can get that taken care of, it really like fast forwards you.

00:36:56.260 --> 00:37:01.420
<v Dave Jones>And I think that's where something like RTOS is like FreeRTOS and Zephyr are going to really

00:37:01.420 --> 00:37:06.720
<v Dave Jones>change the landscapes because up to this point to do things, you need like a mega corp that

00:37:06.720 --> 00:37:12.060
<v Dave Jones>can spend big dollars on huge engineering departments to put together one product, you know, Honeywell,

00:37:12.060 --> 00:37:17.620
<v Dave Jones>that's going to have like tens of thousands of devices and they're connected and they know

00:37:17.620 --> 00:37:23.000
<v Dave Jones>the security and they have, you know, there's one person that is just looking at one specific

00:37:23.000 --> 00:37:25.540
<v Dave Jones>center or maybe a whole team of people just looking at one specific center.

00:37:25.960 --> 00:37:30.600
<v Dave Jones>I don't think that that is where the growth in IoT is going to happen in the future.

00:37:30.800 --> 00:37:35.360
<v Dave Jones>I think we're going to look at companies that are smaller and leaner and are making a smaller

00:37:35.360 --> 00:37:40.160
<v Dave Jones>number of parts, but are making them for a customer that really needs them.

00:37:40.160 --> 00:37:42.160
<v Dave Jones>And that's, that's a good thing.

00:37:42.160 --> 00:37:47.220
<v Dave Jones>And these tools are going to make it so that a small company can get to market before they,

00:37:47.220 --> 00:37:52.200
<v Dave Jones>you know, dehydrate and die from, you know, the doldrums of all this stuff.

00:37:52.660 --> 00:37:57.080
<v Dave Jones>And that makes me pretty excited, especially if you can do it in a way that you're not,

00:37:57.100 --> 00:38:02.380
<v Dave Jones>you know, giving fodder for botnets and, you know, headaches when companies go out of business.

00:38:02.540 --> 00:38:07.800
<v Dave Jones>And if we can solve some of those more nasty problems of IoT, I think we could look at a

00:38:07.800 --> 00:38:10.660
<v Dave Jones>world that's more responsible and a little bit more fun to live in.

00:38:11.140 --> 00:38:11.780
<v Chris Gammell>Yeah, no, I think that's right.

00:38:11.820 --> 00:38:17.560
<v Chris Gammell>I think there are, I think once you get past, I, I, I am always amazed when I, when I read

00:38:17.560 --> 00:38:22.660
<v Chris Gammell>like Jack Gansel's like yearly surveys, when like, uh, there's still a significant portion

00:38:22.660 --> 00:38:25.200
<v Chris Gammell>when, you know, some people say, I don't use an RTOS, I'm bare metal.

00:38:25.320 --> 00:38:25.440
<v Chris Gammell>Fine.

00:38:25.520 --> 00:38:25.920
<v Chris Gammell>Okay, whatever.

00:38:26.040 --> 00:38:26.600
<v Chris Gammell>No big deal.

00:38:26.720 --> 00:38:30.220
<v Chris Gammell>But there's still a significant chunk that say, I wrote my own RTOS.

00:38:30.220 --> 00:38:33.820
<v Chris Gammell>And I think about like the, the task of that and like the maintenance of that and like

00:38:33.820 --> 00:38:37.920
<v Chris Gammell>the writing every single piece of the stack yourself, you know, at least with free RTOS,

00:38:37.980 --> 00:38:40.880
<v Chris Gammell>you can pull in a lot of the, I forget what the name of that.

00:38:41.020 --> 00:38:44.300
<v Chris Gammell>Um, one of the main network drivers that's there, you know, you can pull in these different

00:38:44.300 --> 00:38:48.280
<v Chris Gammell>things and kind of craft your own system there, but like writing everything from scratch, like

00:38:48.280 --> 00:38:52.460
<v Chris Gammell>you want to go write your own HTTP handler and like everything all the way up and down the

00:38:52.460 --> 00:38:52.660
<v Chris Gammell>stack.

00:38:52.680 --> 00:38:54.520
<v Chris Gammell>It's just like, that is insane to me.

00:38:54.520 --> 00:38:58.800
<v Chris Gammell>And now, like you said, it's just kind of taken care of for you and it's open source

00:38:58.800 --> 00:39:01.280
<v Chris Gammell>and you get kind of, you get other stuff there too.

00:39:01.360 --> 00:39:05.600
<v Chris Gammell>Like, like, uh, like I think about the, when you discovered all the, the, the shell stuff

00:39:05.600 --> 00:39:08.300
<v Chris Gammell>that's in there in, uh, Zephyr, like that's, that's nuts.

00:39:08.580 --> 00:39:09.980
<v Dave Jones>It's just built in, you know?

00:39:10.480 --> 00:39:10.740
<v Dave Jones>Yeah.

00:39:10.760 --> 00:39:13.200
<v Dave Jones>Again, I was not the one who discovered all that stuff.

00:39:13.240 --> 00:39:16.860
<v Dave Jones>I discovered some of it, but other people like Marcin and John had been doing that.

00:39:17.160 --> 00:39:21.220
<v Dave Jones>If you're not sure what Chris is talking about, like there's an I squared C shell just built

00:39:21.220 --> 00:39:21.920
<v Dave Jones>into Zephyr.

00:39:21.920 --> 00:39:26.040
<v Dave Jones>And so the first thing you can do when you plug in a new sensor that you'd never used

00:39:26.040 --> 00:39:31.420
<v Dave Jones>before is turn on that shell and, you know, serial terminal into the, into your main processor

00:39:31.420 --> 00:39:38.160
<v Dave Jones>and just do an I squared C scan to see where that, you know, the, the address shows up that

00:39:38.160 --> 00:39:38.680
<v Dave Jones>you're expecting.

00:39:39.040 --> 00:39:43.120
<v Dave Jones>And then you can just start sending our squared C commands and reading back from the device

00:39:43.120 --> 00:39:48.340
<v Dave Jones>interactively, like the bus pirate did back in the like 2009 days when that was like all

00:39:48.340 --> 00:39:51.000
<v Dave Jones>the rage, but it's just like built into this and part of it.

00:39:51.000 --> 00:39:52.760
<v Dave Jones>And even a step further, like.

00:39:52.760 --> 00:39:54.320
<v Chris Gammell>Which means you get it on any part, right?

00:39:54.320 --> 00:39:57.580
<v Chris Gammell>So now it's like, you're on your own device and you plugged in, you know, maybe you have

00:39:57.580 --> 00:40:00.380
<v Chris Gammell>an expansion header that has I squared C on it, like quicker or semi or whatever.

00:40:00.540 --> 00:40:03.840
<v Chris Gammell>And like, you just plug into that and it's like, oh, I can just talk to this new sensor

00:40:03.840 --> 00:40:05.780
<v Chris Gammell>right away from the terminal.

00:40:05.860 --> 00:40:06.900
<v Chris Gammell>Like that's, that's crazy to me.

00:40:07.440 --> 00:40:07.700
<v Chris Gammell>Yeah.

00:40:07.700 --> 00:40:13.220
<v Dave Jones>And then even like, if you have a driver, let's say you're writing your own driver for

00:40:13.220 --> 00:40:19.780
<v Dave Jones>that chip, you can build that driver in and then test it out live in the, the, in the shell.

00:40:19.780 --> 00:40:24.840
<v Dave Jones>Cause there's a sensor shell as well that issues all those commands and even, or if it's in,

00:40:24.900 --> 00:40:26.520
<v Dave Jones>in tree or you wrote it yourself, it doesn't matter.

00:40:26.580 --> 00:40:29.460
<v Dave Jones>I just think if you're writing yourself, you probably want some better ways to kind of like

00:40:29.460 --> 00:40:33.460
<v Dave Jones>live debug it before you have to like write it and see compiled and this sort of thing.

00:40:33.460 --> 00:40:37.240
<v Dave Jones>But with a new sensor that's in tree, I'll usually try out the sensor commands in the

00:40:37.240 --> 00:40:42.620
<v Dave Jones>shell and like save them into the C file as I'm trying them out live and then compile it,

00:40:42.720 --> 00:40:46.200
<v Dave Jones>flash it to the chip and see if it actually does what was happening in the shell.

00:40:46.380 --> 00:40:48.600
<v Dave Jones>So, and that's just for, for that.

00:40:48.660 --> 00:40:49.880
<v Dave Jones>I mean, there's a network shell.

00:40:50.100 --> 00:40:56.180
<v Dave Jones>We had used the, um, uh, the thread, um, shell like extensively for like debugging thread

00:40:56.180 --> 00:40:58.420
<v Dave Jones>networks when we were working on that stuff last year.

00:40:58.460 --> 00:41:00.600
<v Dave Jones>Like these interactive tools are fantastic.

00:41:00.600 --> 00:41:03.540
<v Chris Gammell>Pinging over IP IPV six from a NRF 52.

00:41:04.040 --> 00:41:08.400
<v Chris Gammell>We were talking through the bet thread border router to like out to the broader internet,

00:41:08.400 --> 00:41:13.300
<v Chris Gammell>but we were doing so by just testing it with like pinging the Google DNS server, right?

00:41:13.340 --> 00:41:17.300
<v Chris Gammell>8.8.8.8 or whatever the crazy ass IPV six address is.

00:41:17.300 --> 00:41:21.180
<v Chris Gammell>It's just like, yeah, that's, that's, I mean like as like a troubleshooting tool and it's

00:41:21.180 --> 00:41:22.040
<v Chris Gammell>just kind of all built in.

00:41:22.100 --> 00:41:26.520
<v Chris Gammell>Like there's just so many things that are buried under the surface that like, once you are

00:41:26.520 --> 00:41:30.900
<v Chris Gammell>again, like over that wall, like Mike said, which is considerable, you know, it is, it is

00:41:30.900 --> 00:41:34.920
<v Chris Gammell>maybe, maybe like a cliff face or like, what's that thing that free solo that he's doing?

00:41:35.640 --> 00:41:36.340
<v Chris Gammell>Oh yeah.

00:41:37.180 --> 00:41:38.140
<v Dave Jones>I forget that.

00:41:38.240 --> 00:41:38.480
<v Dave Jones>Yeah.

00:41:38.780 --> 00:41:39.380
<v Dave Jones>What is that?

00:41:39.780 --> 00:41:43.200
<v Dave Jones>Well, at any rate, I think we should herald some praises of other RTOSs too.

00:41:43.320 --> 00:41:47.680
<v Dave Jones>So we've done work on, uh, ESP IDF, which is built on free RTOS.

00:41:47.680 --> 00:41:49.180
<v Dave Jones>And that's fantastic.

00:41:49.180 --> 00:41:53.240
<v Dave Jones>Like if you were using an Espressive part, which they are great parts and I think getting

00:41:53.240 --> 00:41:56.920
<v Dave Jones>better as more, as newer parts come out, it's, it's even more interesting.

00:41:57.500 --> 00:42:00.660
<v Dave Jones>And their ESP IDF is like chef's kiss.

00:42:00.940 --> 00:42:04.660
<v Dave Jones>It's put together so well for their platform and it makes it really easy.

00:42:04.660 --> 00:42:09.960
<v Dave Jones>I think the only thing that I'm always kind of stymied with there is the way that the K

00:42:09.960 --> 00:42:14.240
<v Dave Jones>config, um, settings are like pulled in.

00:42:14.240 --> 00:42:19.720
<v Dave Jones>I always have to like delete the SDK config file and then like rebuild it and stuff.

00:42:19.800 --> 00:42:24.420
<v Dave Jones>So that's how it, that, that always, you know, bends my brain a little bit, but their, um,

00:42:24.420 --> 00:42:31.340
<v Dave Jones>their menu config, which is like a, uh, an N curses type of like antsy, you know, color

00:42:31.340 --> 00:42:34.860
<v Dave Jones>text display screen for picking out every possible setting on the device.

00:42:34.860 --> 00:42:36.840
<v Dave Jones>I always think it looks like a DOS config.

00:42:37.300 --> 00:42:37.480
<v Dave Jones>Yeah.

00:42:37.480 --> 00:42:37.880
<v Dave Jones>Yeah.

00:42:38.000 --> 00:42:39.400
<v Dave Jones>It takes me back to the eighties.

00:42:39.980 --> 00:42:40.420
<v Dave Jones>Yeah.

00:42:41.080 --> 00:42:44.180
<v Dave Jones>Um, but for instance, I was doing a silly little project.

00:42:44.240 --> 00:42:49.700
<v Dave Jones>And I wanted to pull, you know, we're, we're on co-op for our, um, transport layer.

00:42:50.380 --> 00:42:53.060
<v Dave Jones>And I wanted to pull something in from the wider internet.

00:42:53.060 --> 00:42:55.680
<v Dave Jones>And I'm like, oh man, I need an HTTP client for that.

00:42:56.080 --> 00:43:00.620
<v Dave Jones>And like Espressif just has one already built in with like a bajillion different examples

00:43:00.620 --> 00:43:01.400
<v Dave Jones>of how to use it.

00:43:01.420 --> 00:43:07.640
<v Dave Jones>You know, there's like, use it with a password, use it with HTTPS, use it with like the, you

00:43:07.640 --> 00:43:09.580
<v Dave Jones>know, there's 50 different ways to use this thing.

00:43:09.580 --> 00:43:13.820
<v Dave Jones>And you just go into the file and you look at it and then you use kconfig to build it

00:43:13.820 --> 00:43:14.060
<v Dave Jones>in.

00:43:14.060 --> 00:43:19.020
<v Dave Jones>And then all of a sudden the file that I needed from the internet is on my Espressif device.

00:43:19.020 --> 00:43:21.580
<v Dave Jones>And I was like, wow, that was, that was actually really easy.

00:43:21.580 --> 00:43:26.020
<v Dave Jones>And that would have taken me forever if I was, you know, trying to go out and find a library

00:43:26.020 --> 00:43:27.540
<v Dave Jones>and build that library.

00:43:27.640 --> 00:43:30.400
<v Dave Jones>And then that's because Espressif has done that task for you.

00:43:30.440 --> 00:43:32.320
<v Dave Jones>They've either, I think they didn't go find a library.

00:43:32.400 --> 00:43:35.800
<v Dave Jones>They wrote the library, but they put it in and they showed you all the different ways to

00:43:35.800 --> 00:43:36.560
<v Dave Jones>use it and made it.

00:43:36.640 --> 00:43:43.760
<v Dave Jones>So it's just like a, you know, one, you know, use HTTPS client equals the S command away

00:43:43.760 --> 00:43:45.100
<v Dave Jones>from being built into your project.

00:43:45.680 --> 00:43:46.320
<v Chris Gammell>It is pretty crazy.

00:43:46.320 --> 00:43:51.000
<v Chris Gammell>It is interesting too, because like, so now ESP IDF is an Espressif based thing.

00:43:51.000 --> 00:43:55.860
<v Chris Gammell>It's built on top of FreeRTOS and it is morphing more into an ecosystem, kind of like Zephyr,

00:43:55.940 --> 00:43:57.840
<v Chris Gammell>but it's specific to Espressif parts again, right?

00:43:57.860 --> 00:44:02.080
<v Chris Gammell>You're never going to use ESP IDF on a Nordic part or anything else like that.

00:44:02.140 --> 00:44:05.820
<v Chris Gammell>But there are some benefits of being close, more closely coupled to the hardware.

00:44:05.960 --> 00:44:08.220
<v Chris Gammell>I feel like that you do get out of that sort of thing.

00:44:08.600 --> 00:44:14.020
<v Chris Gammell>One thing that strikes me and strikes heart fear into the heart of a former Chris is like

00:44:14.020 --> 00:44:16.540
<v Chris Gammell>often all this stuff is command line.

00:44:16.660 --> 00:44:20.140
<v Chris Gammell>Like, so you were, you were on Robert Furnick's YouTube channel and you were showing him this

00:44:20.140 --> 00:44:24.140
<v Chris Gammell>stuff and you make it look very easy, but I feel like that would have scared me off.

00:44:24.180 --> 00:44:25.840
<v Chris Gammell>Just the fact that it was command line back in the day.

00:44:26.280 --> 00:44:27.900
<v Dave Jones>Yeah, that's a good point.

00:44:28.000 --> 00:44:30.940
<v Dave Jones>And I do think people are scared off by that if they don't do it all the time.

00:44:31.360 --> 00:44:34.820
<v Dave Jones>I, on the other hand, am scared off by like, I hate using Eclipse.

00:44:35.720 --> 00:44:40.460
<v Dave Jones>Eclipse is an IDE that's been around for, I don't know, long, long time, probably 20 years.

00:44:40.460 --> 00:44:47.200
<v Dave Jones>I don't know when it first started, but it, it's, it's a windows environment on top of

00:44:47.200 --> 00:44:48.840
<v Dave Jones>command line stuff.

00:44:49.100 --> 00:44:49.220
<v Dave Jones>Yeah.

00:44:49.340 --> 00:44:52.080
<v Dave Jones>And so I don't like it because I feel like, right.

00:44:52.200 --> 00:44:56.800
<v Dave Jones>I know the commands that I need to run and I'm in this like GUI trying to find the, like

00:44:56.800 --> 00:45:02.800
<v Dave Jones>which checkbox do I need to uncheck or check to get the compiler settings and compiler flags

00:45:02.800 --> 00:45:03.380
<v Dave Jones>that I want.

00:45:03.840 --> 00:45:08.360
<v Dave Jones>And I know how to do all that stuff in the terminal, which there's no help screens in the

00:45:08.360 --> 00:45:08.640
<v Dave Jones>terminal.

00:45:08.640 --> 00:45:12.140
<v Dave Jones>I mean, there's man pages and stuff, but it's just because I do that all the time.

00:45:12.140 --> 00:45:14.000
<v Dave Jones>And like, I stuff that's hard to remember.

00:45:14.000 --> 00:45:18.180
<v Dave Jones>I make aliases or I write them down as a gist somewhere or this or that.

00:45:18.180 --> 00:45:23.060
<v Dave Jones>And so whatever you're more comfortable with, you should go with that and feel good about

00:45:23.060 --> 00:45:23.160
<v Dave Jones>it.

00:45:23.180 --> 00:45:28.360
<v Dave Jones>And I think both Nordic and Espressif have kind of embraced it because Nordic has been

00:45:28.360 --> 00:45:34.380
<v Dave Jones>working on VS code plugins for Zephyr and Espressif has been working on VS code plugins.

00:45:34.380 --> 00:45:39.360
<v Dave Jones>It was really great of Robert having me on his show, which thanks for the recommendation,

00:45:39.580 --> 00:45:39.720
<v Dave Jones>Chris.

00:45:39.800 --> 00:45:42.480
<v Dave Jones>I think he reached out and said, Hey, I'm looking for something to talk about.

00:45:42.480 --> 00:45:46.080
<v Chris Gammell>I think Robert asked me if Robert's assistant asked me if I would come talk about IoT.

00:45:46.220 --> 00:45:47.300
<v Chris Gammell>I was like, no, no, no, no, no.

00:45:47.380 --> 00:45:47.960
<v Chris Gammell>You talk to Mike.

00:45:49.080 --> 00:45:50.800
<v Chris Gammell>I was like, I don't know what I'd say.

00:45:51.020 --> 00:45:51.700
<v Chris Gammell>Two hours.

00:45:51.900 --> 00:45:52.740
<v Chris Gammell>I, yeah, you did two hours.

00:45:52.800 --> 00:45:54.220
<v Dave Jones>And I was like, no, I, I couldn't do that.

00:45:54.220 --> 00:45:54.660
<v Dave Jones>Yeah.

00:45:55.380 --> 00:45:55.580
<v Dave Jones>Yeah.

00:45:55.580 --> 00:45:56.280
<v Dave Jones>It was a wide range.

00:45:56.340 --> 00:45:59.720
<v Dave Jones>And we, we talked in and he's like, well, these are usually like at least an hour, maybe

00:45:59.720 --> 00:46:00.120
<v Dave Jones>two hours.

00:46:00.120 --> 00:46:00.640
<v Dave Jones>I'm like, okay.

00:46:00.640 --> 00:46:07.440
<v Dave Jones>I'm like, well, why don't we just start with nothing and download the, the, uh, um, you

00:46:07.440 --> 00:46:13.780
<v Dave Jones>know, SDK and a sample application and compile it and flash it and show it connecting and doing

00:46:13.780 --> 00:46:15.300
<v Dave Jones>something to the internet.

00:46:15.300 --> 00:46:17.380
<v Dave Jones>And he's like, you can really do that.

00:46:17.400 --> 00:46:17.880
<v Dave Jones>And I'm like, yeah.

00:46:17.880 --> 00:46:22.140
<v Dave Jones>And I think that is like a testament of what's going on these days, right.

00:46:22.140 --> 00:46:26.540
<v Dave Jones>Is the ability to just grab all the, and it's all, all of that was just coming off of

00:46:26.540 --> 00:46:26.920
<v Dave Jones>GitHub.

00:46:27.440 --> 00:46:30.480
<v Dave Jones>You know, like all this stuff is about out there and you just have to like open your

00:46:30.480 --> 00:46:32.260
<v Dave Jones>eyes and be like, okay, what do I need to do?

00:46:32.880 --> 00:46:35.740
<v Dave Jones>What are these tools that are available to me and how do I glue them all together?

00:46:35.860 --> 00:46:40.920
<v Dave Jones>And that's no small task, but, but the fact that, you know, and Chris, you and I talk

00:46:40.920 --> 00:46:44.460
<v Dave Jones>about this all the time, like, especially with your consulting over the last few years,

00:46:44.460 --> 00:46:50.300
<v Dave Jones>like the things that we're able to accomplish as individual engineers is just mind blowing

00:46:50.300 --> 00:46:51.120
<v Dave Jones>at this point.

00:46:51.120 --> 00:46:51.260
<v Dave Jones>Yeah.

00:46:51.260 --> 00:46:55.360
<v Dave Jones>Like the, the, well, I mean, like I said at the top of the show, like we're basically

00:46:55.360 --> 00:46:59.560
<v Chris Gammell>building a mini product, you know, not, not a consumer ready product, but like a mini product,

00:46:59.560 --> 00:46:59.760
<v Chris Gammell>right.

00:46:59.760 --> 00:47:00.440
<v Chris Gammell>That's what we've been building.

00:47:00.500 --> 00:47:01.220
<v Chris Gammell>We're going to be showing off.

00:47:01.460 --> 00:47:05.320
<v Chris Gammell>And it's like, that's kind of what our job is to build mini products for other people

00:47:05.320 --> 00:47:07.020
<v Chris Gammell>to build, to, to take and use.

00:47:07.560 --> 00:47:09.360
<v Chris Gammell>And like, yeah, I can't imagine.

00:47:09.880 --> 00:47:10.700
<v Chris Gammell>Well, how about this?

00:47:10.700 --> 00:47:14.520
<v Chris Gammell>So John, the, the start of the company that we work at, he used to work at Nest and like,

00:47:14.520 --> 00:47:16.160
<v Chris Gammell>that was like, oh, John's been on the show.

00:47:16.300 --> 00:47:18.780
<v Chris Gammell>He, before I started at Goliath, he was on the show actually.

00:47:18.780 --> 00:47:23.080
<v Chris Gammell>Uh, and he talked about it as like 200 people, like doing the same kind of stuff that we

00:47:23.080 --> 00:47:23.700
<v Chris Gammell>can now do.

00:47:24.240 --> 00:47:26.100
<v Chris Gammell>Uh, and we benefit from as well.

00:47:26.100 --> 00:47:26.300
<v Chris Gammell>Right.

00:47:26.300 --> 00:47:30.500
<v Chris Gammell>We benefit from building on people, other people's technology stacks because of open source and,

00:47:30.500 --> 00:47:31.160
<v Chris Gammell>and similar.

00:47:31.580 --> 00:47:31.700
<v Chris Gammell>Yeah.

00:47:31.920 --> 00:47:32.420
<v Dave Jones>It's incredible.

00:47:32.540 --> 00:47:34.300
<v Dave Jones>It's, it's the golden age right now.

00:47:35.360 --> 00:47:36.600
<v Chris Gammell>Enjoy it while it lasts.

00:47:36.600 --> 00:47:37.160
<v Dave Jones>Yeah.

00:47:37.160 --> 00:47:37.520
<v Chris Gammell>Yeah.

00:47:37.520 --> 00:47:37.760
<v Chris Gammell>Yeah.

00:47:37.760 --> 00:47:39.100
<v Chris Gammell>It's all downhill from here, folks.

00:47:40.340 --> 00:47:41.100
<v Dave Jones>I hope not.

00:47:41.100 --> 00:47:45.700
<v Dave Jones>I hope, I hope we're doing responsible things and putting systems in place so that they can

00:47:45.700 --> 00:47:50.140
<v Dave Jones>be maintained and they can be made better and they can be made available to more of, you

00:47:50.140 --> 00:47:51.240
<v Dave Jones>know, the population of the world.

00:47:51.580 --> 00:47:51.760
<v Chris Gammell>Yeah.

00:47:51.880 --> 00:47:52.400
<v Chris Gammell>I mean, yeah.

00:47:52.440 --> 00:47:56.820
<v Chris Gammell>Are you saying that like an IOT kind of context versus like a embedded tools kind of context?

00:47:57.160 --> 00:47:57.560
<v Dave Jones>Yeah.

00:47:57.560 --> 00:48:04.180
<v Dave Jones>I think, I think the IOT is going to have major impacts on people's ability to, you know,

00:48:04.460 --> 00:48:13.340
<v Dave Jones>be part of society and, uh, enjoy the, the fruits of the, of, of a modern lifestyle in

00:48:13.340 --> 00:48:14.060
<v Dave Jones>a way that is.

00:48:14.060 --> 00:48:15.720
<v Chris Gammell>Oh boy, this guy's drinking the Kool-Aid folks.

00:48:15.960 --> 00:48:16.180
<v Chris Gammell>Come on.

00:48:18.620 --> 00:48:19.240
<v Dave Jones>That's funny.

00:48:19.820 --> 00:48:20.520
<v Dave Jones>You know, just the.

00:48:20.640 --> 00:48:21.200
<v Dave Jones>It's good.

00:48:21.280 --> 00:48:21.580
<v Dave Jones>It's good.

00:48:21.660 --> 00:48:22.500
<v Dave Jones>I think there are benefits.

00:48:22.500 --> 00:48:26.160
<v Dave Jones>Food production and transportation and the ability to make it available at a price that people

00:48:26.160 --> 00:48:31.660
<v Dave Jones>can afford and the ability to maintain, you know, precious resources like fresh water.

00:48:31.780 --> 00:48:34.360
<v Dave Jones>I think these things, technology can unlock these things.

00:48:34.360 --> 00:48:39.580
<v Dave Jones>And if we use technology in the right way and make it available, um, in a non-predatory

00:48:39.580 --> 00:48:44.460
<v Dave Jones>and non, you know, like let's squeeze out every dime that we can from each one of these

00:48:44.460 --> 00:48:44.920
<v Dave Jones>things.

00:48:44.920 --> 00:48:46.400
<v Dave Jones>I think that benefits everyone.

00:48:46.880 --> 00:48:46.900
<v Dave Jones>And.

00:48:47.360 --> 00:48:47.580
<v Dave Jones>Right.

00:48:48.000 --> 00:48:50.680
<v Chris Gammell>What if we just like, what if we don't need employees anymore?

00:48:50.680 --> 00:48:53.540
<v Dave Jones>You know, we could just have IOT do things, you know, like that's really.

00:48:53.540 --> 00:48:56.060
<v Dave Jones>Well, yeah, I have feelings on that too, you know?

00:48:56.060 --> 00:49:02.660
<v Dave Jones>And it's like, I naively thought to myself, oh, automation is going to be good because

00:49:02.660 --> 00:49:04.720
<v Dave Jones>that's going to take the drudgery tasks out.

00:49:04.780 --> 00:49:08.100
<v Dave Jones>And the problem is we automated the drudgery tasks, but we didn't expect people to work

00:49:08.100 --> 00:49:08.460
<v Dave Jones>less.

00:49:09.280 --> 00:49:12.360
<v Dave Jones>And so you have to go and find, yeah, you have to go and find the next thing.

00:49:12.540 --> 00:49:17.300
<v Dave Jones>So there is a, there is kind of that dystopian working for the robots type of thing that you

00:49:17.300 --> 00:49:17.880
<v Dave Jones>could look for.

00:49:17.880 --> 00:49:22.960
<v Dave Jones>And, and I think we just have to try and, and steer our way past that.

00:49:22.960 --> 00:49:28.000
<v Chris Gammell>I mean, I, I think about like, so I've given a talk about like, uh, like you had said with,

00:49:28.100 --> 00:49:33.160
<v Chris Gammell>with like prototyping and stuff too, like the amount of like tools and like kind of, uh,

00:49:34.160 --> 00:49:38.940
<v Chris Gammell>services that are available to actually go and build things and like build up different,

00:49:38.940 --> 00:49:44.500
<v Chris Gammell>uh, prototypes, basically, you know, like prototyping services like Pinoco and 3d printing

00:49:44.500 --> 00:49:47.620
<v Chris Gammell>services and PCB fabs and all the things that are out there.

00:49:47.620 --> 00:49:49.320
<v Chris Gammell>It is just insane.

00:49:49.500 --> 00:49:55.460
<v Chris Gammell>And now you layer software stuff on top and it's just like, yeah, it is, it is a very

00:49:55.460 --> 00:49:56.060
<v Chris Gammell>exciting time.

00:50:00.380 --> 00:50:05.500
<v Chris Gammell>Um, well, uh, I lost my train of thought on where we should go next.

00:50:05.560 --> 00:50:06.960
<v Chris Gammell>Like, what else, what else did we say?

00:50:06.980 --> 00:50:08.540
<v Chris Gammell>We're going to talk about working together.

00:50:08.620 --> 00:50:09.300
<v Chris Gammell>Oh, MicroPython.

00:50:10.080 --> 00:50:12.800
<v Chris Gammell>Uh, how is it working with me?

00:50:12.840 --> 00:50:13.380
<v Chris Gammell>Is it pretty good?

00:50:13.460 --> 00:50:14.140
<v Chris Gammell>It's pretty great, right?

00:50:14.560 --> 00:50:16.160
<v Dave Jones>It's pretty amazing working with Chris.

00:50:16.160 --> 00:50:17.580
<v Dave Jones>You should all try it at some point.

00:50:19.220 --> 00:50:22.380
<v Chris Gammell>Um, I don't know if I've ever had a coworker on the show before.

00:50:22.480 --> 00:50:23.500
<v Chris Gammell>That's probably different.

00:50:24.220 --> 00:50:25.740
<v Dave Jones>Have you ever had a coworker before?

00:50:26.960 --> 00:50:28.160
<v Chris Gammell>I have had coworkers before.

00:50:28.160 --> 00:50:32.440
<v Chris Gammell>So I had coworkers at hologram, but I didn't have any of the coworkers on here.

00:50:32.440 --> 00:50:35.160
<v Chris Gammell>And then prior to that, I was at ABB.

00:50:36.080 --> 00:50:38.180
<v Chris Gammell>None of those guys knew my podcast existed.

00:50:38.980 --> 00:50:40.480
<v Chris Gammell>Uh, same thing at Keithley.

00:50:41.400 --> 00:50:45.260
<v Chris Gammell>I, yeah, there was still some Keithley guys that I would, I would said I'd have on the

00:50:45.260 --> 00:50:47.960
<v Chris Gammell>show at some point, but, um, no, no, no, that's not true.

00:50:48.060 --> 00:50:51.280
<v Chris Gammell>I work with Dave Young and he's been on the show, but it was many years later.

00:50:51.820 --> 00:50:55.960
<v Dave Jones>So, well, I think that we're doing really well because we do the stuff that the other

00:50:55.960 --> 00:50:56.920
<v Dave Jones>person doesn't want to do.

00:50:59.040 --> 00:50:59.360
<v Chris Gammell>Yeah.

00:50:59.520 --> 00:50:59.760
<v Chris Gammell>Yeah.

00:50:59.760 --> 00:51:02.280
<v Chris Gammell>Like I switched RX and TX on all the hardware I send you.

00:51:02.320 --> 00:51:03.040
<v Chris Gammell>That's, that's pretty fun.

00:51:03.200 --> 00:51:04.260
<v Chris Gammell>That's pretty fun for me.

00:51:04.260 --> 00:51:05.920
<v Chris Gammell>Uh, oh yeah.

00:51:05.940 --> 00:51:10.860
<v Dave Jones>I forgot about that, but that brings the, the praises of device tree again.

00:51:10.860 --> 00:51:11.480
<v Dave Jones>There you go.

00:51:11.480 --> 00:51:13.640
<v Dave Jones>Actually of pin control in this case.

00:51:13.720 --> 00:51:13.820
<v Dave Jones>Yeah.

00:51:13.920 --> 00:51:20.760
<v Dave Jones>So the, uh, not on the, not on the actual device itself, but on where the sensors connect to

00:51:20.760 --> 00:51:24.460
<v Dave Jones>the device, the click headers for that's the micro electronica click headers.

00:51:24.700 --> 00:51:30.020
<v Dave Jones>There's an RX, TX line and the classic, like they're in the wrong place happened, which took

00:51:30.020 --> 00:51:30.800
<v Dave Jones>me a while to figure out.

00:51:30.840 --> 00:51:32.720
<v Dave Jones>I should have, I should have figured that out right away.

00:51:32.780 --> 00:51:36.780
<v Dave Jones>Um, but you could just go into Zephyr's pin control and remap the pins.

00:51:36.780 --> 00:51:38.840
<v Dave Jones>And so we didn't have to change anything.

00:51:38.840 --> 00:51:39.160
<v Dave Jones>That's pretty magical.

00:51:39.520 --> 00:51:43.100
<v Chris Gammell>I did put zero on resistors on there because I had anticipated I may have switched them

00:51:43.100 --> 00:51:45.340
<v Chris Gammell>around, but, um, but yeah.

00:51:45.600 --> 00:51:49.600
<v Chris Gammell>Um, why, why bodge some wires when you can just switch them in, in code?

00:51:49.680 --> 00:51:50.540
<v Chris Gammell>That's, that's much easier.

00:51:50.760 --> 00:51:55.540
<v Dave Jones>Well, for this platform, I made a custom board definition for it.

00:51:55.540 --> 00:51:59.400
<v Dave Jones>So when you're doing a new project that uses this hardware, you don't have to do any of

00:51:59.400 --> 00:52:00.220
<v Dave Jones>the device tree stuff.

00:52:00.220 --> 00:52:01.520
<v Dave Jones>Like it's already built in there for you.

00:52:01.520 --> 00:52:05.200
<v Dave Jones>So like no one's even going to know that those are switched if they're using this platform

00:52:05.200 --> 00:52:08.800
<v Dave Jones>because you just build in our repo that uses it and it's already switched in there.

00:52:08.920 --> 00:52:11.480
<v Dave Jones>So like, that's pretty amazing.

00:52:11.820 --> 00:52:16.100
<v Dave Jones>I think like, yeah, we could go in, try to collect all the boards that are already in

00:52:16.100 --> 00:52:18.920
<v Dave Jones>our other coworkers hands and move those zero on resistors.

00:52:19.000 --> 00:52:19.800
<v Dave Jones>But like, why?

00:52:19.940 --> 00:52:20.540
<v Dave Jones>It doesn't matter.

00:52:20.600 --> 00:52:21.960
<v Dave Jones>It's a piece of custom hardware.

00:52:22.400 --> 00:52:24.180
<v Dave Jones>We can just pretend that you meant to do that.

00:52:25.420 --> 00:52:25.480
<v Dave Jones>Yeah.

00:52:26.200 --> 00:52:26.760
<v Dave Jones>But yeah.

00:52:26.780 --> 00:52:28.160
<v Dave Jones>So you come up with the hardware.

00:52:28.240 --> 00:52:31.080
<v Dave Jones>I think we kind of like try to ideate on what should be on there.

00:52:31.080 --> 00:52:38.020
<v Dave Jones>And then you usually send me a schematic like 10 minutes before you're about to hit the

00:52:38.020 --> 00:52:40.940
<v Dave Jones>the order button fabrication button.

00:52:40.940 --> 00:52:42.220
<v Dave Jones>And you're like, check this.

00:52:42.260 --> 00:52:44.440
<v Dave Jones>And I didn't, I didn't check that particular part of it.

00:52:44.640 --> 00:52:49.360
<v Dave Jones>And then you send me a, a board that might work that might power up.

00:52:49.360 --> 00:52:49.800
<v Dave Jones>That's right.

00:52:49.800 --> 00:52:51.740
<v Dave Jones>And you say, put some, put some code on this.

00:52:51.960 --> 00:52:53.360
<v Dave Jones>And I like, I love that.

00:52:53.440 --> 00:52:56.640
<v Dave Jones>I love like starting with that blank slate and be like, okay, what, what were we talking

00:52:56.640 --> 00:52:59.320
<v Dave Jones>about when we came up with the design and what is this thing supposed to do now?

00:52:59.320 --> 00:53:03.380
<v Dave Jones>Um, and I, I have been cursing your name on this one because of the e-paper.

00:53:04.580 --> 00:53:05.140
<v Dave Jones>E-paper.

00:53:05.240 --> 00:53:05.920
<v Dave Jones>We're going to talk about e-paper.

00:53:06.060 --> 00:53:07.220
<v Chris Gammell>So why e-paper?

00:53:07.380 --> 00:53:10.180
<v Chris Gammell>We started, I think, how did we get to the e-paper?

00:53:10.260 --> 00:53:10.920
<v Chris Gammell>So we did a training.

00:53:11.060 --> 00:53:14.420
<v Chris Gammell>I think I mentioned it on the show before, but you and I did a training about Zephyr

00:53:14.420 --> 00:53:16.000
<v Chris Gammell>using the Adafruit mag tag.

00:53:16.340 --> 00:53:17.620
<v Chris Gammell>How did we find the mag tag?

00:53:17.640 --> 00:53:18.320
<v Chris Gammell>I don't remember that.

00:53:18.580 --> 00:53:19.480
<v Dave Jones>I think you found it.

00:53:19.520 --> 00:53:25.180
<v Dave Jones>I think I remember being on a video call and we're just like looking for something that

00:53:25.180 --> 00:53:30.280
<v Dave Jones>you could buy that someone's already making that has connectivity, a user interface and

00:53:30.280 --> 00:53:30.740
<v Dave Jones>sensors.

00:53:31.200 --> 00:53:34.540
<v Dave Jones>And that's actually a hard combination to find and cheap.

00:53:34.620 --> 00:53:34.760
<v Dave Jones>Yeah.

00:53:34.880 --> 00:53:36.060
<v Dave Jones>That's a hard combination to find.

00:53:36.140 --> 00:53:40.580
<v Dave Jones>There's a ton of like displays and maybe buttons that don't have sensors.

00:53:41.120 --> 00:53:45.900
<v Dave Jones>And there's a ton of like sensors that maybe have connectivity, but don't have a display.

00:53:45.900 --> 00:53:55.480
<v Dave Jones>And the Adafruit mag tag has an e-paper display, four of those NeoPixel WS2812 LEDs on them,

00:53:55.600 --> 00:54:03.800
<v Dave Jones>four buttons, a speaker, a light sensor, and connectors for external sensors and accelerometer

00:54:03.800 --> 00:54:07.460
<v Dave Jones>on board and an ESP32S2.

00:54:07.840 --> 00:54:08.160
<v Dave Jones>Two.

00:54:08.480 --> 00:54:08.640
<v Dave Jones>Yep.

00:54:08.860 --> 00:54:09.120
<v Dave Jones>Yeah.

00:54:09.220 --> 00:54:11.460
<v Dave Jones>And so we started doing training on that.

00:54:11.460 --> 00:54:18.560
<v Dave Jones>And of course I couldn't find the driver that was used by Adafruit on that one.

00:54:18.740 --> 00:54:25.100
<v Dave Jones>And so I kind of like had to hack together an e-paper driver to use in Zephyr and it went

00:54:25.100 --> 00:54:25.380
<v Dave Jones>okay.

00:54:25.840 --> 00:54:26.920
<v Dave Jones>You know, like people got it running.

00:54:27.180 --> 00:54:28.540
<v Dave Jones>There's still some tripping points.

00:54:28.660 --> 00:54:32.260
<v Dave Jones>Like you have to, you have to get your wifi credentials onto it.

00:54:32.660 --> 00:54:38.660
<v Dave Jones>And so, you know, at that time you had to, you had to actually compile the thing, which

00:54:38.660 --> 00:54:42.000
<v Dave Jones>means you had to have the Zephyr tool chain installed and get to that point.

00:54:42.100 --> 00:54:46.200
<v Dave Jones>So there were some hard things there, but generally speaking, we could get through a

00:54:46.200 --> 00:54:50.900
<v Dave Jones>training and get people connecting the thing up to Goliath and sending some logs and maybe

00:54:50.900 --> 00:54:54.240
<v Dave Jones>some, some accelerometer data, at least some button presses.

00:54:54.960 --> 00:54:55.360
<v Chris Gammell>Yeah.

00:54:55.520 --> 00:54:57.380
<v Chris Gammell>Why, why are e-paper displays?

00:54:58.440 --> 00:55:01.520
<v Chris Gammell>So like there, they came out 20 plus years ago now, right?

00:55:01.520 --> 00:55:04.920
<v Chris Gammell>Like the Kindle was one of the first large commercial products for it.

00:55:05.000 --> 00:55:08.180
<v Chris Gammell>I feel like, but like, why are they so finicky?

00:55:08.660 --> 00:55:15.360
<v Dave Jones>You know, it, so I've done work with a lot of them now and it seems like every different

00:55:15.360 --> 00:55:16.900
<v Dave Jones>display is like a snowflake.

00:55:17.000 --> 00:55:22.020
<v Dave Jones>Like it is like even different displays that share the same chip.

00:55:22.160 --> 00:55:26.380
<v Dave Jones>Cause there's a chip on the display that is the driver and then it communicates through

00:55:26.380 --> 00:55:29.760
<v Dave Jones>a flex cable to your actual microcontroller.

00:55:30.080 --> 00:55:31.320
<v Dave Jones>It's like spy, right?

00:55:31.340 --> 00:55:31.460
<v Dave Jones>Yeah.

00:55:31.460 --> 00:55:32.940
<v Dave Jones>They use it slightly differently.

00:55:32.940 --> 00:55:39.080
<v Dave Jones>So for instance, um, if you've seen there, there are e-paper displays that are gray scale

00:55:39.080 --> 00:55:43.000
<v Dave Jones>and there are ones that have like three colors, which are like white, black, and red or white,

00:55:43.040 --> 00:55:44.540
<v Dave Jones>black and yellow on them.

00:55:44.960 --> 00:55:46.760
<v Dave Jones>And they both kind of work the same way.

00:55:46.840 --> 00:55:53.540
<v Dave Jones>They have like a previous frame place in memory where what is currently shown on the device

00:55:53.540 --> 00:55:54.760
<v Dave Jones>you put in there.

00:55:54.760 --> 00:55:56.940
<v Dave Jones>And they have a next frame in memory.

00:55:57.040 --> 00:55:58.680
<v Dave Jones>So you put what you want to be shown on there.

00:55:58.680 --> 00:56:04.240
<v Dave Jones>And then through some magic that I don't totally understand the, the, the controller that's on

00:56:04.240 --> 00:56:06.360
<v Dave Jones>the board makes a waveform.

00:56:06.360 --> 00:56:12.040
<v Dave Jones>And I believe it's an alternating current waveform that has been tailored knowing where the particles

00:56:12.040 --> 00:56:16.300
<v Dave Jones>are for those two different types of things and moves them through this goo either to the

00:56:16.300 --> 00:56:16.620
<v Dave Jones>surface.

00:56:16.620 --> 00:56:21.440
<v Dave Jones>So if the black, the black little micro particles move to the surface, then you get ink there.

00:56:21.560 --> 00:56:25.620
<v Dave Jones>Or if they move down to the bottom, then the white goo fills it in and you see that.

00:56:26.180 --> 00:56:31.840
<v Dave Jones>And so like in this last one, I couldn't, I was having trouble getting the partial update

00:56:31.840 --> 00:56:37.160
<v Dave Jones>to work in a way that like, didn't kind of like degrade the image that was already on there.

00:56:37.220 --> 00:56:37.940
<v Dave Jones>It wasn't flashy.

00:56:38.600 --> 00:56:44.660
<v Dave Jones>And so I'd previously worked on a driver like this and it was like, send the old frame and

00:56:44.660 --> 00:56:49.760
<v Dave Jones>then do an update and then send the new frame or some, some variation of that.

00:56:49.860 --> 00:56:53.820
<v Dave Jones>And with this display, it wants you to send both frames before doing, and then do the

00:56:53.820 --> 00:56:54.080
<v Dave Jones>update.

00:56:54.160 --> 00:56:55.840
<v Dave Jones>You can't do the update in between.

00:56:55.840 --> 00:56:58.680
<v Dave Jones>Like it's, it uses old memory or something in there.

00:56:58.780 --> 00:57:03.180
<v Dave Jones>And I think the thing that makes it so difficult is there's like zero documentation on these

00:57:03.180 --> 00:57:03.440
<v Dave Jones>things.

00:57:03.580 --> 00:57:04.900
<v Dave Jones>You can get data sheets.

00:57:04.900 --> 00:57:10.200
<v Dave Jones>And I had the data sheet on this and it explains the registers in a way that is mostly

00:57:10.200 --> 00:57:14.580
<v Dave Jones>understandable what they do, but it doesn't go into detail about like why you do things

00:57:14.580 --> 00:57:17.120
<v Dave Jones>in a certain order or what you have to do for certain things.

00:57:17.120 --> 00:57:22.680
<v Dave Jones>I still don't have any documentation on how to do like four or, I'm sorry, two bit grayscale,

00:57:22.820 --> 00:57:23.880
<v Dave Jones>four level grayscale for these.

00:57:24.000 --> 00:57:29.320
<v Dave Jones>I think I know how to do it and I want to try it, but like that kind of like handholdy

00:57:29.320 --> 00:57:34.120
<v Dave Jones>app note type of stuff seems to not exist unless you're a company that's going to order

00:57:34.120 --> 00:57:38.300
<v Dave Jones>so many units that you can actually get in touch with an FAE for, you know, good display

00:57:38.300 --> 00:57:39.200
<v Dave Jones>or whoever else is.

00:57:39.560 --> 00:57:44.440
<v Dave Jones>I think Holotech makes these, I have a Holotech screen that I got from AliExpress that I'm still

00:57:44.440 --> 00:57:49.760
<v Dave Jones>trying to get, you know, the LUTs, the lookup tables on their right to get the blacks to

00:57:49.760 --> 00:57:50.560
<v Dave Jones>look like they should.

00:57:50.800 --> 00:57:54.380
<v Dave Jones>And, and so it is still kind of like a hacker's paradise.

00:57:54.380 --> 00:57:58.880
<v Dave Jones>And like, if you can get this working, you can get like the, the street cred of, of things.

00:57:58.880 --> 00:58:02.400
<v Dave Jones>And, and, and you, I mean, you watched me do it with this one for embedded world.

00:58:02.400 --> 00:58:09.640
<v Dave Jones>Like I was bashing my head against the computer screen for like 18 hours or something, trying

00:58:09.640 --> 00:58:13.740
<v Dave Jones>to get the last parts of this display going, like making sure that it powered down.

00:58:13.960 --> 00:58:16.540
<v Dave Jones>So you didn't have, you didn't burn the display out.

00:58:16.600 --> 00:58:19.800
<v Dave Jones>If you'd like, cause if you leave the, the analog circuitry on.

00:58:20.200 --> 00:58:20.320
<v Speaker ?>Yeah.

00:58:20.720 --> 00:58:20.940
<v Chris Gammell>Right.

00:58:20.960 --> 00:58:24.840
<v Chris Gammell>It's not like a simple, uh, you have to like do all the things for the screen.

00:58:24.840 --> 00:58:26.380
<v Chris Gammell>Like you're really, it's caretaker, right?

00:58:26.380 --> 00:58:29.660
<v Chris Gammell>It's not like, uh, I kind of think, I always like think about these kinds of things.

00:58:29.660 --> 00:58:31.760
<v Chris Gammell>I'm like, Oh, I'll just like throw a data and it'll figure out.

00:58:31.760 --> 00:58:32.260
<v Chris Gammell>It's like, no, no, no.

00:58:32.260 --> 00:58:38.220
<v Chris Gammell>You have to like draw fonts and you have to, like you said, power cycle stuff and make sure

00:58:38.220 --> 00:58:39.540
<v Chris Gammell>the reset lines are all okay.

00:58:39.540 --> 00:58:41.660
<v Chris Gammell>And, and eventually sometimes you get a lot.

00:58:41.740 --> 00:58:47.700
<v Chris Gammell>So like if you, if we start from the place of like using the, uh, Pyramoroni badger, like,

00:58:47.700 --> 00:58:52.580
<v Chris Gammell>like we did for, for this most recent project, or, or like you use some Adafruit stuff and

00:58:52.580 --> 00:58:56.560
<v Chris Gammell>you're like in their ecosystem, then they have done all that same hard work and they package

00:58:56.560 --> 00:58:57.340
<v Chris Gammell>it up as a library.

00:58:57.340 --> 00:59:02.560
<v Chris Gammell>Uh, but you don't necessarily just get to like move that over to like Zephyr or wherever

00:59:02.560 --> 00:59:02.920
<v Chris Gammell>else.

00:59:03.940 --> 00:59:04.320
<v Dave Jones>Yeah.

00:59:04.320 --> 00:59:05.700
<v Dave Jones>We got pretty lucky on this one.

00:59:05.740 --> 00:59:11.140
<v Dave Jones>I mean, the goal of this one is very specific and we wanted a user interface for the things

00:59:11.140 --> 00:59:12.280
<v Dave Jones>that were actually showing off.

00:59:12.500 --> 00:59:18.480
<v Dave Jones>And since we already have I squared C centers on it, we just wanted the, the, uh, project

00:59:18.480 --> 00:59:22.740
<v Dave Jones>itself to have to do nothing more to drive the display and LEDs than send some I squared

00:59:22.740 --> 00:59:23.280
<v Dave Jones>C stuff.

00:59:23.640 --> 00:59:26.980
<v Dave Jones>And I think you again, found the Pyramoroni board, right?

00:59:27.340 --> 00:59:31.260
<v Chris Gammell>I had at one point.

00:59:31.360 --> 00:59:31.600
<v Dave Jones>Yeah.

00:59:31.820 --> 00:59:32.900
<v Dave Jones>Oh, I remember what it was.

00:59:33.300 --> 00:59:38.020
<v Dave Jones>We were worried about shortages and you were like, you know what you can always get is the

00:59:38.020 --> 00:59:38.940
<v Dave Jones>RP 2040.

00:59:39.180 --> 00:59:43.760
<v Dave Jones>And so you started looking for e-paper projects that were using an RP 2040.

00:59:43.880 --> 00:59:45.900
<v Dave Jones>You came around the Pyramoroni badger.

00:59:46.560 --> 00:59:51.480
<v Dave Jones>And when we started using that, it's, it's MicroPython and we're like, ah, you know, okay,

00:59:51.860 --> 00:59:54.160
<v Dave Jones>well, at least we can get some of these and test out the screen.

00:59:54.160 --> 00:59:59.200
<v Dave Jones>And the thing that we realized is you totally want MicroPython for this because this is one

00:59:59.200 --> 01:00:00.400
<v Dave Jones>face plate to rule them all.

01:00:00.500 --> 01:00:04.680
<v Dave Jones>So it's going to run on, you know, 15 different reference designs that do completely different

01:00:04.680 --> 01:00:05.240
<v Dave Jones>things.

01:00:05.780 --> 01:00:10.500
<v Dave Jones>And through the, through the MicroPython, you can plug in a USB cable to these face plates

01:00:10.500 --> 01:00:16.600
<v Dave Jones>and it gives you a, like a USB mass storage device that you can then drop assets tailored

01:00:16.600 --> 01:00:18.340
<v Dave Jones>to this particular example.

01:00:18.500 --> 01:00:22.180
<v Dave Jones>And you don't have to recompile the code that's running on this device.

01:00:22.900 --> 01:00:23.260
<v Chris Gammell>Yeah.

01:00:23.380 --> 01:00:26.700
<v Chris Gammell>So like my description of what I thought, how I thought displays work where I'm like, oh,

01:00:26.700 --> 01:00:29.280
<v Chris Gammell>you just like throw commands, you just throw data at it.

01:00:29.300 --> 01:00:31.100
<v Chris Gammell>And it like formats and it puts it on the screen.

01:00:31.100 --> 01:00:33.740
<v Chris Gammell>I basically asked Mike to build that and then he did.

01:00:36.440 --> 01:00:40.900
<v Chris Gammell>So over I squared C, basically there, you set up a bunch of registers and then you send

01:00:40.900 --> 01:00:42.900
<v Chris Gammell>data and you send like, what is it like temp?

01:00:42.980 --> 01:00:46.980
<v Chris Gammell>So like in temperature case, you say like, this is a temperature and then you send the

01:00:46.980 --> 01:00:49.940
<v Chris Gammell>temperature number and then it displays that on the screen.

01:00:50.340 --> 01:00:52.000
<v Chris Gammell>And that's all I have to think about.

01:00:52.280 --> 01:00:54.120
<v Chris Gammell>And that's like set up as like a slideshow.

01:00:54.120 --> 01:00:59.040
<v Chris Gammell>So, and that's, that's all I've ever wanted, but because it's now I squared C talking up

01:00:59.040 --> 01:01:04.320
<v Chris Gammell>to this, you know, PCB display, uh, we can do it from ESP IDF as well.

01:01:04.400 --> 01:01:05.580
<v Chris Gammell>We can do it from Zephyr.

01:01:05.660 --> 01:01:10.300
<v Chris Gammell>We can do it regardless of which, you know, basically it is just an I squared C sensor at

01:01:10.300 --> 01:01:12.100
<v Chris Gammell>a certain point or sync device.

01:01:12.260 --> 01:01:18.500
<v Chris Gammell>And then, uh, all of the fancy display stuff is now on the RP 2040, like you said with us

01:01:18.500 --> 01:01:21.460
<v Chris Gammell>and you can change assets over the mass storage as well.

01:01:21.460 --> 01:01:21.900
<v Chris Gammell>Yeah.

01:01:22.820 --> 01:01:29.580
<v Dave Jones>And we just reused the, the Pimeroni, um, MIT licensed, or maybe it's, I can't remember

01:01:29.580 --> 01:01:34.680
<v Dave Jones>what the license is, but it is a permissive license, um, that ecosystem and then took out

01:01:34.680 --> 01:01:39.020
<v Dave Jones>the e-paper driver because we had, we used a different e-paper screen, but things like

01:01:39.020 --> 01:01:44.360
<v Dave Jones>the ability to say, um, here's a sprite file with a whole bunch of different icons in it

01:01:44.360 --> 01:01:48.520
<v Dave Jones>and show icon number seven, like Pimeroni did a great job of writing that.

01:01:48.520 --> 01:01:50.120
<v Dave Jones>And we just are reusing that.

01:01:50.300 --> 01:01:51.080
<v Dave Jones>It's beautiful.

01:01:51.460 --> 01:01:53.780
<v Dave Jones>Um, they had like a user led.

01:01:54.020 --> 01:01:59.260
<v Dave Jones>So we just like extended that user led to run five different icon LEDs on it.

01:01:59.740 --> 01:02:01.620
<v Dave Jones>Um, there is some more custom stuff in there.

01:02:01.620 --> 01:02:05.120
<v Dave Jones>Like we put a, a capacitive touch controller on that.

01:02:05.120 --> 01:02:07.220
<v Dave Jones>So we're actually reading that over a second bus.

01:02:07.300 --> 01:02:13.840
<v Dave Jones>I suppose the real custom thing in here is the, the I squared C that listens, um, for the

01:02:13.840 --> 01:02:15.260
<v Dave Jones>Zephyr device to talk to it.

01:02:15.260 --> 01:02:20.040
<v Dave Jones>Um, and that's, this was a challenge cause I hadn't really done MicroPython anything before,

01:02:20.040 --> 01:02:25.320
<v Dave Jones>but I was pretty sure I didn't want MicroPython being in charge of that listening for I squared

01:02:25.320 --> 01:02:25.800
<v Dave Jones>C stuff.

01:02:25.920 --> 01:02:29.880
<v Dave Jones>I did try for a while to use a MicroPython driver for that.

01:02:29.960 --> 01:02:32.920
<v Dave Jones>And it did not work well, but luckily I found a,

01:02:32.920 --> 01:02:35.540
<v Dave Jones>uh, before you say that, why, why is that a bad idea?

01:02:36.200 --> 01:02:40.680
<v Dave Jones>Oh, you know, it's just kind of like, um, layers upon layers.

01:02:40.780 --> 01:02:42.080
<v Dave Jones>You're not very close to the hardware.

01:02:42.080 --> 01:02:47.260
<v Dave Jones>And if you're listening for communications, at least in my mind, you want to use the, the

01:02:47.260 --> 01:02:50.980
<v Dave Jones>I squared C hardware peripheral and you want to use interrupts that are fired by them.

01:02:50.980 --> 01:02:55.880
<v Dave Jones>And, and I wasn't really sure how to make sure in MicroPython, which is like at least

01:02:55.880 --> 01:02:59.720
<v Dave Jones>two steps up the software stack that I was going to have that tight hardware loop.

01:02:59.720 --> 01:03:02.800
<v Dave Jones>And I wasn't going to be servicing other things and missing communications.

01:03:03.600 --> 01:03:04.540
<v Dave Jones>Um, got it.

01:03:05.040 --> 01:03:12.060
<v Dave Jones>I also, uh, I, we didn't, I was using a, um, dev board.

01:03:12.320 --> 01:03:17.160
<v Dave Jones>Of, of our Aludel mini that didn't have a quick header on it.

01:03:17.160 --> 01:03:22.600
<v Dave Jones>And I had just done my own soldering to the pads and I'd done a crappy job that I, I made

01:03:22.600 --> 01:03:25.100
<v Chris Gammell>and then Mike, yeah, I hadn't soldered a header on it.

01:03:25.140 --> 01:03:27.420
<v Chris Gammell>So Mike just soldered directly to the board, wired a board.

01:03:27.420 --> 01:03:27.780
<v Dave Jones>Yeah.

01:03:27.880 --> 01:03:31.260
<v Dave Jones>And so after like a really miserable week of thinking that I didn't know how to do anything,

01:03:31.320 --> 01:03:32.260
<v Dave Jones>I couldn't do anything right.

01:03:32.360 --> 01:03:37.420
<v Dave Jones>I realized that there was noise on the I squared C lines because of my soldering job and everything

01:03:37.420 --> 01:03:38.180
<v Dave Jones>worked great.

01:03:39.380 --> 01:03:40.720
<v Dave Jones>It was like doing all these workarounds.

01:03:40.720 --> 01:03:43.180
<v Dave Jones>You remember I like, I was like, okay, we're going to use two addresses.

01:03:43.580 --> 01:03:46.400
<v Dave Jones>We're going to use a command address and a data address separately.

01:03:46.680 --> 01:03:50.420
<v Dave Jones>So, cause we, we were having these like stops and restarts and weird stuff.

01:03:50.420 --> 01:03:53.920
<v Dave Jones>And, and I, I'm, I, that worked wonderfully and totally was unnecessary.

01:03:54.840 --> 01:03:55.200
<v Chris Gammell>Yeah.

01:03:55.700 --> 01:03:59.400
<v Chris Gammell>I had the only reason I remember that Mike, cause I remember asking, did, did you, did you check

01:03:59.400 --> 01:03:59.880
<v Chris Gammell>the soldering?

01:03:59.880 --> 01:04:00.820
<v Chris Gammell>And you said, yeah, I did.

01:04:01.220 --> 01:04:01.480
<v Chris Gammell>Yeah.

01:04:01.480 --> 01:04:01.780
<v Dave Jones>Yeah.

01:04:01.780 --> 01:04:01.900
<v Dave Jones>Yeah.

01:04:01.900 --> 01:04:02.100
<v Dave Jones>Yeah.

01:04:02.140 --> 01:04:05.800
<v Dave Jones>But that was only like, that was only like five days, five days into the problem that

01:04:05.800 --> 01:04:06.360
<v Dave Jones>you asked that.

01:04:06.500 --> 01:04:08.060
<v Dave Jones>And so it was only like two more days that I wasted.

01:04:08.360 --> 01:04:09.920
<v Dave Jones>Think about how much you've learned in those five days.

01:04:10.120 --> 01:04:10.680
<v Dave Jones>I did learn a lot.

01:04:10.680 --> 01:04:11.120
<v Dave Jones>You're like, I'm going to be a good one for yourself.

01:04:11.600 --> 01:04:17.760
<v Dave Jones>But the great thing is, yeah, we ended up pivoting to a great driver that someone wrote

01:04:17.760 --> 01:04:19.380
<v Dave Jones>that, that one's under the MIT license.

01:04:19.840 --> 01:04:20.280
<v Dave Jones>Yeah.

01:04:20.520 --> 01:04:26.880
<v Dave Jones>Called I2C multi address for Raspberry Pi for the RP2040.

01:04:26.880 --> 01:04:31.560
<v Dave Jones>And it uses PIO to, which is cool.

01:04:32.100 --> 01:04:32.560
<v Dave Jones>Very cool.

01:04:32.660 --> 01:04:32.960
<v Dave Jones>Super cool.

01:04:33.100 --> 01:04:33.240
<v Dave Jones>Yeah.

01:04:33.280 --> 01:04:37.940
<v Dave Jones>Because the, the other thing I found out when I was trying to use multiple addresses is that

01:04:37.940 --> 01:04:43.840
<v Dave Jones>the Raspberry Pi hardware, or at least the driver that is in the Pico SDK can't do multiple

01:04:43.840 --> 01:04:47.500
<v Dave Jones>addresses when it's a peripheral device.

01:04:47.500 --> 01:04:48.620
<v Dave Jones>It can only do one address.

01:04:48.980 --> 01:04:55.060
<v Dave Jones>And so somebody wrote it, wrote this PIO programmable input output, which is hardware state machines

01:04:55.060 --> 01:04:56.420
<v Dave Jones>in order to listen to this.

01:04:56.420 --> 01:05:02.720
<v Dave Jones>And so I am using that to validate the commands.

01:05:03.040 --> 01:05:06.700
<v Dave Jones>And if it's a, if it's an led command, it just turns on the led right away.

01:05:06.700 --> 01:05:11.940
<v Dave Jones>Cause that's really easy to, you know, led is going to be on or off is the request, but

01:05:11.940 --> 01:05:14.260
<v Dave Jones>everything else it puts into a FIFO buffer.

01:05:14.580 --> 01:05:18.080
<v Dave Jones>And then you do this like weird, it's called marshalling.

01:05:18.280 --> 01:05:22.440
<v Dave Jones>So it's like a, almost like a macro wrapper around your C functions.

01:05:22.440 --> 01:05:27.600
<v Dave Jones>And then Python or micro Python can read that macro wrapper.

01:05:27.600 --> 01:05:32.840
<v Dave Jones>And that macro wrapper is like, okay, I have a function and it takes an int and, or, you

01:05:32.840 --> 01:05:36.820
<v Dave Jones>know, it takes a buffer of ints and then it returns a bool or something like that, you

01:05:36.820 --> 01:05:39.820
<v Dave Jones>know, for whatever combination, there's a different macro wrapper for it.

01:05:39.820 --> 01:05:44.500
<v Dave Jones>And then that ties into an actual Python class that you can write.

01:05:44.720 --> 01:05:49.420
<v Dave Jones>And so you've got to like write your C, wrap it in this marshalling and then write your

01:05:49.420 --> 01:05:50.280
<v Dave Jones>Python classes.

01:05:50.280 --> 01:05:52.320
<v Dave Jones>And that was weird and fun.

01:05:52.320 --> 01:05:53.640
<v Dave Jones>And I'm really glad I got to do it.

01:05:54.340 --> 01:05:54.420
<v Dave Jones>Yeah.

01:05:54.480 --> 01:05:57.920
<v Chris Gammell>So you basically create this FIFO buffer of just like incoming.

01:05:57.920 --> 01:06:02.980
<v Chris Gammell>Cause basically you're making a, so like people you think about like inside this BME

01:06:02.980 --> 01:06:05.400
<v Chris Gammell>280, like we talked about, it's taking I squared C commands.

01:06:05.620 --> 01:06:06.760
<v Chris Gammell>There's a state machine in there.

01:06:06.800 --> 01:06:07.940
<v Chris Gammell>That's just listening for I squared C.

01:06:08.020 --> 01:06:11.000
<v Chris Gammell>There's like, not a, I don't think there's a micro, but there's probably a state machine.

01:06:11.100 --> 01:06:16.640
<v Chris Gammell>And when you send, you say like, Hey, device on this address, you know, send me the, send

01:06:16.640 --> 01:06:17.460
<v Chris Gammell>me the temperature reading.

01:06:17.460 --> 01:06:20.840
<v Chris Gammell>It's going and fetching the temperature reading out of the memory and sending, putting that

01:06:20.840 --> 01:06:21.620
<v Chris Gammell>on the I squared C bus.

01:06:21.620 --> 01:06:27.880
<v Chris Gammell>Well now Mike's doing that as a, as a Raspberry Pi is processing these incoming commands and,

01:06:27.980 --> 01:06:29.800
<v Chris Gammell>and then doing things as a result of it.

01:06:30.220 --> 01:06:31.220
<v Chris Gammell>Which I think is pretty cool.

01:06:31.360 --> 01:06:33.940
<v Chris Gammell>I mean, like, I don't usually think about making I squared C peripherals.

01:06:34.020 --> 01:06:36.460
<v Chris Gammell>Usually they're, usually they're more the controller than the peripheral.

01:06:36.780 --> 01:06:39.560
<v Chris Gammell>And, but like, it's pretty useful.

01:06:39.740 --> 01:06:44.140
<v Chris Gammell>I think, you know, maybe a, maybe not the best use of the I squared C bus, but it's probably,

01:06:44.340 --> 01:06:45.640
<v Chris Gammell>but it's a cool use of it.

01:06:46.580 --> 01:06:49.580
<v Chris Gammell>And we were out of pins, you know, like we were out of pins.

01:06:50.000 --> 01:06:50.320
<v Speaker ?>Yeah.

01:06:50.320 --> 01:06:56.080
<v Dave Jones>Well, for the ePaper display, like, I don't want to do graphic stuff in C.

01:06:56.760 --> 01:06:59.900
<v Dave Jones>Like, I don't want to do fonts in C for ePaper display.

01:07:00.020 --> 01:07:01.600
<v Dave Jones>It's just, it's miserable and hard.

01:07:01.720 --> 01:07:06.460
<v Dave Jones>And so you go out and find a library, but like the Pimeroni Pico stuff in MicroPython,

01:07:06.580 --> 01:07:09.620
<v Dave Jones>you can actually give it a Hershey font file on any font you want.

01:07:10.100 --> 01:07:15.340
<v Dave Jones>And it'll, and tell it like, do that on this line and do it at 3X scale.

01:07:15.660 --> 01:07:19.480
<v Dave Jones>And, you know, you can even write off the side of the screen and it'll know not to overflow

01:07:19.480 --> 01:07:20.520
<v Dave Jones>and do weird stuff.

01:07:20.520 --> 01:07:23.800
<v Dave Jones>And it's just kind of nice in the way that it handles that.

01:07:24.240 --> 01:07:29.100
<v Dave Jones>The MicroPython has a loop in it that is always just checking to see if there's anything in the

01:07:29.100 --> 01:07:30.100
<v Dave Jones>I squared C buffer.

01:07:30.860 --> 01:07:32.320
<v Dave Jones>And I'm just really simple protocol.

01:07:32.440 --> 01:07:36.240
<v Dave Jones>Like for instance, if you, if you want a new slide and your slide is going to be labeled temperature,

01:07:36.240 --> 01:07:40.620
<v Dave Jones>there's a register, you know, let's say 0x15.

01:07:40.620 --> 01:07:45.240
<v Dave Jones>And then the next byte is going to tell you the number of letters in your string.

01:07:45.360 --> 01:07:47.400
<v Dave Jones>And then the following bytes are the string itself.

01:07:47.920 --> 01:07:51.980
<v Dave Jones>And so MicroPython knows coming in like, oh, this is, this is register 15.

01:07:52.100 --> 01:07:53.080
<v Dave Jones>So it's going to be a string.

01:07:53.340 --> 01:07:56.200
<v Dave Jones>And it just puts it into the graphics library stuff that was already there.

01:07:56.280 --> 01:07:56.900
<v Dave Jones>It's really simple.

01:07:56.900 --> 01:07:57.900
<v Chris Gammell>Hmm.

01:07:58.340 --> 01:07:58.600
<v Chris Gammell>Yeah.

01:07:58.780 --> 01:08:02.160
<v Chris Gammell>So that gluing together of code is kind of happening at the MicroPython level.

01:08:02.160 --> 01:08:07.180
<v Chris Gammell>Cause it is happening like higher up, you know, that graphic stuff is often pretty high up in the,

01:08:07.280 --> 01:08:08.060
<v Chris Gammell>higher up in the stack.

01:08:08.100 --> 01:08:14.200
<v Chris Gammell>I feel like, unless you're doing like really low level, like, uh, I don't know, low power,

01:08:14.240 --> 01:08:15.320
<v Chris Gammell>the super, super low powered thing.

01:08:15.320 --> 01:08:19.720
<v Chris Gammell>Like I think about like Chris White doing, uh, displays on the Fitbit, like those kinds of things

01:08:19.720 --> 01:08:21.940
<v Chris Gammell>are, that sounded miserable when he always explained it.

01:08:21.940 --> 01:08:22.300
<v Chris Gammell>Yeah.

01:08:23.840 --> 01:08:24.200
<v Dave Jones>Yeah.

01:08:24.240 --> 01:08:29.080
<v Dave Jones>And we are, you know, we have the luxury here that we're not requiring ourselves to run at

01:08:29.080 --> 01:08:33.040
<v Dave Jones>low power and we could with, with this, you know, the Pico has low power modes and stuff

01:08:33.040 --> 01:08:38.420
<v Dave Jones>like the, the e-paper is well suited for that, but more like if we have a device and we turn

01:08:38.420 --> 01:08:42.200
<v Dave Jones>it off and then we meet someone in the hallway and you pull it out, it still has data on it,

01:08:42.220 --> 01:08:42.840
<v Dave Jones>which is pretty cool.

01:08:43.240 --> 01:08:44.700
<v Chris Gammell>That's the thing that I was excited about.

01:08:44.760 --> 01:08:48.840
<v Chris Gammell>And actually, because, so I meant to mention much, much earlier in the show, but the one person

01:08:48.840 --> 01:08:51.920
<v Chris Gammell>that I thought of who has been on the show that talked about Zephyr is Jared

01:08:51.920 --> 01:08:52.200
<v Chris Gammell>Wolf.

01:08:52.520 --> 01:08:54.680
<v Chris Gammell>Uh, and I will link in his episode as well.

01:08:54.820 --> 01:08:59.960
<v Chris Gammell>Well, we're actually using Jared Wolf's, uh, uh, it's not circuit dojo board.

01:09:00.020 --> 01:09:06.800
<v Chris Gammell>It's actually, he, he licensed his design to, um, SparkFun and SparkFun makes a, uh, a circuit

01:09:06.800 --> 01:09:11.580
<v Chris Gammell>dojo design, basically the NRF 9160, um, feather board thing.

01:09:11.700 --> 01:09:12.360
<v Chris Gammell>Plus they call it.

01:09:12.900 --> 01:09:13.780
<v Chris Gammell>Where's it going with that?

01:09:13.840 --> 01:09:17.160
<v Chris Gammell>Oh, so that version of the board actually, uh, when it goes into sleep mode, it basically

01:09:17.160 --> 01:09:22.540
<v Chris Gammell>only leaves the RTC on the battery power and it shuts off everything, including the 3.3

01:09:22.540 --> 01:09:26.220
<v Chris Gammell>volt rail to the rest of the design, including, including the NRF 9160.

01:09:26.580 --> 01:09:30.760
<v Chris Gammell>So that's the only two things that can wake it up are the real time clock that you have

01:09:30.760 --> 01:09:32.500
<v Chris Gammell>to set or a button press.

01:09:32.500 --> 01:09:35.160
<v Chris Gammell>That's the only two ways you can wake up this board, which I think is super great.

01:09:35.160 --> 01:09:36.640
<v Chris Gammell>And it kills all the other rails.

01:09:36.860 --> 01:09:42.100
<v Chris Gammell>Uh, and so in doing so, because this board Mike and I are talking about is on the quick

01:09:42.100 --> 01:09:44.040
<v Chris Gammell>header, it has four lines.

01:09:44.100 --> 01:09:46.760
<v Chris Gammell>It has power ground, SDA, SEL.

01:09:47.060 --> 01:09:50.420
<v Chris Gammell>And so it just shuts down when the rest of the board shuts down.

01:09:50.500 --> 01:09:53.800
<v Chris Gammell>So like, if you wanted to put this whole, you know, this little product that Mike and I are

01:09:53.800 --> 01:09:57.860
<v Chris Gammell>talking about effectively into a super, super low power mode, it would still be showing

01:09:57.860 --> 01:10:02.300
<v Chris Gammell>all the ink stuff in, in a very beautiful way because Ian, cause it's just really nice and

01:10:02.300 --> 01:10:03.320
<v Chris Gammell>high contrast environments.

01:10:03.940 --> 01:10:11.620
<v Chris Gammell>And, uh, but it'd be dead, dead, dead, dead, dead low power, which I like.

01:10:12.980 --> 01:10:13.520
<v Chris Gammell>So, yeah.

01:10:14.380 --> 01:10:16.680
<v Chris Gammell>Uh, Mike, we've gone all over the place here.

01:10:16.920 --> 01:10:18.360
<v Chris Gammell>Um, yeah, that's how I am.

01:10:18.400 --> 01:10:19.480
<v Chris Gammell>It's already 10 minutes after an hour.

01:10:19.600 --> 01:10:20.640
<v Chris Gammell>No, no, it's me too.

01:10:23.020 --> 01:10:27.600
<v Chris Gammell>Um, the, here's the other things that you and I had,

01:10:27.860 --> 01:10:32.780
<v Chris Gammell>brainstorm about Pat, uh, more notes, passing context versus individual values.

01:10:32.780 --> 01:10:36.660
<v Chris Gammell>That sounds pretty deep dealing with memory alignment, getting better at CMake and get

01:10:36.660 --> 01:10:37.060
<v Chris Gammell>mastery.

01:10:37.200 --> 01:10:38.880
<v Dave Jones>Those all sound like get mastery.

01:10:38.960 --> 01:10:40.700
<v Dave Jones>The others that were just like fodder.

01:10:40.800 --> 01:10:41.500
<v Dave Jones>I think that's fine.

01:10:41.700 --> 01:10:41.900
<v Chris Gammell>Yeah.

01:10:42.260 --> 01:10:42.580
<v Dave Jones>Okay.

01:10:42.820 --> 01:10:43.100
<v Dave Jones>Okay.

01:10:43.500 --> 01:10:44.380
<v Chris Gammell>Well, that's a lot of stuff.

01:10:44.580 --> 01:10:50.080
<v Chris Gammell>Um, I think I will use the last couple of minutes to say, if you were going to be anywhere

01:10:50.080 --> 01:10:52.000
<v Chris Gammell>near Nuremberg, please come see us.

01:10:52.000 --> 01:10:55.200
<v Chris Gammell>We'd love to hang out and, uh, build community with you.

01:10:55.380 --> 01:10:56.940
<v Chris Gammell>Um, that would be fun.

01:10:56.940 --> 01:10:58.820
<v Chris Gammell>And it's like next week, Chris.

01:10:59.100 --> 01:10:59.320
<v Chris Gammell>Yeah.

01:10:59.320 --> 01:11:00.140
<v Chris Gammell>It's next week.

01:11:00.780 --> 01:11:01.960
<v Chris Gammell>I'm a little worried about that.

01:11:04.040 --> 01:11:04.660
<v Chris Gammell>Get to work.

01:11:04.800 --> 01:11:06.000
<v Chris Gammell>It's going to be fun.

01:11:07.260 --> 01:11:09.700
<v Chris Gammell>And I guess the last little thing is mini pitch.

01:11:09.720 --> 01:11:13.360
<v Chris Gammell>If you'd like to come work with us, uh, there are two positions that would directly work with

01:11:13.360 --> 01:11:14.040
<v Chris Gammell>Mike and myself.

01:11:14.500 --> 01:11:16.100
<v Chris Gammell>Uh, and you can check that out.

01:11:16.260 --> 01:11:19.180
<v Chris Gammell>Um, that's the only pitch about Goliath that I'll do is if you want to come work with

01:11:19.180 --> 01:11:22.360
<v Chris Gammell>Mike and myself, there's a firmer role and a FAA role.

01:11:23.240 --> 01:11:24.420
<v Chris Gammell>Come work with us.

01:11:24.420 --> 01:11:24.900
<v Dave Jones>Woo.

01:11:24.900 --> 01:11:25.000
<v Dave Jones>Woo.

01:11:25.000 --> 01:11:25.400
<v Chris Gammell>Woo.

01:11:25.400 --> 01:11:25.640
<v Speaker ?>Yeah.

01:11:26.040 --> 01:11:26.260
<v Chris Gammell>Yeah.

01:11:27.600 --> 01:11:32.340
<v Chris Gammell>Uh, Mike, I'm going to talk to you every day for the rest of my career, apparently, but,

01:11:32.400 --> 01:11:34.860
<v Chris Gammell>um, where should people find you if they want to talk to you?

01:11:35.280 --> 01:11:35.760
<v Dave Jones>Oh yeah.

01:11:35.940 --> 01:11:36.620
<v Dave Jones>I'm amazing.

01:11:36.620 --> 01:11:39.180
<v Dave Jones>So I've kind of sworn off the bird site.

01:11:39.800 --> 01:11:45.640
<v Dave Jones>Uh, and you can definitely find me on at stitch at chaos.social.

01:11:45.640 --> 01:11:52.200
<v Dave Jones>If you know how to spell my last name, otherwise go to jump tuck.com, which is my beautiful new

01:11:52.200 --> 01:11:52.840
<v Dave Jones>Jekyll site.

01:11:52.960 --> 01:11:57.340
<v Dave Jones>I just migrated it from WordPress, even though the, uh, there's not a whole lot of new content

01:11:57.340 --> 01:11:59.260
<v Dave Jones>there, but, uh, yeah, let's connect.

01:11:59.380 --> 01:11:59.800
<v Dave Jones>Let's talk.

01:11:59.800 --> 01:12:00.220
<v Chris Gammell>All right.

01:12:00.360 --> 01:12:04.020
<v Chris Gammell>Well, Mike, thank you for the last minute help on this and, uh, thanks for all the good

01:12:04.020 --> 01:12:04.280
<v Chris Gammell>firmer.

01:12:04.440 --> 01:12:05.420
<v Chris Gammell>It's been a lot of fun working together.

01:12:05.640 --> 01:12:06.460
<v Chris Gammell>I had a fun time.

01:12:06.520 --> 01:12:07.740
<v Chris Gammell>Thanks for having me on the show again, Chris.

01:12:07.740 --> 01:12:37.720
<v Chris Gammell>Thank you.
