<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.natea.ro/index.php?action=history&amp;feed=atom&amp;title=Aura_Led_Cube</id>
	<title>Aura Led Cube - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.natea.ro/index.php?action=history&amp;feed=atom&amp;title=Aura_Led_Cube"/>
	<link rel="alternate" type="text/html" href="http://wiki.natea.ro/index.php?title=Aura_Led_Cube&amp;action=history"/>
	<updated>2026-11-19T07:59:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>http://wiki.natea.ro/index.php?title=Aura_Led_Cube&amp;diff=65&amp;oldid=prev</id>
		<title>Nicu at 20:20, 24 August 2021</title>
		<link rel="alternate" type="text/html" href="http://wiki.natea.ro/index.php?title=Aura_Led_Cube&amp;diff=65&amp;oldid=prev"/>
		<updated>2021-08-24T20:20:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 20:20, 24 August 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot; &gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Noi in proiectul nostru tintim sa inlocuim urmatoarea placuta:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Noi in proiectul nostru tintim sa inlocuim urmatoarea placuta:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;https://content.instructables.com/ORIG/FBS/DNJR/J960NW59/FBSDNJRJ960NW59.jpg?auto=webp&amp;amp;frame=1&amp;amp;width=1024&amp;amp;height=1024&amp;amp;fit=bounds&amp;amp;md=dc53a247266d177d9e274c0f27c9dbb9&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Pentru a face asta, trebuie sa vedem cum putem folosi: A0&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/del&gt;A1&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/del&gt;A2&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, DataA, DataB, &lt;/del&gt;OE&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/del&gt;CLK&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/del&gt;ST&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[File:small_pcb.png|Small PCB]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Pentru a face asta, trebuie sa vedem cum putem folosi:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;A0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;A1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;A2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; DatA&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; DatB&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;OE&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;CLK&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;ST&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Nu vom conecta 5V si GND, pt ca raspbery-ul o sa fie alimentat dintr-o alta sursa.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Nu vom conecta 5V si GND, pt ca raspbery-ul o sa fie alimentat dintr-o alta sursa.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l66&quot; &gt;Line 66:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 77:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Selectia layer-ului se face pe baza lui A0, A1, A2. Aditional se dezactiveaza output-ul pe perioada configurarii folosind OE, si se reactiveaza la final pana la urmatorul trigger al timer-ului.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Selectia layer-ului se face pe baza lui A0, A1, A2. Aditional se dezactiveaza output-ul pe perioada configurarii folosind OE, si se reactiveaza la final pana la urmatorul trigger al timer-ului.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Presupunerea mea legata de codul din Send_Data e ca avem doua seturi de shift_registers legate in serie.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Presupunerea mea legata de codul din Send_Data e ca avem doua seturi de shift_registers legate in serie.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Folosim DatA si DatB ca sa indicam ce biti vrem sa shiftam in cele doua seturi, si folosim CLK ca sa generam push'ul. Imagine the shift register a std::queue of bits &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;coresponding &lt;/del&gt;to each color of each led. Fiecare bit indica daca culoarea corespunzatoare ledului este sau nu este activa.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Folosim DatA si DatB ca sa indicam ce biti vrem sa shiftam in cele doua seturi, si folosim CLK ca sa generam push'ul. Imagine the shift register a std::queue of bits &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;corresponding &lt;/ins&gt;to each color of each led. Fiecare bit indica daca culoarea corespunzatoare ledului este sau nu este activa.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Deci in momentul asta avem 96 de intrari bagate in fiecare set.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Deci in momentul asta avem 96 de intrari bagate in fiecare set.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Functia Send_data primeste ca parametru:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Functia Send_data primeste ca parametru:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; - &lt;/del&gt;numarul layer'ului pe care lucram, ca sa stie ce valoare sa verifice in matricea corespunzatoare tuturor ledurilor.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; - &lt;/del&gt;bit'ul pe care vrem sa il verificam in intrarea corespunzatoare asocierii dintre un led si o culoare. Ne da intensitatea&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;1. &lt;/ins&gt;numarul layer'ului pe care lucram, ca sa stie ce valoare sa verifice in matricea corespunzatoare tuturor ledurilor.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2. &lt;/ins&gt;bit'ul pe care vrem sa il verificam in intrarea corespunzatoare asocierii dintre un led si o culoare. Ne da intensitatea&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. In principiu Send_Data va fi apelata de mai multe ori pt a stabili culoarea unui led.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nicu</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.natea.ro/index.php?title=Aura_Led_Cube&amp;diff=64&amp;oldid=prev</id>
		<title>Nicu: Created page with &quot;Materiale legate de cubul folosit de noi: https://www.instructables.com/AuraCube-8x8x8-Compelete-Assembly-Guide/   ------------------------------------------------------------...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.natea.ro/index.php?title=Aura_Led_Cube&amp;diff=64&amp;oldid=prev"/>
		<updated>2021-08-24T19:24:01Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Materiale legate de cubul folosit de noi: https://www.instructables.com/AuraCube-8x8x8-Compelete-Assembly-Guide/   ------------------------------------------------------------...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Materiale legate de cubul folosit de noi:&lt;br /&gt;
https://www.instructables.com/AuraCube-8x8x8-Compelete-Assembly-Guide/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Noi in proiectul nostru tintim sa inlocuim urmatoarea placuta:&lt;br /&gt;
&lt;br /&gt;
https://content.instructables.com/ORIG/FBS/DNJR/J960NW59/FBSDNJRJ960NW59.jpg?auto=webp&amp;amp;frame=1&amp;amp;width=1024&amp;amp;height=1024&amp;amp;fit=bounds&amp;amp;md=dc53a247266d177d9e274c0f27c9dbb9&lt;br /&gt;
&lt;br /&gt;
Pentru a face asta, trebuie sa vedem cum putem folosi: A0, A1, A2, DataA, DataB, OE, CLK, ST.&lt;br /&gt;
Nu vom conecta 5V si GND, pt ca raspbery-ul o sa fie alimentat dintr-o alta sursa.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Pentru a face asta o sa ne bazam pe datasheetul cubului curent si sursele folosite pt STM&lt;br /&gt;
--------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Example of using the datasheet:&lt;br /&gt;
&lt;br /&gt;
DataSheet PCB:&lt;br /&gt;
https://drive.google.com/open?id=1TpA1zuHrZGRsxQEAUC7ePYAQedIoSKEg&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Asa ca daca urmarim big_pcb.pdf la 74HC138: demux, avem ca input A0, A1, A2 pe care le folosim ca sa activam una dintre iesirile: yang1, yang2, ... yang8&lt;br /&gt;
&lt;br /&gt;
Apoi daca va uitati la: U13, U14, U15, U16, avem folosit yang1, yang2, ... yang8 pt a selecta intre rgb1, rgb2, ... rgb8.&lt;br /&gt;
&lt;br /&gt;
De aici concluzia ca rgb1/rgb2/...rgb8, reprezinta anodurile corespunzatoare unui layer, unde printr-un layer intelegem un rand complet de 8 x 8 leduri. &lt;br /&gt;
daca avem o matrice: Leds[8][8][8], atunci:&lt;br /&gt;
 randul 1 contine Leds[0][?][?], &lt;br /&gt;
 randul 2 contine Leds[1][?][?], &lt;br /&gt;
 etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
More info on the hardware:&lt;br /&gt;
&lt;br /&gt;
Shift registers - o sa vedem mai jos de ce:&lt;br /&gt;
   https://en.wikipedia.org/wiki/Shift_register&lt;br /&gt;
&lt;br /&gt;
74HC138 - 3 la 8 demultiplexer -&lt;br /&gt;
   https://pdf1.alldatasheet.com/datasheet-pdf/view/15535/PHILIPS/74HC138.html&lt;br /&gt;
   https://www.youtube.com/watch?v=1UKsOYXAO8E&lt;br /&gt;
&lt;br /&gt;
74HC245&lt;br /&gt;
   https://pdf1.alldatasheet.com/datasheet-pdf/view/15572/PHILIPS/74HC245.html&lt;br /&gt;
   https://www.youtube.com/watch?v=F1aoDN2N128&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------------&lt;br /&gt;
Example of using the sources:&lt;br /&gt;
&lt;br /&gt;
Surse STM:&lt;br /&gt;
   https://drive.google.com/open?id=1JqKoayEv9wA4e-NlURtmIAhMU3aZBSkS&lt;br /&gt;
&lt;br /&gt;
Fisiere de interes:&lt;br /&gt;
    ./USER/src/stm32f10x_it.c  =&amp;gt; TIM2_IRQHandler&lt;br /&gt;
    ./USER/src/LED.c           =&amp;gt; Send_Data &lt;br /&gt;
    ./USER/inc/LED.h           =&amp;gt; pini pe care intentionam sa-i folosim, pe care trebuie sa-i cautam in cod pt a intelege mecanismul: rgb_OE_SET / rgb_ST_SET / rgb_CLK_SET / rgb_DAT_B_SET / rgb_DAT_A_SET / HC138_A_SET / HC138_B_SET / HC138_C_SET /.... _reset&lt;br /&gt;
&lt;br /&gt;
Basic idea:&lt;br /&gt;
Avem un timer activat periodic[TIM2_IRQHandler], care selecteaza si actualizeaza un layer (Send_Data: 8 randuri x 8 coloane x 3 culori = 192 valori)&lt;br /&gt;
&lt;br /&gt;
Selectia layer-ului se face pe baza lui A0, A1, A2. Aditional se dezactiveaza output-ul pe perioada configurarii folosind OE, si se reactiveaza la final pana la urmatorul trigger al timer-ului.&lt;br /&gt;
Presupunerea mea legata de codul din Send_Data e ca avem doua seturi de shift_registers legate in serie.&lt;br /&gt;
Folosim DatA si DatB ca sa indicam ce biti vrem sa shiftam in cele doua seturi, si folosim CLK ca sa generam push'ul. Imagine the shift register a std::queue of bits coresponding to each color of each led. Fiecare bit indica daca culoarea corespunzatoare ledului este sau nu este activa.&lt;br /&gt;
Deci in momentul asta avem 96 de intrari bagate in fiecare set.&lt;br /&gt;
&lt;br /&gt;
Functia Send_data primeste ca parametru:&lt;br /&gt;
 - numarul layer'ului pe care lucram, ca sa stie ce valoare sa verifice in matricea corespunzatoare tuturor ledurilor.&lt;br /&gt;
 - bit'ul pe care vrem sa il verificam in intrarea corespunzatoare asocierii dintre un led si o culoare. Ne da intensitatea&lt;/div&gt;</summary>
		<author><name>Nicu</name></author>
		
	</entry>
</feed>