Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:hardware:homelab:controller [2010/03/09 08:37] raivo.sellen:hardware:homelab:controller [2020/07/20 12:00] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Controller module ====== ====== Controller module ======
  
-Main module of a HomeLab is a controller development board (controller board) equipped with AVR ATmega128 micrcontroller. The board consists of in addition to microcontroller several peripherals, voltage stabilizer, connectors etcThe controller board has the following features:+The Controller module in Robotic HomaLab kit is a development board equipped with AVR ATmega series microcontroller and peripherial devices.
  
-  * Atmega128-16AU microcontroller in the TQFP64 package (ROHS)  +Robotic HomeLab kit has currently three generation Controller modules. 
-    * 8-channel 10-bit A/D converter  +Belowyou can choose a suitable Controller module documentation.
-    * 128kB Flash memory (program memory)  +
-    * 4kB EEPROM memory (data memory)  +
-    * 6 channel programmable PWM  +
-  * Standard 6-pin In system programming interface (ISP) connector  +
-  * 16MHz clock (can be changed very easy, crystal is mounted on small 2-pin socket)  +
-  * Real Time clock (RTC)  +
-  * Reset protection circuitry for the ATmega128  +
-  * Status LED and Power LED  +
-  * Standard DB-9 serial port connector with RS232 transmitter / receiver  +
-  * All Atmega signals available on three connectors (1DB, E ports, 2. G, C, A ports, 3. F port with ADC I/O lines) +
-  * Reset button  +
-  * JTAG 10-pin Interface connector  +
-  * 2-pin on/of connector – can be used for connecting on/off button  +
-  * DC 2.1mm power connector  +
-  * Built-in voltage stabilizer+
  
-[{{  :kit:cpu_module.jpg?580  |Controller module}}]+ATXmega128A1U (version 3.x)
  
-Module is equipped with AC/DC rectifier circuit and LDO voltage stabilizer (with low dropout) - external feeder with voltage stabilization is not needed.  +[[en:hardware:homelab:controller:xmega128|{{:kit:controller:kontroller_iii.png?310}}]]
-   +
-Module can be powered just from step down transformer with  output voltage greater than 6 Volts and lower than 15 Volts. Module has wrong-polarization protection circuit  (Greatz bridge). POWER LED is signalizing connected feed (“POWER” description on the board). +
-  +
-Circuit can be equipped with external power switch by connecting it to S2 2-pin on/off  +
-connector. If external power switch is not used, S2 2-pin on/off connector must be shorted. +
-  +
-All ATmega128 signals are available on three connectors on the edge of the board. Connectors pin assignment is described in next part of this instruction. It includes full descriptions of ATmega128 pins and their alternative functions. The module is equipped with microprocessor reset circuit (when power on) and reset button for microprocessor restart. Microprocessor can be programmed with ISP or JTAG programmer.+
  
-To the seventh pin of port B (named as PB7) is connected to the status LED (described as PB7 on the board)This LED can be used as a status indicator of application software. Low state on PB7 pin causes that the status LED is lighting. +ATmega2561 (version 1.x)
-  +
-Module provides two serial ports described on the board as UART1 and UART2. The first one is 9-pin female connector (DB-9 PC serial port compatibleand the second is 3-pin connector. Required signal conversion to serial standard provides MAX232 circuit.  +
-  +
-Multiplexer 74HC4053 provides full use of ports, also these that are used for microprocessor programming, because when the processor is in reset state (when programmed) multiplexer witches PE0, PE1 and PB1 signals to ISP and JTAG connector. When processor is in run state these signals are switched to connectors on the edge of the board.   +
  
-Module is equipped with external memory (Atmel  AT45DB041B). It is 4Mbit serial data flash memory connected to Master/Slave SPI serial interface of the microprocessor. Internal Real Time Clock is connected to external 32.768 kHz crystal resonator named as X2 on the board+[[en:hardware:homelab:controller:atmega2561|{{:kit:atmega2561.jpg?300}}]]
  
-[{{:kit:atmega_plaat.png?580|}}] 
  
-===== Connector pins and functions =====+----
  
-[{{  :kit:pe-pb-pd.png?580  |}}]+ATmega128
  
-^Nr^Viik^Alternatiivfunktsioon / kirjeldus^^ +[[en:hardware:homelab:controller:atmega128|{{:kit:cpu_module.jpg?320}}]]
-|1 |PD7|T2       |Taimer/Loendur2 taktsignaali sisend| +
-|2 |PD6|T1       |Taimer/Loendur1 taktsignaali sisend| +
-|3 |PD5|XCK1     |USART1 taktsignaali sisend/väljund| +
-|4 |PD4|IC1      |Taimer/Loendur1 sündmuste püüdja sisend| +
-|5 |PD3|INT3/TXD1|Väline katkestus 3 või UART1 andmete väljund| +
-|6 |PD2|INT2/RXD1|Väline katkestus 2 või UART1 andmete sisend| +
-|7 |PD1|INT1/SDA |Väline katkestus 1 või TWI andmesignaal| +
-|8 |PD0|INT0/SCL |Väline katkestus 0 või TWI taktsignaal| +
-|9 |VCC|-        |+5 V| +
-|10|GND|-        |Maa| +
-|11|PB7|OC2/OC1C |Taimer/Loendur2 või Taimer/Loendur1 võrdlustulemuse väljastusüksus (C)| +
-|12|PB6|OC1B     |Taimer/Loendur1 võrdlustulemuse väljastusüksus B| +
-|13|PB5|OC1A     |Taimer/Loendur1 võrdlustulemuse väljastusüksus A| +
-|14|PB4|OC0      |Taimer/Loendur0 võrdlustulemuse väljastusüksus| +
-|15|PB3|MISO     |SPI //master// andmete sisend / SPI //slave// väljund| +
-|16|PB2|MOSI     |SPI //master// andmete väljund / SPI //slave// sisend| +
-|17|PB1|SCK      |SPI taktsignaal| +
-|18|PB0|SS       |SPI //slave// valik| +
-|19|PE7|INT7/IC3 |Väline katkestus 7 või Taimer/Loendur3 sündmuste püüdja sisend| +
-|20|PE6|INT6/T3  |Väline katkestus 6 või Taimer/Loendur3 taktsignaali sisend| +
-|21|PE5|INT5/OC3C|Väline katkestus 5 või Taimer/Loendur3 võrdlustulemuse väljastusüksus C| +
-|22|PE4|INT4/OC3B|Väline katkestus 4 või Taimer/Loendur3 võrdlustulemuse väljastusüksus B| +
-|23|PE3|AIN1/OC3A|Komparaatori negatiivne sisend või Taimer/Loendur3 võrdlustulemuse väljastusüksus A| +
-|24|PE2|AIN0/XCK0|Komparaatori positiivne sisend või USART0 taktsignaali sisend/väljund| +
-|25|PE1|PDO/TXD0 |ISP Programmeerimisliidese väljund või UART0 andmete väljund| +
-|26|PE0|PDI/RXD0 |ISP Programmeerimisliidese sisend või UART0 andmete sisend|+
  
-[{{  :kit:pa-pc.png?580  |}}] 
- 
-^Nr^Viik^Alternatiivfunktsioon / kirjeldus^^ 
-|1 |GND|-  |Maa | 
-|2 |VCC|-  |+5 V | 
-|3 |PA0|AD0|Välismälu-liidese aadressi- ja andmebitt 0 | 
-|4 |PA1|AD1|Välismälu-liidese aadressi- ja andmebitt 1 | 
-|5 |PA2|AD2|Välismälu-liidese aadressi- ja andmebitt 2 | 
-|6 |PA3|AD3|Välismälu-liidese aadressi- ja andmebitt 3 | 
-|7 |PA4|AD4|Välismälu-liidese aadressi- ja andmebitt 4 | 
-|8 |PA5|AD5|Välismälu-liidese aadressi- ja andmebitt 5 | 
-|9 |PA6|AD6|Välismälu-liidese aadressi- ja andmebitt 6 | 
-|10|PA7|AD7|Välismälu-liidese aadressi- ja andmebitt 7 | 
-|11|-  |-  |Pole ühendatud                             | 
-|12|-  |-  |Pole ühendatud                             | 
-|13|PG2|ALE|Välismälu-liidese aadressi lukustussignaal | 
-|14|-  |-  |Pole ühendatud                             | 
-|15|PC6|A14|Välismälu-liidese aadressi- ja andmebitt 14| 
-|16|PC7|A15|Välismälu-liidese aadressi- ja andmebitt 15| 
-|17|PC4|A12|Välismälu-liidese aadressi- ja andmebitt 12| 
-|18|PC5|A13|Välismälu-liidese aadressi- ja andmebitt 13| 
-|19|PC2|A10|Välismälu-liidese aadressi- ja andmebitt 10| 
-|20|PC3|A11|Välismälu-liidese aadressi- ja andmebitt 11| 
-|21|PC0|A8 |Välismälu-liidese aadressi- ja andmebitt 8 | 
-|22|PC1|A9 |Välismälu-liidese aadressi- ja andmebitt 9 | 
-|23|PG0|WR |Välismälu kirjutussignaal                  | 
-|24|PG1|RD |Välismälu lugemissignaal                   | 
-|25|-  |-  |Pole ühendatud                             | 
-|26|-  |-  |Pole ühendatud                             | 
- 
-[{{  :kit:pf.png?580  |}}] 
- 
-^Nr^Viik^Alternatiivfunktsioon / kirjeldus^^ 
-|1|VCC|-  |+5 V | 
-|2|GND|-  |Maa | 
-|3|REF|AREF|ADC võrdluspinge sisend| 
-|4|GND|-  |Maa | 
-|5|PF0|ADC0|ADC sisendkanal 0 | 
-|6|GND|-|Maa | 
-|7|PF1|ADC1|ADC sisendkanal 1 | 
-|8|GND|-|Maa | 
-|9|PF2|ADC2|ADC sisendkanal 2 | 
-|10|GND|-|Maa | 
-|11|PF3|ADC3|ADC sisendkanal 3| 
-|12|GND|-|Maa | 
-|13|PF4|ADC4/TCK|ADC sisendkanal 4 või JTAG taktsignaal| 
-|14|GND|-|Maa | 
-|15|PF5|ADC5/TMS|ADC sisendkanal 5 või JTAG režiimivalik| 
-|16|GND|-|Maa | 
-|17|PF6|ADC6/TDO|ADC sisendkanal 6 või JTAG andmete väljund| 
-|18|GND|-|Maa | 
-|19|PF7|ADC7/TDI|ADC sisendkanal 7 või JTAG andmete sisend| 
-|20|GND|-|Maa | 
- 
-===== Connecting module ===== 
- 
-When connecting the controller module with other peripheral modules and devices, the last thing is connecting the power supply. If power is on, it is dangerous to connect and disconnect external devices. Modules have to be connected with each other with great care without applying strong force as this can bend connectors. JTAG-ICE programmer have to be connected to the correct port and the ribbon cable directs out from board (red stripe is by the power supply connector side). 
- 
-[{{:kit:kit_test.jpg?580|}}] 
  
en/hardware/homelab/controller.1268116635.txt.gz · Last modified: (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0