raspberry pi oarc presentation

21
Raspberry Pi OARC Presentation

Upload: others

Post on 19-Apr-2022

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Raspberry Pi OARC Presentation

Raspberry PiOARC Presentation

Page 2: Raspberry Pi OARC Presentation

What is a Raspberry Pi?

● Single-board computer● Uses a 32-bit ARM processor● Developed as an educational tool● Runs various flavors of Linux (and others)● “Pi” name comes from Python language

Page 3: Raspberry Pi OARC Presentation

Versions

Model A

● 1 USB Port

● No Ethernet

● 256 MB RAM

● $25

Model B

● 2 USB Ports

● 10/100 Ethernet

● 512 MB RAM

● $35

Image courtesy SparkFun Electronics Image courtesy Wikimedia Commons user Ilikeasking

Page 4: Raspberry Pi OARC Presentation

Common Specifications

● 700 MHz ARM processor● 250 MHz GPU● HDMI and composite video out● 3.5mm stereo audio out● Card slot for SD, SDHC, SDXC storage● 5V power input via micro USB or hub● GPIO, UART, I2C, SPI

Page 5: Raspberry Pi OARC Presentation

Where does it fit in?

Microcontrollers, etc.

Single board computers

Mobile phones, tablets

Conventional computers

PIC

Arduino, Atmel

Raspberry Pi

BeagleBone Black

Image courtesy David Henry Image courtesy Wikimedia Commonsuser cowjuice

Image courtesy elinux.org

Image © User:Mono / Wikimedia Commons, a sister project of Wikipedia

Image courtesy Wikimedia Commonsuser Laihiu

Image courtesy Jeremy Banks

Page 6: Raspberry Pi OARC Presentation

Getting StartedRequired Hardware

● Raspberry Pi● SD card (4GB or larger recommended)● Power supply (5V Micro USB)● Monitor (composite supported, HDMI

recommended)● USB keyboard● USB mouse

Page 7: Raspberry Pi OARC Presentation

Getting StartedOptional Hardware

● Powered USB hub● USB sound device● USB wireless network adapter● HDMI to DVI adapter

orHDMI to VGA adapter

● Camera module● Case

Page 8: Raspberry Pi OARC Presentation

Getting StartedSoftware

● raspberrypi.org/downloads● New Out of Box Software (NOOBS)

– Install: Copy files to FAT-formatted card

● Raspbian, Pidora, Arch Linux, etc.– Install: Write disk image to card bit-for-bit

Page 9: Raspberry Pi OARC Presentation

Linux Basics 1

● Available in many flavors (called “distributions”)

● Primarily licensed under GNU GPL● Similar to Unix● Both for-pay and free distributions exist● Multi-user environment

Page 10: Raspberry Pi OARC Presentation

Linux Basics 2

● No drive letters● Filesystem root is / .

● Users' files are in /home/username.

● Drives are usually in /media or /mnt.

● Administrator user is called “root”● Root user is usually disabled.● Root privileges are accessible through “sudo”

command.

Page 11: Raspberry Pi OARC Presentation

Linux Basics 3

● Optional software is stored online in repositories.

● Install software with commandsudo apt-get install packagename(This varies by distribution.)

● Enable Windows file and printer sharing with Samba (SMB) and CIFS.

Page 12: Raspberry Pi OARC Presentation

My Project

Simple HF signal generator

using an AD9850 DDS board

controlled by a Raspberry Pi

Credit:“A Slice of Raspberry Pi” (asliceofraspberrypi.blogspot.com)

“m0xpd's 'Shack Nasties'” (m0xpd.blogspot.com)

Page 13: Raspberry Pi OARC Presentation

Necessary Hardware

● Raspberry Pi and accessories● AD9850 HF DDS

(available at low cost on eBay)● Female jumper wires

Page 14: Raspberry Pi OARC Presentation

AD9850 DDS

● Available for $5 to $10 (shipped) on eBay● Accepts 5V or 3.3V● Accepts the frequency on serial or parallel

pins● Produces two sine-wave and two square-wave

outputs

Page 15: Raspberry Pi OARC Presentation

Hardware Setup

Page 16: Raspberry Pi OARC Presentation

Wiring

+3.3V

GND

GPIO22

GPIO23

GPIO24

GPIO25

Pin 17

Pin 20

Pin 15

Pin 16

Pin 18

Pin 22

VCC

GND

CLK

FU_UD

DATA

RST

ZOUT1

GND

Raspberry Pi AD9850

Page 17: Raspberry Pi OARC Presentation

Software Setup

● Rpi_RFSigGen project on github.com/mi0iou/● Unzip to location on drive● Issue commands:

cd /home/user/your_location

sudo python3 rpi_rfsiggen.py

Page 18: Raspberry Pi OARC Presentation

User Interface

Page 19: Raspberry Pi OARC Presentation

Frequency Counter

Page 20: Raspberry Pi OARC Presentation

Future Projects

● Buffer amplifier to drive tube transmitter from AD9850

● PIC-based control of the AD9850● 2m FM transmitter● WSPR transmitter● Asterisk-based PBX

Page 21: Raspberry Pi OARC Presentation

Other Resources

● Raspberry Pi (raspberrypi.org)● Amateur Logic Podcast (amateurlogic.tv)● Adafruit Industries (adafruit.com)● Element 14 (element14.com)● SparkFun Electronics (sparkfun.com)● The MagPi Magazine (themagpi.com)