-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
162 lines (118 loc) · 12.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<title>scratch-vernier-go-extensions by VernierST</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="stylesheets/normalize.css" media="screen">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/github-light.css" media="screen">
</head>
<body>
<section class="page-header">
<h1 class="project-name">scratch-vernier-go-extensions</h1>
<h2 class="project-tagline">ScratchX extension for communicating with Vernier Go! devices</h2>
<a href="https://github.com/VernierST/scratch-vernier-go-extensions" class="btn">View on GitHub</a>
<a href="https://github.com/VernierST/scratch-vernier-go-extensions/zipball/master" class="btn">Download .zip</a>
<a href="https://github.com/VernierST/scratch-vernier-go-extensions/tarball/master" class="btn">Download .tar.gz</a>
</section>
<section class="main-content">
<h1>
<a id="introduction" class="anchor" href="#introduction" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Introduction</h1>
<p>Use Vernier sensors to bring real world data into your Scratch projects.</p>
<ul>
<li>Use the Go!Temp extension to obtain a real-time temperature reading from a connected <a href="https://www.vernier.com/products/sensors/temperature-sensors/go-temp/">Go!Temp</a> probe.</li>
<li>Use the Go!Motion extension to obtain a real-time position reading from a connected <a href="https://www.vernier.com/products/sensors/motion-detectors/go-mot/">Go!Motion</a> device.</li>
<li>Use the Go!Link extension to obtain real-time data from a connected <a href="https://www.vernier.com/products/interfaces/go-link/">Go!Link</a> interface and compatible Vernier sensor.</li>
</ul>
<hr>
<h1>
<a id="getting-started" class="anchor" href="#getting-started" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Getting Started</h1>
<h2>
<a id="install-the-scratch-extensions-browser-plugin" class="anchor" href="#install-the-scratch-extensions-browser-plugin" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Install the Scratch Extensions Browser Plugin</h2>
<p>In order to connect Scratch to a Go! device, you will need to install a web browser plugin. Follow steps 1 and 2 on the <a href="https://scratch.mit.edu/info/ext_download/">Scratch Extensions Browser Plugin webpage</a> to download and install the plugin.
<p><em>Note: At the moment, you cannot use the Vernier Go! extension in a Chrome or Safari web browser on Mac OS X. It </em>will<em> work in an older <a href="https://ftp.mozilla.org/pub/firefox/releases/46.0/mac/en-US/Firefox%2046.0.dmg">Firefox 46</a> web browser. After installing Firefox 46, turn off Firefox auto-updating by going to the Preferences, the Advanced -> Update -> Never check for updates.<br>
<p>The extension should work in a Chrome or Edge browser (with the plugin installed) on a Windows computer; it is </em>not<em> currently compatible with Firefox.</em>
<h2>
<a id="load-the-extension" class="anchor" href="#load-the-extension" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Load the extension</h2>
<p>Launch one of the Vernier Go! extensions by going to one of the following URLs:</p>
<p><strong>Go!Temp</strong><br>
<a href="https://scratchx.org/?url=https://vernierst.github.io/scratch-vernier-go-extensions/go_temp_extension.js">https://scratchx.org/?url=https://vernierst.github.io/scratch-vernier-go-extensions/go_temp_extension.js</a></p>
<p><strong>Go!Motion</strong><br>
<a href="https://scratchx.org/?url=https://vernierst.github.io/scratch-vernier-go-extensions/go_motion_extension.js">https://scratchx.org/?url=https://vernierst.github.io/scratch-vernier-go-extensions/go_motion_extension.js</a></p>
<p><strong>Go!Link</strong><br>
<a href="https://scratchx.org/?url=https://vernierst.github.io/scratch-vernier-go-extensions/go_link_extension.js">https://scratchx.org/?url=https://vernierst.github.io/scratch-vernier-go-extensions/go_link_extension.js</a></p>
<h2>
<a id="connect-your-go-device" class="anchor" href="#connect-your-go-device" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Connect your Go! device</h2>
<p>Connect the USB cable of your Go! device to your computer. If you are using the Go!Link, connect one of the following compatible sensors:</p>
<ul>
<li><a href="https://www.vernier.com/acc-bta">25-g Accelerometer</a></li>
<li><a href="https://www.vernier.com/anm-bta">Anemometer</a></li>
<li><a href="https://www.vernier.com/bar-bta">Barometer</a></li>
<li><a href="https://www.vernier.com/con-bta">Conductivity Probe</a></li>
<li><a href="https://www.vernier.com/dcp-bta">Current Probe</a></li>
<li><a href="https://www.vernier.com/dvp-bta">Differential Voltage Probe</a></li>
<li><a href="https://www.vernier.com/dfs-bta">Dual-Range Force Sensor</a></li>
<li><a href="https://www.vernier.com/fp-bta">Force Plate</a></li>
<li><a href="https://www.vernier.com/gps-bta">Gas Pressure Sensor</a></li>
<li><a href="https://www.vernier.com/hd-bta">Hand Dynamometer</a></li>
<li><a href="https://www.vernier.com/anm-bta">Light Sensor</a></li>
<li><a href="https://www.vernier.com/lga-bta">Low-g Accelerometer</a></li>
<li><a href="https://www.vernier.com/mg-bta">Magnetic Field Sensor</a></li>
<li><a href="https://www.vernier.com/o2-bta">O2 Gas Sensor</a></li>
<li><a href="https://www.vernier.com/odo-bta">Optical Dissolved Oxygen</a></li>
<li><a href="https://www.vernier.com/ph-bta">pH Sensor</a></li>
<li><a href="https://www.vernier.com/sal-bta">Salinity Sensor</a></li>
<li><a href="https://www.vernier.com/sms-bta">Soil Moisture Sensor</a></li>
<li><a href="https://www.vernier.com/slm-bta">Sound Level Meter</a></li>
<li><a href="https://www.vernier.com/sls-bta">Sound Level Sensor</a></li>
<li><a href="https://www.vernier.com/tmp-bta">Stainless Steel Temperature Sensor</a></li>
<li><a href="https://www.vernier.com/sts-bta">Surface Temperature Sensor</a></li>
<li><a href="https://www.vernier.com/tilt-bta">TI Light Sensor</a></li>
<li><a href="https://www.vernier.com/uva-bta">UVA Sensor</a></li>
<li><a href="https://www.vernier.com/ph-bta">UVB Sensor</a></li>
</ul>
<h2>
<a id="wait-for-the-green-light" class="anchor" href="#wait-for-the-green-light" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Wait for the green light</h2>
<p>When you see the indicator light in the "More Blocks" tab turn green you are ready to start using the extension. The green LED on the Go! device should also be lit.</p>
<h2>
<a id="collect-the-data" class="anchor" href="#collect-the-data" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Collect the data</h2>
<p>Now the Go! device should be generating a real-time measurements and you can integrate sensor data into your Scratch projects. Have a sprite change costumes in response to Go!Temp data. Control a sprite's position using Go!Motion data. Or connect an accelerometer to a Go!Link and use that acceleration data to guide a sprite through a Scratch game!</p>
<h2>
<a id="sample-projects" class="anchor" href="#sample-projects" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Sample Projects</h2>
<p>There are also a few sample projects that demonstrate how to integrate real world physical measurements into your Scratch projects. Just click one of the following URLs:</p>
<ul>
<li><a href="https://scratchx.org/?url=https://vernierst.github.io/scratch-vernier-go-extensions/examples/SayTemp.sbx">SayTemp</a></li>
<li><a href="https://scratchx.org/?url=https://vernierst.github.io/scratch-vernier-go-extensions/examples/DrawTemp.sbx">DrawTemp</a></li>
<li><a href="https://scratchx.org/?url=https://vernierst.github.io/scratch-vernier-go-extensions/examples/SayMotion.sbx">SayMotion</a></li>
<li><a href="https://scratchx.org/?url=https://vernierst.github.io/scratch-vernier-go-extensions/examples/SayReading.sbx">SayReading</a></li>
</ul>
<h2>
<a id="technical-details" class="anchor" href="#sample-projects" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Technical Details about the Go! Devices</h2>
<p>As you begin to use the Go! devices in your Scratch projects, there are some technical details about the sensors that are helpful to keep in mind.<br>
<p><strong>Go!Temp</strong><br>
<p>The Go!Temp will read temperatures between -20°C and 115°C, to an accuracy of +/- 0.5°C. The sensing element in the Go!Temp is located at the very tip of the probe. The sensing element responds in about 4 s to changes in temperatures; the Go!Temp will not measure rapid temperature changes any faster. The Go!Temp extension updates the temperature measurement about twice a second.<br>
<p>For additional information about the Go!Temp, refer to the <a href="https://www.vernier.com/files/manuals/go-temp.pdf">Go!Temp user manual</a>.<br>
<p><strong>Go!Motion</strong><br>
<p>The Go!Motion sensor measures the distance to a person or object between 0.15 and 6 m away, with an accuracy of 2 mm. To measure the distance, the Go!Motion makes a clicking sound, records the time until it hears the sound's echo, and then calculates the distance using a temperature-corrected speed of sound.<br>
<p>The Go!Motion can "see" any object within a cone-shaped area about 15° to 20° off the axis of the center line of the gold foil transducer on the head of the Go!Motion. Note that Go! Motion will report the distance to the closest object that produces a sufficiently strong echo. Go! Motion can pick up objects such as chairs and tables in the cone of ultrasound.<br>
<br>
<img src="Go_motion_cone.png"><br>
<p>The Go!Motion has a sensitivity switch located under the pivoting Go!Motion head. The Ball/Walk setting is best for tracking large objects, large distances, and objects that are poor reflectors. The Track setting is best for tracking smaller, closer objects.<br>
<p>The Go!Motion extension updates the distance measurement about 10 times a second.<br>
<p>For additional information about the Go!Motion, refer to the <a href="https://www.vernier.com/files/manuals/go-mot/go-mot.pdf">Go!Motion user manual</a>.<br>
<p><strong>Go!Link</strong><br>
<p>The Go!Link is an expensive interface to connect standard ("BTA") Vernier sensors to a computer or Chromebook. The Go!Link extension will automatically identify any connected, compatible sensor when the extension is loaded. Sensor measurements are collected in the default units for the connected sensor; for instance, measurements from a Dual-Range Force Sensor are collected in newtons. The extension collects sensor measurements about 20 times a second. <br>
<p>For additional information about the Go!Link, refer to the <a href="https://www.vernier.com/files/manuals/go-link.pdf">Go!Link user manual</a>.<br>
<hr>
<h1>
<a id="authors-and-contributors" class="anchor" href="#authors-and-contributors" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Authors and Contributors</h1>
<p>This page and the Go! Device extensions are maintained by Vernier Software & Technology (<a href="https://github.com/VernierST" class="user-mention">@VernierST</a>). Special thanks to Kreg Hanning (<a href="https://github.com/khanning" class="user-mention">@khanning</a>) and the <a href="https://www.scratchfoundation.org/">Scratch Foundation</a> for their support, encouragement and for creating a fun and dynamic tool for exploring engineering and programming.</p>
<footer class="site-footer">
<span class="site-footer-owner"><a href="https://github.com/VernierST/scratch-vernier-go-extensions">scratch-vernier-go-extensions</a> is maintained by <a href="https://github.com/VernierST">VernierST</a>.</span>
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a> using the <a href="https://github.com/jasonlong/cayman-theme">Cayman theme</a> by <a href="https://twitter.com/jasonlong">Jason Long</a>.</span>
</footer>
</section>
</body>
</html>