Wireless Intercom
Total Page:16
File Type:pdf, Size:1020Kb
WIRELESS INTERCOM A Project Report Submitted by V. BHARATH RAJ- 2016105018 V.PRANESH- 2016105568 SURAJ SURESH- 2016105598 For the Summer Internship Course In ELECTRONICS AND COMMUNICATION ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING ANNA UNIVERSITY CHENNAI MAY 2018 TABLE OF CONTENTS: S.No. Contents Page 1 Acknowledgement 2 2. Abstract and Overview of the Project 3 3. Introduction 4 4. Getting Started with the Raspberry Pi 6 (i) Installing NOOBS or Raspbian OS onto the SD card. 6 (ii) Working with the Raspberry Pi. 7 5. Configuring the Raspberry Pi with the Mumble Server 10 6. Configuring our Mobile devices 15 7. References 20 8. Manual 20 (i) To establish a Full Duplex Call 20 (ii) To establish a Half Duplex Call 24 (iii) To establish a Group Call 28 (iv) To create a chatroom 31 - 1 - 1. ACKNOWLEDGEMENT We are highly indebted to our project mentor Dr M A Bhagyaveni, Professor, Dept. of ECE for her continuous supervision, motivation and guidance throughout our tenure of our project. 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 would like to express our sincere thanks to Dr Sridharan, Professor, Dept. of ECE, CEG, who is the coordinator of this summer internship, for helping us in joining this 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. V. BHARATH RAJ V.PRANESH SURAJ SURESH - 2 - 2. ABSTRACT AND OVERVIEW OF THE PROJECT In this project we will be setting up a Wireless intercom using the Raspberry Pi 3 Model B. The contributions of this project are : to establish (i) Full duplex communication between two users (ii) Half duplex call like walki talki (iii) Text messages and also to perform (iv) Conference call between many users These are done within the coverage range of Raspberry pi without much cost. In this project the raspberry pi is programmed to operate as server using raspbian OS, the mumble software is installed in the mobile to interact with the server and establish the service. - 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. Here in this project we have used a Raspberry Pi 3 Model B as shown below. Figure 1.1 Raspberry PI’s Parts - 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. Mumble application is an Open-Source Platform and it can be found available in the Google Play Store. Figure 1.2 Mumble’s logo Figure1.3 Mumble App - 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: Installing the NOOBS or the Raspbian OS onto the SD card. Here in this step we will be installing the Raspbian Operating System in the SD card (minimum 16GB free space required). ➢ 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. Figure 1.4 HDMI to VGA adapter ➢ 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. CONFIGURATION CHANGES FOR THE HDMI DISPLAY 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! Just for information, here is what these two lines do: • hdmi_force_hotplug=1: Forces to display through HDMI event if no HDMI screen is detected. Remember to re-comment this line if you need to display the Raspberry Pi on a different port than the HDMI. • 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. Downloading and Working with the VNC Viewer: STEP 1: ➢ The VNC Viewer is open-source and can be downloaded from https://www.realvnc.com/en/connect/download/viewer/ ➢ 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. ➢ Thus now we are ready to work with the Raspberry Pi in a GUI environment provided by the VNC server. All the inbuilt applications and the ‘Terminal’ within the Pi can be directly accessed. - 9 - Figure 1.5 Raspberry pi’s desktop in VNC viewer 5. Configuring the Raspberry Pi with the Mumble Server: 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 1. sudo apt update && sudo apt install mumble-server Next step is to configure mumble-server. In the terminal type 1. sudo dpkg-reconfigure mumble-server Figure 1.7 configuration of Mumble server - 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. ➢ Set Autostart to Yes ➢ Set High Priority to Yes ➢ Create a SuperUser password.