Differences

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

Link to this comparison view

pm:lab:lab0xc0-2 [2020/03/22 18:40]
alexandru.predescu
pm:lab:lab0xc0-2 [2020/03/29 13:04] (current)
dumitru.tranca old revision restored (2020/03/27 17:14)
Line 1: Line 1:
 <​hidden>​ <​hidden>​
-Formatul: +Formatul ​si observatii
-  * Conferinta globala pentru prezentare si call cu fiecare pentru ​debug si verificare+  * Conferinta globala pentru prezentare si call cu fiecare pentru ​feedback individual ​si verificare
 +  * Daca dureaza mai mult de 2 ore, sau daca sunt deja mai multi care au terminat, se poate verifica direct pe channel ca sa mearga mai repede. (chiar daca se mai inspira unii de la altii, macar s-au chinuit 2 ore). La mine a durat luni aproape 3 ore chiar si asa. 
 +  * Atentie la rezistente sa nu puna 10k pe LED-uri si sa se incurce ca nu lumineaza. 
 +  * Save periodic la schema.
   * La ex 5, 6 sunt 2 variante, una mai simpla (un singur digit) cu 2p si una mai complicata (2 digiti cu multiplexare) cu 3p.   * La ex 5, 6 sunt 2 variante, una mai simpla (un singur digit) cu 2p si una mai complicata (2 digiti cu multiplexare) cu 3p.
   * Total 10p/12p.   * Total 10p/12p.
Line 221: Line 224:
  
     * **Entry Level.** Start by connecting a single 7-segment digit to the microcontroller. Pick a 7-segment common cathode display and place it on the schematic. Connect the anodes to ''​PORTA''​ 0..6 through a resistor network (single resistors work too) and the cathode to ground. Write a program that counts seconds from 0 to 9 and then starts over.     * **Entry Level.** Start by connecting a single 7-segment digit to the microcontroller. Pick a 7-segment common cathode display and place it on the schematic. Connect the anodes to ''​PORTA''​ 0..6 through a resistor network (single resistors work too) and the cathode to ground. Write a program that counts seconds from 0 to 9 and then starts over.
-    * **Master of Segments** The 7-segment display has to show numbers from 00 to 99. Pick a 7-segment common cathode display and place two of them on the schematic. Each digit will share the anodes that are connected to ''​PORTA''​ 0..6 through a resistor network (single resistors work too). Pick a transistor (//​2n2222A//​ is a good choice for switching) and place two of them to drive the cathodes. Connect the base of each transistor to a microcontroller pin with a resistor of 1k in between. Let's use ''​PA7''​ and ''​PC2''​. Write a program that counts seconds from 0 to 99 and then starts over.+    * **Master of Segments.** The 7-segment display has to show numbers from 00 to 99. Pick a 7-segment common cathode display and place two of them on the schematic. Each digit will share the anodes that are connected to ''​PORTA''​ 0..6 through a resistor network (single resistors work too). Pick a transistor (//​2n2222A//​ is a good choice for switching) and place two of them to drive the cathodes. Connect the base of each transistor to a microcontroller pin with a resistor of 1k in between. Let's use ''​PA7''​ and ''​PC2''​. Write a program that counts seconds from 0 to 99 and then starts over.
  
 <note tip> <note tip>
Line 240: Line 243:
  
 ---- ----
 +<​hidden>​
 +  * Solutie laborator: {{:​pm:​diverse:​carantina-lab0xc1-sol.zip|}}
 +</​hidden>​
 +  * Schema: {{:​pm:​diverse:​schematic-0xc1.zip|}}
  
   * Lab archive: {{:​pm:​diverse:​carantina-lab0xc1.zip|}}   * Lab archive: {{:​pm:​diverse:​carantina-lab0xc1.zip|}}
pm/lab/lab0xc0-2.1584895239.txt.gz · Last modified: 2020/03/22 18:40 by alexandru.predescu
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