| Next revision | Previous revision |
| de:hardware:homelab:digi:v5 [2010/10/29 09:47] – angelegt seiler | de:hardware:homelab:digi:v5 [2020/07/20 12:00] (current) – external edit 127.0.0.1 |
|---|
| --- z.Z. in Übersetzung --- | |
| |
| ====== Benutzerschnittstellen Modul ====== | ====== Benutzerschnittstellen Modul ====== |
| | Das Benutzerschnittstellen Modul wurde für einfache Aufgaben und grundlegende Prozesskontrollen konzipiert. Das Modul verfügt über drei Tasten und drei LEDs, die als digitale Eingänge und Ausgänge des Microcontrollers verwendet werden können. Zusätzlich zu den einfachen LEDs ist das Modul mit einer 7-Segment-Anzeige, einer grafischen LCD-Anzeige und alphanumerischen LCD-Ausgängen ausgestattet. Das Benutzerschnittstellen Modul ist gut dazu zu verwenden das Ausgabeverhalten von verschiedenen Modulen darzustellen, wie z.B Motoren-steuerungen oder Sensordaten. Das Modul ist zum Schutz mit einer Plexiglasscheibe abgedeckt. |
| |
| User interface module is designed for simple tasks and basic process control. Module has three push-buttons and three LEDs, which can be used as digital inputs and outputs of microcontroller. Additionally to simple LEDs the module is equipped with 7-segment indicator, graphical LCD display and alphanumeric LCD outputs. User interface module is handy to use along with other modules enabling to control the output device behavior, like motors and display the sensor readings. The module is covered with the plexiclass to protect the board with accidentals. | Modul-features: |
| | * eine grüne,gelbe und rote LED; |
| Module features: | * drei Tasten; |
| * Green, yellow and red LED; | * 7-Segment-Anzeige; |
| * Three push-button; | * Grafisches LCD; |
| * 7-segment indicator; | * Alphanumerischer LCD-Anschluss; |
| * Graphical LCD; | |
| * Alphanumeric LCD connector; | |
| |
| {{:examples:digi:ui_board.jpg?500 |}} | {{:examples:digi:ui_board.jpg?500 |}} |
| |
| ===== Electrical connections ===== | ===== Elektische Anschlüsse ===== |
| User interface module is connected to Controller module to ports PA/PC/PG, which includes the 8-pin ports PA and PC and 6-pin port PG. | Das Benutzerschnittstellen Modul ist über die Ports PA/PC/PG mit dem Controller verbunden, welche die 8-Pin-Ports PA und PC und den 6-Pin-Port PG beinhalten. |
| |
| User interface module is equipped with three buttons S1, S2, S3 which are connected to ports PC0, PC1, PC2 accordingly. The other end of buttons are connected through the resistors to ground (logical 0). The module board has places for the capacitors to build up the RC filter for buttons, but not included on the standard set. LED1, LED2 and LED3 on the module are connected to the ports PC3, PC4, PC5 accordingly. The anodes of LEDs are connected to the supply (logical 1). | Das Benutzerschnittstellen Modul ist mit 3 Tasten ausgestattet S1,S2, S3 welche mit den Ports PC0, PC1, PC2 verbunden sind. Das andere Ende der Taster ist über Widerstände mit der Masse(logisch 0) verbunden. Außerdem hat das Modul Plätze für Kondensatoren zum Aufbau des RC-Filter für die Tasten, diese sind aber nicht im Standard-Set vorhanden. Die LED1, LED2 und LED3 auf dem Modul sind mit den Ports PC3, PC4 und PC5 entsprechend verbunden. Die Anoden der LEDs sind mit der Versorgung (logisch 1) verbunden. |
| |
| [{{ :examples:ui:ui_button_led_schematics.png?580 |Schematics of buttons and LEDs}}] | [{{ :examples:ui:ui_button_led_schematics.png?580 |Schematics of buttons and LEDs}}] |
| |
| ~~CL~~ | ~~CL~~ |
| | Das Benutzerschnittstellen Modul ist mit einer 7-Segment-Anzeige ausgestattet, welche mit den Microcontroller-Ports über den Driver A6275 angeschlossen ist. Der Driver Datenbus ist am Pin PC6 angeschlossen, das Taktsignal (CLK) am Pin PC7 und das Latch-Signal(LATCH) am Pin PG2. |
| User interface module is equipped with 7-segment indicator, which is connected with microcontroller ports through the driver A6275. Driver data bus (S-IN) is connected to pin PC6, clock signal (CLK) to the pin PC7 and latch signal (LATCH) to pin PG2. | |
| |
| [{{ :examples:digi:digi_io_7seg_schematics.png?480 |Schematics of 7-segment indicator}}] | [{{ :examples:digi:digi_io_7seg_schematics.png?480 |Schematics of 7-segment indicator}}] |
| |
| ~~CL~~ | ~~CL~~ |
| The graphical LCD display on module is connected to port PA. In parallel the same port has external connector where all pins are aligned according to the standard 2 x 16 alphanumeric LCD 4 bit control. It is user choice, whether to use the graphical or alphanumeric LCD. It is not possible to use both on the same time. Graphical LCD has the background light which can be logically controlled by the software. The back-light intensity of alphanumeric LCD is regulated with on-board resistor and graphical LCD back-light can be controlled by the software. Both LCD displays are connected to the port PA but only one at a time can be used. When selecting the alphanumeric LCD the jumper should be removed to avoid the random control of graphical LCD background light. | Das grafische LCD-Display auf dem Modul ist am Port PA angeschlossen. Parallel hat der gleiche Port externe Anschlüsse für das Standard 2x16 alphanumerische LCD. Es liegt in der Hand des Benutzers ob er das grafische oder das alphanumerische LCD benutzen will. Es ist allerdings nicht möglich, beide zur selben Zeit zu benutzen. Das grafische LCD hat eine Hintergrundbeleuchtung, diese kann von der Software logisch gesteuert werden. Die Intesität der der Hintergrundbeleuchtung beim alphanumerischen LCD wird von einem On-Board-Widerstand geregelt die des grafischen LCD per Software. Beide LCD-Displays sind mit dem Port PA verbunden aber es kann nur eines von beiden zur selben Zeit verwendet werden. Wenn das alphanumerische LCD verwendet wird sollte der Jumper entfernt werden um eine ungeregelte Kontrolle der Hintergrundbeleuchtung des grafischen LCD zu vermeiden. |
| | |
| [{{:examples:ui:ui_lcd_schematics.png?580 |Schematics of LCD}}] | [{{:examples:ui:ui_lcd_schematics.png?580 |Schematics of LCD}}] |
| |
| ===== Connecting module ===== | ===== Anschlussmodul ===== |
| |
| While connecting the module it is suggested to follow the order as described below. Before connecting any cable make sure that the power is removed from Controller board. | Beim Anschliessen des Moduls sollten Sie die folgenden Anweisungen folgen. Bevor Sie irgendein Kabel anschliessen vergewissern Sie sich, dass das Board vom Netzteil getrennt ist. |
| |
| - Connect gently the User interface module with Controller module. | - seien Sie vorsichtig wenn Sie das Benutzerschnittstellen Modul mit dem Regler Modul verbinden |
| - If needed connect the JTAG programmer with Controller module. | - Wenn es benötigt wird verbinden Sie den JTAG programmer mit dem Regler Modul. |
| - Connect the power supply with Controller module. | - Verbinden Sie das Netzteil mit dem Regler Modul. |
| |
| {{:kit:homelab_modules5.jpg?500|}} | {{:kit:homelab_modules5.jpg?500|}} |