Raspberry Pi
Raspberry Pi
Pi is a Pie!!
FDP – Raspberry Pi and Python
A Gateway
2
An IoT Gateway
3
etc.
Need for the applications like Home Automation, Greenhouse, Smart Grid, etc.
An IoT Gateway
4
IoT Gateways
5
Development Kits
SBC/ Boards
Gateways
IoT Gateways
6
Gateway Comparison
7
Why a Pi?
8
The Evolution of Pi
9
The Popularity….
10
Major Revisions
11
Pi Zero
Major Revisions
12
A Visual – Raspberry Pi 4
13
Source: Lifewire
Raspberry Pi 3 Model B
14
A Visual – Raspberry Pi 4
15
Raspberry Pi 3 - Specs
16
18
Pin Groups
19
Power: Pins that are labeled 5.0v supply 5 volts of power and those labeled 3V3 supply 3.3 volts of power. There are two 5V pins and two 3V3 pins.
GND: These are the ground pins. There are eight ground pins.
Input/ Output pins: These are the pins labeled with the # sign, for example, #17, #27, #22, etc. These pins can be used for input or output.
I2C: I2C is a serial protocol for a two-wire interface to connect low-speed devices like microcontrollers, EEPROMs, A/D and D/A converters, I/O
interfaces, and other similar peripherals in embedded systems. These pins are labeled SDA and SCL.
UART: The Universal Asynchronous Receiver/Transmitter allows your Raspberry Pi to be connected to serial peripherals. The UART pins are labeled
TXD and RXD.
SPI: The Serial Peripheral Interface is a synchronous serial communication interface specification used for short distance communication, primarily
in embedded systems. The SPI pins are labeled MOSI, MISO, SCLK, CE0, and CE1.
ID EEPROM: Electrically Erasable Programmable Read-Only Memory is a user-modifiable read-only memory that can be erased and written to
repeatedly through the application of higher than normal electrical voltage. The two EEPROM pins on the Raspberry Pi (EED and EEC) are also
secondary I2C ports that primarily facilitate the identification of Pi Plates (e.g., Raspberry Pi Shields/Add-On Boards) that are directly attached to the
Raspberry Pi.
Ways to Connect
20
Text Editors
21
Desktop Editors
Text Editor – like Notepad in Windows
Thonny – Python REPL and IDE
Geany: C/C++, Python
GVim: Vim (listed below) also has a graphical version which opens in a window and allows interaction with the
mouse.
References
23
https://www.lifewire.com/what-is-raspberry-pi-4042337
https://www.postscapes.com/iot-gateways/#hardware/?view_202_page=3
https://www.codemag.com/Article/1607071/Introduction-to-IoT-Using-the-
Raspberry-Pi
https://pi4j.com/1.2/pins/model-3b-rev1.html
https://socialcompare.com/en/comparison/raspberrypi-models-comparison
Thank You
24