Differences

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

Link to this comparison view

pm:prj2023:avaduva:testerethernetcable [2023/05/22 12:58]
vlad.tunaru [Hardware Design]
pm:prj2023:avaduva:testerethernetcable [2023/05/22 13:06] (current)
vlad.tunaru [Bibliography]
Line 49: Line 49:
  
 {{:​pm:​prj2023:​avaduva:​schema.png?​600|}} {{:​pm:​prj2023:​avaduva:​schema.png?​600|}}
-{{:​pm:​prj2023:​avaduva:​wewe_vlad.jpg?​600|}}+{{:​pm:​prj2023:​avaduva:​wewe_vlad.jpg?​450|}}
 ===== Software Design ===== ===== Software Design =====
  
  
 For this project, the following resources of the microcontroller were used: For this project, the following resources of the microcontroller were used:
 +
 • 1 general-purpose pin set as an output for an LED (PD6) • 1 general-purpose pin set as an output for an LED (PD6)
 +
 • 1 general-purpose pin set as an input for a button (PD5) • 1 general-purpose pin set as an input for a button (PD5)
 +
 • Alphanumeric LCD display with HD44780 driver configured on port C • Alphanumeric LCD display with HD44780 driver configured on port C
 +
 • 16 pins used as IN/OUT for cable continuity testing • 16 pins used as IN/OUT for cable continuity testing
 +
 The testing program uses 1 port with 8 bits for signal transmission and another port for reception, utilizing PORTA and PORTB, one defined as an input and the other as an output. The testing program uses 1 port with 8 bits for signal transmission and another port for reception, utilizing PORTA and PORTB, one defined as an input and the other as an output.
 Two arrays are used to store the display sequences for individual LED display or continuous display. For continuity testing, the individual display sequence is used, and the received result at the reception port is stored in the reception[8] array, thus preserving the order in which the test signal was received. By comparing the reception[8] array with three other arrays storing the correct sequences, the type of cable tested (crossover, rollover, straight) can be determined. If none of these patterns match, the cable is declared defective. The display of the detected cable type is done through an LCD display along with a map indicating the defective or good wires. Two arrays are used to store the display sequences for individual LED display or continuous display. For continuity testing, the individual display sequence is used, and the received result at the reception port is stored in the reception[8] array, thus preserving the order in which the test signal was received. By comparing the reception[8] array with three other arrays storing the correct sequences, the type of cable tested (crossover, rollover, straight) can be determined. If none of these patterns match, the cable is declared defective. The display of the detected cable type is done through an LCD display along with a map indicating the defective or good wires.
Line 102: Line 107:
 ===== Results ===== ===== Results =====
  
-{{:​pm:​prj2023:​avaduva:​final_vlad.jpg?​300|}}+{{:​pm:​prj2023:​avaduva:​final_vlad.jpg?​450|}}
 ===== Conclusions ===== ===== Conclusions =====
  
Line 119: Line 124:
 https://​www.cnet.com/​culture/​how-to-make-your-own-ethernet-cable/ ​ Datasheet ATMEGA16  ​ https://​www.cnet.com/​culture/​how-to-make-your-own-ethernet-cable/ ​ Datasheet ATMEGA16  ​
  
 +
 +<​html><​a class="​media mediafile mf_pdf"​ href="?​do=export_pdf">​Export to PDF</​a></​html>​
pm/prj2023/avaduva/testerethernetcable.1684749533.txt.gz · Last modified: 2023/05/22 12:58 by vlad.tunaru
CC Attribution-Share Alike 3.0 Unported
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