User manual

10/48 myEthernet Technische Beschreibung / technical description
www.myAVR.de © Laser & Co. Solutions GmbH – 06/2009 www.myAVR.com
2.2 Pin-Belegung
2.2 Pin configuration
Belegungstabelle (i/o…digital input/output; a…analog input) /
connection table (i/o ... digital input / output; a … analogue input)
Pin-Nr. /
pin
number
Position
mögliche
Konfiguration
possible
configuration
Sonder-
funktion /
special
function
PIN am / on
ATmega644P
0
Leiste oben /
connector top
i,o,a A4
1
Leiste /
connector
i,o,a A5
2 Leiste i,o,a A6
3 Leiste i,o,a A7
4 Leiste i,o B0
5 Leiste i,o B1
6 Leiste i,o B2
7 Leiste i,o B3
8 Leiste i,o spi B4
9 Leiste i,o spi B5
10 Leiste i,o spi B6
11 Leiste i,o spi B7
12 Leiste i,o,a A0
13 Leiste i,o,a A1
14 Leiste i,o,a A2
15 Leiste i,o,a A3
16 Leiste i,o twi C1
17
Leiste unten /
connector bottom
i,o twi C0
18
neben Leiste /
beside connector
i,o C2
19
neben Leiste
i,o C3
20
LED grün /
LED green
o C4
21
LED rot /
LED red
o C5
22
RxD (links /
left
)
i,o uart D0
23
TxD (rechts /
right
)
i,o uart D1
Die Zuordnung der Pin-Nr ist nicht identisch zur Position
der Pins auf der Stiftleiste. Auf der Stiftleiste existieren 20
Anschlüsse, von denen 2 für die Spannungsversorgung
geschaltet sind. Es stehen insgesamt 24 physikalisch
vorhandene Pins zur Verwendung auf dem myEthernet
bereit.
Aus der Belegungstabelle ist ersichtlich, welche Pins
digitale bzw. analoge Daten verarbeiten. Der A/D-Wandler
des ATmega644P arbeitet mit einer Auflösung von 10bit.
Damit wird die Eingangsspannung im Bereich von 0V bis
5V auf einen digitalen Wert von 0 bis 1023 umgerechnet.
Insgesamt stehen 8 Eingänge für eine analoge
Datenaufnahme zur Verfügung.
Die beiden Status-LEDs werden über die Pins 20 und 21
angesteuert. Sie sind nur auf digitalen Ausgang
konfiguriert, können aber nach der Initialisierungsphase
durch den Anwender geregelt werden.
The allocation of the pin number is not identical with the
position of the pins on the multi-pin connector. On the
multi-pin connector there are 20 circuit points. Two of them
are switched for the power supply. All in all there are 24
physically pins available for using on the myEthernet.
From the table it is clear which pins process digital or
analogue data. The A/D converter of the Atmega644P
works with a resolution of 10 bit. So the input voltage in the
area of 0 volt 5 volt will be converted to a digital value
from 0 to 1023. All in all there are 8 inputs availabe for an
analogue data acquisition.
The two status LEDs will be controlled through the pins 20
and 21. They are only configured on a digital output but
can also regulated through the user after the initialization
phase.