start	end	text
1050	2950	Alright, how's everybody doing?
3450	6550	This is getting started with Meshtastic.
7890	11090	Anybody here heard of Meshtastic before?
11090	11590	Yeah?
11590	12190	Awesome.
12190	14690	Anybody who has not heard of Meshtastic before?
14850	15670	Awesome.
15670	17730	You are the people I'm trying to reach.
18670	20410	So who am I?
20770	24630	I am... I go by Ahriman2001 on Twitter.
24630	31070	I'm KD2WUB and I enjoy making stuff sometimes with antennas.
31210	34370	Generally, you know, pretty interested in RF.
34370	36350	So yeah, that's me.
36470	38790	And what's this talk about?
38790	44970	So Meshtastic, it's kind of a new thing and I would like to see more of it out there.
45430	48910	It's pretty boring to just message yourself in the house.
48970	52990	So if I can get more of you guys using it, maybe we'll see more people out there.
53730	55450	Yeah, that's all awesome.
56310	57930	So what are we going to cover?
58010	71110	Basically just what is Meshtastic, high level, what is LoRa, which is what it runs on, and then why would you do it, what do you need to use it, and hey, let's make some mesh networks.
73650	74950	So what is it?
75090	80270	Meshtastic is an open source project aiming to create mesh communications.
80270	90430	Off grid, no infrastructure needed, basically you just buy a little board, maybe you put it on a hard hat, maybe you don't, I don't know.
91490	101990	That board uses LoRa, which is a method of modulation for RF that is basically long range, very low data rates.
103470	119830	That board then piggybacks to your phone, either over Bluetooth or Wi-Fi, and allows you to type text messages back and forth to people on the mesh, or share GPS data, basically anything you want.
120870	138490	So it's based on the CHIRP's spread spectrum, and it's basically just making a trade off in your link budget to basically do slower speeds, smaller amounts of data, to get a longer range, and better signal to noise ratio.
141230	159010	If you want to know more about how LoRa actually works, and under the hood, there's an amazing talk, it was at DEF CON 24, it was by Matt Knight, and I highly recommend you go check that out, he goes into way more detail than I ever could, and talks about all the frequencies,
159570	162370	spreading factors, coding rates, and all of that.
164510	173470	So in Meshtastic, a pretty big concept is a channel, and a channel is just a collection of settings that the radio needs to communicate.
174070	186370	So it basically comprises of a channel ID, a modem configuration, a channel name, a pre-shared key, and a region.
187070	189490	So what are all of these things, right?
189710	197350	Two of the easy ones are channel ID and channel name, they're just an integer and a string used to identify all these settings.
198750	206650	Then you have the modem configuration, and this is where all those LoRa settings get set.
206710	219590	So you pick your bandwidth of your signal, your coding rate, your spreading factor, and that is going to determine the maximum speed that you can transmit data.
220290	223490	And so all of these settings in the modem config...
225870	229710	Oh, sure, all good.
229890	240790	So each of these settings are basically just... they have some shorthand names, as you see on the left there, and they have some common names as well, like short-fast, short-slow.
241710	250930	There is a default if you flash Meshtastic to your board, and that's what I've seen most people using during the con here, which has been great.
252710	257670	And there's all sorts of extra documentation that you can find at that link right there.
259210	262650	Also, it uses a pre-shared key for encryption.
263170	270070	It can use AES-256 encryption, doesn't always though, so you can set it to none.
270430	277010	There's also a default key, which I believe is included in all of the source code, so anybody can decrypt those.
277070	279130	You might have some fun with that, you might not.
279990	289670	You can also use random, which will use that randomly generated AES-256 bit key, and is generally the most secure of those settings.
289670	293410	You can also just use a single byte to encode.
295930	314630	Next up is your region, so depending on where you are in the world, you may have different regulations controlling what you're able to transmit and where, and so when you pick your region, it actually sets the center frequency, the spacing between those frequencies and the channels,
314630	319050	the number of channels, and also the power limit, if you have one.
321110	323210	So let's say, hey, you want to get into this.
323250	324670	You do need some hardware.
325470	327430	There's generally two form factors.
327430	342030	There's ones that are based on the ESP32, and there's also ones that are based on the NRF52 chips, and generally you can get a radio for anywhere from like $30 to $50, depending on how fast you want to get it shipped to you.
343630	346850	I've had a lot of experience with the Heltech.
347150	352590	I've yet to try the RAC card, but I want to check it out soon.
354790	355650	So that's great.
355650	356530	You have the hardware.
356530	358630	It can talk over the radio.
358630	361610	How do you actually type a message and interface things?
361610	364970	And that's where it piggybacks to your phone, generally.
365710	370530	You can get an app either in the Google Play Store or on iOS in the Apple App Store.
371530	381890	To get it on iOS, you actually have to download this TestFlight app, and then from within that app, you load in basically a beta version of the Meshtastic app.
382990	385290	I'm going to warn you, it can be a little buggy right now.
385290	392670	It's definitely a project in development, and go out, try things, and submit bug reports.
394830	397810	Next up, we have the Python CLI.
398470	405290	In there, you definitely get a lot more options to all of the settings, especially if you're on an iPhone.
405350	408270	The app is a little more limited than the Android app right now.
408950	414070	If you want to do things like change the name of your node and things like that, you should check out the CLI.
414450	418930	It's installable via PIP, and pretty easy to use.
419050	424530	If you just type it, it'll give you all the options that you can use and instructions for that.
426450	428470	What kind of information can you share?
428790	436710	Like I said, it's very slow speed, so you're going to be sending small bits of data, generally text messages.
437350	441470	You can also share your location if you so choose, and if you have a GPS connected.
442510	444450	There's all sorts of applications for this.
445130	452470	I always think of if you were on a search and rescue team or something, you could get everybody on your crew and you could see where they're at.
453810	457690	I mean, it definitely has lots of uses for that.
458730	460150	Also, sensor data.
460150	472690	There is some support for temperature sensors and things like that, so you could distribute different nodes across a property, for instance, and monitor different things with different sensors.
474630	484190	There's also extra modules within the software, so if you want to do something extra than what the app does, there's room to tinker, and that's always fun.
484190	489570	So you can connect different I2C sensors like I was talking about.
490010	501630	You can also set your module to send canned messages, either triggered with a button or a rotary encoder, and there's also serial input for messages.
503110	518570	There's actually a whole group of people trying to build little communicators, where you have an embedded keyboard and everything, and you can talk via serial from one microcontroller to the Meshtastic node, and then do things that way, too.
520030	534830	If you want to find out more, you can go to meshtastic.org, and there's a whole docs page on how to get started, how to flash your board, and yeah, definitely more information there.
535410	539690	So hopefully now you guys all know a little bit more about Meshtastic.
539690	543610	I hope some of you get interested in it and maybe try it out.
545050	546590	Any questions?
550480	551280	Cool.
569850	576050	I'm not, but that kind of makes sense to me, like that it would, because you're really just seeing it on the frequency.
576230	578550	You probably can't see what it is.
578550	587670	It'll just show up as an encrypted message to you, but it probably will try to, you know, act as a mesh and retransmit that out to other nodes that may have that encryption key.
587810	592930	I don't know if that's as designed or not, but I haven't run into it personally.
594890	595610	Cool.
597010	598170	Yeah,
602510	611090	so I did a little test from my house where I set up an antenna and then I just kind of went walking around my neighborhood.
611090	612430	I got to about a mile.
613210	615850	I know you can get better with more line of sight.
615850	618410	I've heard people get up to like three miles almost.
619330	625490	It really depends on your, you know, what's in the middle and what kind of antenna you're using and what your transmit power is.
628630	629950	Anybody else?
631050	631770	Yeah.
640650	641310	Sure.
645870	653230	I think that they're just more developed, so people have made firmwares for them that, you know, they know which module is on there.
653230	656510	I don't think there's really any reason it couldn't be done.
656510	660690	It's just, I don't think it's been developed yet, but I think you could.
666880	667600	Sure.
673100	673620	Yeah.
673620	673980	Oh, yeah.
673980	685580	I didn't mention, but there is also a Meshtastic Discord with a whole bunch of people that know way more about it than I do, but it's been a great place to hang out and just, you know, ask questions and see what people are building.
685580	692420	And there's a whole bunch of people like doing 3D prints for cases and things like that and different designs.
692420	694920	So definitely a cool thing to check out.
697220	697940	Cool.
698420	702240	Well, if there's nothing else, thank you for your time and I'll be around.
702240	704940	You can probably find me with a hard hat if you have any other questions.
705060	706140	So thank you very much.
