![Page 1: Data Logging (Part 1) - EV3 Lessons · Live Data Logging: Real time data collected directly in the EV3 software 2. Remote Data Logging: Use the the brick to collect data, and transfer](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097df/html5/thumbnails/1.jpg)
ADVANCEDEV3PROGRAMMINGLESSON
DataLogging(Part1)BySanjayandArvindSeshan
![Page 2: Data Logging (Part 1) - EV3 Lessons · Live Data Logging: Real time data collected directly in the EV3 software 2. Remote Data Logging: Use the the brick to collect data, and transfer](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097df/html5/thumbnails/2.jpg)
ì Learnwhatdataloggingis
ì LearnthedifferentwaysofdoingdataloggingontheEV3
ì LearnhowtousetheLiveDataLogging,RemoteDataLoggingandBrickDataLoggingfeatureusingatemperaturesensor
ì Prerequisites:MustownanNXTTemperatureSensor,MusthavetheEduversionoftheEV3SoftwareandEduversionofbrickfirmware.
©2016EV3Lessons.com,Lastedit7/18/2016
LessonObjectives
![Page 3: Data Logging (Part 1) - EV3 Lessons · Live Data Logging: Real time data collected directly in the EV3 software 2. Remote Data Logging: Use the the brick to collect data, and transfer](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097df/html5/thumbnails/3.jpg)
ì TheEV3softwareprovidesasimplewaytocontinuouslyrecordsensorreadingstoafileandtoplotthevalueslater.ThisiscalledDataLogging.
ì WhyuseDataLogging:ì Greatforscienceexperiments.InPart1,wewillshowhowyou
canrecordvaluesliketemperatureforascienceproject.ì Greatforunderstandingrobotprogrammingblocks.InPart2,we
willshowhowtousedataloggingtomeasurethedifferencebetweenturns.
ì Greatforunderstandingsensorbehavior.InPart3,wewillshowhowtousedataloggingtounderstandthedetailsofsensorssuchasthegyrosensor.
©2016EV3Lessons.com,Lastedit7/18/2016
WhatisDataLogging?
![Page 4: Data Logging (Part 1) - EV3 Lessons · Live Data Logging: Real time data collected directly in the EV3 software 2. Remote Data Logging: Use the the brick to collect data, and transfer](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097df/html5/thumbnails/4.jpg)
1. LiveDataLogging:RealtimedatacollecteddirectlyintheEV3software
2. RemoteDataLogging:Usethethebricktocollectdata,andtransferthedatatothecomputerforanalysis
3. BrickDataLogging:Runtheexperimentdirectlyfromthebrick
4. Autonomous.CollectdatawiththeDataLoggingblock.Thedataisstoredonthebrick.
©2016EV3Lessons.com,Lastedit7/18/2016
HowdoyoudatalogonanEV3?
Lesson1:Temperature
SensorExperiment
Lesson2:Differences
BetweenTurns
Thereare4waystodatalogusingtheEV3MINDSTORMS:
![Page 5: Data Logging (Part 1) - EV3 Lessons · Live Data Logging: Real time data collected directly in the EV3 software 2. Remote Data Logging: Use the the brick to collect data, and transfer](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097df/html5/thumbnails/5.jpg)
ì Challenge:WewilluseaTemperatureSensortologthechangingtemperatureofwater.
ì Designyourownexperiment.Forexample,youcantryplacingthetemperaturesensorprobeatroomtemperaturewater,thenboilingwaterandthencoldwater.
©2016EV3Lessons.com,Lastedit7/18/2016
LiveDataLogging
![Page 6: Data Logging (Part 1) - EV3 Lessons · Live Data Logging: Real time data collected directly in the EV3 software 2. Remote Data Logging: Use the the brick to collect data, and transfer](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097df/html5/thumbnails/6.jpg)
©2016EV3Lessons.com,Lastedit7/18/2016
LiveDataLogging(TemperatureSensor)
STEP1:StartaNewExperiment inanexistingproject
STEP2:TurnoffOscilloscopeMode
STEP3:Pickyourduration, samplerate,sensorandunits.
![Page 7: Data Logging (Part 1) - EV3 Lessons · Live Data Logging: Real time data collected directly in the EV3 software 2. Remote Data Logging: Use the the brick to collect data, and transfer](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097df/html5/thumbnails/7.jpg)
©2016EV3Lessons.com,Lastedit7/18/2016
LiveDataLogging(TemperatureSensor)
STEP4:AllsensorsconnectedtotheEV3willbeautomaticallyadded.Ifyoudonotwanttocollectdatawithaparticularsensor, clickthe“X”nexttoit.
STEP6:Placetemperatureprobe inhot/cold liquidandwatchthegraph(seenextslide)
STEP5:DownloadandRun
![Page 8: Data Logging (Part 1) - EV3 Lessons · Live Data Logging: Real time data collected directly in the EV3 software 2. Remote Data Logging: Use the the brick to collect data, and transfer](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097df/html5/thumbnails/8.jpg)
©2016EV3Lessons.com,Lastedit7/18/2016
Results/Solution
1.Roomtemperatureprobeplacedinboilingwater
2.Temperatureincreases
3.Proberemovedandplacedincoldwater
Asimilargraphwillappearliveonyourscreen.
![Page 9: Data Logging (Part 1) - EV3 Lessons · Live Data Logging: Real time data collected directly in the EV3 software 2. Remote Data Logging: Use the the brick to collect data, and transfer](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097df/html5/thumbnails/9.jpg)
ì NowthatwehavetriedLiveDataLogging,let’slookattwootherwaystocollectdatawhenthecomputerisn’taround:ì RemoteDataLogging:Usethethebricktocollectdata,and
transferthedatatothecomputerforanalysisì BrickDataLogging:Runtheexperimentdirectlyfromthebrick
©2016EV3Lessons.com,Lastedit7/18/2016
OtherWaystoCollectData
![Page 10: Data Logging (Part 1) - EV3 Lessons · Live Data Logging: Real time data collected directly in the EV3 software 2. Remote Data Logging: Use the the brick to collect data, and transfer](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097df/html5/thumbnails/10.jpg)
©2016EV3Lessons.com,Lastedit7/18/2016
RemoteDataLoggingInstead
STEP6:TakeyourrobotsomewhereelseandruntheexperimentfromthescreenSTEP7:Placetemperatureprobe inhot/cold liquid
STEP1-4:Repeatsteps1-4oftheLiveDataLogging
STEP8:ConnectyourrobotandclickontheUploadIcon.IntheDataLogFileManager,pickthecorrectfiletoimport.
UploadIcon
Download Icon
STEP5:ClickontheDownload icon
TheseiconsappearonlywhenyouareinanopenEXPERIMENT(notaProject)
![Page 11: Data Logging (Part 1) - EV3 Lessons · Live Data Logging: Real time data collected directly in the EV3 software 2. Remote Data Logging: Use the the brick to collect data, and transfer](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097df/html5/thumbnails/11.jpg)
©2016EV3Lessons.com,Lastedit7/18/2016
UsingBrickDataLoggingInstead(Part1)
STEP2:Clickonthewrenchtosetupsensors
STEP4:Placetemperaturesensorprobe inhot/coldliquid
STEP1:GotothirdtabonBrickMenuandpickBrickDatalog
Step5:Clickonthesphereicontostartandstopcollectingdata
STEP3:Clickoniconwithnumberstoseethedataforadifferent sensor
![Page 12: Data Logging (Part 1) - EV3 Lessons · Live Data Logging: Real time data collected directly in the EV3 software 2. Remote Data Logging: Use the the brick to collect data, and transfer](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097df/html5/thumbnails/12.jpg)
©2016EV3Lessons.com,Lastedit7/18/2016
BrickDataLogging(Part2)
UploadIconSTEP7:ConnectyourrobotandclickontheUploadIconafteryouareinanExperiment.IntheDataLogFileManager,pickthecorrectfiletoimport.
STEP6:Picknameforthefileonthebrick
TheseiconsappearonlywhenyouareinanopenEXPERIMENT(notaProject)
![Page 13: Data Logging (Part 1) - EV3 Lessons · Live Data Logging: Real time data collected directly in the EV3 software 2. Remote Data Logging: Use the the brick to collect data, and transfer](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097df/html5/thumbnails/13.jpg)
ì Canyouthinkofotherexperiments?
ì Trydataloggingusingothersensors.
ì TryexportingyourdataintoExceloranotherspreadsheettool.
ì LearnhowtouseAutonomousDataLogginginPart2oftheDataLoggingseriesoflessons.
©2016EV3Lessons.com,Lastedit7/18/2016
NextSteps
![Page 14: Data Logging (Part 1) - EV3 Lessons · Live Data Logging: Real time data collected directly in the EV3 software 2. Remote Data Logging: Use the the brick to collect data, and transfer](https://reader034.vdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097df/html5/thumbnails/14.jpg)
ì ThistutorialwaswrittenbySanjaySeshan andArvindSeshanì Morelessonsatwww.ev3lessons.com
©2016EV3Lessons.com,Lastedit7/18/2016
Credits
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.