Cov txheej txheem:

LED Fireflies Prototype: 3 Kauj Ruam (nrog Duab)
LED Fireflies Prototype: 3 Kauj Ruam (nrog Duab)

Video: LED Fireflies Prototype: 3 Kauj Ruam (nrog Duab)

Video: LED Fireflies Prototype: 3 Kauj Ruam (nrog Duab)
Video: 3D hologram fan portrait solution. Who wanna date this holographic sexy lady #3dhologramfan 2024, Kaum ib hlis
Anonim
LED Fireflies Prototype
LED Fireflies Prototype

nyob zoo txhua tus, qhov no yog qhov kev sim kuv tau ua qee yam zoo li LED pov tseg.. qhov teeb meem (rau kuv) nrog coj pov tseg yog tias lawv tsuas yog siv lawv lub roj teeb, thiab tsim teeb pom kev.. tab sis lawv tuaj yeem ua tau zoo dua ntawm ob qho tib si.. yuav tsum lees txais qhov ua ntej uas koj txaus siab siv sijhawm me ntsis ntxiv rau kev sib pauv.. qhov kev tshoov siab rau qhov no tau los ntawm qee qhov ntawm kuv lwm txoj haujlwm, thiab tau kawg "LED raws li lub sensor" lub tswvyim zoo li "LED pov tseg" yog li daim ntawv teev npe: 1 hom cathode, tri-colour (RGB) LED1 12f683 pic micro 1 coin cell cell holder (pheej yig ntsaws)

Kauj Ruam 1: Yog li Nws Ua Dab Tsi?

lub tswv yim ntawm no yog siv lub tswv yim coj coj/kos duab kos duab, txhawm rau ntxiv lub neej me me rau kuv cov neeg nyob ib puag ncig uas tau ploj mus ntev lawm tam sim no … fireflies.. lub software tau tsim los siv LED ua lub teeb pom kev (yog li tsis yog pov tseg lub zog thaum nruab hnub) coj los ua ib qho chaw entropy (ua kom txhua lub npauj npaim tshwj xeeb lub sijhawm tom qab hloov nws) kom sib txawv xim ntsais, thiab tus nqi. organic "thiab tsis yog tsuas yog" rau/tawm "blinkand tau kawg siv lub zog me me li sai tau!

Kauj Ruam 2: Pic Code thiab Cov Lus Qhia Ua Ke,

Pic Code thiab Cov Lus Qhia Los Ua Ke,
Pic Code thiab Cov Lus Qhia Los Ua Ke,
Pic Code thiab Cov Lus Qhia Los Ua Ke,
Pic Code thiab Cov Lus Qhia Los Ua Ke,
Pic Code thiab Cov Lus Qhia Los Ua Ke,
Pic Code thiab Cov Lus Qhia Los Ua Ke,

c codeassemblerhexassembly yog ncaj nraim rau pem hauv ntej, ib qho cathod ntawm koj RGB coj tau txais soldered rau tus pin 2 ntawm daim duab, RGB pins tau soldered mus rau 7-6-5 thiab lub zog pic thiab hauv av ncaj qha mus rau lub roj teeb lub zog thiab hauv av. tag nrho txhua yam ua ke Kuv tsuas yog tso lub pic upside down rau ntawm lub roj teeb casing, nrog me me ntawm cov kua nplaum kub, khoov lub zog thiab cov pins zoo kom mus txog rau ntawm lub roj teeb ua thiab txuas nrog LED thiab kub kua nplaum hlau nplaum thiab kuv yog npaj mus, tag nrho lub sijhawm tsim kho yog li 1.5 feeb.

Kauj Ruam 3: Cov lus pom zoo

yog li rau kuv qhov kev sim thib ob lossis thib peb, tiag tiag kuv thawj zaug tshaj tawm.. cov txiaj ntsig tau zoo heev..

roj teeb lub neej nyuaj rau kwv yees ntawm qhov no, tab sis … thaum nruab hnub daim duab yuav siv ~ 25-30 microamps ntawm tam sim no.. uas yog … tsom me me.. thaum hmo ntuj, nyob ntawm cov qauv ntsais muag. sparkfun lees tias lawv cov nyiaj npib muaj 250mAh ntawm lub roj teeb lub neej, uas, yog daim duab tsuas yog ib qho ntawm qhov ntawd yuav nyob ntev dua ib xyoos, nrog LEDs thiab ntawm lub tsev hais plaub lwm yam xws li phantom ntws los ntawm roj teeb.. Kuv yuav kwv yees ob peb lub lim tiam ntawm kev yoov tshaj cum zoo li kev zoo.. qee lwm lub tswv yim raug pov rau ib puag ncig yog tej zaum siv infared sib txuas lus ntawm cov yoov ya mus rau qee qhov ntxim nyiam.. tab sis qhia rau kuv paub koj xav li cas!

Pom zoo: