Cov txheej txheem:
Video: NODEMCU LUA ESP8266 Nrog CD4017 Decade Counter: 4 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:30
CD4017 yog kaum xyoo counter / divider. Qhov no txhais tau tias thaum nws tau txais cov mem tes nws suav nws thiab xa tawm mus rau tus pin uas tsim nyog. Nws yog qhov yooj yim IC siv thiab koj tuaj yeem tsim lub Circuit Court ntawm lub rooj mov ci lossis yuav ib qho los ntawm Ebay txog li 99p los ntawm Tuam Tshoj. Koj yuav tsum tau muab tshuaj txhuam nws ua ke.
Tus Pin 3 yog qhov tso tawm ntawm 555 lub sijhawm thiab Pin 14 yog lub tswv yim ntawm CD4017.
Kauj ruam 1: Cov voj voog
Yog tias koj tab tom tsim lub Circuit Court ntawm lub khob cij koj tuaj yeem tawm ntawm 555 lub sijhawm ua ntu thiab tsav nws nrog ESP8266. Tej zaum koj yuav xav, vim li cas thiaj yuav cov khoom siv los tsav nws nrog ESP8266. Ib qhov laj thawj zoo yog tias yog koj tau txais tag nrho cov khoom siv ib tus zuj zus lawv yuav raug nqi ntau dua 99p, lwm qhov yog tias koj tuaj yeem tinker nrog nws.
Yog tias koj tsav CD4017 Circuit nrog ESP8266 nws yuav ua haujlwm ntawm 3.3 volts. Tshem lub 555 timer los ntawm DIL Qhov (Socket) thiab nqa lub xaim xaim los ntawm D1 (lossis tus pin twg los xij uas koj siv) thiab ntsaws nws rau tus pin 3 ntawm 555 DIL Socket.
Rov qab mus rau ESP8266, muaj ob peb txoj hauv kev sib txawv los tsim cov mem tes ntawm tus pin
Yog tias koj nyeem NodeMCU cov ntaub ntawv nws yuav muab piv txwv ntxiv ntawm gpio.serout.
Ob qho ntawm 2 kab ntawm txoj cai no yuav ua rau muaj mem tes ntawm tus pin D1 GPIO5.
Cov kab no tsim tawm 5 millisecond pulse txhua thib ob 100 zaug.
gpio.serout (1, gpio. HIGH, {5000, 995000}, 100, 1)
Cov kab no tsim tawm 5 millisecond pulse txhua ib nrab thib ob 100 zaug, tom qab ntawd luam tawm Ua tiav.
gpio.serout (1, gpio. LOW, {5000, 50000}, 100, muaj nuj nqi () luam tawm ("Ua tiav") kawg)
Kauj ruam 2: Code
Koj tuaj yeem siv cov cai hauv qab no los tsim cov mem tes ntawm tus pin D1 GPIO5. Hloov tus nqi (100) yuav muab tus nqi mem tes sib txawv.
pulse = 0
pin = 1 gpio.mode (pin, gpio. OUTPUT) tmr.alarm (1, 100, 1, muaj nuj nqi () yog mem tes == 0 ces mem tes = 1 gpio.write (tus pin, gpio. HIGH) lwm tus mem tes = 0 gpio.write (tus pin, gpio. LOW) kawg kawg)
Kauj Ruam 3: Ua Pulse
Lwm txoj hauv kev tsim cov mem tes yog nrog ntau lub vibrator Circuit Court. Ib zaug ntxiv koj tuaj yeem tau txais cov no ntawm Ebay rau 99p lossis koj tuaj yeem tsim ib qho ntawm lub rooj mov ci. Nov yog ib qho kev sib tham ntau thiab muaj ntau qhov piv txwv ntawm nws thoob plaws Internet. Siv qhov tso tawm los ntawm nruab nrab ntawm Q1 thiab D1 lossis Q2 thiab D2 ntawm daim duab hluav taws xob.
Tseem muaj lwm txoj hauv kev los tsim cov mem tes yog siv lub jumper xaim los ntawm tus pin 3 ntawm 555 lub qhov hluav taws xob timer thiab ib ntus kov 3.3 volt mov.
Kauj ruam 4: Xaus
Kuv tau sim qhia pom yuav ua li cas thiaj tsim lub plawv dhia mus rau lwm lub Circuit Court los ntawm kev siv ntau txoj hauv kev. Ntau lub tshuab hluav taws xob hluav taws xob tau tsav los ntawm cov noob.
Kuv tau siv CD4017 ua piv txwv. Tib yam tuaj yeem siv rau CD4022 uas muaj 8 qhov hloov pauv tsis yog 10.
Yog xav paub ntxiv rub tawm daim ntawv rau CD4017 uas muaj dav.
Kuv tsis yog ESP8266 lossis tus kws tshaj lij hluav taws xob thiab cov saum toj no yog qee qhov kuv pom tau ntau xyoo.
Pom zoo:
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me £ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv
Rov Qab Siv Cov Duab Duab Nrog Virtual Asistent: 7 Cov Kauj Ruam (nrog Duab)
Rov Qab Siv Cov Duab Duab Nrog Virtual Asistent: Nyob zoo txhua tus! Cov lus qhia no tau yug los ntawm lub laptop faib ua ib nrab, yuav los ntawm ib tus phooj ywg. Thawj qhov kev sim ntawm txoj haujlwm no yog kuv Lego Digital Photo Frame, txawm li cas los xij, yog ib tus neeg mob siab rau Siri thiab Google Tam sim no, Kuv txiav txim siab coj nws mus rau qhov tshiab
NODEMCU LUA ESP8266 Tsav M5450B7 LED Display Driver IC: 5 Cov Kauj Ruam (nrog Duab)
NODEMCU LUA ESP8266 Tsav M5450B7 LED Display Driver IC: M5450B7 yog 40 Pin DIP LED tso saib tsav tsheb IC.Nws zoo li tsiaj nyaum, tab sis nws kuj yooj yim rau kev tswj hwm thiab program.There muaj 34 tus pin pins uas tuaj yeem muaj LED txuas nrog rau txhua tus Cov cuab yeej siv tam sim no ntau dua li cov khoom siv yog li c
NODEMCU LUA ESP8266 Nrog MCP23017 16 Ntsis Chaw Nkoj Expander IC: 6 Kauj Ruam (nrog Duab)
NODEMCU LUA ESP8266 Nrog MCP23017 16 Qhov Chaw Nkag Tawm Tsawg IC: MCP23017 yog IC yooj yim los ua lub rooj tsav xwm vim nws muaj Chaw nres nkoj A thiab B ntawm ob sab ntawm lub nti thiab cov pins yog nyob rau hauv kev txiav txim kom zoo ib yam li I2C chaw nyob npav yog tag nrho ua ke ib yam nkaus. Muaj 2 tus pin ntawm IC no uas tsis siv li nws