Sointoday's video, we'regoingtouseinourweknow, youknow, withWiFiboardandananalogtemperaturesensortocreate a temperaturesensorthatisaccessiblethrough a Webbrowser.
Solet's sayyouwanttocreate a temperaturesensor.
Youwanttobeabletoseewhatthetemperatureisin a serverroominyourbasement.
We'regonnaplugpositiveand 35 volts, Andthenforthisbigproject, we'regoingtoplugthesensorpeninto a zerobecausethat's whatwehaveinthecoat.
Now, onethingforthisprojectjustsoyouknow, is I didactuallyhavetopulloutmymultimeterwhohadtopulloutsomeofthoseoldelectronicrepairtechnicianskillsbecausewhen I didthisprojectandwewerereadingthetemperaturesensorfromthesensor, thetemperaturewasaboutfivedegreeswarmerthanitshouldbe.
Andso I hadtogothroughintrouble.
Shoot.
Why, thatis, andwhat I foundtheproblemtobeisthisparticularboard.
I don't knowifit's thisparticularboard, asinthisspecificone, whereitmaybesomethingwiththeWiFiboardsingeneral.
Butwhen I connecttothefivevoltpowerpinonthisartery, noboard, I onlygetabout 4.85 volts.
Sowhen I takemystandardArduinoboardand I connecttothefiveoldpowerpen, I get 4.997 boltssocloseenoughtofivevolts a czfaras.
Ourprojectsareconcernedwiththisparticularboard.
Weactuallydon't get a fullfivevoltsagain.
Wegotlikewhat I readwasabout 4.85 volts.
Andbecauseofthat, rememberallthetemperaturereadingsandeverythingisbasedoff a voltage.
So I havecomebythebasicArduino, youknow, withWiFiboardsetup a videothatwedidpreviouslyand I'vecombinedareanalogtemperaturesensorprojectsthatwe'vedonepreviously.
Soifyougetifitgetsto a newlineandthenewlineisblankandthenit's abletosendsomethingtotheWebbrowser, soclientdotprint.
Sowe'regoingtoprinttotheclientclientdotprint.
We'regoingtoprintouttemperaturecolonspace, andthenclient, notprintlineistemperature F.
Sotobeclear, here, all I'm doingisprintingnowinbasicaskingtext.
Soagain, sincewe'reprintingto a Webbrowser, somebodythinkaboutisyoucanformatwith H cameout.
I couldformatthiswith H onetagsandboldsorStrong's orcolorsorotherthingswiththis.
Sincethisis a simpleproject, all I wanttoshowyouisthatitcanprintouttextandthevalueofvariable, andthatwillshowyouwhatthetemperaturetheanalogsensorisreading.
Sothat's whywe'redoingthisyearagain.
WecouldhaveHTMLTexandallkindsofotherstuffhereortags, but I'm justdoingthistobesimple.
IfwegooverheretotheArduino, thisis a serialmonitor, andthatshowsustheinformationabouttheclientthatthat's connectingtoitshost.
1 72 16 42 5 Max.
A useragentMozillasomeofsomeoftheotherinformationheresoyoucanhaveanideaofthecomputerthat's connectingtothis.
Aren't weknowproject?
Andthat's reallyallthereistothisjust a littleanalogsensorconnectedyoutheWiFi, thenwe'reabletogoandaccessitoveroveragainjust a standard I p basednetworkandtake a lookatitinourWebbrowser.
Sothat's thebasicprojectweuse.
Theyardweknow, youknow, withWiFi, weuseananalogtemperaturesensor, andnowwe'reabletoseewhatthetemperatureisfromanywhereintheworldusing a simpleWebbrowser.
Again, thisthishas a standard i p for I p address.
Youhavepoor 80 andthenallyoudoisyou'reabletoopenuptheinterfaceusing a Webbrowserandseewhateverit's codedtoseeNowthecoolpartis, aswestarttocreateMaurcomplicatedprojectsisthatyoucanhaveMaursensorsconnectedto a singleArduinoboards.
Yougavemepulling a lotofdifferentinformationinoragainwhatwe'regonnaoneofthingswe'regonnabedoinginthefutureaswecancreatehyperlinkstodothingssuchasturnonfans.
Thatwillshowyouhow, through a WiFiconnectionyoucanturnonandturnoffmotorsagain, whetherthat's a fan, whetherthat's a waterpumpwiththatsomekindofcompressororsomethingelse, basicallyanykindofmotordrivendeviceyoucanturnonandturnoffsimplybyusing a Webbrowser, goingtoan I P addressandbeingableinteractwiththeartweknowboard.
Sothat's allthereisforthisparticularproject.
Again, withthisparticularproject, I didnoticemyfullfiveboltconnectionhereisonlyputtingout 4.85 volts.
Soasfarasthetemperatureisconcernedonhere, if I wasgonnaputthisinto a productionenvironment, I wouldprobablygointothatbasictemperaturemath, and I wouldjustadd 51 oflocations, butthatissomethingyou'regonnahavetothinkaboutbecauseagain, likeifyou'relooking.
Ifyou'regonnabedealingwithArduino, thatwouldsuggestthatyougooutandpickup a multimediamultimeterforissueslikethisagain.
Isthis a verysimpleway?
Youjustplugthisintothefireballconnectionandseeisfivevoltsactuallyfivevolts, Oneofmostimportantthingsintechnologywiththemostimportantlessons I caneverseesyouandtechnology, Areyoureceivingtheresults?
Becauseifyou'renotactuallygettingfivevolts, thatalltheothertroubleshootingthatyou'regonnadoisbasicallyjust a wasteoftimebecausetheproblemis, isyou'renotyou'renotgettingwhatyouthinkyoushouldbe.