Download presentation
Presentation is loading. Please wait.
1
Class 1: Building a Raspberry Pi LED Flasher
Building Raspberry Pi Devices and Data Displays for the Internet of Things Class 1: Building a Raspberry Pi LED Flasher March 21, 2016 Don Wilcher
2
Building a Raspberry Pi LED Flasher
Today’s Agenda The State of Internet of Things Industrial Internet of Things impact on Manufacturing Arduino and Raspberry Pi IoT Development platforms Building a Raspberry Pi LED Flasher
3
The State of the Internet of Things
Verizon: The Internet of Things (IoT) impacts business. “ With a billion-plus connected smart devices and machines worldwide, the IoT provides vast amounts of actionable data in realtime.” Source:
4
The State of the Internet of Things…
Cisco: What Is the IoT? The IoT links smart objects to the Internet. It can enable an exchange of data never available before, and bring users information in a more secure way. Estimates the IoT will consist of 50 billion devices connected to the Internet by 2020. Source:
5
The State of the Internet of Things…
The Business Impact of IoT: Source:
6
Industrial Internet of Things impact on Manufacturing
The Manufacturing Revolution The 1st Industrial Revolution- Introduction to factories, mills, steam engines, and railroads allow us to do more with less. The 2nd Industrial Revolution- The assembly line allow new manufacturing techniques to be developed. The assembly marked another significant quickening of our productive output and capacity.
7
Industrial Internet of Things impact on Manufacturing…
The Manufacturing Revolution… The 3rd Industrial Revolution- The digital of computers and programmable industrial controls and robotics speared the age of Automation. The 4th Industrial Revolution- Wireless Connectivity. Industrial Internet of Things commonly known as Industry 4.0. Machines and processes are monitored with electronic sensors. Electronic sensor data is aggregated to cloud servers.
8
Industrial Internet of Things impact on Manufacturing…
The Manufacturing Revolution… The 4th Industrial Revolution- Wireless Connectivity. Aggregated data allows manufacturing business to maintain plant process through smart devices like phones and tablets Machine process adjustments can be changed through Predictive Maintenance techniques utilizing the aggregated data.
9
Arduino and Raspberry Pi IoT Development platforms
A variety of Arduino and Raspberry Pi platforms to investigate IoT. GearBest
10
Arduino and Raspberry Pi IoT Development platforms…
Avnet BCM4343W IoT Starter Kit (Arduino form factor board)
11
Question 1 What is the commonly used name for IIoT?
12
Arduino and Raspberry Pi IoT Development platforms…
Adafruit -Microsoft Windows 10 Raspberry Pi 2 IoT Starter Pack
13
Building a Raspberry Pi LED Flasher
Lab Project Objectives: To build an interactive LED Flasher using a Raspberry Pi. To write Python code for the interactive LED Flasher. To experiment with the flashing rate of the interactive LED Flasher by modifying the Python code.
14
Building a Raspberry Pi LED Flasher
Parts List: Parts list of components required for the RPi LED flasher: Raspberry Pi (Model A+, B, B+, or the Pi 2) CNY74- 4H-ND opto-isolator [16pin DIP package] Tactile pushbutton switch (2) 330 ohm resistors (orange, orange, brown, gold), ¼W, 5% LED (any color) Raspberry Pi cobbler solderless breadboard
15
Building a Raspberry Pi LED Flasher
Raspberry Pi LED Flasher Block Diagram
16
Question 2 Besides using female to female jumper wires, what other prototyping part can be used to connect external circuits to the Raspberry Pi’s GPIO pins?
17
Building a Raspberry Pi LED Flasher…
A Pictorial Diagram of the Raspberry Pi LED Flasher
18
Building a Raspberry Pi LED Flasher…
Electrical Wiring Assembly of the Raspberry Pi LED Flasher on a solderless breadboard.
19
Building a Raspberry Pi LED Flasher…
The Raspberry Pi LED Flasher circuit schematic diagram.
20
Building a Raspberry Pi LED Flasher…
Pinout for optoisolator IC
21
Building a Raspberry Pi LED Flasher…
Close up of wiring optoisolator IC to Raspberry Pi
22
Question 3 The GPIO pins of the Raspberry Pi are 3.3V compliant. What external component can used to separate +5V from the 3.3V GPIO pins?
23
Building a Raspberry Pi LED Flasher…
Assembled Raspberry Pi LED Flasher
24
Building a Raspberry Pi LED Flasher…
Python Code. Open a LXTerminal session Type sudo nano pbswitch_flasher.py after ~ prompt Type in the following code
25
Question 4 What version of Raspberry Pi is the instructor using for his LED Flasher? Model A Model B+ version 2 The Pi 2 Model B version 2
26
Building a Raspberry Pi LED Flasher…
Python Code.
27
Building a Raspberry Pi LED Flasher…
Python Code. Once Python code has been entered into the nano editor, save it and exit from the editor. Execute the code using the following Linux command:
28
Question 5 What Linux command allows full administrative rights to the Raspberry Pi?
29
Building a Raspberry Pi LED Flasher…
Congratulations!!! You now have a working Raspberry Pi LED Flasher.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.