LinkIt One Data Graphing

by Volthaus Electronics Laboratory in Circuits > Electronics

699 Views, 6 Favorites, 0 Comments

LinkIt One Data Graphing

title.png

Graphing sensor data is a fun thing to do with a Mediatek LinkIt One board and in this I'ble I will show an easy method to test it. You can easily have this done in 10 minutes. Talk about instant gratification!

Parts

DSC00047.JPG

To test this example you will need:

  • LinkIt One
  • 10k Potentiometer or other analog sensor
  • 3 Jumper wires male/female

Test

Untitled.png
graph-circuit3.png

You can upload the sketch as is, no changes to the code are needed. To perform the test, after uploading the sketch to the LinkIt One connect the middle pin of the pot to the 0 analog pin on the LinkIt One as shown in the example. The other two pins connections are 5v and Ground. After you have it configured switch from your debug port in the IDE to your modem port then simply open the serial monitor and watch the values change as you turn the knob on the potentiometer.

With the 10K potentiometer connected to the LinkIt One the readings in the serial monitor run from zero to 1023. So it appears to be reading the resistance which is very interesting to me. So a reading of 100 in the serial monitor equals 1K ohms. That is just so cool to be able to just load the sketch, connect the potentiometer and then read the monitor. Or maybe I'm just too easily impressed.

There is also Graphing software available to try. There is some software called Processing (Processing is a flexible software sketchbook and a language for learning how to code within the context of the visual arts.) From the website: "There are tens of thousands of students, artists, designers,
researchers, and hobbyists who use Processing for learning and prototyping." So it must have something going for it.

Max 7 which appears to be primarily for musicians offers a 30 day free trial that is fully functional so you might decide to see what it does if you're a composer.

Good luck,

VEL

Downloads