This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:multiasm:exercisesbook:avr:sut [2025/12/13 14:08] – [Communication] ktokarz | en:multiasm:exercisesbook:avr:sut [2026/03/25 12:50] (current) – [Table] pczekalski | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| * user interface board presented on the image {{ref> | * user interface board presented on the image {{ref> | ||
| - | There are 8 laboratory nodes. They can be used independently, | + | There are 10 laboratory nodes. They can be used independently, |
| ===== Hardware reference ===== | ===== Hardware reference ===== | ||
| - | The table {{ref> | + | The table {{ref> |
| <figure sutavrlabimage1> | <figure sutavrlabimage1> | ||
| Line 15: | Line 15: | ||
| </ | </ | ||
| - | The in-series resistors protect the outputs of the Arduino boards from excessive current when both pins are set as outputs with opposite logical states. | + | <figure sutavrlabimage1_2> |
| - | + | {{ : | |
| - | The capacitors on the analogue lines filter the PWM signal, providing a stable voltage for measurement by the analogue-to-digital converter. | + | <caption>SUT node's visual interface components schematic< |
| - | <table sutavrconnections> | + | </figure> |
| - | ^ Arduino Uno pin name ^ AVR pin name ^ alternate function ^ comment ^ | + | |
| - | | D2 | PD2 | INT0 | Interrupt input | | + | |
| - | | D5 | PD5 | T1 | Timer/counter input | | + | |
| - | | D6 | PD6 | OC0A | PWM output to generate analogue voltage | | + | |
| - | | D9 | PB1 | OC1A | Timer output | | + | |
| - | | D10 | PB2 | OC1B | Timer output | | + | |
| - | | A5 | PC5 | ADC5 | Analogue input | | + | |
| - | </table> | + | |
| - | Connecting OC0A to ADC5 allows you to generate a voltage for measuring on input 5 of the analogue-to-digital converter. | + | |
| - | Connecting OC1A to INT0 allows you to generate a digital periodic signal that can trigger hardware interrupts. | + | |
| - | Connecting OC1B to T1 allows you to generate a digital periodic signal, the pulse count of which can be counted using timer T1. | + | |
| <table sutavrlabtable1> | <table sutavrlabtable1> | ||
| < | < | ||
| - | ^ Component ID ^ Component | + | ^ Component ID ^ Component |
| - | | | | + | | D1 |
| - | | | | + | | D2 |
| - | | | + | | D3 |
| + | | D4 | ||
| + | | LED4 | 4x 7-segment display | ||
| </ | </ | ||
| - | |||
| - | |||
| - | |||
| Line 48: | Line 36: | ||
| * node 3 with node 4, | * node 3 with node 4, | ||
| * node 5 with node 6, | * node 5 with node 6, | ||
| - | * node 7 with node 8. | + | * node 7 with node 8, |
| + | * node 9 with node 10. | ||
| Interconnections are symmetrical, | Interconnections are symmetrical, | ||
| See image {{ref> | See image {{ref> | ||
| - | <todo @ktokarz # | + | |
| <figure sutavrlabimage2> | <figure sutavrlabimage2> | ||
| {{ : | {{ : | ||
| Line 58: | Line 47: | ||
| </ | </ | ||
| - | <note tip> | + | The in-series resistors protect the Arduino boards' |
| + | |||
| + | The capacitors on the analogue lines filter the PWM signal, providing a stable voltage for the analogue-to-digital converter to measure. | ||
| + | <table sutavrconnections> | ||
| + | < | ||
| + | ^ Arduino Uno pin name ^ AVR pin name ^ Alternate function | ||
| + | | D2 | PD2 | INT0 | Interrupt input | | ||
| + | | D5 | PD5 | T1 | Timer/ | ||
| + | | D6 | PD6 | OC0A | PWM output to generate analogue voltage | ||
| + | | D9 | PB1 | OC1A | Digital output / Timer output | ||
| + | | D10 | PB2 | OC1B | Digital output / Timer output | ||
| + | | A5 | PC5 | ADC5 | Analogue input | | ||
| + | </ | ||
| + | Such a connection makes it possible to implement a variety of scenarios: | ||
| + | * Connection of OC0A to ADC5 allows you to generate a voltage for measuring on input 5 of the analogue-to-digital converter. | ||
| + | * Connection of OC1A to INT0 allows you to generate a digital periodic signal that can trigger hardware interrupts. | ||
| + | * Connection of OC1B to T1 allows you to generate a digital periodic signal, the pulse count of which can be counted using timer T1. | ||
| + | |||
| + | |||
| + | <note tip> | ||