{"id":238,"date":"2023-09-13T16:39:52","date_gmt":"2023-09-13T16:39:52","guid":{"rendered":"https:\/\/yesa.org.za\/resources\/?page_id=238"},"modified":"2024-06-19T12:57:28","modified_gmt":"2024-06-19T12:57:28","slug":"data-logging","status":"publish","type":"page","link":"https:\/\/yesa.org.za\/resources\/microbit\/data-logging\/","title":{"rendered":"Data Logging"},"content":{"rendered":"<ul>\n<li><a href=\"https:\/\/www.google.com\/search?sca_esv=8ae81ea246257316&amp;rlz=1C1ONGR_en-GBZA1099ZA1099&amp;q=microbit+sharing+data+to+second+microbit+via+radio+channel&amp;tbm=vid&amp;source=lnms&amp;prmd=vinsbmtz&amp;sa=X&amp;ved=2ahUKEwimtsva3IKGAxVnUKQEHaKrDGkQ0pQJegQIBxAB&amp;biw=1536&amp;bih=695&amp;dpr=1.25#fpstate=ive&amp;vld=cid:deb805eb,vid:ElLM7IRa9eg,st:0\" target=\"_blank\" rel=\"noopener\">Part 1: Sending Data from one micro:bit to another<\/a><\/li>\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=xL5mW8akgWY\" target=\"_blank\" rel=\"noopener\">Microbit tutorial 2 &#8211; Communicating with microbits<\/a><\/li>\n<li><a href=\"https:\/\/microbit.org\/get-started\/user-guide\/data-logging\/\" target=\"_blank\" rel=\"noopener\">Learning about Data Logging<\/a><br \/>\nYou can use the BBC micro:bit V2 with built-in speaker as a data logger, recording data from its built-in sensors. Data is stored on your micro:bit even when its power source is disconnected.<\/li>\n<li><a href=\"https:\/\/microbit.org\/projects\/make-it-code-it\/traffic-survey-data-logger\/\" target=\"_blank\" rel=\"noopener\">Traffic survey data logger\u00a0<\/a><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone \" src=\"https:\/\/cdn.sanity.io\/images\/ajwvhvgo\/production\/1da0f41be442ee91003ae95566fda8e21a493642-797x578.png?q=80&amp;fit=max&amp;auto=format\" width=\"372\" height=\"270\" \/><br \/>\nUse your BBC micro:bit as a data-logger to survey things you see, like different kinds of traffic or wildlife, or answers to questions.<\/li>\n<li class=\"Typography-module--h1--97016\"><a href=\"https:\/\/microbit.org\/projects\/make-it-code-it\/movement-data-logger\/\" target=\"_blank\" rel=\"noopener\">Movement data logger<\/a><br \/>\nData from the accelerometer has been recorded in three dimensions:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone \" style=\"font-size: inherit;\" src=\"https:\/\/cdn.sanity.io\/images\/ajwvhvgo\/production\/f8184e1a5b4f3226b8b10902356ae62d988ff698-665x782.png?w=435&amp;q=80&amp;fit=max&amp;auto=format\" width=\"201\" height=\"237\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone \" style=\"font-size: inherit;\" src=\"https:\/\/cdn.sanity.io\/images\/ajwvhvgo\/production\/2fa45cae6755a41b9d6f1f86bcec058f881ae681-1064x971.jpg?q=80&amp;fit=max&amp;auto=format\" width=\"238\" height=\"217\" \/><\/li>\n<\/ul>\n<div class=\"cardHero CardHero-module--hero--f80cf\">\n<div class=\"Spacing-module--root--55eb5 BlockContent-module--root--479b3\">\n<p id=\"learn-about-data-logging\" class=\"Typography-module--h2--a0907 h2\"><a href=\"https:\/\/microbit.org\/get-started\/user-guide\/data-logging\/\" target=\"_blank\" rel=\"noopener\">Learn about data logging<\/a><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone \" src=\"https:\/\/cdn.sanity.io\/images\/ajwvhvgo\/production\/dc39ac0e819454d1c2d311ec2d3a5c25dad285f1-2972x1412.png?w=653&amp;q=80&amp;fit=max&amp;auto=format\" width=\"415\" height=\"197\" \/><\/p>\n<p class=\"Typography-module--defaultLight--f161f\">A simple way to record, store and analyse environmental data. <span style=\"font-size: inherit;\">You can use the BBC micro:bit V2 with built-in speaker as a data logger, recording data from its built-in sensors. Data is stored on your micro:bit even when its power source is disconnected.<\/span><\/p>\n<ul>\n<li>\n<p class=\"Typography-module--h2--a0907\"><a href=\"https:\/\/microbit.org\/news\/2022-08-25\/new-data-logging-projects\/\" target=\"_blank\" rel=\"noopener\">Data logging projects<\/a><\/p>\n<p class=\"Typography-module--defaultLight--f161f\">Try out data logging in your classroom with three new projects<\/p>\n<p class=\"Typography-module--defaultLight--f161f\">With a few blocks of code, you can capture, store and visualise real-world data from the micro:bit&#8217;s built-in sensors for temperature, light, sound, movement and magnetism. Data logging enables your students to carry out meaningful scientific experiments, and to learn about how to collect reliable data, visualise and interpret it.<\/p>\n<\/li>\n<li class=\"Typography-module--h1--97016\"><a href=\"https:\/\/microbit.org\/projects\/make-it-code-it\/maxmin-temperature-logger\/\" target=\"_blank\" rel=\"noopener\">Max-min temperature logger<\/a>Turn your micro:bit into a self-contained <strong style=\"font-size: inherit;\">data logger<\/strong><span style=\"font-size: inherit;\">\u00a0that records maximum and minimum temperature readings, and stores them so\u00a0<\/span><strong style=\"font-size: inherit;\">it keeps the data even if the batteries run out<\/strong><span style=\"font-size: inherit;\"> or you disconnect the power.<\/span><\/li>\n<li><a href=\"https:\/\/edu.pimoroni.com\/datalogging-from-the-enviro-bit\/\" target=\"_blank\" rel=\"noopener\">Recording Light\/Temperature<\/a><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone \" src=\"https:\/\/edu.pimoroni.com\/content\/images\/2019\/02\/microbit-screenshot--1-.png\" width=\"313\" height=\"101\" \/>This code will make the micro:bit forever send the light level data (with the label &#8220;x&#8221; on it) up the USB cable to your computer. You&#8217;ll notice the simulator on the left of the screen has changed slightly &#8211; there is a purple button which says &#8220;show console &#8211; simulator&#8221;. We can click on it and look at what datalogging looks like.<\/li>\n<li><a href=\"https:\/\/learn.sparkfun.com\/tutorials\/wireless-remote-weather-station-with-microbit\/all\" target=\"_blank\" rel=\"noopener\">Wireless Remote Weather Station with micro:bit<\/a><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone \" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAARwAAACxCAMAAAAh3\/JWAAAAw1BMVEX\/\/\/8AAADvMSXh4eGxsbHv7+8PDw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zpTHz0MTDXXSTP2ydnob07NNgoOe93LyMH31ZFDoHnf4tyKOzTL2Oca2mYvBzKkkkc7bimhiJnjP76qC0V5fiFkZe\/nRwal6HJc6ETs9bC8NtSlDNo43LeXJavaDk71NJM8WoMjXEDfi4pp45Hr3C+v+UU5qejqo+dnzWFocBvzoR81ikpytG\/Q\/dZ1d1b+Ql2Xg7ew5I7TthzCz3R+fiF5aBD3e57lFfZ1932nA3ANu1Q\/iW+TdHZMyDn4pzC0wqnm\/HbGLFt74DcEN+rhOx1ZyRDHyKHfJ2592lFvtlY8y0BbTLpJb5q0kG3dUxgHZpn9Oqsn6Gazkk5b+o4gAlw4vNwyyFyYhHn4JxjfbGoK289iRxyrlgelsc5yIK5SuuirIMzb8PAvMTHgjoig8kGIZFGZjJEMpW\/I+afNysf+LTV93DejrY1X0a4Nhv1I\/GWdUASgfjk\/DBR8QVkw9HXaxdPldmtDqHF71tC1918uRwMkzSKxLdQhDRV\/tdC2yfjmR0oY5e7iKJU2cVdsWAp4Kcd+cp7Tqu76itxFFn3q3rGEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPFf0oas+o50jIMAAAAASUVORK5CYII=\" width=\"151\" height=\"94\" \/><br \/>\nIn this tutorial, we will utilize MakeCode&#8217;s radio blocks to have one\u00a0<a href=\"https:\/\/www.sparkfun.com\/products\/14208\">micro:bit<\/a>\u00a0transmit a signal to a receiving micro:bit on the same channel! This is useful if your weather station is installed in a location that is difficult to retrieve data from the OpenLog. We will explore a few different ways to send and receive data.<\/li>\n<li><a href=\"https:\/\/microbit.org\/get-started\/user-guide\/data-logging\/\" target=\"_blank\" rel=\"noopener\">Remote data collection<\/a><br \/>\nA simple way to record, store and analyse environmental data<br \/>\nYou can use the BBC micro:bit V2 with built-in speaker as a data logger, recording data from its built-in sensors. Data is stored on your micro:bit even when its power source is disconnected.<\/li>\n<li><a href=\"https:\/\/makecode.microbit.org\/device\/data-analysis\/writing\" target=\"_blank\" rel=\"noopener\">Writing Data\u00a0<\/a><br \/>\nWhile you\u2019re using MakeCode, all data written by the\u00a0<a href=\"https:\/\/makecode.microbit.org\/reference\/serial\" rel=\"nofollow noopener\">serial<\/a>\u00a0functions is recorded by the MakeCode editor. This happens when you try your code in the simulator and also when the micro:bit is connected to a computer running the MakeCode app with USB<\/li>\n<li>\n<p class=\"style-scope ytd-watch-metadata\"><a href=\"https:\/\/www.youtube.com\/watch?v=MmL5hsScjw0\" target=\"_blank\" rel=\"noopener\">Beyond the Basics with micro:bit &#8211; Exploring the Data Logger using the V2 <\/a>(YouTube Video)<br \/>\n&#8220;Do you have prior experience coding with the micro:bit? Are you curious about using the micro:bit sensors and new V2 data logger to record, store and analyse environmental data? Lisa Anne Floyd will provide step-by-step instructions to collect data using the micro:bit V2\u2019s built-in sensors. Through incorporating the Data Logger extension in MakeCode, students can collect data over a period of time and create visualizations to represent the data. Students can then apply these tools and skills in their science and technology investigations, as they conduct experiments or engage in the engineering design process. Recommended Experience\/Grade Level: This session is geared towards educators of grades 4-8 who have prior experience coding with the micro:bit.<\/p>\n<\/li>\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=eJiddQwKPck\" target=\"_blank\" rel=\"noopener\">Micro:bit: Wirelessly Stream Accelerometer Data to MakeCode! <\/a>\u00a0(YouTube Video)<br \/>\nHere&#8217;s a quick intro to configuring MakeCode to display data being streamed wirelessly (via Bluetooth)!<\/li>\n<\/ul>\n<div class=\"SocialLinks-module--root--f1dfb SocialLinks-module--normal--8d778\">\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Part 1: Sending Data from one micro:bit to another Microbit tutorial 2 &#8211; Communicating with microbits Learning about Data Logging You can use the BBC micro:bit V2 with built-in speaker as a data logger, recording data from its built-in sensors. Data is stored on your micro:bit even when its power source is disconnected. Traffic survey [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":69,"menu_order":8,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-238","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/yesa.org.za\/resources\/wp-json\/wp\/v2\/pages\/238","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yesa.org.za\/resources\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/yesa.org.za\/resources\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/yesa.org.za\/resources\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yesa.org.za\/resources\/wp-json\/wp\/v2\/comments?post=238"}],"version-history":[{"count":15,"href":"https:\/\/yesa.org.za\/resources\/wp-json\/wp\/v2\/pages\/238\/revisions"}],"predecessor-version":[{"id":603,"href":"https:\/\/yesa.org.za\/resources\/wp-json\/wp\/v2\/pages\/238\/revisions\/603"}],"up":[{"embeddable":true,"href":"https:\/\/yesa.org.za\/resources\/wp-json\/wp\/v2\/pages\/69"}],"wp:attachment":[{"href":"https:\/\/yesa.org.za\/resources\/wp-json\/wp\/v2\/media?parent=238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}