+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
Day one
1. BUILDING INTERNET OF THINGSNWITH THE ARDUINO AND ATMEL AVR MICROCONTROLLER
Anthony FaustineSambaiga(AL, UDOM)
Bsc. ECS (UDSM), Msc. TE (UDOM)
Research Interest: WSAN, M2M, Smart grid Communications and ICT4D.
1
5. Internet of Things
Imaginehavingsmalldeviceconnectedthatcansensetemperature,smoke,humidity,andlightconditionofyourroomandreportthemtoawebservices:
Anthony Faustine
5
6. Internet of Things
TheInternetofThings,alsocalledTheInternetofObjects:
•Aglobalnetworkofsmartdevicesthatcansenseandinteractwiththeirenvironmentusinginternetfortheircommunicationandinteraction.
•AnetworkofPhysicalObjectsthatcaninteractwitheachothertoshareinformationandtakeAction.
Anthony Faustine
6
11. Interaction with The Internet
TheabilitytocommunicatedirectlyorindirectlywiththeinternetmakeIoTdevicedifferentfromotherdevices.
•Whyneedtocommunicatewithinternet??
Sensorsgeneratelotofdatathatneedtobemanaged.
Embeddedmemoryislimited
Internetprovidewebapplicationfordatastoragewhichcanbeaccessedanywhereoranytime.
Providedataexchangesbetweenotherapplications.
•TheIoTisaninteractionbetweentheinternet,things… anddata
Anthony Faustine
11
13. Building Blocks of the IoT
•ControlUnits
•Sensors
•CommunicationModules
•Powersources
Anthony Faustine
13
14. Control Units
IoTdeviceutilizemicrocontrollerasthemaincontrolunit
•Amicrocontroller:Isasmallcomputerinasingleintegratedcircuit.
Itcontainaprocessorcore,amemory,andprogrammableI/Operipheral.
•MCU
The‘brain’controlseverything
Readsinputfromsensors
Drivesoutputs
LED,Switch,Motor,…
Communicates!
Anthony Faustine
14
36. Anatomy of a Breadboard
oDipsupport
oTerminalstrips
oPowerrails
37. Anatomy of a Breadboard
Terminalstrips
•Conductivemetalrowsthatallowcurrenttoflowfromanypointinthatstrip.
•Eachsideofagivenrowisdisconnectedfromtheother
38. Anatomy of a Breadboard
PowerRails
•Metalstripsthatareidenticaltotheonesthatrunhorizontally,excepttheyare,typically*,allconnected
•labeledwitha‘+’anda‘-
•Powerrailsoneithersidearenotconnected
39. Anatomy of a Breadboard
DIPSupport
•Thisistheravinethatisolatesthetwosidesofabreadboard
•Usefulforconnectingintegratedcircuits(ICs)
44. Arduino IDE
TouseArduinoIDE
•Writeyoursketch
•PressVerifybutton(tocheckforerrors)
•PressUploadbuttontoprogramArduinoboardwithyoursketch
45. Writing Arduino program
SoftwarewrittenusingArduinoarecalledsketches.
•LanguageisstandardC(butmadeeasy)withlotsofusefulfunctions.
•Thesesketchesarewritteninthetexteditor(IDE)andsavedwiththefileextension.ino
Atypicalsketchconsistsoftwopartsorroutines:
Theinitializationfunctioncalledsetupand
Theloopfunction
setup() –run once at beginning, set pins
loop() –run repeatedly, after setup()