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:multiasm:exercisesbook:avr:sut [2025/12/13 14:08] – [Communication] ktokarzen:multiasm:exercisesbook:avr:sut [2025/12/13 14:15] (current) – [Communication] ktokarz
Line 14: Line 14:
 <caption>AVR (Arduino Uno) SUT Node</caption> <caption>AVR (Arduino Uno) SUT Node</caption>
 </figure> </figure>
- 
-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. 
- 
-The capacitors on the analogue lines filter the PWM signal, providing a stable voltage for measurement by the analogue-to-digital converter. 
-<table sutavrconnections> 
-^ 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>
Line 38: Line 22:
 |                          |                                |                                                      |          | |                          |                                |                                                      |          |
 </table> </table>
- 
- 
- 
  
  
Line 52: Line 33:
 Interconnections are symmetrical, so that device 1 can send data to device 2 and vice versa (similar to serial communication). Note that analogue inputs are also involved in the interconnection interface. Interconnections are symmetrical, so that device 1 can send data to device 2 and vice versa (similar to serial communication). Note that analogue inputs are also involved in the interconnection interface.
 See image {{ref>sutavrlabimage2}} for details. See image {{ref>sutavrlabimage2}} for details.
-<todo @ktokarz #ktokarz:2025-12-13>Inject image of interconnection below</todo>+
 <figure sutavrlabimage2> <figure sutavrlabimage2>
 {{ :en:multiasm:exercisesbook:avr:sutavrconnections.png?600 |}} {{ :en:multiasm:exercisesbook:avr:sutavrconnections.png?600 |}}
 <caption>SUT AVR nodes interconnection diagram</caption> <caption>SUT AVR nodes interconnection diagram</caption>
 </figure> </figure>
 +
 +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.
 +
 +The capacitors on the analogue lines filter the PWM signal, providing a stable voltage for measurement by the analogue-to-digital converter.
 +<table sutavrconnections>
 +<caption>AVR (Arduino Uno) SUT Node Interconnections</caption>
 +^ 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                | Digital output / Timer output            |
 +| D10                   | PB2           | OC1B                | Digital output / Timer output            |
 +| A5                    | PC5           | ADC5                | Analogue input                           |
 +</table>
 +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>Nodes are interconnected in pairs: 1-2, 3-4, 5-6, 7-8. Scenarios for data transmission between MCUs require booking and the use of correct nodes for sending and receiving messages.</note> <note tip>Nodes are interconnected in pairs: 1-2, 3-4, 5-6, 7-8. Scenarios for data transmission between MCUs require booking and the use of correct nodes for sending and receiving messages.</note>
en/multiasm/exercisesbook/avr/sut.1765627695.txt.gz · Last modified: 2025/12/13 14:08 by ktokarz
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