Riadok 30:
Riadok 30:
=== Zoznam súčiastok ===
=== Zoznam súčiastok ===
<HTML>
{| class ="wikitable " style ="font -family :Arial, Helvetica, sans -serif !important ;"
<TABLE FRAME=VOID CELLSPACING=0 COLS=7 RULES=NONE BORDER=0>
|- style ="font -weight :bold ; background -color :#CFF ;"
<COLGROUP><COL WIDTH=77><COL WIDTH=117><COL WIDTH=87><COL WIDTH=130><COL WIDTH=223><COL WIDTH=316><COL WIDTH=461></COLGROUP>
! Amount
<TBODY>
! Product / Datasheet
<TR>
! Reference
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" COLSPAN=7 WIDTH=1411 HEIGHT=42 ALIGN=CENTER VALIGN=MIDDLE><B><FONT SIZE=3>Zoznam komponentov – projekt Astabilný multivibrátor s mikroprocesorom DTV 2023</FONT></B></TD>
! Value
</TR>
! Názov
<TR>
! Footprint
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" HEIGHT=42 ALIGN=CENTER VALIGN=MIDDLE><B><BR></B></TD>
| -
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=CENTER VALIGN=MIDDLE><B><BR></B></TD>
| 1
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=CENTER VALIGN=MIDDLE><B><BR></B></TD>
| [https ://senzor.robotika.sk /dtv /DS1001 -01.pdf GOLD -8P]
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE><B><BR></B></TD>
| Conn1
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE><B><BR></B></TD>
| DIL8
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE><B><BR></B></TD>
| Pätica na integrovaný obvod DIL8
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE><B><BR></B></TD>
| nie je
</TR>
| -
<TR>
| 1
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" HEIGHT=25 ALIGN=CENTER VALIGN=MIDDLE BGCOLOR="#CCFFFF"><B>Amount</B></TD>
| [https ://senzor.robotika.sk /dtv /1 -1825910 -0.pdf 1 -1825910 -0]
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=CENTER VALIGN=MIDDLE BGCOLOR="#CCFFFF"><B>Product</B></TD>
| SW1
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=CENTER VALIGN=MIDDLE BGCOLOR="#CCFFFF"><B>Reference</B></TD>
| Mikrospinac TACT
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE BGCOLOR="#CCFFFF"><B> Value</B></TD>
| Mikrospínač do plošného spoja
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE BGCOLOR="#CCFFFF"><B> Názov</B></TD>
| Button_Switch_THT :SW_PUSH_6mm_H4.3mm
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE BGCOLOR="#CCFFFF"><B> Datasheet</B></TD>
| -
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE BGCOLOR="#CCFFFF"><B> Footprint</B></TD>
| 1
</TR>
| [https ://senzor.robotika.sk/dtv /resistor.pdf CF1 /4W-180R]
<TR>
| R1
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" HEIGHT=25 ALIGN=CENTER VALIGN=MIDDLE SDVAL="1" SDNUM="1051;">1</TD>
| 180R
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>KEYS1066</TD>
| Rezistor 1 /8W
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=CENTER VALIGN=MIDDLE>BT1</TD>
| Resistor_THT :R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>Keystone1016</TD>
| -
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT>Držiak gombíkovej batérie</TD>
| 1
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>https://senzor.robotika.sk/dtv/Keystone106.pdf</TD>
| [https ://senzor.robotika.sk /dtv /resistor.pdf CF1 /4W -180R]
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>Battery:BatteryHolder_Keystone_103_1x20mm</TD>
| R2
</TR>
| 180R
<TR>
| Rezistor 1/8W
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" HEIGHT=25 ALIGN=CENTER VALIGN=MIDDLE SDVAL="1" SDNUM="1051;">1</TD>
| Resistor_THT :R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>OSTAMA51A5A</TD>
| -
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=CENTER VALIGN=MIDDLE>D1</TD>
| 1
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>OSTAMA51A5A</TD>
| [ https://senzor.robotika.sk/dtv/resistor .pdf CF1 /4W -180R]
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT>LED 5mm trojfarebná, RGB</TD>
| R3
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>https://senzor.robotika.sk/dtv/OSTAMA51A5A.pdf</TD>
| 180R
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>LED_THT:LED_D5.0mm-4_RGB_Staggered_Pins</TD>
| Rezistor 1/8W
</TR>
| Resistor_THT :R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal
<TR>
| - style ="vertical -align :middle ;"
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" HEIGHT=25 ALIGN=CENTER VALIGN=MIDDLE SDVAL="1" SDNUM="1051;">1</TD>
| 1
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>L-7113F3BT</TD>
| [ https://senzor.robotika.sk/dtv/OSTAMA51A5A.pdf OSTAMA51A5A]
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=CENTER VALIGN=MIDDLE>D2</TD>
| D1
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>L-7113F3BT</TD>
| OSTAMA51A5A
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT>LED 5mm infračervená</TD>
| LED 5mm trojfarebná, RGB
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>https://senzor.robotika.sk/dtv/L-7113F3BT.pdf</TD>
| LED_THT:LED_D5.0mm-4_RGB_Staggered_Pins
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>LED_THT:LED_D5.0mm</TD>
| - style ="vertical -align :middle ;"
</TR>
| 1
<TR>
| [ https://senzor.robotika.sk/dtv/L-7113F3BT.pdf L-7113F3BT]
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" HEIGHT=25 ALIGN=CENTER VALIGN=MIDDLE SDVAL="1" SDNUM="1051;">1</TD>
| D2
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>L-53LID</TD>
| L -7113F3BT
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=CENTER VALIGN=MIDDLE>D3</TD>
| LED 5mm infračervená
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>L53-LID</TD>
| LED_THT:LED_D5.0mm
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT>LED 5mm červená, nízkopríkonová</TD>
| - style ="vertical -align :middle ;"
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>https://senzor.robotika.sk/dtv/L53-LID.pdf</TD>
| 1
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>LED_THT:LED_D5.0mm</TD>
| [ https://senzor.robotika.sk/dtv/L53-LID.pdf L-53LID]
</TR>
| D3
<TR>
| L53 -LID
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" HEIGHT=25 ALIGN=CENTER VALIGN=MIDDLE SDVAL="1" SDNUM="1051;">1</TD>
| LED 5mm červená, nízkopríkonová
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>ATTINY45-20PU</TD>
| LED_THT:LED_D5.0mm
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=CENTER VALIGN=MIDDLE>IC1</TD>
| - style ="vertical -align :middle ;"
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>ATtiny45-20P</TD>
| 1
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT>Mikroprocesor Attiny45 DIL8</TD>
| [ https://senzor.robotika.sk/dtv/ATtiny45.pdf ATTINY45-20PU]
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>https://senzor.robotika.sk/dtv/ATtiny45.pdf</TD>
| IC1
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>Package_DIP:DIP-8_W7.62mm</TD>
| ATtiny45 -20P
</TR>
| Mikroprocesor Attiny45 DIL8
<TR>
| Package_DIP:DIP-8_W7.62mm
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" HEIGHT=25 ALIGN=CENTER VALIGN=MIDDLE SDVAL="3" SDNUM="1051;">3</TD>
| -
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>CF1/4W-180R</TD>
| 1
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=CENTER VALIGN=MIDDLE>R1-R3</TD>
| [ https://senzor.robotika.sk/dtv/Keystone106 .pdf KEYS1066]
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>180R</TD>
| BT1
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT>Rezistor 1/8W </TD>
| [Keystone1016]
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>https://senzor.robotika.sk/dtv/resistor.pdf</TD>
| Držiak gombíkovej batérie
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal</TD>
| Battery :BatteryHolder_Keystone_103_1x20mm
</TR>
| - style ="vertical -align :middle ;"
<TR>
| 1
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" HEIGHT=25 ALIGN=CENTER VALIGN=MIDDLE SDVAL="1" SDNUM="1051;">1</TD>
| [ https://senzor.robotika.sk/dtv/BAT -CR2032_A .pdf BAT-CR2032/A]
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>1-1825910-0</TD>
| Batt1
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=CENTER VALIGN=MIDDLE>SW1</TD>
| CR2023
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>Mikrospinac TACT</TD>
| Gombíková batéria 3V typ CR2032
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT>Mikrospínač do plošného spoja</TD>
| nie je
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>https://senzor.robotika.sk/dtv/1-1825910-0.pdf</TD>
|- style ="vertical -align :middle ;"
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>Button_Switch_THT:SW_PUSH_6mm_H4.3mm</TD>
| 1
</TR>
| [ https://senzor.robotika.sk/dtv/DS1001 -01 .pdf GOLD-8P]
<TR>
| Conn1
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" HEIGHT=25 ALIGN=CENTER VALIGN=MIDDLE SDVAL="1" SDNUM="1051;">1</TD>
| DIL8
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>BAT-CR2032/A</TD>
| Pätica na integrovaný obvod DIL8
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=CENTER VALIGN=MIDDLE>Batt1</TD>
| nie je
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>CR2023</TD>
|}
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT>Gombíková batéria 3V typ CR2032</TD>
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>https://senzor.robotika.sk/dtv/BAT-CR2032_A.pdf</TD>
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>nie je</TD>
</TR>
<TR>
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" HEIGHT=25 ALIGN=CENTER VALIGN=MIDDLE SDVAL="1" SDNUM="1051;">1</TD>
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>GOLD-8P</TD>
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=CENTER VALIGN=MIDDLE>Conn1</TD>
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>DIL8</TD>
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT>Pätica na integrovaný obvod DIL8</TD>
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>https://senzor.robotika.sk/dtv/DS1001-01.pdf</TD>
<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" ALIGN=LEFT VALIGN=MIDDLE>nie je</TD>
</TR>
</TBODY>
</TABLE>
</HTML>
== Software ==
== Software ==
Programovateľný astabilný multivibrátor
Typický elektronický obvod, ktorý si postaví každý začiatočník je nejaké jednoduché blikátko, obvykle s dvoma tranzistormi, alebo s populárnym časovačom NE555. V roku 2023 však máme predsa len viac možností. Jednou z nich je namiesto obvodu 555 použiť rovnako veľký mikroprocesor ATtiny45, ktorý však môže okrem samotného blikania realizovať aj náročnejšie funkcie.
Opis a schéma zapojenia
Schéma zapojenia.
Plošný spoj
Plošný spoj je obojstranný, rozmerov AxB mm navrhnutý v programe KiCAD7. Na obrázku je rozmiestnenie súčiastok a obrazec plošného spoja, ktorý bol napokon vyrobený vo firme JLC PCB (China).
Schéma zapojenia.
Osadzovanie súčiastkami začneme päticou na procesor DIL8, ktorá je najnižšia. Dáme pritom pozor na orientáciu výrezom nahor. Potom osadíme tlačidlo a rezistory R1-R3, tu na orientácii súčiastok nezáleží. Napokon osadíme trojfarebnú LED diódu D1 (najkratší vývod 1 je na plošnom spoji označený štvorčekom) a pozície D2, D3 ostanú prázdne. Ako posledný spájkujeme z opačnej strany držiak na gombíkovú batériu. Ak by sme ho osadili skôr, nedostali by sme sa k vývodom ostatných súčiastok.
Osadený plošný spoj je na obrázku X.
Zoznam súčiastok
Amount
Product / Datasheet
Reference
Value
Názov
Footprint
1
GOLD-8P
Conn1
DIL8
Pätica na integrovaný obvod DIL8
nie je
1
1-1825910-0
SW1
Mikrospinac TACT
Mikrospínač do plošného spoja
Button_Switch_THT:SW_PUSH_6mm_H4.3mm
1
CF1/4W-180R
R1
180R
Rezistor 1/8W
Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal
1
CF1/4W-180R
R2
180R
Rezistor 1/8W
Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal
1
CF1/4W-180R
R3
180R
Rezistor 1/8W
Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal
1
OSTAMA51A5A
D1
OSTAMA51A5A
LED 5mm trojfarebná, RGB
LED_THT:LED_D5.0mm-4_RGB_Staggered_Pins
1
L-7113F3BT
D2
L-7113F3BT
LED 5mm infračervená
LED_THT:LED_D5.0mm
1
L-53LID
D3
L53-LID
LED 5mm červená, nízkopríkonová
LED_THT:LED_D5.0mm
1
ATTINY45-20PU
IC1
ATtiny45-20P
Mikroprocesor Attiny45 DIL8
Package_DIP:DIP-8_W7.62mm
1
KEYS1066
BT1
[Keystone1016]
Držiak gombíkovej batérie
Battery:BatteryHolder_Keystone_103_1x20mm
1
BAT-CR2032/A
Batt1
CR2023
Gombíková batéria 3V typ CR2032
nie je
1
GOLD-8P
Conn1
DIL8
Pätica na integrovaný obvod DIL8
nie je
Software
Pre programátora je potrebné vedieť, kam je ktorý komponent pripojený, pozri nasledujúcu tabuľku.
Pin
Arduino
Component
5
PB0
Red
6
PB1
Green
7
PB2
--
2
PB3
SW1
3
PB4
Blue
1
PB5
--
Programovanie
Napokon potrebujeme preložený .hex súbor nahrať do pamäte mikroprocesora. Na otestovanie môžeme použiť už preložený súbor demo.hex, ktorý do procesora nahráme buď
profesionálnym programátorom (napr. Elnec BeeProgXY), alebo použijeme ako programátor Arduino.
Varianty
Semafor
Namiesto trojfarebnej RGB diódy osadíme tri samostatné diódy - červenú, žltú a zelenú. Dostaneme tak jednoduchý semafor.
Infračervený ovládač
Namiesto trojfarebnej RGB diódy osadíme infračervenú diódu (napr. VISHAY XXXX) a po stlačení tlačidla odvysielame nejaký špeciálny kód, napr. na vypnutie zariadenia. Získame tak jednoduchý diaľkový ovládač. Aby sme vedeli skontrolovať
funkciu zariadenia, pridáme na dosku aj jednu bežnú červenú LED diódu na pozíciu D2. Aby ovládač fungoval spoľahlivo aj na väčšiu vzdialenosť, zameníme rezistor Rx za iný s menšou hodnotou, napr. 47 alebo 51 Ohm.
Podklady
Ak by si zariadenie chcel niekto postaviť, na GitHube sú k dispozícii všetky zdrojáky pre KiCAD ako aj vygenerované Gerber súbory.