You are on page 1of 15

|| Jai Sri Gurudev ||

Sri Adichunchanagiri Shikshana Trust ®

SJB INSTITUTE OF TECHNOLOGY


BGS Health & Education City, Kengeri, Bengaluru-560060.
Department of Computer Science and Engineering

• Raspberry Board Hardware


• Operating System for Rapberry Pi and
• Wireless temperature monitoring system using
Raspberry pi

By
Rhythm Bhatnagar [1JB18CS116]
Raspberry Pi Hardware Specification

● The raspberry pi board comprises a program memory (RAM), processor and


graphics chip, CPU, GPU, Ethernet port, GPIO pins, Xbee socket, UART, power
source connector. And various interfaces for other external devices. It also
requires mass storage, for that we use an SD flash memory card.

● Essential hardware specifications of raspberry pi board mainly include SD


card containing Linux OS, US keyboard, monitor, power supply and video
cable. Optional hardware specifications  include USB mouse, powered USB
hub, case, internet connection, the Model A or B: USB WiFi adaptor is used
and internet connection to  Model B is LAN cable.
Raspberry Pi Hardware Specification
● Memory:
The raspberry pi model Aboard is designed with 256MB of SDRAM and model B
is designed with 512MB. In raspberry pi board, the RAM memory is either 256MB
or 512MB.
● CPU (Central Processing Unit)
The Central processing unit is the brain of the raspberry pi board and that is
responsible for carrying out the instructions of the computer through logical and
mathematical operations.
● GPU (Graphics Processing Unit)
The GPU is a specialized chip in the raspberry pi board that is designed to speed
up the operation of image calculations.
● Ethernet Port
The Ethernet port of the raspberry pi is the main gateway for communicating with
additional devices. The raspberry pi Ethernet port is used  to plug your home
router to access the internet.
● GPIO Pins
The general purpose input & output pins are used in the raspberry pi to associate
with the other electronic boards. These pins can accept input & output
commands based on programming raspberry pi. The raspberry pi affords digital
GPIO pins. These pins are used to connect other electronic components. For
example, you can connect it to the temperature sensor to transmit digital data.
● XBee Socket
The XBee socket is used in raspberry pi board for the wireless communication
purpose.

● UART
The Universal Asynchronous Receiver/ Transmitter is a serial input & output port.
That can be used to transfer the serial data in the form of text and it is useful for
converting the debugging code.
Operating System that run on Raspberry Pi
● Linux on a bootable SD card :

1. Fedora
2. Raspbian
3. Debian
4. ArchLinux ARM
5. Lubantu
6. Ubantu MATE
Wireless temperature monitoring
system using Raspberry Pi
● The wireless temperature monitoring system transmits temperature
readings from the sensors which are placed on Data Center Rack
(physical steel and electronic framework that is designed to house servers,
networking devices, cables and other data center computing equipment) to
the BMS (building management system) room which can be remotely
connected to PC.
● Temperature readings are then displayed on PC via user friendly software.
Hardware Required

● Raspberry Pi
● SD card
● Power supply
● VGA to HDMI converter (Optional)
● MCP3008 (ADC IC)
● A temperature sensor(DS18B20)
Software Required

● Raspbian Stretch OS
● SD card Formatter
● Win32DiskImager (or) Etcher
Python Libraries Used

● RPi.GPIO as GPIO (To access the GPIO Pins of Raspberry Pi)


● Time library (For Time delay)
● Urllib2 to handle URL using Python programming
DS18B20 and Arduino wiring

DS18B20
Accessing Temperature from DS18B20 sensors:
• The DS18B20 is a digital thermometer that allows to get 9-bit to 12-bit Celsius temperature measurements
(programmable resolution).
• The temperature conversion time depends on the resolution used.
• For a 9-bit resolution it takes at most 93.75 ms and for a 12-bit resolution it takes at most 750 ms.
• The device is able to measure temperatures from -55°C to +125°C and has a ±0.5°C accuracy in the range
from -10°C to +85°C.
• Additionally, it has an alarm functionality with programmable upper and lower temperature trigger points.
• These thresholds are stored internally in non-volatile memory, which means they are kept even if the
device
is powered off .
Accessing Temperature from DS18B20 sensors:

• The sensor communicates using the OneWire protocol, which means it only requires a pin from a
microcontroller to be connected to it.
• Furthermore, each sensor has a unique 64-bit serial code, allowing multiple DS18B20 devices to function
on the same OneWire bus.
• In terms of power supply, the device can operate with a voltage between 3.0 V and 5.5 V, which means it
can operate with the same voltage of the ESP32 without the need for level conversion.
Thank You

You might also like