Cov txheej txheem:

Yooj Yim Binary Moos Siv Attiny85: 10 Cov Kauj Ruam
Yooj Yim Binary Moos Siv Attiny85: 10 Cov Kauj Ruam

Video: Yooj Yim Binary Moos Siv Attiny85: 10 Cov Kauj Ruam

Video: Yooj Yim Binary Moos Siv Attiny85: 10 Cov Kauj Ruam
Video: Qhia yuav lej hauv online hauv Sokxay plus siv Bcel one them 2024, Kaum ib hlis
Anonim
Yooj Yim Binary Moos Siv Attiny85
Yooj Yim Binary Moos Siv Attiny85
Yooj Yim Binary Moos Siv Attiny85
Yooj Yim Binary Moos Siv Attiny85
Yooj Yim Binary Moos Siv Attiny85
Yooj Yim Binary Moos Siv Attiny85

Nyob zoo! Hauv cov lus qhia no kuv qhia yuav ua li cas kom yooj yim thiab yooj yim binary moos siv arduino uno thiab attiny85. Yog tias koj tsis tau siv koj lub arduino los ua haujlwm rau lwm lub microchips, koj yuav pom nws yooj yim heev ua (Kuv sim nws rau thawj zaug rau txoj haujlwm no thiab nws yooj yim heev) thiab ua haujlwm zoo li koj tuaj yeem txo qhov loj ntawm koj cov phiaj xwm!

Kauj Ruam 1: Sib Sau Cov Khoom

Txog qhov haujlwm no kuv tau siv yooj yim thiab yooj yim mus nrhiav cov ntaub ntawv. Muaj ob pawg ntawm cov ntaub ntawv, ib qho rau lub rooj plaub ntawm lub moos thiab ib qho rau cov khoom siv hluav taws xob. Cov ntaub ntawv ntoo: Txhua yam ntawm cov khoom no tau pom nyob hauv khw muag khoom siv tes ua- Ntoo vaj huam sib luag- Ntoo Nplaum- Xim dub thiab Liab tsuag xim- Nias laum- Jig SawCircuitry: - 13 tus liab 5v Leds- xov hlau -4 x 220 Ohms resistors- 2 x 10k Ohms resistors- Tus tuav tus pin- 1 x 74hc595 (hloov npe)- 2 lub khawm thawb-Circuit board-3.3v npib cell- Attiny85- Arduino uno- Cov cuab yeej siv cuab yeej

Kauj Ruam 2: Tsim Rooj Ntoo

Hauv cov kauj ruam tom ntej, kuv qhia tias kuv tsim rooj plaub rau lub moos li cas. Kuv siv cov ntoo ntoo thiab cov kua nplaum ntoo thiab nws ua haujlwm tau zoo. Cov vaj huam sib luag muaj qhov siab thiab dav rau kuv nyiam, yog li tsis muaj ntau qhov txiav los ua. Tsis tas li, Thaum xub thawj kuv xav tso saib cov vib nas this, tab sis tom qab ntawd, thaum kuv tsim lub Circuit Court kuv pom qhov hloov pauv coj ntawm txhua thib ob kom ua rau muaj kev cuam tshuam, yog li kuv txiav cov Leds tawm thiab rov kho kuv cov lej thiab cov ntaub ntawv raws li tom qab.

Kauj Ruam 3: Ntoo Ntoo: Txiav Cov Case Ntim

Ntoo Case: Txiav Cov Ntaub Ntawv Ntim
Ntoo Case: Txiav Cov Ntaub Ntawv Ntim
Ntoo Case: Txiav Cov Case Ntim
Ntoo Case: Txiav Cov Case Ntim
Ntoo Case: Txiav Cov Case Ntim
Ntoo Case: Txiav Cov Case Ntim

Ua ntej tshaj, Kuv ntsuas thiab txiav txhua daim uas kuv xav tau los tsim kuv rooj plaub. Kuv txiav txim siab ua nws li ib lub thawv uas tsis muaj hauv qab. Kuv xuab zeb ntug yog xav tau. Measurements: Sides: 2 x (7.4cm x 3.8cm) Pem hauv ntej & Rov qab: 7.4cm x 9.5cmTop: 8.8cm x 3.8cm

Kauj Ruam 4: Ntoo Ntoo: Drilling Qhov Coj

Ntoo Ntoo: Drilling Qhov Coj
Ntoo Ntoo: Drilling Qhov Coj
Ntoo Ntoo: Drilling Qhov Coj
Ntoo Ntoo: Drilling Qhov Coj
Ntoo Ntoo: Drilling Qhov Coj
Ntoo Ntoo: Drilling Qhov Coj

Kuv drilled qhov ntawm lub ntsej muag vaj huam sib luag ntawm kuv rooj plaub siv xovxwm laum. Kuv tau qhia ntawm lub vaj huam sib luag qhov twg los laum lub qhov thiab vim tias kuv tau siv cov khoom siv ntoo uas pheej yig, kuv yuav tsum tau maj mam laum kom cov ntoo yuav tsis nti tawm. Tam sim no thaum kuv paub tias kuv xav tshem tawm Leds rau vib nas this kuv yuav tsum txiav lub vaj huam sib luag no kom tshem qhov qhov tsis tsim nyog. Kuv paub qhov no tom qab pleev xim kuv cov ntaub ntawv, yog li ntawd yog vim li cas hauv daim duab kawg yog kuv lub vaj huam sib luag pleev xim

Kauj Ruam 5: Ntoo Ntoo: Xim Xim

Ntoo Ntoo: Xim Xim
Ntoo Ntoo: Xim Xim
Ntoo Ntoo: Xim Xim
Ntoo Ntoo: Xim Xim
Ntoo Ntoo: Xim Xim
Ntoo Ntoo: Xim Xim

Thaum kuv muaj txhua daim ntawm kuv cov ntaub ntawv teev, kuv tau pib pleev xim rau lawv. Kuv xaiv xim liab thiab dub, raws li kuv Leds twb liab lawm. Kuv siv cov tshuaj tsuag ci, kom muab nws ua tiav tom qab ob txheej xim. Kuv tos kom txog thaum txhua yam qhuav.

Kauj Ruam 6: Ntoo Ntoo: Sib dhos

Ntoo Case: Sib dhos
Ntoo Case: Sib dhos
Ntoo Ntoo: Sib dhos
Ntoo Ntoo: Sib dhos
Ntoo Ntoo: Sib dhos
Ntoo Ntoo: Sib dhos

Tom qab cov xim qhuav, Kuv tau ua txhua yam ua ke siv cov ntoo qhuav kom qhuav, ua kom txhua yam ncaj ncaj txhua lub sijhawm kuv ua ob daim ua ke. Kuv tos kom txog thaum nws qhuav, ua ntej gluing daim tom ntej ua ke.

Kauj ruam 7: Circuit Court

Circuit Court
Circuit Court

Ib feem tom ntej ntawm txoj haujlwm no yog rau kev sib tham. Rau ntu no, koj yuav xav tau koj Arduino lossis ib tus kws tsim khoom siv microchip thiab Attiny85. Raws li kuv tau hais yav dhau los, Kuv txiav tawm Leds rau vib nas this raws li kuv pom cov vib nas this cuam tshuam ntau dhau. Yog li thaum pib, cov duab qhia tag nrho cov coj, thiab tom qab ntawd, vib nas this tsis tuaj. Txhawm rau program Attiny nrog Arduino li ISP Kuv tau ua raws cov lus qhia zoo no los ntawm kev qhia los ntawm randofo: https://www.instructables.com/id/Program-an-ATtiny… Tus lej kuv muab tso rau hauv Attiny:*Tus lej yog raws ntawm lub moos sab hauv ntawm 16Mhz tab sis nws tuaj yeem hloov pauv*Kuv siv Timers thiab cuam tshuam ntawm lub nti los ua lub moos.

Kauj Ruam 8: Circuit: Soldering Leds

Circuit: Soldering Leds
Circuit: Soldering Leds
Circuit: Soldering Leds
Circuit: Soldering Leds

Kuv tau txuas mus rau qhov Leds ua ke siv kuv cov hlau txuas thiab cov txheej txheem twb dhau los txhawm rau teeb tsa lub teeb kom raug thaum siv cov laug.

Kauj Ruam 9: Circuit: Tsim Circuit Court

Circuit: Tsim Circuit Court
Circuit: Tsim Circuit Court
Circuit: Tsim Circuit Court
Circuit: Tsim Circuit Court
Circuit: Tsim Circuit Court
Circuit: Tsim Circuit Court
Circuit: Tsim Circuit Court
Circuit: Tsim Circuit Court

Nrog Attiny programmed nrog cov cai, txhua yam yuav tsum tau ua yog tsim lub Circuit Court ua ntej siv lub khob cij los ntsuas tawm kuv qhov program thiab xyuas kom txhua yam ua haujlwm ua ntej yuav siv tag nrho Circuit. Kev siv daim ntawv teev npe hloov pauv yog qhov tsim nyog vim tias Attiny tsis muab cov pins tso zis txaus rau 8 qhov kawg (4 kab, 4 kab) thiab ob lub laub khawm. Qhov phiaj xwm thiab Circuit uas kuv tau ua yog hauv cov duab. ntawm lub khob cij thiab thaum nws zoo mus, Kuv tau muab nws tso rau ntawm lub rooj tsav xwm hluav taws xob. Kuv tsis muaj lub roj teeb rau lub xovtooj ntawm tes yog li kuv siv kuv lub tswv yim los tsim ib ntus (sketchy heev..). Kuv pom zoo siv lub roj teeb tiag tiag.

Kauj ruam 10: Sib dhos

Sib dhos
Sib dhos
Sib dhos
Sib dhos
Sib dhos
Sib dhos
Sib dhos
Sib dhos

Kauj ruam kawg yog sib sau ua ke txhua yam, uas yog txhawm rau kho qhov teeb meem hauv Circuit Court thiab Leds hauv qhov sib xws. Tom qab ntawd koj tuaj yeem teeb tsa lub sijhawm siv lub laub khawm thiab cia Attiny taug qab lub sijhawm. Piv txwv, hauv daim duab thib ob: Teev Sijhawm 2 = 2 thiab Sijhawm1 = 1Mins2 = 1 thiab Mins1 = 6 yog li lub sijhawm yog 21:16 Thiab qhov ntawd yog nws! kom tawm lus thiab tawm tswv yim!

Pom zoo: