emergency rescue system using raspberry pi
emergency rescue system using raspberry pi
1. AIM:
2. REQUIREDCOMPONENTS:
The Raspberry Pi is a low cost, credit-card sized computer that plugs into a computer
monitor or TV, and uses a standard keyboard and mouse. It is a capable little device
that enables people of all ages to explore computing, and to learn how to program in
languages like Scratch and Python. It’s capable of doing everything you’d expect a
desktop computer to do, from browsing the internet and playing high-definition video,
to making spreadsheets, word-processing, and playing games.
The Raspberry Pi has the ability to interact with the outside world, and has been used
in a wide array of digital maker projects, from music machines and parent detectors to
weather stations and tweeting birdhouses with infra-red cameras. We want to see the
Raspberry Pi being used by kids all over the world to learn to program and understand
how computers work.
A Mumble server (called Murmur) has a root channel and a hierarchical tree of
channels beneath it. Users can temporarily connect channels to create larger virtual
channels. This is useful during larger events where a small group of users may be
chatting in a channel, but are linked to a common channel with other users to hear
announcements. It also matches team-based first-person shooter (FPS) games. Each
channel has an associated set of groups and access control lists which control user
permissions. The system supports many usage scenarios, at the cost of added
configuration complexity.
STEP1:
InitiallybeforestartingtheSDcardmustbeformattedsothattheOSrunswithout
problem.ToformattheSDcard,ifyouareusingWindowsOSdownloadtheSD card
formatter from the link below.
https://www.sdcard.org/downloads/formatter_4/
Insert the SD card onto a SD card reader and then in the formatter select the
required drive that need to be formatted.
Now install the NOOBS or the Raspbian OS from the official Raspberry Pi
website
https://www.raspberrypi.org/downloads/raspbian/
Now the installed OS file has to be written as an image file into the SD card so
for this we require a software named, Windows32disk Imager. Download this
from the link as below,
https://sourceforge.net/projects/win32diskimager/
Using this Disk Imager the image file is now written into the SD card and is
now ready to be inserted into the Raspberry Pi.
6
STEP 2:
As soon as you connect the Raspberry Pi with and HDMI display the Pi will
boot up automatically during the first boot some of the parameters of the pi
must be configured such as the Time Zone, Language etc.….
NOTE:
If in case on the first Boot-up of the Pi the HDMI display shows ‘No
Signal’ or The screen remains Blank the following configuration changes
must be applied in the ‘CONFIG.TXT’ which is present in the SD card
drive.
7
STEP 3:
In the ‘config.txt’ text file the following changes in the code must be applied for the
proper display.
ApplyingthesechangesenablestheusertheworkontheGraphicalUser
Interface of the RaspbianOS
#hdmi_force_hotplug=1
#hdmi_drive=2
To solve the problem you just have to uncomment (ie remove the sign # at the
beginning) these lines and save the file (Ctrl + o, Enter, Ctrl + x with nano). Restart
your Raspberry Pi and you’re done!
hdmi_force_hotplug=1:
hdmi_drive=2:
Trying to use HDMI mode rather than DVI mode, this allows you to solve certain
sound problems.
8
METHOD 2:
SETTING UP THE RASPBERRY PI FOR WINDOWS OS
In order to work with the Raspberry Pi using the Laptop with a Windows OS the
‘VNCViewer’ must be used through which the Graphical User Interface of the Raspbian OS
can be accessed.
VNC is thus extracted and is downloaded and is available for accessing the Raspberry
Pi.
STEP2:
Power up the Raspberry Pi and the Wi-Fi module that is present in the Pi can be
connected through the ‘Mobile Hotspot’ of the Laptop.
Turning on the Mobile Hotspot in the Laptop will connect automatically with the
Raspberry Pi and the IP Address of the Raspberry Pi will be displayed.
This IP Address is then entered into the VNC Server and the GUI of the Raspberry Pi
is then displayed. The ‘Username’ and the ‘Password’ of the Raspberry Pi are default
and they are
USERNAME: pi.
PASSWORD: raspberry.
With our Raspberry Pi powered up and at the Desktop, we need to open a terminal
and install the Mumble server software.
STEP 4:
type
2. sudo dpkg-reconfiguremumble-server
A new menu will appear and it will ask you a series of questions. We need to
do thefollowing.
3. sudo leafpad/etc/mumble-server.ini
1. registerName=HomeIntercom
Then look for “serverpassword” and set this to a password that will be used
by all those that wish toconnect.
1. serverpassword=*****
The last step on the Raspberry Pi is to fix our IP address and to do this we need to edit
a configuration file.
5. hostname–I
Write down your IP address and when ready edit the file by typing this line into the
terminal.
STEP 5:
1. sudo leafpad/etc/dhcpcd.conf
We will need to uncomment these lines by removing the “#” and change the
corresponding line to match those issued by your router and the IP address your Pi
currently has. In our case our Ip address was 192.168.137.228, and our router has an
IP address of 192.168.137.228. We also added to DNS (Domain Name Servers) so
that our Pi was able to connect to the Internet. The first is our router, the second is
Google’s DNS server.
Here is our example, change it to match yours and then save the file.
Our server is now configured and ready for use. So let's power down the Raspberry
Pi, remove every accessory apart from the microSD card, power and Ethernet. Now
place the Pi somewhere safe and power itup.
STEP 6:
Open the Mumble app and you will be asked to press the Menu key to
configure a server. The Menu key are the three dots present in the bottom right
of the screen. Press that and then press the Add Serverbutton.
In the next screen enter the details for your Mumble server. The label option is
optional and it is used if you have multiple servers saved in the Mumble client.
The address is our server address, the port for Mumble is always 64738 by
default. Username is where we can identify this Mumble device on the
network, so call it either a room or something personal. The password is the
same password we set in the Mumble server configuration file. Enter the details
and then press AddServer.
You will hear a robotic voice that tells that you are connected. Now connect another
device and start a conversation! All you need to do is press PTT (Push To Talk) and
then speak! There is even a text chat facility built in to Mumble where groups can
chat and share information!
STEP 7:
To Create a Chatroom:
Power up the raspberry pi using a adapter of 2.5A and 5V and it looks
like this,
the server.
Swipe to the right and you will get to see the “Chat” page.
INFERENCE:
Thus from this project we were able to build our own intercom that is absolutely cost-free for
vice and text message communication and along with the conferencing capability.
The only limitation we try to improve is the range of the communication as this depends only
on the WiFi range of the Raspberry Pi, and can be only used for short range communication.