This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:iot-open:practical:hardware:ittgroup:atmel [2025/08/19 07:12] – ingmar05 | en:iot-open:practical:hardware:ittgroup:atmel [2025/09/02 08:36] (current) – raivo.sell | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| Each laboratory node is equipped with an ATmega2561 chip. Several peripherals, | Each laboratory node is equipped with an ATmega2561 chip. Several peripherals, | ||
| - | [{{ :: | + | {{ :: |
| Line 25: | Line 25: | ||
| * Automatic power switch USB or external power supply | * Automatic power switch USB or external power supply | ||
| * Built-in voltage stabilizer, with 5 V and 3,3 V output | * Built-in voltage stabilizer, with 5 V and 3,3 V output | ||
| - | [{{ : | ||
| - | The module is equipped with a AC/DC rectifier circuit and a LDO voltage stabilizer (with low dropout) -an external feeder with voltage stabilization is not needed. | + | <figure atmega2561> |
| - | The module can be powered with a step down transformer with an output voltage which is greater than 6 volts and lower than 15 volts. In order to reduce power losses it is recommended to use power supply between 6-9V. The POWER LED signalizes a connected feed (“POWER” description on the board). | + | {{ :kit:atmega2561.jpg?580 |}} |
| - | All ATmega2561 signals are available on three connectors on the edge of the board. Connectors pin assignment is described in the next part of this instruction. It includes full descriptions of ATmega2561 pins and their alternative functions. The module is equipped with a microprocessor reset circuit (when power on) and a reset button for a microprocessor restart. A microprocessor can be programmed with an on-board JTAG programmer over USB or with an ISP interface. | + | < |
| - | To the seventh pin of port B (named as PB7) the status LED (described as PB7 on the board) is connected. This LED can be used as a status indicator of application software. Low state on PB7 pin causes the status LED to be lit. | + | </ |
| - | The module is equipped with SD memory card slot, where it can be used as a standard microSD memory card. The memory card is connected to the microcontroller via the ISP interface and can be used to store data where data must be maintained even if the power supply is removed. | + | |
| - | + | ||
| - | [{{:kit:atmega2561_sch.png?580|Components on the Controller board}}] | + | |
| ==== Connector Pins and Functions ==== | ==== Connector Pins and Functions ==== | ||
| + | All ATmega2561 signals are available on three connectors on the edge of the board. | ||
| + | |||
| {{: | {{: | ||
| Line 52: | Line 50: | ||
| |11|PF3|ADC3|ADC Input Channel 3| | |11|PF3|ADC3|ADC Input Channel 3| | ||
| |12|GND|-|GND | | |12|GND|-|GND | | ||
| - | |||
| - | < | ||
| {{: | {{: | ||
| Line 118: | Line 114: | ||
| ==== User Interface module ==== | ==== User Interface module ==== | ||
| - | The 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, alphanumeric LCD outputs | + | The 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 a buzzer. 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. |
| Module features: | Module features: | ||
| Line 125: | Line 121: | ||
| * 7-segment indicator; | * 7-segment indicator; | ||
| * Graphical LCD; | * Graphical LCD; | ||
| - | * Alphanumeric LCD connector; | ||
| * Buzzer; | * Buzzer; | ||
| + | <figure ui> | ||
| {{: | {{: | ||
| + | < | ||
| + | </ | ||
| + | |||
| === Electrical connections === | === Electrical connections === | ||
| - | 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. | + | The User Interface module is connected to the Controller module to ports PA/PC/PG, which includes the 8-pin ports PA and PC and the 6-pin port PG. |
| - | 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). 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). | + | The User Interface module is equipped with three buttons, S1, S2, and S3, which are connected to ports PC0, PC1, and PC2, respectively. The other ends of the buttons are connected through the resistors to ground (logical 0). LED1, LED2, and LED3 on the module are connected to the ports PC3, PC4, and PC5, respectively. The anodes of LEDs are connected to the supply (logical 1). |
| + | |||
| + | <figure ui_s> | ||
| + | {{ : | ||
| + | < | ||
| + | </ | ||
| - | [{{ : | ||
| ~~CL~~ | ~~CL~~ | ||
| - | User Interface module is equipped with 7-segment indicator, which is connected to the 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. | + | The User Interface module is equipped with a 7-segment indicator, which is connected to the 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. |
| - | [{{ : | + | <figure ui_7> |
| + | {{ : | ||
| + | < | ||
| + | </ | ||
| ~~CL~~ | ~~CL~~ | ||
| - | The graphical LCD display on the 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. The user can choose whether to use the graphical or alphanumeric LCD. It is not possible to use both at the same time. The graphical | + | The graphical LCD display on the module is connected to port PA. LCD's background lighting can be logically controlled by the software. |
| - | + | ||
| - | [{{: | + | |
| - | + | ||
| - | ~~CL~~ | + | |
| - | The buzzer is connected with controller board' | + | <figure ui_lcd> |
| + | {{: | ||
| + | < | ||
| + | </ | ||
| - | [{{ : | ||
| - | < | ||
| ==== Combo module ==== | ==== Combo module ==== | ||
| - | Combo module is used in this remote Laboratory to power the motors and connect external sensors. | + | The combo module is used in this remote Laboratory to power the motors and connect external sensors. |
| - | Combo module | + | The combo module |
| * 4 x DC motors | * 4 x DC motors | ||
| * 1 x Stepper | * 1 x Stepper | ||
| Line 167: | Line 170: | ||
| \\ | \\ | ||
| - | Connect following sensors: | + | Connect |
| * 4 x analog | * 4 x analog | ||
| * 4 x digital | * 4 x digital | ||
| * 2 x coder | * 2 x coder | ||
| - | * 8x digital inputs | + | * 8x digital inputs |
| \\ | \\ | ||
| \\ | \\ | ||
| - | Use the following communication interfaces: | + | <figure combo> |
| - | * UART (3,3 or 5 V ) | + | {{: |
| - | * ZigBee / Bluetooth / RFID / WiFi / GPS wireless communication module | + | < |
| - | + | </ | |
| - | [{{: | + | |
| Line 186: | Line 188: | ||
| === Electrical connections === | === Electrical connections === | ||
| - | Combo board is connected with controller using PA-PB-PC-PD-PE-PF ports. DC and stepper motor feeds come from external power cord, servo motors | + | The combo board is connected with the controller using PA-PB-PC-PD-PE-PF ports. DC and stepper motor feeds come from an external power cord; the servo motor feed comes through a 5V voltage regulator, also from an external power cord. The motor' |
| === DC motors === | === DC motors === | ||
| - | DC motors | + | DC motors |
| + | |||
| + | <figure combo_m> | ||
| + | {{: | ||
| + | < | ||
| + | </ | ||
| - | [{{: | ||
| ~~CL~~ | ~~CL~~ | ||
| Line 205: | Line 211: | ||
| === Stepper motor === | === Stepper motor === | ||
| - | [{{:et:hardware:homelab:steper2.png?580|Stepper connection scheme | + | <figure combo_s> |
| + | {{:en: | ||
| + | < | ||
| + | </ | ||
| ~~CL~~ | ~~CL~~ | ||
| === Servomotor === | === Servomotor === | ||
| - | Servo is connected to //Servo// group of pins. Ground wire is connected to the GND pin which is the pin nearest to the board edge. It's possible to use 2 servomotors at once. Signal pins on the Combo module | + | The servo motor is connected to //Servo// group of pins. Ground wire is connected to the GND pin, which is the pin nearest to the board edge. It's possible to use two servomotors at once. Signal pins on the Combo module |
| + | |||
| + | <figure combo_se> | ||
| + | {{: | ||
| + | < | ||
| + | </ | ||
| - | [{{: | ||
| ~~CL~~ | ~~CL~~ | ||