際際滷

際際滷Share a Scribd company logo
Python

P
I=
R
P
I=
U

import RPi.GPIO as GPIO
Set port as output
GPIO.setup(11, GPIO.OUT)
Enable port
GPIO.output(11, False)

Set port as input
GPIO.setup(12, GPIO.IN)
Read port
if GPIO.input(12):
GPIO.output(11, False)

I=

U
R

P

D1

D4

D4

Diod

Zener-diod

Schottkydiod

-

+

-

D3

D2
Lysdiod

Fotodiod

En komponent som idealt leder elektrisk str旦m i endast en riktning

0V och Jord

GND

Kan lagra elektronisk
laddning. Kapacitans C
C3
m辰ts i enheten farad [F]
Vridkondensator

Ampere-meter
*Pol辰r
*Utrustning
p奪slagen
*Bl奪s ej
s辰kringen

Energi kan lagras i batterier/
akumulatorer

V辰xelstr旦m (AC)

vrigt

+

R1

+5V

Positiva sp辰nningsk辰llor

C1
C2
Bipol辰r
Elektrolytkondensator kondensator
D1

Ohm-meter
*Ej pol辰r
*Utrustning
ej p奪slagen

Likstr旦m (DC)
r elektrisk str旦m som alltid har
samma riktning till skillnad fr奪n
v辰xelstr旦m d辰r str旦mmen byter riktning.
Sp辰nning m辰ts i volt [V]
Str旦m m辰ts i ampere [A]
Effekt m辰ts i watt [W]

Kondensatorer

M辰tutrustning

GPIO 25
GPIO8
GPIO7

GPIO 23
GPIO 24

GPIO14
GPIO15
GPIO 18

Micro-USB
Power

U
P

R2
Jenkarsymbol

Cathode

Anode

S2

S1

r en elektrisk str旦m vars riktning
v辰xlar. V辰xelsp辰nningar 辰r periodiska
och f旦ljer med t辰mligen stor
noggrannhet en sinuskurva.

S3

Momentan
Tv奪v辰gs
Str旦mbrytare
Gl旦dlampa
str旦mbrytare str旦mbrytare

Integrerade kretsar (IC:s)

Antenn

7404

Transistorer
D

C

B

E C=Collector
E=Emitter
C B=Base

B

E
NPN

G=Gate
S=Source
D=Drain

G

PNP

S

En halvledarkomponent
som anv辰nds som
signalf旦rst辰rkare,
str旦mbrytare

Mosfet

Transistor

IC1

IC2

NE
555

Drosslar och Elektromekanik

7805
IC4

IC3
U CC

3.5mm
audio out

CPU/GPU
Broadcom
BCM2835

3.3V
Regulator

HDMI

Status-LED's

GPU/GPU JTAG
Ethernet JTAG

2.8V
Regulator

OK
PWR
FDX
LNK
10M

L1

Composite
Video RCA

Raspberry Pi
(C)2011

U
R

R=

Volt-meter
*Pol辰r
*Utrustning
p奪slagen

Camera CSI

GPIO10
GPIO9
GPIO11

1.8V
Regulator

Display DSI

GPIO 17
GPIO 21
GPIO 22

Pin
1
3
5
7
9
11
13
15
17
19
21
23
25

P
R= 2
I

2

P=

U
I

En resistor, 辰ven kallad motst奪nd,
辰r en passiv elektronisk komponent
R3
som begr辰nsar str旦mmen.
Potentiometer M辰ts i enheten Ohm [立]

Dioder

2

2

Name
5v
-Gnd
UART TXD
UART RXD
GPIO 1
-GPIO 4
GPIO 5
-GPIO 6
SPI CE0 N
SPI CE1 N

BCM2835

P=R * I

R1
Resistor

R=

R

Str旦mk辰llor

Resistorer

P
I

U= I * R

E鍖ekt Resistans
Power Resistance
Watt [W] Ohm [立]

Pin
2
4
6
8
10
12
14
16
18
20
22
24
26
GPIO0
GPIO1
GPIO 4

Name
3.3v
I2C SDA0
I2C SCL0
GPIO 7
-GPIO 0
GPIO 2
GPIO 3
-SPI MOSI
SPI MISO
SPI SCLK
--

U

Str旦m Sp辰nning
Amps Volts
Ampere [A] Volt [V]

Raspberry Pi - Specification

BCM2835

U=

I

P= U I
Developer: Raspberry Pi Foundation
SoC:
Broadcom BCM2835 (CPU, GPU, DSP, SDRAM, and single USB port)
Power:
5 volt via MicroUSB or GPIO header
2.5 W (model A)
3.5 W (model B)
CPU:
ARM1176JZF-S (armv6k, ARM11-family) 700 MHz
Storage:
SD card slot (SD or SDHC card)
Memory:
256 MByte (Model A) (Shared with GPU)
256 MByte (Model B rev 1) (Shared with GPU)
512 MByte (Model B rev 2) (Shared with GPU)
Graphics: Broadcom VideoCore IV
Video-out: Composite RCA (PAL and NTSC)
HDMI (rev 1.3 & 1.4, resolutions from 640350 to 19201200)
Raw LCD Panels via DSI
Audio-out: 3.5 mm jack
HDMI
Network:
10/100 Ethernet (8P8C) on USB (model B)
Size:
85.60x53.98 [mm]
Weight:
45g

Elekronikkomponenter, schema-symboler

U= P R

Ethernetcontroller

Drossel/
Spole

Transformator

Elektromagnetisk
rel辰

En induktiv komponent som
kan anv辰ndas i filter,
transformera sp辰nningar,
skapa magnetf辰lt.
Induktans m辰ts i henry [H]

U+
UO
U-

U EE

Opamp

Kirchhoffs str旦mlag
Summan av alla elektriska str旦mmar som Exempel-diagram
flyter till en nod 辰r lika med summan
av alla str旦mmar som flyter fr奪n noden.

2xUSB 2.0

Ethernet
RJ45

Cheat-Sheet elektronik.svg

Kodar-LAN tema: Raspberry Pi
2013-06-15

3

Recommended

Python3 cheatsheet
Python3 cheatsheet
Gil Cohen
Capstone_Project.ppt
Capstone_Project.ppt
Dhruvkumar Panchal
OpenFlow in Raspberry Pi
OpenFlow in Raspberry Pi
Toshiki Tsuboi
Formulario de matematicas
Formulario de matematicas
Carlos
Cheat sheets for data scientists
Cheat sheets for data scientists
Ajay Ohri
Kodar-lan - Text and editors Vi/Vim (2013-06-15)
Kodar-lan - Text and editors Vi/Vim (2013-06-15)
Tim Gremalm
2024 Trend Updates: What Really Works In SEO & Content Marketing
2024 Trend Updates: What Really Works In SEO & Content Marketing
Search Engine Journal
Storytelling For The Web: Integrate Storytelling in your Design Process
Storytelling For The Web: Integrate Storytelling in your Design Process
Chiara Aliotta
Artificial Intelligence, Data and Competition SCHREPEL June 2024 OECD dis...
Artificial Intelligence, Data and Competition SCHREPEL June 2024 OECD dis...
OECD Directorate for Financial and Enterprise Affairs
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
SocialHRCamp
2024 State of Marketing Report by Hubspot
2024 State of Marketing Report by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky

More Related Content

Featured (20)

Artificial Intelligence, Data and Competition SCHREPEL June 2024 OECD dis...
Artificial Intelligence, Data and Competition SCHREPEL June 2024 OECD dis...
OECD Directorate for Financial and Enterprise Affairs
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
SocialHRCamp
2024 State of Marketing Report by Hubspot
2024 State of Marketing Report by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
SocialHRCamp
2024 State of Marketing Report by Hubspot
2024 State of Marketing Report by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky

Kodar-lan Raspberry Pi I/O - Cheat-Sheet elektronik (2013-06-15)

  • 1. Python P I= R P I= U import RPi.GPIO as GPIO Set port as output GPIO.setup(11, GPIO.OUT) Enable port GPIO.output(11, False) Set port as input GPIO.setup(12, GPIO.IN) Read port if GPIO.input(12): GPIO.output(11, False) I= U R P D1 D4 D4 Diod Zener-diod Schottkydiod - + - D3 D2 Lysdiod Fotodiod En komponent som idealt leder elektrisk str旦m i endast en riktning 0V och Jord GND Kan lagra elektronisk laddning. Kapacitans C C3 m辰ts i enheten farad [F] Vridkondensator Ampere-meter *Pol辰r *Utrustning p奪slagen *Bl奪s ej s辰kringen Energi kan lagras i batterier/ akumulatorer V辰xelstr旦m (AC) vrigt + R1 +5V Positiva sp辰nningsk辰llor C1 C2 Bipol辰r Elektrolytkondensator kondensator D1 Ohm-meter *Ej pol辰r *Utrustning ej p奪slagen Likstr旦m (DC) r elektrisk str旦m som alltid har samma riktning till skillnad fr奪n v辰xelstr旦m d辰r str旦mmen byter riktning. Sp辰nning m辰ts i volt [V] Str旦m m辰ts i ampere [A] Effekt m辰ts i watt [W] Kondensatorer M辰tutrustning GPIO 25 GPIO8 GPIO7 GPIO 23 GPIO 24 GPIO14 GPIO15 GPIO 18 Micro-USB Power U P R2 Jenkarsymbol Cathode Anode S2 S1 r en elektrisk str旦m vars riktning v辰xlar. V辰xelsp辰nningar 辰r periodiska och f旦ljer med t辰mligen stor noggrannhet en sinuskurva. S3 Momentan Tv奪v辰gs Str旦mbrytare Gl旦dlampa str旦mbrytare str旦mbrytare Integrerade kretsar (IC:s) Antenn 7404 Transistorer D C B E C=Collector E=Emitter C B=Base B E NPN G=Gate S=Source D=Drain G PNP S En halvledarkomponent som anv辰nds som signalf旦rst辰rkare, str旦mbrytare Mosfet Transistor IC1 IC2 NE 555 Drosslar och Elektromekanik 7805 IC4 IC3 U CC 3.5mm audio out CPU/GPU Broadcom BCM2835 3.3V Regulator HDMI Status-LED's GPU/GPU JTAG Ethernet JTAG 2.8V Regulator OK PWR FDX LNK 10M L1 Composite Video RCA Raspberry Pi (C)2011 U R R= Volt-meter *Pol辰r *Utrustning p奪slagen Camera CSI GPIO10 GPIO9 GPIO11 1.8V Regulator Display DSI GPIO 17 GPIO 21 GPIO 22 Pin 1 3 5 7 9 11 13 15 17 19 21 23 25 P R= 2 I 2 P= U I En resistor, 辰ven kallad motst奪nd, 辰r en passiv elektronisk komponent R3 som begr辰nsar str旦mmen. Potentiometer M辰ts i enheten Ohm [立] Dioder 2 2 Name 5v -Gnd UART TXD UART RXD GPIO 1 -GPIO 4 GPIO 5 -GPIO 6 SPI CE0 N SPI CE1 N BCM2835 P=R * I R1 Resistor R= R Str旦mk辰llor Resistorer P I U= I * R E鍖ekt Resistans Power Resistance Watt [W] Ohm [立] Pin 2 4 6 8 10 12 14 16 18 20 22 24 26 GPIO0 GPIO1 GPIO 4 Name 3.3v I2C SDA0 I2C SCL0 GPIO 7 -GPIO 0 GPIO 2 GPIO 3 -SPI MOSI SPI MISO SPI SCLK -- U Str旦m Sp辰nning Amps Volts Ampere [A] Volt [V] Raspberry Pi - Specification BCM2835 U= I P= U I Developer: Raspberry Pi Foundation SoC: Broadcom BCM2835 (CPU, GPU, DSP, SDRAM, and single USB port) Power: 5 volt via MicroUSB or GPIO header 2.5 W (model A) 3.5 W (model B) CPU: ARM1176JZF-S (armv6k, ARM11-family) 700 MHz Storage: SD card slot (SD or SDHC card) Memory: 256 MByte (Model A) (Shared with GPU) 256 MByte (Model B rev 1) (Shared with GPU) 512 MByte (Model B rev 2) (Shared with GPU) Graphics: Broadcom VideoCore IV Video-out: Composite RCA (PAL and NTSC) HDMI (rev 1.3 & 1.4, resolutions from 640350 to 19201200) Raw LCD Panels via DSI Audio-out: 3.5 mm jack HDMI Network: 10/100 Ethernet (8P8C) on USB (model B) Size: 85.60x53.98 [mm] Weight: 45g Elekronikkomponenter, schema-symboler U= P R Ethernetcontroller Drossel/ Spole Transformator Elektromagnetisk rel辰 En induktiv komponent som kan anv辰ndas i filter, transformera sp辰nningar, skapa magnetf辰lt. Induktans m辰ts i henry [H] U+ UO U- U EE Opamp Kirchhoffs str旦mlag Summan av alla elektriska str旦mmar som Exempel-diagram flyter till en nod 辰r lika med summan av alla str旦mmar som flyter fr奪n noden. 2xUSB 2.0 Ethernet RJ45 Cheat-Sheet elektronik.svg Kodar-LAN tema: Raspberry Pi 2013-06-15 3