O slideshow foi denunciado.
Seu SlideShare está sendo baixado. ×

Raspberry pi 1396

Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Próximos SlideShares
Raspberry pi
Raspberry pi
Carregando em…3
×

Confira estes a seguir

1 de 39 Anúncio
Anúncio

Mais Conteúdo rRelacionado

Diapositivos para si (20)

Semelhante a Raspberry pi 1396 (20)

Anúncio

Mais recentes (20)

Anúncio

Raspberry pi 1396

  1. 1. Raspberry Pi
  2. 2. Raspberry Pi : ‫ارائه‬ ‫مضوع‬ ‫کمائی‬ ‫زهرا‬ ‫خانم‬ : ‫استاد‬ ‫ارائه‬ ‫و‬ ‫پژوهش‬ ‫روش‬ : ‫درس‬ ‫نیری‬ ‫قادری‬ ‫غزل‬ : ‫ارائه‬ ۱۳۹۶ ‫آذر‬
  3. 3. ‫کیده‬KK‫چ‬‫به‬ ‫پای‬ ‫رسپبری‬ ) RaspberryPi ‫ازدانشگاه‬ ‫که‬ (‫تمشک‬ ‫پای‬ ‫معنی‬ ‫شروع‬ ‫رو‬ ‫کارش‬ ‫بریتانیا‬ ‫گمبریج‬ ‫کامپیوتری‬ ‫یک‬ ‫.توانسته‬ ‫کرده‬ ‫اعتباری‬ ‫کارت‬ ‫اندازه‬ ‫به‬ ‫کوچک‬ . ‫کند‬ ‫تولید‬ ‫کامپیوتر‬ ‫این‬ ‫معرفی‬ ‫به‬ ‫ارائه‬ ‫این‬ ‫در‬ ‫خواهیم‬ ‫آن‬ ‫های‬ ‫ویژگی‬ ‫و‬ ‫کوچک‬ ‫یک‬ ‫برسی‬ ‫به‬ ‫همچنین‬ ‫پرداخت‬ . ‫پرداخت‬ ‫خواهیم‬ ‫ابتدایی‬ ‫پرورژه‬
  4. 4. ‫ب‬K‫ل‬‫طا‬K‫م‬ ‫ت‬K‫س‬‫ر‬K‫ه‬‫ف‬ .ARaspberry Pi ‫تولد‬ .B‫کار‬ ‫به‬ ‫شروع‬ .1Raspberry Pi 3 - B .2‫اندازی‬ ‫راه‬ ‫برایه‬ ‫نیاز‬ ‫مواردمورد‬ .3Operating System .4GPIO pins .5control LEDs project .C‫منابع‬ ‫فهرست‬
  5. 5. Raspberry Pi ‫د‬K‫ل‬‫و‬K‫ت‬ ‫میکروکنترول‬ ‫اساس‬ ‫بر‬ Raspberry Pi ‫اولیه‬ ‫ایده‬ ۲۰۰۶ ‫سال‬ ‫در‬ EbenUpton (‫آپتون‬ ‫گرفت.)ابن‬ ‫شکل‬ Atmel ATmega644 ‫به‬ ‫مندان‬ ‫عالقه‬ ‫و‬ ‫دانشگاهیان‬ ،‫معلمان‬ ‫از‬ ‫گروهی‬ ،‫بنیاد‬ ‫این‬ ‫مؤسس‬ ‫کودکان‬ ‫به‬ ‫بخشیدن‬ ‫الهام‬ ‫برای‬ ‫کامپیوتر‬ ‫یک‬ ‫ایجاد‬ ‫برای‬ ‫را‬ ‫کامپیوتر‬ Acorn's BBC Micro of ‫از‬ ‫ان‬ ‫ساخت‬ ‫وبرایه‬ .‫کرد‬ ‫ایجاد‬ .‫شد‬ ‫گرفته‬ ‫الهام‬ 1981
  6. 6. ‫ای‬K‫پ‬ ‫پبری‬KK‫س‬‫ر‬ ‫یه‬K‫ل‬‫ورداو‬K‫ب‬
  7. 7. the Atmel ATmega644 micro controller
  8. 8. Eben Christopher Upton 1978 ‫آوریل‬ 5 ‫متولد‬ ASIC ‫معمار‬ ‫و‬ ‫ویلز‬ ‫فنی‬ ‫مدیر‬ .‫است‬ Broadcom ‫بنیاد‬ ‫سابق‬ ‫مدافع‬ ‫و‬ ‫بنیانگذار‬ ‫تمشک‬ ‫و‬ ‫عامل‬ ‫مدیر‬ ‫حاضر‬ ‫حال‬ ‫در‬ ‫معماری‬ ،‫کلی‬ ‫افزار‬ ‫نرم‬ ‫مسئول‬ Raspberry ‫دستگاه‬ ‫سختافزار‬ .‫است‬ Pi
  9. 9. Acorn's BBC Micro of 1981
  10. 10. Raspberry Pi family
  11. 11. ‫ار‬K‫ک‬ ‫ه‬K‫ب‬ ‫روع‬K‫ش‬ .1Raspberry Pi 3-B .2‫اندازی‬ ‫راه‬ ‫برایه‬ ‫نیاز‬ ‫مواردمورد‬ .3Operating System .4GPIO pins .5control LEDs project
  12. 12. Raspberry Pi 3-B 1. board tour 2. putting the pi in the case 3. connecting peripherals
  13. 13. SD card HDMI to HDMI / DVI lead or RCA video lead Power adapter Ethernet cabl Audio lead Keyboard and mouse ‫دازی‬KK‫ن‬‫ا‬ ‫راه‬ ‫ه‬K‫ی‬‫را‬K‫ب‬ ‫یاز‬K‫ن‬ ‫ورد‬K‫م‬‫وارد‬K‫م‬
  14. 14. Operating System
  15. 15. Operating System Beginners should start with NOOBS (New Out Of the Box Software)NOOBS NOOBS is an easy operating system installer which contains Raspbian. It also provides a selection of alternative operating systems which are then downloaded from the internet and installed. NOOBS Lite contains the same operating system installer without Raspbian pre-loaded. It provides the same operating system selection menu allowing Raspbian and other images to be downloaded and installed. Raspbian is the Foundation’s official supported operating system. You can install it with NOOBS or download the image and follow our installation guide. Raspbian comes pre-installed with plenty of software for education, programming and general use. It has Python, Scratch, Sonic Pi, Java, Mathematica and more Raspbian RASPBIAN STRETCH WITH DESKTOP Image with desktop based on Debian Stretch RASPBIAN STRETCH LITE Minimal image based on Debian Stretch
  16. 16. Operating System Beginners should start with NOOBS (New Out Of the Box Software)NOOBS NOOBS is an easy operating system installer which contains Raspbian. It also provides a selection of alternative operating systems which are then downloaded from the internet and installed. NOOBS Lite contains the same operating system installer without Raspbian pre-loaded. It provides the same operating system selection menu allowing Raspbian and other images to be downloaded and installed. Raspbian is the Foundation’s official supported operating system. You can install it with NOOBS or download the image . Raspbian comes pre-installed with plenty of software for education, programming and general use. It has Python, Scratch, Sonic Pi, Java, Mathematica and more Raspbian RASPBIAN STRETCH WITH DESKTOP Image with desktop based on Debian Stretch RASPBIAN STRETCH LITE Minimal image based on Debian Stretch
  17. 17. GPIO pins
  18. 18. GPIO pins GPIO stands for General-Purpose Input/Output These pins are a physical interface between the Raspberry Pi and the outside world. At the simplest level, you can think of them as switches that you can turn on or off (input), or that the Raspberry Pi can turn on or off (output). The GPIO pins are used to connect the Raspberry Pi to electronic circuits, which allow it to control and monitor the outside world. Using the GPIO pins, the Raspberry Pi is able to turn LEDs on or off, run motors, and perform many other actions. It is also able to detect external conditions, such as temperature, light levels, and whether a switch has been pressed. We refer to this as physical computing. There are 40 pins on the Raspberry Pi (26 pins on early models), and they provide various different functions.
  19. 19. the pin numbers guide 3V3 3.3 volts Anything connected to these pins will always receive 3.3V of power 5V 5 volts Anything connected to these pins will always receive 5V of power GND ground Zero volts, used to complete a circuit GP2 GPIO pin 2 These pins are for general-purpose use and can be configured as input or output pin ID_SC/ID_SD/DNC Special purpose pins
  20. 20. Node-RED Node-RED is a drag-and-drop visual tool which comes pre-installed on Raspbian. We use Node-RED to communicate with the Raspberry Pi’s GPIO pins.
  21. 21. control LEDs project
  22. 22. What Hardware you will need 1 x LED 1 x Solderless breadboard 4 x Male-to-female jumper leads 1 x 330R resistor
  23. 23. Wire up an LED to GPIO pin 17 on your Raspberry Pi by following this diagram: 1
  24. 24. Start Node-RED2 1 Start up your Raspberry Pi. Click on the Raspberry icon, then the Programming menu to 2 You should see a window displaying information about Node-RED starting up.Programming menu to 3 Now go to the Internet menu and open Chromium Web Browser. 4 In Chromium, locate the address bar at the top and type in localhost:1880, then press Enter. This will display the Node-RED interface. (Your Raspberry Pi does not need to be connected to the internet to use Node-RED: localhost is the address the Raspberry Pi uses to refer to itself and :1880 means that it is looking at port 1880.)
  25. 25. 1 Start up your Raspberry Pi. Click on the Raspberry icon, then the Programming menu to
  26. 26. 2 You should see a window displaying information about Node-RED starting up.Programming menu to
  27. 27. 3 Now go to the Internet menu and open Chromium Web Browser.
  28. 28. 4 In Chromium, locate the address bar at the top and type in localhost:1880, then press Enter. This will display the Node-RED interface. (Your Raspberry Pi does not need to be connected to the internet to use Node-RED: localhost is the address the Raspberry Pi uses to refer to itself and :1880 means that it is looking at port 1880.)
  29. 29. Programs in Node-RED are called flows. • For this guide, we will only need one flow. The coloured blocks on the left side of the interface are the nodes. there is two nodes with the label rpi gpio: these are the ones we will use to talk to the GPIO pins on the Raspberry Pi 3 Connecting to a GPIO pin
  30. 30. Double-click on the node and a box will appear to let you configure the node. 1. Change the GPIO pin to be GPIO17 2. tick Initialise pin state?. 3. Leave the setting for Initial level of pin on low. 4. Give the node a name
  31. 31. Injecting messages4 Now scroll back up to the list of nodes. To turn the LED on and off, we need an input. In Node-RED we can inject messages into the flow and cause things to happen as a result. Drag an inject node onto the flow.
  32. 32. 1. Use the drop down next to Payload to change the data type to string 2. type 1 in the Payload box - this will be the message. 3. Type On in the Name box. Press Done. Repeat this steps to create another inject node, except this time add 0 as the payload message, and call this node Off.
  33. 33. Now look for the grey dot on the right side of the inject nodes. Click and drag from the grey dot on the On node to the grey dot on your LED node to join them up. Repeat for the Off node, also joining it to the LED node.
  34. 34. Deploying the flow5 Our flow is finished, so we can deploy it. Click on the big red Deploy button on the top right of the screen. A message should pop up at the top saying “Successfully deployed”. This is similar to pressing the green flag in Scratch or F5 to run your code in Python.
  35. 35. Now click on the blue square on the left of the On node to inject the message 1. The Green LED node receives the message and your LED should light up. You should be able to turn the LED off by clicking the blue square on the Off node, which injects the message 0.
  36. 36. projects.raspberrypi.org
  37. 37. : ‫ع‬K‫ب‬‫نا‬K‫م‬ ‫ت‬K‫س‬‫ر‬K‫ه‬‫ف‬ 1. www.raspberrypi.org 2. en.wikipedia.org 3. www.ubergizmo.com 4. www.prometec.net 5. nodered.org 6. projects.raspberrypi.org

×