Presentation is loading. Please wait.

Presentation is loading. Please wait.

Engineering Innovation Center

Similar presentations


Presentation on theme: "Engineering Innovation Center"— Presentation transcript:

1 Engineering Innovation Center
Microcontroller II PopUp Course 2017

2 Introduction to Microcontroller II
The Engineering Innovation Center is a large academic maker space with plenty of tools, electronics and equipment. In order to use these items you must have the proper training. This online popup class will teach the basic fundamentals of this tool or piece of equipment. Microcontroller II – teaches the basic uses of the Raspberry Pi 3 microcontroller. The key is the right tool for the right job. This class will give basic information on how the Pi 3 works, how to program it, and when to use it. To complete the certification for the Microcontroller II class you will need to check out a Raspberry Pi 3 from the EIC Equipment office and complete the online quiz.

3 Microcontroller vs Microprocessor

4 Raspberry Pi comparison
. Raspberry Pi comparison Raspberry Pi Raspberry Pi 2 Raspberry Pi 3 Released February 2012 February 2015 February 2016 CPU ARM1176JZF-S ARM Cortex-A7 ARM Cortex-A53 CPU speed 700MHz single core 900MHz quad core 1,200MHz quad core RAM 512MB 256MB Rev 1 1GB GPU Broadcom Videocore IV Storage SDHC slot MicroSDHC Model A+ and B+ MicroSDHC slot USB Ports 2 on Model B 4 WiFi No built-in wifi 802.11n and Bluetooth 4.1

5 Raspberry Pi (first model)
Model A+ 40 GPIO Pins Micro SD Low Power Consumption Better Audio/Smaller form Model B+ Additional 4 USB 2.0 ports

6 900MHz quad-core ARM Cortex-A7 CPU 1GB RAM
Raspberry PI Model 2B 900MHz quad-core ARM Cortex-A7 CPU 1GB RAM

7 Raspberry Pi 3 Model B (Will be used for this course)
1.2GHz 64-bit quad-core ARMv8 CPU 802.11n Wireless LAN Bluetooth 4.1 (Low Energy) 99% backwards compatible to Pi 2 This is the current model and will be used for the remainder of the course.

8 New simpler, smaller version 1 GHz, Single-core CPU 512MB RAM
Raspberry Pi Zero New simpler, smaller version 1 GHz, Single-core CPU 512MB RAM Mini HDMI and USB On-The-Go ports Micro USB power HAT-compatible 40-pin header Composite video and reset headers

9 Alternative Microprocessor Units
Intel NUC Odroid-Cl PandaBoard - TI

10 Video Out: HDMI cable and monitor MicroSD recommend 8GB or greater.
Required accessories Power Supply : 5V Video Out: HDMI cable and monitor MicroSD recommend 8GB or greater. Keyboard make sure to (US settings)

11 Raspberry Pi 3 GPIO Header Layout
GPIO – General Purpose Input Output Towards inside of the board Towards outside of the board

12 Optional Items

13 Raspberry Pi 3 Operating Systems
Use this to start with!

14 Imaging software for making a SD card OS
WINDOWS MAC OS: Apple Pi-Baker Be advised using these imagers will erase any contents on the SD card!

15 Using the Terminal Editor
Fosswire.com has a comprehensive command reference! Terminal window example.

16 Programming the Raspberry Pi 3
Python is your best friend Python community will give you great programming tips Use Python to program the Pi 3 interface!

17 Example #1 using Python to activate the GPIO Pins This code flashes the led on and off.
Simple circuit to activate an LED. Requires: LED Breadboard Jumpers 330ohm resistor Open IDLE : MENU -> Programming -> IDLE 2 File - New - Write Script ( Optional: Save to Desktop) Debug - Run Module

18 Raspberry Pi 3 Example #2 – Blynk App
Get the BLYNK AP for your tablet, phone. The BLYNK app allows you to assign visual widgets to control devices. BLYNK is a wifi device.

19 Setting up the BLYNK APP
Blynk consists of three components: the app, the server, and the library. The library runs on the Raspberry Pi (or on any supported board) and does all the behind-the-scene jobs of interfacing with the hardware. The app is the core component of the Blynk platform, and it provides an environment for building visual interfaces for controlling Raspberry Pi. The app offers a collection of widgets, such as button, sliders, LEDs, value displays, and the like. To create a graphical interface using the app, you simply add the desired widgets to a project and configure their settings. The server component provides a link between the app and the Raspberry Pi running the library. By default, the platform uses the cloud service provided by the Blynk project. The server is released under an open source license, however, and you can easily deploy it on your own machine. In fact, you can even run both the server and the library on the same Raspberry Pi, although it might be prudent to use a dedicated machine or a virtual private server for that. To get started with BLYNK, you need to install the required components. First, install the mobile app on your Android or iOS device from Google Play Store or Apple App Store. Next, you need to deploy the Blynk library on the Raspberry Pi. To set your Pi 3 up to run correctly by visiting this website and following the step by step directions. Raspberry Pi GEEK. Go here for more info on the BLYNK app.

20 Setting up the BLYNK APP - Part 2
Create an account Choose Raspberry Pi Your Auth Token is unique.

21 Setting up the BLYNK APP - Part 3
Type in Terminal blynk.js <auth token> Make sure Pi is connected to Wi-fi before hitting enter.

22 Using a Pi Camera with the Pi 3b
Before taking video make sure Camera is enabled. From Terminal To get to menu sudo raspi-config Take photo raspistill -o test.jpg (Photo is located in Pi directory)

23 Conclusion Now head to the EIC Popups section on the EIC Webpage and take the Microcontroller 2 Quiz when ready ! Feel free to come check out a Raspberry PI 3b, camera, monitor, cable and other accessories and experiment.

24 Microcontroller II Additional Resources
For continued study: Sparkfun Website resources Pi 3 starter Guide Setting up Raspian OS SD Cards and Writing Images Raspberry PI Learning Resources webpage Using PIP on Windows Noobs Install

25 Engineering.tamu.edu/EIC
Contact info! General Info Jim Wilson – EIC Manager Engineering.tamu.edu/EIC

26 Engineering Innovatin Center
2017 – Jim Wilson


Download ppt "Engineering Innovation Center"

Similar presentations


Ads by Google