































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
































































Vision & Mission of Institute
Institute Vision:-
To enrich the role of nation building by imparting the qualitative technical education
Institute Mission:-
Impart technical knowledge through prescribed curriculum of university. Inculcate ethical and moral values in students for environmental and sustainable development. Equip the aspirants through co and extra-curricular activities to excel in career.
Program Specific Outcomes (PSO)
A graduate of the Artificial Intelligence and Data Science Program will demonstrate
PSO Thinking skills to analyze complex problems, design AI and data science solutions, and evaluate their effectiveness. PSO The ability to apply the knowledge of Artificial Intelligence and Data Science to provide the need of industry, academia and society.
Savitribai Phule Pune University
Program Outcomes (POs)
PO1 Engineeringknowledge^ Apply the knowledge of mathematics, science, Engineering fundamentals, and an Engineering specialization to the solution of complex Engineering problems. PO2 Problem analysis Identify, formulate, review research literature and^ analyze complex Engineering problems reaching substantiated conclusions using first principles of mathematics, natural sciences and Engineering sciences. PO3 Design /^ Development of Solutions
Design solutions for complex Engineering problems and design system components or processes that meet the specified needs with appropriate consideration for the public health and safety, and the cultural, societal, and Environmental considerations. PO4 Conduct Investigations of Complex Problems
Use research-based knowledge and research methods including design of experiments, analysis and interpretation of data, and synthesis of the information to provide valid conclusions.
PO5 Modern ToolUsage Create, select, and apply appropriate techniques, resources, and modern Engineering and IT tools including prediction and modeling to complex Engineering activities with an understanding of the limitations. PO6 The Engineer and^ Society^ Apply reasoning informed by the contextual knowledge to assess societal, health, safety, legal and cultural issues and the consequent responsibilities relevant to the professional engineering practices. PO7 Environment and Sustainability
Understand the impact of the professional Engineering solutions in societal and Environmental contexts, and demonstrate the knowledge of, and need for sustainable development.
PO8 Ethics Apply ethical principles and commit to professional ethics and responsibilitiesand norms of Engineering practice. PO9 Individual andTeam Work Function effectively as an individual, and as a member or leader in diverseteams, and in multidisciplinary settings. PO10 CommunicationSkills^ Communicate^ effectively^ on^ complex^ Engineering^ activities^ with^ the Engineering community and with society at large, such as, being able to comprehend and write effective reports and design documentation, make effective presentations, and give and receive clear instructions. PO11 Project Management and Finance
Demonstrate knowledge and understanding of Engineering and management principles and apply these to one’s own work, as a member and leader in a team, to manage projects and in multidisciplinary Environments. PO12 Life-long Learning Recognize the need for, and have the preparation and ability to engage in independent and life-long learning in the broadest context of technological change.
Course Outcomes
On completion of the course, learners will be able to
Internet of Things Laboratory
CO1: Understand IOT Application Development using Raspberry Pi/ Beagle board/ Arduino board
CO2: Develop and modify the code for various sensor based applications using wireless sensor modules and working with a variety of modules like environmental modules.
CO3: Make use of Cloud platform to upload and analyze any sensor data
Nb
Aim: Study of Raspberry-Pi/ Beagle board/ Arduino and other microcontroller (History & Elevation)
Outcome: At end of this experiment, student will be able to study of different microcontrollers like Raspberry-Pi/ Beagle board/ Arduino
Hardware Requirement: Arduino Software Requirement: Arduino IDE
Theory:
Internet of Things: - IoT is short for Internet of Things. The Internet of Things refers to the evergrowing network of physical objects that feature an IP address for internet connectivity, and the communication that occurs between these objects and other Internet-enabled devices and systems. The Internet of Things (IoT) refers to the use of intelligently connected devices and systems to leverage data gathered by embedded sensors and actuators in machines and other physical objects. In other words, the IoT (Internet of Things) can be called to any of the physical objects connected with network.
Examples of IoT: -
Apple Watch and Home Kit.
Smart Refrigerator.
Smart Refrigerator.
Smart cars.
Google Glass.
Smart thermostats.
A) Raspberry-Pi:- The Raspberry Pi is a series of small single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote teaching of basic computer science in schools and in developing countries. It does not include peripherals (such as keyboards and mice). 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. The Raspberry Pi is a credit-card-sized computer that costs between $5 and $35. It's available anywhere in the world, and can function as a proper desktop computer or be used to build smart devices. A Raspberry Pi is a general-purpose computer, usually with a Linux operating system, and the ability to run multiple programs. Raspberry Pi is like the brain. Its primary advantage comes in processing higher level processing capability. It‘s a single board computer.
Here are the various components on the Raspberry Pi board:
∙ ARM CPU/GPU -- This is a Broadcom BCM2835 System on a Chip (SoC) that's made up of an ARM central processing unit (CPU) and a Video core 4 graphics processing unit (GPU). The CPU handles all the computations that make a computer work (taking input, doing calculations and producing output), and the GPU handles graphics output.
∙ GPIO -- These are exposed general-purpose input/output connection points that will allow the real hardware hobbyists the opportunity to tinker.
∙ RCA -- An RCA jack allows connection of analog TVs and other similar output devices. ∙ Audio
LEDs -- Light-emitting diodes, for your entire indicator light needs.
∙ USB -- This is a common connection port for peripheral devices of all types (including your mouse and keyboard). Model A has one, and Model B has two. You can use a USB hub to expand the number of ports or plug your mouse into your keyboard if it has its own USB port.
∙ HDMI -- This connector allows you to hook up a high-definition television or other compatible device using an HDMI cable.
∙ Power -- This is a 5v Micro USB power connector into which you can plug your compatible power supply.
∙ SD card slot -- This is a full-sized SD card slot. An SD card with an operating system (OS) installed is required for booting the device. They are available for purchase from the manufacturers, but you can also download an OS and save it to the card yourself if you have a Linux machine and the wherewithal.
∙ Ethernet -- This connector allows for wired network access and is only available on the Model B.
B) Beagle board: - The Beagle Board is a low-power open-source single-board computer produced by Texas Instruments in association with Digi-Key and Newark element14. The Beagle Board was also designed with open source software development in mind, and as a way of demonstrating the Texas Instrument's OMAP3530 system-on-a-chip. ] The board was developed by a small team of engineers as an educational board that could be used in colleges around the world to teach open source hardware and software capabilities. It is also sold to the public under the Creative Commons share-alike license. The board was designed using Cadence OrCAD for schematics and Cadence Allegro for PCB manufacturing; no simulation software was used. Beagle Bone Black is a low-cost, open source, community-supported development platform for ARM® Cortex™-A8 processor developers and hobbyists. Boot Linux in under 10-seconds and get started on Sitara™ AM335x ARM Cortex-A processor development in less than 5 minutes with just a single USB cable.
Nb
C) Arduino: - Arduino is an open-source hardware and software company, project and user community that designs and manufactures single-board microcontrollers and microcontroller kits for building digital devices and interactive objects that can sense and control objects in the physical and digital world. Arduino board designs use a variety of microprocessors and controllers. The boards are equipped with sets of digital and analog input/output (I/O) pins that may be interfaced to various expansion boards or breadboards (shields) and other circuits. The boards feature serial communications interfaces, including Universal Serial Bus (USB) on some models, which are also used for loading programs from personal computers. The microcontrollers are typically programmed using a dialect of features from the programming languages C and C++. In addition to using traditional compiler tool chains, the Arduino project provides an integrated development environment (IDE) based on the Processing language project. Arduino is open-source hardware. The hardware reference designs are distributed under a Creative Commons Attribution Share-Alike 2.5 license and are available on the Arduino website. Layout and production files for some versions of the hardware are also available.
Here are the various components on the Arduino board:
Microcontrollers
ATmega328P (used on most recent boards)
ATmega168 (used on most Arduino Diecimila and early Duemilanove)
ATmega8 (used on some older board)
Digital Pins
In addition to the specific functions listed below, the digital pins on an Arduino board can be used for general purpose input and output via the pinMode(), digitalRead(), and digitalWrite() commands. Each pin has an internal pull-up resistor which can be turned on and off using digitalWrite() (w/ a value of HIGH or LOW, respectively) when the pin is configured as an input. The maximum current per pin is 40 mA.
Analog Pins
In addition to the specific functions listed below, the analog input pins support 10-bit analog-to-digital conversion (ADC) using the analogRead() function. Most of the analog inputs can also be used as digital pins: analog input 0 as digital pin 14 through analog input 5 as digital pin 19. Analog inputs 6 and 7 (present on the Mini and BT) cannot be used as digital pins. Power Pins
∙ VIN (sometimes labelled "9V"). The input voltage to the Arduino board when it's using an external power source (as opposed to 5 volts from the USB connection or other regulated power source). You can supply voltage through this pin, or, if supplying voltage via the power jack, access it through this pin. Note that different boards accept different input voltages ranges, please see the documentation for your board. Also note that the LilyPad has no VIN pin and accepts only a regulated input.
Other Pins
∙ AREF. Reference voltage for the analog inputs. Used with analogReference().
∙ Reset. (Diecimila-only) Bring this line LOW to reset the microcontroller. Typically used to add a reset button to shields which block the one on the board. ∙ Analog Reference pin (orange) ∙
Digital Ground (light green)
∙ Digital Pins 2-13 (green)
∙ Digital Pins 0-1/Serial In/Out - TX/RX (dark green) - These pins cannot be used for digital i/o (digitalRead and digitalWrite) if you are also using serial communication (e.g. Serial.begin). ∙ Reset Button - S1 (dark blue)
∙ In-circuit Serial Programmer (blue-green)
∙ Analog In Pins 0-5 (light blue)
∙ Power and Ground Pins (power: orange, grounds: light orange)
∙ External Power Supply In (9-12VDC) - X1 (pink)
∙ Toggles External Power and USB Power (place jumper on two pins closest to desired supply) -
SV1 (purple)
∙ USB (used for uploading sketches to the board and for serial communication between the board and the computer; can be used to power the board) (yellow)
Conclusion: - By this assignment we are studied the concept of microcontroller like Raspberry-Pi, Beagle board, Arduino.
Step 1: Download Debian img.xz file.
Step 2: Unzip the file.
Step 3: Insert your MicroSD (uSD) card into the proper slot. Most uSD cards come with a full-sized SD card that is really just an adapter. If this is what you have then insert the uSD into the adapter, then into your card reader.
Step 4: Now open Win32 Disk imager, click the blue folder icon, navigate to the debian img location, and double click the file. Now click Write and let the process complete. Depending on your processor and available RAM it should be done in around 5 minutes.
Step 5: Alright, once that's done, you'll get a notification pop-up. Now we're ready to get going. Remove the SD adapter from the card slot, remove the uSD card from the adapter. With the USB cable disconnected insert the uSD into the BBB.
Step 6: Now, this next part is pretty straight forward. Plug the USB cable in and wait some more. If everything is going right you will notice that the four (4) leds just above the USB cable are doing the KIT impression. This could take up to 45 minutes; I just did it again in around 5 minutes. Your mileage will vary. Go back and surf reddit some more.
Step 7: If you are not seeing the leds swing back and forth you will need to unplug the USB cable, press and hold down the user button above the uSD card slot (next to the 2 little 10 pin ICs) then plug in the USB cable. Release the button and wait. You should see the LEDs swinging back and forth after a few seconds. Once this happens it's waiting time. When all 4 LEDs next to the USB slot stay lit at the same time the flash process has been completed.
Step 8: Remove the uSD card and reboot your BBB. You can reboot the BBB by removing and reconnecting the USB cable, or hitting the reset button above the USB cable near the edge of the board.
Step 9: Now using putty, or your SSH flavor of choice, connect to the BBB using the IP address 192.168.7.2. You'll be prompted for a username. Type root and press Enter. By default, there is no root password. I recommend changing this ASAP if you plan on putting your BBB on the network. To do this type password, hit enter, then enter your desired password. You will be prompted to enter it again to verify.
3) Arduino: - The Arduino itself has no real operating system. You develop code for the Arduino using the Arduino IDE which you can download from Arduino - Home. Versions are available for Windows, Mac and Linux. The Arduino is a constrained microcontroller. Arduino consists of both a physical programmable circuit board (often referred to as a microcontroller) and a piece of software, or IDE (Integrated Development Environment) that runs on your computer, used to write and upload computer code to the physical board. You are literally writing the "firmware" when you write the code and upload it. It's both good and its bad.
Conclusion: - By this assignment we are studied the concept of operating systems for platforms such as Raspberry-Pi, Beagle board, Arduino.
AND Gate and its Truth Table
OR Gate
The OR gate is a digital logic gate with ‗n‘ i/ps and one o/p, that performs logical conjunction based on the combinations of its inputs. The output of the OR gate is true only when one or more inputs are true. If all the i/ps of the gate are false, then only the output of the OR gate is false. The symbol and truth table of an OR gate with two inputs is shown below.
OR Gate and its Truth Table
NOT Gate
The NOT gate is a digital logic gate with one input and one output that operates an inverter operation of the input. The output of the NOT gate is the reverse of the input. When the input of the NOT gate is true then the output will be false and vice versa. The symbol and truth table of a NOT gate with one input is shown below. By using this gate, we can implement NOR and NAND gates
NAND Gate
The NAND gate is a digital logic gate with ‗n‘ i/ps and one o/p, that performs the operation of the AND gate followed by the operation of the NOT gate.NAND gate is designed by combining the AND and NOT gates. If the input of the NAND gate high, then the output of the gate will be low.The symbol and truth table of the NAND gate with two inputs is shown below.
NAND Gate and its Truth Table
NOR Gate
The NOR gate is a digital logic gate with n inputs and one output, that performs the operation of the OR gate followed by the NOT gate. NOR gate is designed by combining the OR and NOT gate. When any one of the i/ps of the NOR gate is true, then the output of the NOR gate will be false. The symbol and truth table of the NOR gate with the truth table is shown below.
NOR Gate and Its Truth Table
Exclusive-OR Gate
The Exclusive-OR gate is a digital logic gate with two inputs and one output. The short form of this gate is Ex-OR. It performs based on the operation of the OR gate.. If any one of the inputs of this gate is high, then the output of the EX-OR gate will be high. The symbol and truth table of the EX-OR are shown below.
EX-OR gate and Its Truth Table
Exclusive-NOR Gate
The Exclusive-NOR gate is a digital logic gate with two inputs and one output. The short form of this gate is Ex-NOR. It performs based on the operation of the NOR gate. When both the inputs of this gate are high, then the output of the EX-NOR gate will be high. But, if any one of the inputs is high (but not both), then the output will be low. The symbol and truth table of the EX-NOR are shown below.