Cov txheej txheem:

Wifi Wheelie Bins & Google Calendar: 4 Kauj Ruam
Wifi Wheelie Bins & Google Calendar: 4 Kauj Ruam

Video: Wifi Wheelie Bins & Google Calendar: 4 Kauj Ruam

Video: Wifi Wheelie Bins & Google Calendar: 4 Kauj Ruam
Video: Move from custom garbage collection to local calendars! 2024, Hlis ntuj nqeg
Anonim
Wifi Wheelie Bins & Google Calendar
Wifi Wheelie Bins & Google Calendar

Txoj haujlwm no tau tshoov siab los ntawm cov yeeb yaj kiab los ntawm Andreas Spiess (You Tube). # 185 ESP8266 - Google Calendar Nco: Yuav Ua Li Cas Kom Koj Tus Poj Niam/Tus Hluas Zoo Siab (Arduino) ½, hloov kho tshiab.

Ua raws cov kev txuas no: Andreas Spiess & Andreas Spiess Ver 2 rau 2 cov ntaub ntawv qhia tau zoo thiab lom zem heev.

Txoj haujlwm hauv Andreas cov ntaub ntawv yog kom ntseeg tau tias nws tau ua tiav txhua txoj haujlwm uas nws tus poj niam tau thov kom nws ua.

Nws siv Google Calendar los sau cov haujlwm. Google Calendar xa email raws li kev nco nco rau ib qho xwm txheej tshwj xeeb, thaum lub sijhawm thiab hnub tim tau teev tseg. Hauv peb qhov xwm txheej, ib qho xwm txheej yog txoj haujlwm.

Andreas txoj haujlwm siv kev ceeb toom kom qhib lub LED! Lub LED yuav nyob twj ywm, tsis hais txog lub xeev Google Calendar kom txog thaum lub LED raug kaw ntawm tus kheej thaum ua haujlwm tiav (piv txwv li nws tau thauj lub tshuab ntxhua khaub ncaws).

Kuv siv cov cai kom ceeb toom rau kuv uas lub log tsheb tso rau hauv kerbside txhua lub lim tiam raws li lawv tau lim tawm ntawm lwm lub lim tiam, lub xiav xiav (rov ua dua tshiab) ib lub lim tiam tom qab ntawd cov thoob dub (pov tseg tas mus li) tom ntej.

Ua tub nkeeg, Kuv tsis xav nias lub pob kom tua lub LED, yog li tam sim no, thaum kuv qaij kuv lub log tsheb coj mus rau tom kerbside, nws txuas rau hauv internet, sau rau Google Calendar uas hloov lub LED rau kuv

Kauj Ruam 1: Nws Ua Haujlwm Li Cas

Nws Ua Haujlwm Li Cas
Nws Ua Haujlwm Li Cas
Nws Ua Haujlwm Li Cas
Nws Ua Haujlwm Li Cas

Ib qho xwm txheej (haujlwm) yog tsim hauv Google Calendar.

Ib tsab ntawv tau tsim hauv Google Calendar

Google Calendar tau tshuaj xyuas txhua zaus los ntawm ESP8266-E12 wifi nti.

Yog tias lo lus 'xiav' lossis 'dub' raug xa rov qab los ntawm tsab ntawv, ib qho LED tau qhib.

Nias qhov hloov pauv yuav ua rau LED tawm

Hauv kuv qhov xwm txheej, tig kuv lub log log rau hauv lub zog ESP8266, uas txuas rau Google Calendar & tshawb xyuas seb puas muaj cov lus 'xiav' lossis 'dub' nyob.

Yog tias 'xiav' rov qab los, lub log log tsheb sau 'Azure_OK' thiab lub roj teeb hluav taws xob rau daim ntawv qhia hnub, qhov no tig lub LED tawm.

Yog tias 'dub' rov qab los, lub log log tsheb sau 'Noir_OK' thiab lub roj teeb hluav taws xob mus rau daim ntawv qhia hnub, qhov no tig lub LED tawm.

Kauj Ruam 2: LED & Hloov Kho Vajtse

LED & Hloov Kho Vajtse
LED & Hloov Kho Vajtse
LED & Hloov Kho Vajtse
LED & Hloov Kho Vajtse
LED & Hloov Kho Vajtse
LED & Hloov Kho Vajtse

Cheebtsam

Lub phiaj xwm tau txuas rau lub xov tooj qub them nyiaj rau 5v khoom.

1 x ESP8266-12e

1 x 5v mus rau 3v nqis nqis (AMS1117) ntaus ntawv

2 x 180 ohm resitors rau LED tam sim no txwv (Kuv nyuam qhuav tshwm sim muaj cov txiaj ntsig no)

2 x Tactile Push Button Switch Momentary Tact 12X12X7mm Nrog LED teeb (eBay)

Kub yaj kua nplaum phom.

Lub voj voog

Cov LEDs txuas nrog tus pin 4 & 5 (ntawm kev txwv cov neeg tawm tsam) thiab cov hloov mus rau tus pin 12 & 13 ntawm ESP8266.

Lwm sab ntawm cov hloov & LEDs mus rau 0v.

Vim tias ESP8266 muaj ntau yam, yuav tsum muaj cov khoom siv tsawg heev!

Lub 5v los ntawm lub xov tooj them nyiaj tau nqis mus rau 3v ntawm AMS1117.

Lub software ua tus so - saib Reminder_org_TR_instruct.ino

Cov cuab yeej hloov pauv tau yooj yim nrog ua hauv LEDs yog qhov zoo, tab sis tsuas yog txoj hauv kev los teeb tsa lawv hauv lub phiaj xwm yog nrog cov kua nplaum kub yaj!

Kauj Ruam 3: Wheelie Bin Hardware

Wheelie Bin Hardware
Wheelie Bin Hardware
Wheelie Bin Hardware
Wheelie Bin Hardware
Wheelie Bin Hardware
Wheelie Bin Hardware
Wheelie Bin Hardware
Wheelie Bin Hardware

Daim ntawv teev npe

1 x lub thawv ntawv (Kuv 3D luam tawm kuv qhov kawg version)

1 x ESP8266 - eBay

1 xCR2 roj teeb (3v) - Amazon

1 x teeb roj teeb springs/txuas - eBay

1 x qaij hloov - Kuv xub tau siv cov mercury qaij hloov tab sis lawv tau ua rau lub siab me me yog li kuv tau xaiv rau hom pob kabmob. - eBay

1 x PNP lub hom phiaj transistor - Kuv siv bc557 tab sis zoo nkauj npaum li cas pnp yuav ua! - eBay

1 x Tus kheej latching relay 3v ntxaib kauj -RS Online 683-9873 ** NCO TSEG ** daim duab ntawm RS lub vev xaib qhia qhov no ua 24v relay, txawm li cas los xij, cov lus piav qhia meej meej 3v (Kuv tau 5 tag nrho)! Tsis tas li ntawd, qhov no yog qhov saum toj roob relay. Kuv tau tswj xyuas kom pom lub pcb mount tab sis nws yog ob zaug tus nqi !! Qhov kev xa xov no muaj ob lub kauj, ib lub kauj los teeb tsa qhov xa tawm thiab lwm qhov los rov pib dua.

Muaj lwm qhov tus kheej latching relays ntawm kev ua lag luam, txawm li cas los xij, teeb tsa / rov pib dua feem ntau yog ua tiav siv ib lub kauj los ntawm kev thim rov qab qhov sib txawv ntawm kev ua haujlwm mem tes - ua tau, tab sis yuav tsum tau kho vajtse me ntsis.

Lub voj voog

Lub voj voos kos xoom tam sim no thaum nyob tos! (Kuv tau siv lub voj voog no ob peb zaug thiab nws yog qhov zoo rau cov haujlwm ua haujlwm roj teeb uas siv txhua daim ntawv uas tsis hloov hluav taws xob, piv txwv li sib nqus reed hloov hloov, qaij hloov, hloov pauv ib ntus).

Thaum qhov qaij hloov tau qhib, qhov txuas tau 'teeb' yog li muab lub zog rau ESP8266 thiab teeb tus pin 5 ntawm ESP8266 siab uas ua rau lub transistor tua. Tom qab ESP8266 tau txuas nrog lub wifi thiab xa cov ntaub ntawv mus rau Google Calendar, Tus Pin 5 ntawm ESP8266 tau rub qis qis uas tig lub transistor uas rov pib dua lub zog thiab ua rau lub zog poob qis!

NCO TSEG - Kuv tau ua cov chav no kawg lub Yim Hli (2018), daim duab kos duab tau kos los ntawm kev nco, tab sis nws zoo li:-)

Cov koog tau txuas rau hauv qab ntawm lub log log tsheb, hmoov zoo muaj qhov chaw so hauv qab ntawm lub thoob uas ua rau muaj huab cua zoo nyob hauv tsev.

Kauj ruam 4: Sofware

Zoo, ntawm no yog qhov twg kuv qhov kev paub tsis meej dhau los !!

Cov ntaub ntawv.ino txuas nrog yog hloov kho tshiab ntawm Andreas Spiess. Ntau qhov tsis tsim nyog tau hais tawm. Kuv tau txuas cov ntawv luam ntawm kuv.gs cov ntaub ntawv ib yam nkaus. Feem ntau yog kev sim thiab yuam kev!

Kuv pom zoo kom koj saib cov vis dis aus no #185 & Video #189 yog tias koj npaj siab yuav ua tej yam zoo ib yam li nws muaj Google Script cov ntaub ntawv uas muaj nyob ntawm nws lub xaib GitHub nrog rau nws.ino cov ntaub ntawv uas yuav yooj yim nyeem thiab hloov kho dua kuv!

Dab tsi ntxiv?

Raws li ob peb lub hlis dhau los, kuv tus poj niam thiab kuv yuav tsum xaj peb cov tshuaj ntawm kab, kuv lub cim xeeb tsis zoo yog li kuv npaj siab yuav teeb tsa txoj haujlwm ntawm Google Calendar uas yuav hloov pauv ntawm lub txaj LED kom nco kuv thaum yuav rov khoom.

Yog tias txoj haujlwm no tau lees paub hauv kev sib tw REMIX thiab koj xav tias nws tsim nyog, thov muab pov npav rau kuv!

Ua tsaug ntau:-).

Pom zoo: