Class 1: Building a Raspberry Pi LED Flasher

Slides:



Advertisements
Similar presentations
V Avon High School Tech Club Agenda Old Business –Executive Committee –LCCUG meeting volunteer(s) –Reward Points Program New Business –Weekly.
Advertisements

MICROCONTROLLERS MODULE 2 Programming, Controlling and Monitoring.
Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation.
Embedded Programming and Robotics Lesson 1 Basic Electricity and Electronics Transistor Basics Lesson 1 -- Basic Electricity1.
Presented by Tim Surtell in association with
Electronic Components
Embedded Programming and Robotics Lesson 12 Introducing the Raspberry Pi Intro to Raspberry Pi1.
Aerospace Education STEM Kit Program Aerospace Education STEM Kit Program Dr Jeff Montgomery Lt Col Randy Carlson Lt Col Sherwood Williams Major Gary Dahlke.
Experiments Day 1 & 2 Resistors, Potentiometers and Photocells.
Experiments Day 1 Resistors.. Electronic Technology Definition: The technology of using small amounts of electricity for controlling, detecting, collecting,
Welcome to Week 4 at the Summer Computer Club Raspberry Pi (contd)
IoT: Windows 10 & Raspberry Pi By: Mitchel Sellers.
1 Electrical Fundamentals We need some understanding of electrical fundamentals to do the lab exercises. Electric Circuit Consists of: –Power Source: Battery,
Internet of everything
Raspberry PI 2 Installation & Demo App By Wayne Keadle.
EMBEDDED SYSTEMS SDU What is an Embedded System  Combines mechanical, electrical, and chemical components along with a computer, hidden inside,
Having fun with code, using Arduino in a middle school CS classroom
Prototyping Home Automation Concepts
Building Raspberry Pi Controllers with Python
Introduction to Computers
IoT Milos Hampl.
By Rick Darby Sponsors: Geekspace Gwinnett The WorkSpot
RASPBERRY PI WORKSHOP.
Assist. Prof. Rassim Suliyev - SDU 2017
Prototyping Home Automation Concepts
Prototyping Home Automation Concepts
Light Dependent Resistor
Prototyping with Microcontrollers and Sensors
Internet of Things (internet of everything?)
Circuit Simulation Training
By: Ratha Ariyanayagam
Raspberry Pi Hands-on Seminars
Lab 2 : Overview Combinational System.
Prepared by: Raghad J Foqha Supervisor: Dr. Saed Tarapiah
Running your own web server
Instructor Materials Chapter 1 Ever Wonder How It Works?
Get Your Project Started with Arduino
Arduino Development for Beginners
A microcontroller Raspberry Pi 2 Model B V1.1 RPi
Introduction to Handshaking Communication with SSC-32U
Prototyping Home Automation Concepts
WORKSHOP LED CONTROL.
Building Raspberry Pi Controllers with Python
Introduction to Handshaking Communication with SSC-32
Introduction to Arduino Microcontrollers
Get Your Project Started
Internet of Things.
Assist. Prof. Rassim Suliyev - SDU 2017
Lighting LEDs with a RASPBERRY PI
SMART BUILDING WITH INDOOR NAVIGATION SYSTEM -using iot
Instructor Resources.
What we learn during Program
CS-4540 Robotics Lab 00 - Introduction and OHM's law.
What is Arduino? By James Tedder.
Internet-of-Things (IoT)
Building Raspberry Pi Controllers with Python
Arduino 101 Credit(s):
"You don't need anyone's permission to make something great
Building Raspberry Pi Controllers with Python
IOT based Home Automation Over the Cloud
Transistors to Gates Transistors to Gates Gateway To Technology
How an NPN Transistor Works
Tareq Khan, Ph.D. Assistant Professor,
Light Dependent Resistor
Embedded System and Internet of Things
testing and experimenting with electronic circuits
Instructor Resources.
Chapter 7 IoT Physical Devices and Endpoints
I/O Experiments Assignment 1.
Robot and Crickit HAT © Copyright 2019 by Dr. Elizabeth I. Horvath and Dr. Eva A. Horvath 1.
Presentation transcript:

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

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

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: http://www.verizonenterprise.com/state-of-the-market-internet-of-things/

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: http://www.cisco.com/c/en/us/solutions/internet-of-things/overview.html

The State of the Internet of Things… The Business Impact of IoT: Source: http://www.verizonenterprise.com/state-of-the-market-internet-of-things

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.

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.

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.

Arduino and Raspberry Pi IoT Development platforms A variety of Arduino and Raspberry Pi platforms to investigate IoT. GearBest http://www.gearbest.com/kits/pp_244836.html?currency=USD&gclid=CjwKEAiApOq2BRDoo8SVjZHV7TkSJABLe2iD4DgsjN846wILhI9IthzYFzO5RSuIJeo-WlMjreugFhoC3GDw_wcB

Arduino and Raspberry Pi IoT Development platforms… Avnet BCM4343W IoT Starter Kit (Arduino form factor board) http://www.em.avnet.com/en-us/design/drc/Pages/Avnet-BCM4343W-IoT-Starter-Kit.aspx

Question 1 What is the commonly used name for IIoT?

Arduino and Raspberry Pi IoT Development platforms… Adafruit -Microsoft Windows 10 Raspberry Pi 2 IoT Starter Pack https://www.adafruit.com/products/2733

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.

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

Building a Raspberry Pi LED Flasher Raspberry Pi LED Flasher Block Diagram

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?

Building a Raspberry Pi LED Flasher… A Pictorial Diagram of the Raspberry Pi LED Flasher

Building a Raspberry Pi LED Flasher… Electrical Wiring Assembly of the Raspberry Pi LED Flasher on a solderless breadboard.

Building a Raspberry Pi LED Flasher… The Raspberry Pi LED Flasher circuit schematic diagram.

Building a Raspberry Pi LED Flasher… Pinout for optoisolator IC

Building a Raspberry Pi LED Flasher… Close up of wiring optoisolator IC to Raspberry Pi

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?

Building a Raspberry Pi LED Flasher… Assembled Raspberry Pi LED Flasher

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

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

Building a Raspberry Pi LED Flasher… Python Code.

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:

Question 5 What Linux command allows full administrative rights to the Raspberry Pi?

Building a Raspberry Pi LED Flasher… Congratulations!!! You now have a working Raspberry Pi LED Flasher.