Skip to Content
Arduino Kochbuch, 3. Auflage
book

Arduino Kochbuch, 3. Auflage

by Michael Margolis, Brian Jepson, Nicholas Robert Weldin
September 2024
Intermediate to advanced
798 pages
18h 56m
German
O'Reilly Media, Inc.
Content preview from Arduino Kochbuch, 3. Auflage

Digitale und analoge Pins

Die Tabellen F-1 und F-2 zeigen die digitalen und analogen Pins für das Arduino Uno Board und das Mega Board. Die Spalte "Arduino" steht für den ATmega168/328 und die Spalte "Mega" für den ATmega1280/2560.

Die Spalte Port listet den physikalischen Port auf, der für den Pin verwendet wird - siehe Rezept 18.11 für Informationen darüber, wie man einen Pin durch direktes Schreiben an einen Port setzt. In der Einleitung zu Kapitel 18 findest du weitere Details zur Verwendung von Timern. Die Tabelle zeigt:

  • USART RX ist ein serieller Hardware-Empfang

  • USART TX ist eine serielle Hardwareübertragung

  • Ext Int ist ein externer Interrupt (gefolgt von der Interruptnummer)

  • PWM TnA/B ist der Pulsweitenmodulationsausgang (analogWrite) am Timer n

  • MISO, MOSI, SCK und SS sind SPI-Steuersignale

  • SDA und SCL sind I2C-Steuersignale

Analoge und digitale Pin-Belegungen, wie sie bei gängigen Arduino-Boards üblich sind
Arduino 168/328 Arduino Mega (Pins 0-19)
Digitaler Stift Hafen Analoger Stift Verwendung Hafen Analoger Stift Verwendung

0

PD 0

USART RX

PE 0

USART0 RX, Pin Int 8

1

PD 1

USART TX

PE 1

USART0 SENDEN

2

PD 2

Ext Int 0

PE 4

PWM T3B, INT4

3

PD 3

PWM T2B, Ext Int 1

PE 5

PWM T3C, INT5

4

PD 4

PG 5

PWM T0B

5

PD 5

PWM T0B

PE 3

PWM T3A

6

PD 6

PWM T0A

PH 3

PWM T4A

7

PD 7

PH 4

PWM T4B

8

PB 0

Eingabe erfassen

PH 5

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Schnelleinstieg Sensoren für Arduino

Schnelleinstieg Sensoren für Arduino

Thomas Brühlmann

Publisher Resources

ISBN: 9781098191139