Vernier Software and Technology
Vernier Software & Technology
Tech Info Library

What programming environments do you support for using your sensors for projects and teaching coding?

Since we started this company in the early 1980's, we have always tried to provide a way for teachers and students to "do their own thing", using our sensors. Here are some modern options:

Scratch
Scratch (3.0) is an extremely popular programming language for young people. It dominates the elementary and middle-school programming world. We have an extension built into this software that allows you to integrate data from our Go Direct® Force and Acceleration Sensor, order code GDX-FOR, $99. See: https://www.vernier.com/engineering/scratch/

If you still run Scratch 2.0 we also have sample code to allow you to read Go!Temp, Go!Motion, and Go!Link within Scratch programs.

mBlock
Makeblock is the programming language used with mBot and Cody Rocky. It is very similar to Scratch, using the same block-style programming. Anyone who knows Scratch would have no trouble with mBlock. For additional information visit mBot (Blue) and STEM Activities Module, order code MBOT-B, $70, Codey Rocky and Activities, order code MB-CR, $99, and https://www.vernier.com/engineering/makeblock/

Arduino IDE (Integrated Development Environment)
We have a very complete collection of sample code, instructions, and background information on using our BTA and BTD sensors with Arduino at www.vernier.com/arduino. Also see Vernier Arduino Interface Shield, order code BT-ARD, $29 and SparkFun RedBoard with cable, order code ARD-RED, $25.

Python
We now have sample code to allow you to read any of the Go Direct sensors with Python. For documentation and examples visit:
https://pypi.org/project/godirect/ and https://github.com/VernierST/godirect-examples

LEGO MINDSTORMS
The versions of LEGO MINDSTORMS for both LEGO EV3 and NXT can be used with Vernier BTA sensors. You must first add a Vernier Sensor block to your version of MINDSTORMS. This can be downloaded at https://www.vernier.com/engineering/lego-ev3/ev3-sensor-block/
or https://www.vernier.com/engineering/lego-nxt/vernier-sensor-block/
A NXT Sensor Adapter, order code BTA-NXT, $39 is required to make the connection.

LabVIEW from National Instruments
LabVIEW is a programming language used mostly by engineers. All versions of LabVIEW for the last decade or so can be used with Vernier BTA and BTD sensors connected to either LabQuest (any type) or SensorDAQ, order code SDAQ, $219 or Go!Link, order code Go-Link, $69. Special (required) code is available at: https://www.vernier.com/engineering/ni-labview/downloads/

Mathematica
Mathematica is a powerful programming language used by many scientists. Right now, we have sample code that allows our Go!Link to be read inside Mathematica code and then you can do lots of graphing with Mathematica. This allows a lot of very fancy graphics, including 3-D plots, pie charts, etc. We have hopes of making Mathematica work with Go Direct sensors in the future. For examples, see:
https://www.vernier.com/news/2017/08/25/vernier-and-mathematica/

JavaScript
We now have sample code to allow you to read any of the Go Direct sensors with JavaScript at:
https://vernierst.github.io/godirect-examples/javascript/
Examples at: https://github.com/VernierST/godirect-examples/

Google Science Journal (Making Science)
We have worked with them so that our sensors can be used in their Science Journal software. Students can connect Go Direct sensors, collect, and save the data into their Journals. Details are at:
https://www.vernier.com/products/software/science-journal/

Google Workbench
Workbench has integrated a number of our sensors into their programming section. Sensors include Go Direct® Force and Acceleration Sensor, order code GDX-FOR, $99, Go Direct® 3-Axis Magnetic Field Sensor, order code GDX-3MG, $69, Go Direct® Sound Sensor, order code GDX-SND, $89, Go Direct® Temperature Probe, order code GDX-TMP, $69, Go Direct® Motion Detector, order code GDX-MD, $99. Visit https://edu.workbencheducation.com/toolbox/programming

See also:
TIL 4370: What Bluetooth radio do I need for Go Direct Sensors and Python?
TIL 4409: Why can't I connect my GoDirect sensor to my Python program via USB on my Linux operating system?
TIL 4440: Can I use your Go Direct sensors with other software?

Go to top