1 00:01:05,740 --> 00:01:08,860 Call sign KI7ODK. 2 00:01:08,980 --> 00:01:12,840 Before I begin, I would like to briefly introduce myself. 3 00:01:13,320 --> 00:01:18,300 I have been an amateur radio operator since 2017, and currently hold a U.S. 4 00:01:18,300 --> 00:01:20,020 general class license. 5 00:01:20,420 --> 00:01:26,420 I am an aerospace engineer by profession, and I'm just about to receive my master's degree in that same field. 6 00:01:26,420 --> 00:01:35,420 Some of my interests related to amateur radio and engineering are emergency preparedness, computer hardware and programming, and computer networking. 7 00:01:36,080 --> 00:01:45,200 Today, I will be presenting about single-board computers, or SBCs, and their use in amateur radio. 8 00:01:45,220 --> 00:01:50,600 For those who are not familiar with SBCs, I will first go over what an SBC is. 9 00:01:50,600 --> 00:01:54,300 We will then look into some of the advantages of SBCs. 10 00:01:54,700 --> 00:02:03,600 The majority of my experience with single-board computers has dealt with the Raspberry Pi, so I will be focusing my presentation today on the Raspberry Pi. 11 00:02:03,660 --> 00:02:15,120 However, the Pi, as it is also known, is not the only SBC out there, so I will also be showing a couple other options that you can look into if you're interested. 12 00:02:15,460 --> 00:02:35,300 My plan today is to dedicate most of my presentation to introducing the Raspberry Pi, showing you the various models of the Pi that are available, walk you through how to set up the Raspberry Pi OS, and then show you just some of the many things that you can do using a Raspberry Pi in the sphere of amateur radio. 13 00:02:35,640 --> 00:02:38,360 So with that, let's jump right in. 14 00:02:39,660 --> 00:02:46,200 Now a typical desktop or laptop and computer generally includes the following components. 15 00:02:46,580 --> 00:02:51,040 A motherboard, which serves to interconnect the computer's various components. 16 00:02:51,040 --> 00:02:55,800 Random Access Memory, or RAM, also known simply as memory. 17 00:02:56,360 --> 00:03:01,380 A Central Processing Unit, or CPU, also just called the processor. 18 00:03:02,940 --> 00:03:06,580 A graphics card, or graphics processing unit. 19 00:03:07,660 --> 00:03:10,020 A hard drive for data storage. 20 00:03:10,380 --> 00:03:12,460 And a power supply. 21 00:03:13,380 --> 00:03:21,900 The pictures shown here for each of these components are showing what they may appear like in a desktop computer. 22 00:03:22,160 --> 00:03:29,780 While the same components used for laptop computers are usually more compact, the function for each of these components is still the same. 23 00:03:30,260 --> 00:03:37,560 As the name implies, a single board computer is a computer that has all of its essential components assembled onto one board. 24 00:03:38,080 --> 00:03:48,160 As noted in the explanation from Wikipedia, this usually includes, but is not limited to, a microprocessor, memory, and input-output connections. 25 00:03:50,670 --> 00:04:00,670 Because all of these components are built onto a single board, SBCs have several advantages over their desktop and laptop counterparts. 26 00:04:01,490 --> 00:04:06,770 First, modern single board computers are small and compact. 27 00:04:06,990 --> 00:04:13,910 Similarly, they are very lightweight, even when compared to the lightest laptop computers available today. 28 00:04:14,070 --> 00:04:21,110 Their small and lightweight nature makes SBCs great for portable and or space-constrained uses. 29 00:04:22,370 --> 00:04:24,670 SBCs are also very versatile. 30 00:04:25,150 --> 00:04:29,250 Because most SBCs run on Linux, they are very customizable. 31 00:04:29,890 --> 00:04:36,490 Many SBCs also include what are known as GPIO, or General Purpose Input-Output connections. 32 00:04:36,690 --> 00:04:39,610 I'll explain a little bit more about that later. 33 00:04:40,070 --> 00:04:46,070 GPIO pins can be very useful for amateur radio and electronics purposes and projects. 34 00:04:47,790 --> 00:04:56,730 Next, the use of smaller, low-power components on SBCs means that single board computer systems often require very little power to run. 35 00:04:57,010 --> 00:05:04,730 And finally, devices such as the Raspberry Pi have a large community of users that continue to grow. 36 00:05:05,290 --> 00:05:11,950 This means that there is a large group of people you can turn to for support with your projects or to get ideas from. 37 00:05:12,280 --> 00:05:13,990 Now let's be clear. 38 00:05:14,290 --> 00:05:19,970 Single board computers are great, however, they do have some disadvantages. 39 00:05:21,760 --> 00:05:32,210 Because SBCs are smaller and use small, low-power components, their processing power is limited compared to a desktop or laptop computer. 40 00:05:32,450 --> 00:05:41,010 However, this disadvantage has become less of a problem in recent years as the processing power of SBCs has increased noticeably. 41 00:05:41,690 --> 00:05:48,370 Another point that many may consider a disadvantage is the fact that single board computers typically cannot run Windows. 42 00:05:48,650 --> 00:05:54,310 Especially in amateur radio, there are many programs that can only run on Windows. 43 00:05:54,310 --> 00:05:59,350 However, I myself do not consider this a great disadvantage. 44 00:06:00,270 --> 00:06:10,950 The Windows operating system is great for home and office use where your Windows updates probably don't mess you up too much. 45 00:06:11,660 --> 00:06:17,250 In the end, Windows is not known for being the most stable operating system. 46 00:06:17,750 --> 00:06:23,850 And let me just say right now, SBCs are not built or intended for hardcore gaming use either. 47 00:06:24,010 --> 00:06:27,030 Yes, you can run Minecraft on a Raspberry Pi. 48 00:06:27,030 --> 00:06:30,230 You can also set up a Pi to run classic arcade games. 49 00:06:30,850 --> 00:06:37,610 Just don't expect to be playing Call of Duty or something similar on a Pi, as is typically done on a Windows desktop computer. 50 00:06:38,690 --> 00:06:43,270 Now that I've said that, some of you may go out there to prove me wrong, and that's perfectly fine. 51 00:06:43,270 --> 00:06:44,670 All the more power to you. 52 00:06:44,690 --> 00:06:48,050 I would love to see if you could run Call of Duty on a Raspberry Pi. 53 00:06:48,250 --> 00:06:50,170 However, I digress. 54 00:06:50,170 --> 00:06:51,990 That's not the point of this presentation. 55 00:06:52,730 --> 00:07:02,690 Hopefully, this simply gives you a good idea of what SBCs are great for, and what areas they aren't generally intended to be used in. 56 00:07:04,910 --> 00:07:12,770 After going through those advantages and disadvantages, we can begin to see why single-board computers are great for amateur radio. 57 00:07:13,430 --> 00:07:22,270 As digital modes continue to grow in use and popularity, we will see an increasing use of computer-connected radios. 58 00:07:22,270 --> 00:07:31,230 SBCs do great running digital modes, and as I mentioned earlier, are also great for interfacing with electronics. 59 00:07:31,490 --> 00:07:36,390 This could allow you to easily set up a push-to-talk circuit using an SBC. 60 00:07:36,690 --> 00:07:39,050 And that's just one simple example. 61 00:07:39,390 --> 00:07:50,210 Now even though Windows doesn't typically run on SBCs, almost anything you can do on a Windows computer for amateur radio can also be done on an SBC. 62 00:07:51,130 --> 00:08:01,490 Looking at the advantages listed in the previous slide, we can see that SBCs are great for portable operations, such as summits on the air and field day. 63 00:08:01,830 --> 00:08:08,030 And as I alluded to earlier, Linux is a great and very stable operating system. 64 00:08:08,570 --> 00:08:13,810 It's also open source, which means that you don't have to pay for the OS itself. 65 00:08:16,660 --> 00:08:21,300 Here are some quick examples of single-board computers that are available on the market today. 66 00:08:21,300 --> 00:08:25,240 Now the first I have already mentioned is the Raspberry Pi. 67 00:08:25,920 --> 00:08:34,100 The Raspberry Pi is probably, by far, the most well-known and popular single-board computer available right now. 68 00:08:34,580 --> 00:08:36,880 Next is the BeagleBone Black. 69 00:08:37,160 --> 00:08:46,040 The BeagleBone shares some features with the Raspberry Pi, but includes a different processor and GPIO setup, as you can see in that picture. 70 00:08:46,860 --> 00:08:50,580 The other example that I have shown here is the BananaPi. 71 00:08:50,580 --> 00:09:00,600 Now I honestly don't know too much about the BananaPi, but from what I've read, its design was partially inspired by the Raspberry Pi, as you can probably see in that picture. 72 00:09:00,940 --> 00:09:04,640 There are multiple other single-board computers out there that you can get. 73 00:09:04,660 --> 00:09:09,320 Feel free to look around and see what interests you and what fits your needs. 74 00:09:10,600 --> 00:09:20,780 Alright now that I have gone over and given a general explanation about single-board computers, I will be talking from here on out specifically about the Raspberry Pi. 75 00:09:21,220 --> 00:09:26,540 The original Raspberry Pi board was released in 2012 by the Raspberry Pi Foundation. 76 00:09:27,460 --> 00:09:33,860 As of the end of last year, 2019, over 30 million Raspberry Pi boards have been sold. 77 00:09:34,140 --> 00:09:38,980 Today, the Pi is available in three main form factors. 78 00:09:39,000 --> 00:09:42,820 The first and most popular is the full-sized Model B. 79 00:09:42,820 --> 00:10:02,740 The Model B includes four USB ports, an Ethernet port, GPIO header pins, an audio output, HDMI output or outputs, depending on the model, a display ribbon output, a camera ribbon connector, and a power input. 80 00:10:03,450 --> 00:10:06,740 The second form factor is known as the Model A. 81 00:10:06,740 --> 00:10:19,380 This model has one USB port, an HDMI output, a display ribbon output, GPIO pins, an audio port, a camera ribbon input, and a power connection. 82 00:10:20,040 --> 00:10:31,740 And last, the Pi Zero includes only GPIO headers, an HDMI output, USB connection, ribbon connection, and power input. 83 00:10:32,140 --> 00:10:39,780 The base Zero model does not include wireless capabilities, however the Zero W does. 84 00:10:39,840 --> 00:10:49,180 You can also buy versions of the Zero W with pins pre-soldered onto the GPIO headers to make it easier to do those connections. 85 00:10:51,660 --> 00:10:59,980 Now here is a table showing the different Raspberry Pi revisions and models that have been released since the first Raspberry Pi. 86 00:11:00,260 --> 00:11:08,500 The most popular models currently available are the Raspberry Pi 3B+, and the Raspberry Pi 4. 87 00:11:08,880 --> 00:11:18,580 The 4 is now available with 2, 4, or 8 gigabytes of RAM, even though this table doesn't show the 8 gigabyte model. 88 00:11:20,080 --> 00:11:24,260 The 3A+, typically sells for about $25. 89 00:11:24,260 --> 00:11:30,640 The 3B+, and the 4B 2 gigabyte models, both currently sell for $35. 90 00:11:30,860 --> 00:11:36,960 You can see the other prices that I have listed there on the right for the various models as well. 91 00:11:37,300 --> 00:11:47,000 Notice that the price increases about $20 for each successive increment of RAM if you're ordering the Raspberry Pi 4. 92 00:11:49,500 --> 00:11:53,460 To buy a Pi, I would recommend going to raspberrypi.org. 93 00:11:53,460 --> 00:11:59,080 The Raspberry Pi Foundation maintains a list of approved resellers on their website. 94 00:11:59,520 --> 00:12:04,220 I would recommend that you avoid buying from Amazon.com and other similar sites. 95 00:12:04,600 --> 00:12:14,180 Because of the popularity of the Raspberry Pi, sellers commonly try to buy stock from the approved resellers, and then resell it at a markup. 96 00:12:14,840 --> 00:12:17,520 I personally prefer to buy from Adafruit. 97 00:12:17,520 --> 00:12:21,400 However, any of these resellers shown here are great. 98 00:12:21,400 --> 00:12:27,180 Be aware that you can purchase the boards or computers alone, or in a kit. 99 00:12:27,540 --> 00:12:31,740 The kits are nice if you're just starting out, but they can be a little more expensive. 100 00:12:33,340 --> 00:12:39,680 Keep in mind that there are a couple components that you need to run your Pi, in addition to just the board itself. 101 00:12:40,980 --> 00:12:43,520 The first of those is an SD card. 102 00:12:43,700 --> 00:12:46,740 The SD card is essentially the hard drive of the Pi. 103 00:12:47,100 --> 00:12:49,780 It slides into a slot at the bottom of the board. 104 00:12:50,820 --> 00:12:53,140 The next is a power supply. 105 00:12:53,560 --> 00:12:59,180 With just a power supply and an SD card, you can run what is known as a headless Raspberry Pi setup. 106 00:12:59,260 --> 00:13:03,320 In other words, the Pi is not connected to any external displays. 107 00:13:04,020 --> 00:13:06,960 This is how I run most of my Pis. 108 00:13:07,320 --> 00:13:11,080 I have my Pis set up so that I can control them remotely over my home network. 109 00:13:11,480 --> 00:13:19,640 I also have the Raspberry Pi I use for portable operations set up to create its own wireless network when I am out of range of my home network. 110 00:13:20,000 --> 00:13:31,500 This allows me to connect to the Pi using any other wireless computer, tablet, or smartphone and remotely control the Raspberry Pi while I'm out operating. 111 00:13:33,230 --> 00:13:39,320 To start out, it is often nice to hook up your Pi to an HDMI display, a keyboard, and mouse. 112 00:13:39,320 --> 00:13:44,300 This can help you set it up and go through the initial configuration process. 113 00:13:44,780 --> 00:13:48,100 I also like having my Pis in a case. 114 00:13:48,500 --> 00:13:54,380 Now a case is not necessary, but it can help protect your Pi and the components on the board. 115 00:13:55,520 --> 00:14:01,740 Alright, now that we've gone over all of that, it's time to jump into setting up a Pi. 116 00:14:02,400 --> 00:14:08,880 To set up your Raspberry Pi, you will first need two things in addition to your laptop or desktop computer. 117 00:14:08,880 --> 00:14:18,040 First of those, as we mentioned earlier, is a micro SD card to set up and to install the OS on. 118 00:14:18,180 --> 00:14:26,440 The next thing you'll need for the SD card is an SD card reader of some sort that you can plug into your computer so you can set it up and image it that way. 119 00:14:26,920 --> 00:14:34,220 Once you have that plugged up into your computer, we'll then use one of two applications to format and image this card. 120 00:14:36,560 --> 00:14:46,960 On the computer, we can use, like I mentioned, one of two applications to image the SD card. 121 00:14:47,960 --> 00:14:56,200 The Raspberry Pi Foundation has recently released the Raspberry Pi Imager application, which makes it very easy to set up the SD card. 122 00:14:56,560 --> 00:14:59,680 First we need to choose the operating system version that we want. 123 00:14:59,820 --> 00:15:05,500 Now the one that they recommend currently is the Raspberry Pi OS with the desktop environment. 124 00:15:05,500 --> 00:15:17,980 This will simply install the full operating system on your SD card and will include the desktop environment so you can interact with the Pi just as you would any other desktop computer using a keyboard and mouse. 125 00:15:18,480 --> 00:15:28,160 There is other options that you can select here, such as Ubuntu, which is another type of Linux, RetroPie for retro gaming, and things like that. 126 00:15:28,220 --> 00:15:35,340 If you select Other Images for the Raspberry Pi OS, you can see that they have two other options here. 127 00:15:35,340 --> 00:15:37,780 The first is the Lite option. 128 00:15:38,000 --> 00:15:46,560 The Lite OS image installs the OS with a command line interface only, so no desktop interface will be included. 129 00:15:47,900 --> 00:16:04,360 The second one here is the Full OS, so that will install the full desktop operating system with a set of recommended applications, so you can have those applications already installed and ready to go for your first use. 130 00:16:06,180 --> 00:16:16,560 Once you select the operating system that you would like to use, for this example I'll go ahead and select the recommended one, you then choose your SD card, and then you click Write. 131 00:16:16,560 --> 00:16:24,000 It will download the operating system image from the internet and then write it to your SD card. 132 00:16:25,460 --> 00:16:35,620 The second application that you can use, which is no longer recommended, but I'm going to be using it today just for speed, is Bylena Etcher. 133 00:16:37,130 --> 00:16:42,220 This application, you simply select an image that you've already downloaded, 134 00:16:46,560 --> 00:16:54,620 I have mine here in OS Images, and I have the full image here to select. 135 00:16:55,020 --> 00:17:03,000 You then make sure it has your SD card selected there for the drive, and then you click Flash. 136 00:17:04,760 --> 00:17:10,740 Now this will take a little bit to flash or image the card, so I'll come back to you after it's done. 137 00:17:14,200 --> 00:17:19,420 Alright, Etcher is almost done flashing the image to our SD card. 138 00:17:19,760 --> 00:17:31,240 Now I didn't mention earlier, but I'm using Etcher right now because I already downloaded the image online, as you saw, and I found that Etcher can be a little bit faster if you do that. 139 00:17:31,900 --> 00:17:40,360 The Raspberry Pi imager does take a little bit longer, simply because it has to first download the image from the internet, like I mentioned earlier. 140 00:17:40,640 --> 00:17:50,900 I believe that once you have used the Raspberry Pi imager, once or twice, it will actually store that image somewhere on your computer. 141 00:17:50,920 --> 00:17:59,560 So if you use it sequentially multiple times, it will be faster in the future, and it will simply use that downloaded image to flash to your SD cards. 142 00:17:59,560 --> 00:18:08,200 Alright, Etcher is going to now take some time to validate the image that we just flashed to our card, so I'll come back right after that has finished. 143 00:18:09,220 --> 00:18:16,120 Etcher is about done validating the image that has been flashed to the SD card. 144 00:18:16,120 --> 00:18:26,320 While that's finishing up, let me show you really quick where you can download the Raspberry Pi OS images and the Raspberry Pi imager. 145 00:18:26,660 --> 00:18:33,400 If you just go to raspberrypi.org, all you have to do is come up and click on the Downloads page up here. 146 00:18:33,460 --> 00:18:40,160 You can then download the imager application for Windows, Mac, or Ubuntu Linux. 147 00:18:40,440 --> 00:18:48,580 You can also directly download the images for the OS by going down here and scrolling down. 148 00:18:48,580 --> 00:18:51,180 As we can see, the flash is now complete. 149 00:18:53,240 --> 00:19:04,800 Alright, now that that's done, at this point, you can remove the SD card from your computer, plug it into your Pi, and power up your Raspberry Pi. 150 00:19:04,880 --> 00:19:12,120 If you were to hook your Raspberry Pi up to a monitor, keyboard, and mouse to complete the rest of the setup. 151 00:19:12,420 --> 00:19:19,920 However, I am now going to continue on and set up my Raspberry Pi for a headless setup. 152 00:19:21,840 --> 00:19:30,600 Now, in my case here, I have to remove the SD card and put it back into my computer in order for the computer to load up the card again. 153 00:19:30,800 --> 00:19:34,060 So now that I'm done with Balana Etcher, I'll go ahead and close that out. 154 00:19:34,300 --> 00:19:41,120 And you can see here that I have a drive showing up in my USB drive E now. 155 00:19:41,440 --> 00:19:47,940 You can see all these files here are from the image that just got flashed to the card. 156 00:19:48,300 --> 00:19:59,380 What's going to happen is once we plug this into the Raspberry Pi, the first time the Pi boots up, it will take all these files and it will actually set up the OS. 157 00:19:59,560 --> 00:20:10,220 So the files you see here are not necessarily the same way they're going to show up once you have the OS set up and have run the Pi for the first time. 158 00:20:10,600 --> 00:20:22,620 The first thing I'm going to do here is I'm going to follow the instructions here on the raspberrypi.org documentation for setting up a Raspberry Pi headless. 159 00:20:23,780 --> 00:20:34,160 Now you can see the first things you want to do here is if you're going to connect to your Raspberry Pi with a wireless network, you need to set it up so it will connect to your network. 160 00:20:34,600 --> 00:20:40,800 If you're going to set it up and connect it with an Ethernet cable, you don't have to worry about this step here. 161 00:20:40,800 --> 00:20:42,760 But I'm going to go ahead and set this up. 162 00:20:42,760 --> 00:20:49,220 So what we want to do is we are going to set up what's called a WPA supplicant configuration file. 163 00:20:49,860 --> 00:20:53,120 The contents of that file are shown here. 164 00:20:53,120 --> 00:20:59,740 So I'm going to simply copy that and paste that over to my Notepad Plus document here. 165 00:21:01,040 --> 00:21:05,580 We need to first verify that the settings are correct here. 166 00:21:05,820 --> 00:21:10,560 So the first thing we'll check is to make sure that the country code is set. 167 00:21:10,560 --> 00:21:13,700 In my case, that will be US. 168 00:21:15,080 --> 00:21:28,860 You will then put in here the name of your network and whatever your password is for your network in the PSK spot. 169 00:21:30,380 --> 00:21:45,560 If your network is open and has no password, you can set that up by following the directions for unsecured networks shown here. 170 00:21:45,560 --> 00:21:54,640 So all you would do is put in key underscore MGMT equals none instead of having a password there in the file. 171 00:21:57,040 --> 00:22:06,760 So we're going to take that file and we're going to save that into our SD card there. 172 00:22:06,760 --> 00:22:17,980 And I'll make sure that that is named WPA underscore supplicant dot CONF. 173 00:22:19,680 --> 00:22:21,080 Save that there. 174 00:22:21,220 --> 00:22:29,600 And when the Pi boots up for the first time, it will detect that file and it will set up the wireless networking. 175 00:22:29,620 --> 00:22:34,040 Now you notice Windows changed it to .conf.txt. 176 00:22:34,040 --> 00:22:35,680 So I'm going to go in there. 177 00:22:35,680 --> 00:22:41,160 And I'm going to make sure that it's .conf and not .conf.txt. 178 00:22:44,380 --> 00:22:48,460 And yes, Windows is going to ask me if I want to do that, and I'm going to say yes. 179 00:22:48,920 --> 00:22:56,780 All right, the next thing that I'm going to do here is I'm going to create a new file in here. 180 00:22:57,900 --> 00:23:04,000 Just a text document, and I'm just going to call it SSH with no suffix. 181 00:23:04,620 --> 00:23:06,700 And I'm going to say yes. 182 00:23:07,160 --> 00:23:18,060 Now with that SSH file in there, that will enable the SSH interface the first time the Raspberry Pi boots up. 183 00:23:18,380 --> 00:23:22,500 SSH is simply a remote control interface that you can do over command line. 184 00:23:22,760 --> 00:23:28,000 And that's one thing that I use a lot with my Raspberry Pis that I'm remote controlling. 185 00:23:28,500 --> 00:23:38,880 So now that I have those two things set up, all that's left to do is to plug the SD card into the Pi and plug it into power. 186 00:23:42,800 --> 00:23:50,900 So what we'll do is we'll go ahead and grab our SD card, and we'll go ahead and put that in the SD card slot on the bottom of the Raspberry Pi. 187 00:23:51,320 --> 00:23:56,480 You just insert that straight in there until it goes in all the way. 188 00:23:57,700 --> 00:23:59,100 It's not really hard to put in. 189 00:23:59,100 --> 00:24:03,540 You won't feel a click, but just make sure it goes in all the way so it's connected properly. 190 00:24:03,660 --> 00:24:10,580 You'll then take your Raspberry Pi and hook it up to your power supply by hooking that into the power in slot. 191 00:24:10,880 --> 00:24:17,580 Now today, I'm simply going to be using a USB power bank to power my Pi as well for setup and demonstration. 192 00:24:21,880 --> 00:24:29,940 Alright once the Raspberry Pi has started up, you'll see the red light and green light start to flash on the Raspberry Pi itself. 193 00:24:30,680 --> 00:24:34,920 Give the Pi a minute or so to boot up and set up the OS. 194 00:24:35,260 --> 00:24:46,100 And then, to complete the setup for the headless portion of the tutorial right now, what I'm going to do is I'm going to go ahead and connect to the Pi using SSH. 195 00:24:46,160 --> 00:24:50,240 Now there's multiple programs you can use to do SSH. 196 00:24:50,300 --> 00:24:54,640 One of the popular ones is called PuTTY, P-U-T-T-Y. 197 00:24:54,640 --> 00:24:59,580 Go ahead and Google that and you can download that and use that for SSH. 198 00:24:59,950 --> 00:25:07,340 What I do is I use the Windows subsystem for Linux feature that's currently on Windows 10. 199 00:25:07,340 --> 00:25:23,320 So I'm going to go ahead and pull up my Ubuntu installation and all you have to do in this case is just type in ssh pi at and then the IP address of your Pi on your network. 200 00:25:23,320 --> 00:25:28,360 You'll have to figure that out, what IP address your Pi connected with. 201 00:25:29,040 --> 00:25:36,760 I'm going to go ahead and hit enter here and the first time I connect to this host it's saying that the authenticity of the host cannot be established. 202 00:25:36,940 --> 00:25:40,780 Well that's fine because this is the first time I'm connecting to the host after it's been set up. 203 00:25:40,780 --> 00:25:43,340 So I'm just going to say yes, that's fine. 204 00:25:43,620 --> 00:25:45,600 Now it's going to ask me for the password. 205 00:25:46,000 --> 00:25:50,340 Now notice that Pi I put in is the default username. 206 00:25:50,720 --> 00:25:55,660 And the default password for the Raspberry Pi is simply raspberry. 207 00:25:57,720 --> 00:26:03,540 So I type that in and apparently I did not type it correctly. 208 00:26:06,540 --> 00:26:08,360 Let's see if I... there we go. 209 00:26:08,460 --> 00:26:15,960 So once you're in and connected correctly you'll see the prompt there to change your password. 210 00:26:15,980 --> 00:26:18,960 You'll want to do that if you're leaving your Pi connected at all. 211 00:26:18,960 --> 00:26:25,620 What I'm going to do here is I'm going to enter raspi underscore config. 212 00:26:29,180 --> 00:26:31,540 And I'm going to have to look at the command now. 213 00:26:33,620 --> 00:26:39,200 So what I want to do is I'm going to set up here some interfaces. 214 00:26:39,760 --> 00:26:44,780 And I want to set up primarily VNC so I can remote control this Pi graphically. 215 00:26:45,280 --> 00:26:51,160 So what I want is enabling this option at the command line. 216 00:26:51,160 --> 00:26:53,860 Oh, and I wanted a dash, not an underscore. 217 00:26:53,860 --> 00:26:55,220 So I was pretty close. 218 00:26:56,360 --> 00:27:00,640 But I'm just going to do dash and that will bring up this. 219 00:27:00,740 --> 00:27:04,220 It's telling me I need to do it as a root or basically as an admin user. 220 00:27:04,220 --> 00:27:10,180 So I just need to do sudo as pi config. 221 00:27:13,040 --> 00:27:19,200 All right, now that this has come up, you can use the keyboard here to navigate through this menu. 222 00:27:19,200 --> 00:27:29,400 I'm just going to do down arrow, two interfacing options, and I'm going to go over arrow, right to select, and I'm going to hit enter. 223 00:27:30,140 --> 00:27:33,420 And then I'm going to say VNC. 224 00:27:33,420 --> 00:27:39,860 I want to select and I want to enable the VNC server. 225 00:27:40,280 --> 00:27:42,060 It's now telling me that that's enabled. 226 00:27:42,780 --> 00:27:46,000 And that should be the only thing that I have to do right now. 227 00:27:46,180 --> 00:27:50,760 You can enable the other interfaces or explore the options right here that you have. 228 00:27:51,920 --> 00:27:58,040 So what I'm going to do is I'm just going to do now go over over to finish and hit finish. 229 00:27:58,160 --> 00:28:04,320 And now I'm going to do sudo reboot to restart the Pi. 230 00:28:05,420 --> 00:28:09,320 It will close the SSH connection and it will reboot the Pi. 231 00:28:09,980 --> 00:28:16,660 What we're going to do now is we will wait for the Pi to reboot so we can now connect with it with VNC. 232 00:28:17,500 --> 00:28:23,920 VNC is automatically installed on the Raspbian or the Raspberry Pi operating system. 233 00:28:24,060 --> 00:28:26,620 Like we just saw, I just enabled the server. 234 00:28:26,620 --> 00:28:34,900 So what you want to do is you can download the VNC viewer for your computer. 235 00:28:36,580 --> 00:28:44,780 It's available for Windows, Mac, Linux, and there's also applications available for iOS and Android. 236 00:28:44,880 --> 00:28:48,280 So you can use those devices to remote control your Raspberry Pi as well. 237 00:28:48,440 --> 00:28:52,180 Once you download that and install it, you can then connect to your Raspberry Pi. 238 00:28:52,720 --> 00:29:01,760 So I'm going to pull up VNC viewer and these are a few of my devices here that I often connect to. 239 00:29:02,800 --> 00:29:04,880 Mine is 0.36. 240 00:29:04,880 --> 00:29:11,520 Now since I have reinstalled the operating system on my Raspberry Pi, its catchphrase and signature have changed. 241 00:29:11,540 --> 00:29:16,600 So that's why it's alerting me here to this identity check failure. 242 00:29:17,060 --> 00:29:25,440 I already know about that so I'm just going to click continue and I'm going to put in the same password, raspberry, and connect to it. 243 00:29:26,240 --> 00:29:27,480 There we go. 244 00:29:28,040 --> 00:29:31,660 Alright, now it's going to give us a couple of warnings because we haven't changed the password. 245 00:29:31,660 --> 00:29:32,580 That's fine. 246 00:29:32,900 --> 00:29:41,580 So the last thing that I'm going to go through right now is just show you this wizard that helps you set up the Raspberry Pi. 247 00:29:41,580 --> 00:29:45,920 It simply goes through and this is the graphical way that you can set up your Raspberry Pi. 248 00:29:49,030 --> 00:29:51,890 First of all, make sure you've set up your country. 249 00:29:52,450 --> 00:29:55,910 That's the thing that we set up earlier when we set up the wireless configuration. 250 00:29:58,490 --> 00:30:01,570 Alright now it gives you an opportunity to change the password. 251 00:30:02,390 --> 00:30:05,030 You would enter your new password here and confirm it. 252 00:30:05,650 --> 00:30:09,230 I'm not going to worry about that right now but that's something I definitely encourage you to do. 253 00:30:10,470 --> 00:30:16,470 This gives you the opportunity here if you're using a monitor to make sure that the screen is set up properly. 254 00:30:16,970 --> 00:30:19,030 I'm not going to worry about that right now. 255 00:30:19,610 --> 00:30:23,350 And then here is where you can set up your wireless networks if you haven't already. 256 00:30:23,470 --> 00:30:25,010 So I'm going to go ahead and skip that. 257 00:30:25,270 --> 00:30:39,210 And then finally, it gives you a prompt to update the system software and I would recommend you do that at the end of your setup here just to make sure that everything is up to date even though we just barely installed the operating system. 258 00:30:39,250 --> 00:30:42,850 So most everything should be up to date but it's a good idea to check that. 259 00:30:43,890 --> 00:30:50,930 The very last thing that I will do here is you can notice that the screen size for the VNC viewer is a little small here. 260 00:30:51,010 --> 00:31:00,250 What I'm going to go ahead and do is we can change that by going into the preferences and into Raspberry Pi configuration. 261 00:31:00,610 --> 00:31:10,850 If we go into display and set resolution, we can then make the VNC server emulate a larger display. 262 00:31:10,850 --> 00:31:20,050 So I'm going to just select 1280x720 and we'll go ahead and make sure that that is confirmed. 263 00:31:20,090 --> 00:31:21,490 Can I get down to the... 264 00:31:21,490 --> 00:31:24,750 Hopefully if I just close it, okay. 265 00:31:24,750 --> 00:31:29,170 So it is going to confirm the settings there and it's just going to reboot the Pi. 266 00:31:29,370 --> 00:31:36,450 So what will happen is the VNC viewer here will wait for the Pi to reboot and it will reconnect. 267 00:31:36,670 --> 00:31:37,490 And here we are. 268 00:31:37,490 --> 00:31:39,030 We have a slightly larger screen. 269 00:31:39,030 --> 00:31:42,710 So you can set that resolution to whatever fits your setup and needs. 270 00:31:44,870 --> 00:31:52,570 Now that we have set up a Raspberry Pi, it's up to you to explore and figure out just what you can do with a Raspberry Pi. 271 00:31:53,030 --> 00:32:01,410 Pis are great for use in emergency communications and can enable effective communications for Ares and Skywarn groups. 272 00:32:01,870 --> 00:32:12,730 Using a software TNC such as Direwolf makes it really easy to hook a sound card up to the Pi and your radio for things such as Winlink and APRS. 273 00:32:12,970 --> 00:32:22,090 Other digital applications such as JSA Call and WSJTX work great on the Pi. 274 00:32:22,470 --> 00:32:28,970 You can even hook your Raspberry Pi up to a software-defined radio device to expand the capabilities of your setup. 275 00:32:29,470 --> 00:32:34,310 These are just a few examples of what you can do with a Raspberry Pi. 276 00:32:34,310 --> 00:32:37,670 And honestly, the sky is the limit. 277 00:32:39,590 --> 00:32:46,190 Now I'm going to show you my setup and how I use my Raspberry Pi in amateur radio while I am out operating. 278 00:32:48,390 --> 00:32:51,410 So this is my portable setup as I currently have it. 279 00:32:51,470 --> 00:32:58,550 Here I have a Kenwood TM-V71 interfaced with my Raspberry Pi 3B+. 280 00:32:59,330 --> 00:33:10,770 The Raspberry Pi is hooked to a sound card and an RT-Systems control or programming cable, which are both then hooked into the back of the TM-V71 here. 281 00:33:11,090 --> 00:33:17,190 The Raspberry Pi is also hooked up to a 12V to 5V power converter. 282 00:33:18,210 --> 00:33:28,610 If you don't want to hook your Raspberry Pi into your 12V battery system, you can also consider using a USB power bank, as I mentioned earlier. 283 00:33:29,130 --> 00:33:35,590 A power bank such as this will power your Pi for quite a few hours out in portable operations. 284 00:33:37,910 --> 00:33:43,610 Now I'm going to give you a close-up of how this setup is currently arranged. 285 00:33:44,490 --> 00:33:49,250 So here is the USB sound card that I mentioned that's currently hooked up to the Pi. 286 00:33:49,930 --> 00:33:56,070 Typically you want to use a USB or external sound card because the Raspberry Pi only has an audio out. 287 00:33:56,070 --> 00:33:58,590 It does not have a microphone input port. 288 00:33:58,650 --> 00:34:04,270 I also have my RT-Systems cable that I mentioned here hooked into one of the other USB ports. 289 00:34:04,370 --> 00:34:09,550 You'll notice here is a GPS receiver hooked up to the Pi. 290 00:34:09,550 --> 00:34:22,370 This GPS receiver is not only receiving the position of the Raspberry Pi system, but it also is able to sync up the time, the system time, with GPS time. 291 00:34:22,370 --> 00:34:28,850 For data modes such as JSA Call and FT8 that require fairly precise timing. 292 00:34:29,130 --> 00:34:36,790 This GPS receiver is simply the same as this GPS GLONASS UBLOX 7 receiver here. 293 00:34:36,790 --> 00:34:45,150 I've simply taken off the plastic casing off the outside so that this would fit with my other USB connections there on the Pi. 294 00:34:47,310 --> 00:34:58,290 Currently the Raspberry Pi is creating a hotspot or wireless network that I can connect to it using an iPad or another tablet or even a laptop. 295 00:34:58,610 --> 00:35:05,730 Typically I use my iPad here to connect to the Raspberry Pi and control it wirelessly using the VNC app. 296 00:35:05,730 --> 00:35:12,450 It's also handy if you want to have a wireless keyboard attached to your tablet or use the keyboard on a laptop. 297 00:35:12,450 --> 00:35:15,910 And that makes typing much easier than trying to use an on-screen keyboard. 298 00:35:20,070 --> 00:35:31,090 So now that I've shown you the physical setup of my Raspberry Pi portable radio box, let me show you some of the software that I have installed on my Raspberry Pi. 299 00:35:31,170 --> 00:35:34,350 First thing you can see here on the desktop is DireWolf. 300 00:35:34,370 --> 00:35:40,930 DireWolf is a software TNC application that is currently interfaced with the USB sound card that I showed you earlier. 301 00:35:40,930 --> 00:35:50,070 You can see it currently decoding APRS packets in real time because I have my radio currently tuned to the APRS frequency. 302 00:35:51,450 --> 00:36:01,010 DireWolf is also currently interfaced with LIN-BPQ, which is creating and providing a WinLink gateway. 303 00:36:01,510 --> 00:36:08,230 Other stations could connect to my gateway and send and receive email over the WinLink service. 304 00:36:08,230 --> 00:36:15,910 That WinLink gateway is managed by going to the local website created by LIN-BPQ. 305 00:36:16,090 --> 00:36:32,370 This is a nice feature that many of these applications, these portable applications and digital applications do, is create a webpage service that you can access not only from the Raspberry Pi, but you can access from any computer that's connected to the Raspberry Pi wirelessly, 306 00:36:32,370 --> 00:36:34,330 such as my iPad tablet. 307 00:36:35,190 --> 00:36:39,030 LIN-BPQ hosts its website at port 8080. 308 00:36:39,030 --> 00:36:46,690 And so this is a configuration page that I go to in order to manage my WinLink gateway and BPQ node. 309 00:36:47,330 --> 00:36:52,310 Another application that I have installed on my Raspberry Pi is PAT. 310 00:36:52,350 --> 00:36:55,790 Now PAT is a WinLink client. 311 00:36:55,990 --> 00:37:03,330 So if I go here to port 5000, I will pull up my PAT web UI. 312 00:37:05,010 --> 00:37:12,590 PAT can also connect to Direwolf to use my sound card TNC to send and receive messages. 313 00:37:12,590 --> 00:37:25,430 This has a simple interface, just an inbox, your app box, your sent messages, an archive, and the action menu where you can compose messages and position updates. 314 00:37:26,770 --> 00:37:35,410 Alright, in addition to those two applications that I have for WinLink, I have a variety of other applications currently installed on my Raspberry Pi. 315 00:37:35,810 --> 00:37:40,530 These are all organized under the ham radio submenu here. 316 00:37:41,510 --> 00:37:45,710 Some of these include Chirp for programming radios. 317 00:37:46,610 --> 00:37:49,530 CQRLog, which is a logging program. 318 00:37:49,930 --> 00:37:52,690 Direwolf, once again, is the sound card TNC. 319 00:37:52,690 --> 00:38:01,050 I have FLdigi and FLrig for rig control and some digital sound card modes. 320 00:38:01,050 --> 00:38:07,150 You can also see here JSA Call and WSJTX. 321 00:38:07,230 --> 00:38:12,450 Additionally, I have Zaster and YAC for APRS clients. 322 00:38:12,570 --> 00:38:19,890 And I have a couple additional tools here installed that help me manage the software and update the software. 323 00:38:19,890 --> 00:38:27,690 Such as PapMenu, PiAPRS, and other things that have been developed by Jason, KM4AK. 324 00:38:28,850 --> 00:38:35,250 These programs are really useful on VHF, UHF, and HF. 325 00:38:35,250 --> 00:38:44,890 And you can interface your single Raspberry Pi to both a VHF radio and an HF radio simply using multiple sound card interfaces. 326 00:38:44,890 --> 00:38:49,950 Alright, so you're probably wondering now, where do I start? 327 00:38:50,810 --> 00:38:53,190 Here are a few of my suggestions. 328 00:38:53,350 --> 00:38:56,250 First, check out raspberrypi.org. 329 00:38:56,450 --> 00:39:03,350 There are many tutorials there and elsewhere online of projects you can do using the Raspberry Pi. 330 00:39:03,390 --> 00:39:06,290 Next, check out YouTube. 331 00:39:06,290 --> 00:39:16,750 KM4AK, Jason, and OH8STN, Julian, both have great channels on YouTube that I follow. 332 00:39:16,990 --> 00:39:20,970 They both do some great things with their radios using the Raspberry Pi. 333 00:39:21,750 --> 00:39:26,910 I would also suggest you take some time to decide what you would like to explore. 334 00:39:27,370 --> 00:39:32,390 There is a lot that you can do with the Raspberry Pi and other single board computers. 335 00:39:32,390 --> 00:39:37,270 Identify where you'd like to start first and go slow. 336 00:39:37,310 --> 00:39:39,650 Don't burn yourself out. 337 00:39:39,810 --> 00:39:50,290 Finally, put some effort into identifying your communications needs and how single board computers can empower your amateur radio setup. 338 00:39:50,970 --> 00:39:54,610 Well, thank you very much for tuning in today. 339 00:39:54,650 --> 00:39:59,550 I will be available to answer your questions in the designated channel. 340 00:40:05,430 --> 00:40:07,370 Hello, thanks for joining us. 341 00:40:07,370 --> 00:40:09,410 Thanks for that great presentation. 342 00:40:09,410 --> 00:40:15,870 If folks have questions, you can throw them either on Twitch or on the HRV Presentation Tech channel. 343 00:40:16,910 --> 00:40:18,530 We actually have one. 344 00:40:18,530 --> 00:40:24,450 I'm curious, what's your wish list for the Raspberry Pi 5, whatever, right? 345 00:40:24,450 --> 00:40:27,670 What would you love to see in there that we don't have today? 346 00:40:30,250 --> 00:40:31,750 Interesting question. 347 00:40:31,750 --> 00:40:42,850 I say that's interesting because the Raspberry Pi 4 has actually been a pretty good model so far that I can't think of anything I would necessarily add to it off the top of my head. 348 00:40:43,130 --> 00:40:50,950 I mean, obviously, it's always good to increase the processor capability, and I think they're incrementally doing that. 349 00:40:50,950 --> 00:41:02,190 And so as we see the capabilities of these processors on the Raspberry Pis, that will continue to increase what we can do with these single board computers. 350 00:41:03,170 --> 00:41:09,810 I will mention with the 4, since they added the two USB 3.0 ports, that was a really nice addition. 351 00:41:09,810 --> 00:41:14,190 So I guess one thing that I would like to see is maybe all four ports USB 3.0. 352 00:41:15,790 --> 00:41:19,410 And that's really the only thing I can think of right now. 353 00:41:21,410 --> 00:41:22,370 Okay, I'm curious. 354 00:41:22,370 --> 00:41:27,310 Do you know, is the power consumption on the 4 much higher than the 3, or is it about the same? 355 00:41:27,590 --> 00:41:30,530 Correct, because they switched to USB-C power, right, on that? 356 00:41:31,730 --> 00:41:37,130 Yeah, they switched to the USB-C power because there was a slight increase in the power consumption. 357 00:41:37,450 --> 00:41:43,370 I think the 3B+, at max power, would use about 2.5 amps. 358 00:41:43,730 --> 00:41:47,310 And the 3 can draw up to 3 amps, is my understanding. 359 00:41:48,010 --> 00:41:52,210 But a lot of that will actually go to if you have USB devices hooked up to it. 360 00:41:52,210 --> 00:41:55,830 A lot of the power draw comes from those USB devices. 361 00:41:55,850 --> 00:42:00,310 So that's just something to keep in mind if you're connecting devices that require a lot of power. 362 00:42:00,310 --> 00:42:04,490 Sometimes it's better to hook them up to an external hub that you can then power that way. 363 00:42:06,110 --> 00:42:06,630 Cool. 364 00:42:06,630 --> 00:42:12,910 Related to that power, we had a question about how long can you run the Pi using a battery bank on a standard day? 365 00:42:15,070 --> 00:42:26,450 So the battery bank that I showed in the presentation, that one can run it for upwards of at least, I would guess, 6 or 7 hours. 366 00:42:26,930 --> 00:42:32,910 And a lot of the portable battery banks that you get for charging your phone, if you get upwards of... 367 00:42:33,430 --> 00:42:37,850 there's some 20,000 mAh packs and stuff, and those are the ones that I have. 368 00:42:38,430 --> 00:42:48,810 But then, of course, if you just power it off your 12V battery, you can run for probably days off a 12V battery. 369 00:42:48,830 --> 00:42:57,430 Something like an 18Ah battery, a 12V battery that you're going to connect to a 5V converter, will give you operation for days just on the Raspberry Pi. 370 00:42:59,890 --> 00:43:00,730 Great, thanks. 371 00:43:00,730 --> 00:43:06,530 We get a couple questions around, do you have a preferred SDR or do you use USB SDRs? 372 00:43:06,530 --> 00:43:09,910 And what are your favorite SDR-based activities, if so? 373 00:43:12,010 --> 00:43:18,590 Yeah, so as far as SDR goes, the only SDR device I've used is the RTL-SDR, and I've done a little bit with that. 374 00:43:18,590 --> 00:43:24,030 I haven't done too much on the Pi, but that's the one I've played around with. 375 00:43:24,030 --> 00:43:37,950 What I would really like to do is set up a receive-only iGate for EPRS using an SDR, and that's just a really cheap and pretty easy method to set it up that way with an SDR. 376 00:43:37,950 --> 00:43:49,170 Instead of just taking up a full other ham rig, you can dedicate that to just sit in your house and receive EPRS packets in your local area. 377 00:43:49,170 --> 00:43:58,010 So yeah, as far as SDR, I've used only the RTL-SDR, and I'm really right now playing around more with how to use that on the Raspberry Pi. 378 00:43:58,170 --> 00:44:05,490 In general, on the computer, when I've just hooked it up to my laptop or PC, I've just been listening to voice traffic locally. 379 00:44:05,550 --> 00:44:09,170 So that's as far as I've gotten with SDR so far. 380 00:44:11,790 --> 00:44:12,850 Great, thanks. 381 00:44:12,850 --> 00:44:15,030 That's all the questions we had in chat. 382 00:44:15,030 --> 00:44:22,050 If you have any further questions, feel free to just hop in the village and ask away, and I'm sure I can get you there. 383 00:44:22,050 --> 00:44:27,430 I want to thank you for giving that great talk, and hopefully everyone enjoys the rest of DEF CON Safe Mode. 384 00:44:28,130 --> 00:44:29,630 Yeah, thanks for tuning in. 385 00:45:01,780 --> 00:45:04,460 Transcribed by https://otter.ai