Wireless Intercom: A Project Report
Wireless Intercom: A Project Report
Wireless Intercom: A Project Report
A Project Report
Submitted by
1 Acknowledgement 2
3. Introduction 4
4. Getting Started with the Raspberry Pi 6
7. References 20
8. Manual 20
-1-
1. ACKNOWLEDGEMENT
We would like to thank the Dean, CEG, and the Head, Dept. of ECE, Anna
University for giving us the opportunity to undergo this summer internship
programme.
We thank the Ph.D., Scholars, Dept. of ECE, CEG, for their continuous
helping and suggestions during our project.
Last but not least we thank all the staff members of the Dept.nt of ECE for
their encouragement and support.
-2-
2. ABSTRACT AND OVERVIEW OF THE PROJECT
-3-
3. INTRODUCTION
RaspberryPi :
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.
-4-
Mumble Server:
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.
-5-
4. GETTING STARTED WITH RASPBERRY PI
Here we will be learning on how to get started with the Raspberry Pi. Also on how to
setup the Raspberry Pi on our first Boot. The required materials are provided below,
Hardware:
o A Raspberry Pi computer with an SD card
o A monitor with a cable (and, if needed, an HDMI adaptor)
o A USB keyboard and mouse
o A power supply
o Headphones or speakers (optional)
o An Ethernet cable (optional)
Software:
o Raspbian, installed via NOOBS
STEP 1:
➢ Initially before starting the SD card must be formatted so that the OS runs without
problem. To format the SD card, if you are using Windows OS download the SD
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/
-6-
➢ 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.
STEP 2:
WORKING WITH RASPBERRY PI:
METHOD 1:
Connecting Raspberry Pi with an HDMI display.
Here the Raspberry Pi is connected to the HDMI display via the HDMI port available
in the Pi module.
➢ If in case we do not have a monitor with an HDMI Port the Pi is connected
through an HDMI-VGA or DVI adapter. The adapter is easily available and is as
shown.
➢ 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:
-7-
➢ 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.
In the ‘config.txt’ text file the following changes in the code must be applied for
the proper display.
Applying these changes enables the user the work on the Graphical User
Interface of the Raspbian OS
#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.
METHOD 2:
SETTING UP THE RASPBERRY PI FOR WINDOWS OS
-8-
In order to work with the Raspberry Pi using the Laptop with a Windows OS the ‘VNC Viewer’
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.
STEP 2:
➢ 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.
-9-
Figure 1.5 Raspberry pi’s desktop in VNC viewer
With our Raspberry Pi powered up and at the Desktop, we need to open a terminal
and install the Mumble server software.
- 10 -
Figure 1.6 Installing and Updating Mumble Server in Raspberry pi using the terminal
- 11 -
Figure 1.8 configuration of Mumble server-setting the password
A new menu will appear and it will ask you a series of questions. We need to do the
following.
- 12 -
Figure 1.9 Setting the password for the server
1. registerName=HomeIntercom
Then look for “serverpassword” and set this to a password that will be used by all
those that wish to connect.
1. serverpassword=*****
1. hostname –I
Write down your IP address and when ready edit the file by typing this line into the
terminal.
- 13 -
Figure 1.10 Changing the IP address to our PI’s IP address
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.
- 14 -
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 it up.
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 Server button .
- 15 -
Figure 1.11 Adding the server in Plumble app in Android devices
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 Add Server.
- 16 -
To connect to the server press the entry in the list of Servers .
- 17 -
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!
- 18 -
There is even a text chat facility built in to Mumble where groups can chat and share
information!
Figure1.14 Chatroom
- 19 -
7. References
Introduction from
https://www.raspberrypi.org/forums/
(i) https://www.electromaker.io/project/view/create-your-own-home-
intercom-using-raspberry-pi-and-mumble#to-complete-this-
project-you-will-need-
(ii) https://pimylifeup.com/raspberry-pi-mumble-server/
8. Manual
To establish a Full Duplex call:
➢ Power up the raspberry pi using a adapter of 2.5A and 5V and it looks like
this,
- 20 -
➢ Install the plumble app on your devices.
➢ Open it and click on the “+” icon to add new networks.
➢ Enter the Username as you wish, the Password that you had given before
and the IP address of the PI.
- 21 -
Figure 1.18 Server Details
- 22 -
➢ Open the server.
➢ Make sure you are in the “Channel” page.
➢ Click on the three stacked dots in the top right corner and follow,
Transmit mode > Continuous
➢ Now you are ready to make a full duplex call between the users in the
network.
➢ The Mic and Speaker Icons are used to mute and deafen the call. (Refer
Fig 1.20)
➢ The red microphone indicates that you are speaking.
- 23 -
To establish a Half Duplex Call:
➢ Power up the raspberry pi using a adapter of 2.5A and 5V and it looks like
this,
- 24 -
Figure 1.22 Plumble app screen
➢ Enter the Username as you wish, the Password that you had given before
and the IP address of the PI.
- 25 -
➢ Repeat this in your other devices too.
➢ The page appears like this.
- 26 -
Figure 1.25 In channel call
- 27 -
To establish a Group Call:
➢ Power up the raspberry pi using a adapter of 2.5A and 5V and it looks like
this,
- 28 -
Figure 1.27 Plumble app screen
➢ Enter the Username as you wish, the Password that you had given before
and the IP address of the PI.
- 29 -
➢ Repeat this in your other devices too.(More than two)
➢ The page appears like this.
- 30 -
To Create a Chatroom:
➢ Power up the raspberry pi using a adapter of 2.5A and 5V and it looks like
this,
- 31 -
➢ Enter the Username as you wish, the Password that you had given before
and the IP address of the PI.
- 32 -
Figure 1.33 List of Servers
- 33 -
➢ You are now ready to chat with the users in the network.
- 34 -
V. Bharath Raj V. Pranesh Suraj Suresh
Attendance
Evaluation:
Remarks:
- 35 -
- 36 -