diff --git a/Practical/Connections.md b/Practical/Connections.md new file mode 100644 index 0000000..6af93ce --- /dev/null +++ b/Practical/Connections.md @@ -0,0 +1,58 @@ +# IoT Connections + +[Refer Raspberry Pi pinout diagram](https://git.kska.io/sppu-te-comp-content/InternetOfThingsAndEmbeddedSystems/src/branch/main/Practical/Raspberry%20Pi%20%282+3+4+5%29%20GPIO%20Pinout.png) +![Raspberry Pi PINOUT](https://git.kska.io/sppu-te-comp-content/InternetOfThingsAndEmbeddedSystems/raw/branch/main/Practical/Raspberry%20Pi%20%282+3+4+5%29%20GPIO%20Pinout.png) + +## Assignment 2 - LEDs and Buzzer + +> [!IMPORTANT] +> Long terminal in LED is always positive, short terminal is always negative. + +### Single LED + +**Device** | **Positive terminal** | **Negative terminal (Ground/GND)** | **Signal/Output** +--- | --- | --- | --- +LED | GPIO 16 (PIN 36) | GROUND (PIN 34) | N/A + + +### Two LEDs + +**Device** | **Positive terminal** | **Negative terminal (Ground/GND)** | **Signal/Output** +--- | --- | --- | --- +LED 1 | GPIO 16 (PIN 36) | GROUND (PIN 34) | N/A +LED 2 | GPIO 26 (PIN 37) | GROUND (PIN 39) | N/A + +### Buzzer with one LED + +**Device** | **Positive terminal** | **Negative terminal (Ground/GND)** | **Signal/Output** +--- | --- | --- | --- +Buzzer | GPIO 16 (PIN 36) | GROUND (PIN 34) | N/A +LED | GPIO 26 (PIN 37) | GROUND (PIN 39) | N/A + +## Assignment 3 - IR Sensor + +**Device** | **Positive terminal** | **Negative terminal (Ground/GND)** | **Signal/Output** +--- | --- | --- | --- +IR Sensor | 5V power (PIN 2) | GROUND (PIN 34) | GPIO 16 (PIN 36) +LED | GPIO 26 (PIN 37) | GROUND (PIN 39) | N/A + +## Assignment 4 - DHT11 (Temperature sensor) + +**Device** | **Positive terminal** | **Negative terminal (Ground/GND)** | **Signal/Output** +--- | --- | --- | --- +DHT11 | 5V power (PIN 2) | GROUND (PIN 34) | GPIO 16 (PIN 36) + +## Assignment 5 - Camera + +**Device** | **Positive terminal** | **Negative terminal (Ground/GND)** | **Signal/Output** +--- | --- | --- | --- +Picamera | N/A | N/A | CSI port + +## Water level + +**Device** | **Positive terminal** | **Negative terminal (Ground/GND)** | **Signal/Output** +--- | --- | --- | --- +Water sensor | 5V power (PIN 2) | GROUND (PIN 34) | GPIO 16 (PIN 36) +LED | GPIO 26 (PIN 37) | GROUND (PIN 39) | N/A + +--- diff --git a/README.md b/README.md index e8edc20..a70ae3b 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ > These folders contain **handout**, **write-up** and **other content**. - [Raspberry Pi 2/3/4 GPIO Pinout](https://git.kska.io/sppu-te-comp-content/InternetOfThingsAndEmbeddedSystems/src/branch/main/Practical/Raspberry%20Pi%20%282+3+4+5%29%20GPIO%20Pinout.png) +- [Refer this for all connections](https://git.kska.io/sppu-te-comp-content/InternetOfThingsAndEmbeddedSystems/src/branch/main/Practical/Connections.md) 1. [Assignment-1](https://git.kska.io/sppu-te-comp-content/InternetOfThingsAndEmbeddedSystems/src/branch/main/Practical/Assignment-1/) 2. [Assignment-2](https://git.kska.io/sppu-te-comp-content/InternetOfThingsAndEmbeddedSystems/src/branch/main/Practical/Assignment-2/)