Setting Up Your Raspberry Pi
With the growing utility and prevalence of low-cost computing boards, it is becoming increasingly common to embed computing directly into instrumentation. The Raspberry Pi is an example of a relatively low-cost but very versatile computer capable of running a full-fledged (Linux) operating system and performing a non-trivial amount of computing, while also providing interfaces for low-level communication with electronics. The Raspberry PI (RPi) is not the only example of such board, and it is not necessarily suited to all embedded computing applications, but it is widely used and quite capable.
Because of its ubiquity and versatility, we have chosen the RPi as a platform for data acquisition and computing for the Undergraduate Radio Lab. Having a common computing platform for the class makes it easy for us to introduce you to the Linux operating system (a mainstay of scientific computing), the world of embedded computing, and new developments in software-defined radio (SDR). I strongly encourage you to buy your own for use in this class so that you can take it home with you. These little computers are super versatile and you will find that you can use them for all sorts of things. In my home, I use them for wireless print servers, robot controllers, roku-like TV streamers, video game emulators, and as a straight-up desktop computer for kids doing remote schooling. Think of this purchase as your "textbook" for this class.
To get started, here is a parts list:
- Raspberry PI 4 version B (2 or 4 GB RAM) (~$45/$55 ea). Alternately, may use RPI 3.
- stock is low because of pandemic supply chain problems. Try https://www.canakit.com/raspberry-pi-4-4gb.html or https://www.sparkfun.com/products/15446.
- if stock is exhausted, back-order and switch to using it whenever it arrives (using the class ones in the meantime)
- the computing board does not come with: monitor, keyboard, mouse, power supply, SD card (its hard drive), or even a case to hold it. Some places sell a "starter kit" that has many of these things, or you can buy them separately (under accessories below).
- plastic case ($6 ea; e.g. https://www.adafruit.com/product/4301)
- 15W USB-C charger w/ cable (~$15 ea; e.g. https://www.adafruit.com/product/4298)
- micro HDMI to HDMI cable (~$10 ea; e.g. https://www.adafruit.com/product/1322)
- we will have these in class, but if you want to plug into a monitor (or TV) at home, you'll need this
- aluminum 15x15x15 mm heatsink ($2 ea; e.g. https://www.adafruit.com/product/3082)
- keeps your RPI from overheating on processing-intensive applications. Particularly necessary for RPI 3.
- bluetooth keyboard/mouse (~$20 ea; e.g. https://www.amazon.com/Rii-Ultra-slim-Wireless-Multimedia-Raspberry/dp/B07BF3LFN3)
- only buy this if you don't have another one lying around you could use
- Samsung EVO plus 32 GB (95 MB/s read, 20 MB/s write) micro SD Card (~$10 ea)
- suggest only buying this brand (others seem more prone to corruption, or are slow).
- blank is fine, we'll copy over our class "image" to it for you.
- it's often handy to have more than one of these on hand; consider buying a couple
Software-Defined Radio (SDR) Receiver
To digitize radio-frequency (RF) signals and get them on an RPi, you need SDR receiver (we will stock these in class, but if you want one for home, or if you are working remotely, consider buying). These are only necessary for "radio" applications. They come with some cheap antennas you can use to listen to, e.g., FM radio on your RPI. Cheap SDRs have become available because they are used for tuning in to broadcast TV and FM radio.
- (option 1, preferred) Nooelec NESDR SMARTee v4 (~$35 ea; e.g. https://www.nooelec.com/store/sdr/sdr-receivers/smart/nesdr-smart-sdr.html)
- more rugged/isolated version with the same chipset as the rest below. Has an SMA connector that is easier to interface to stuff in the class
- (option 2) Nooelec NESDR Mini R820T SDR & DVB-T (~$25 ea; e.g. https://www.nooelec.com/store/sdr/sdr-receivers/nesdr-mini.html)
- same chipset as above, but less rugged. has a mcx connector that requires a male mcx to male sma pigtail connector ($10, https://www.nooelec.com/store/male-mcx-to-male-sma-pigtail-rg316-0-5-length.html) to connect to other stuff in class, but we will buy some of these to have on hand.