Measure/Start

From OLPC
< Measure
Revision as of 03:08, 12 May 2008 by Cjl (talk | contribs) (cat)
Jump to navigation Jump to search

Getting Started with Measure

The software

Signal in time domain

Input:One can connect sensors/give input voltage through the pink Mic jack on the left side of the display screen. When nothing is connected there, the default signal is the sound signal from the built in Mic on the XO. Graph: The green moving line on the screen indicates the signal


Grid and background: The light grey lines that form a criss cross grid allow one to estimate the values of the signal at different instants of time. To get a value, multiply the Scale value for either the X Axis or the Y Axis (shown when one clicks on the "Show values" button in the Measure Toolbar) by the number of divisions of the grid in the X direction (horizontal) or Y direction (vertical).


Slider on the right: The slider on the right controls the magnification (gain) of the waveform. Move it up if the waveform that you see is too small and move it down is the waveform is going out of the screen.

Signal in frequency domain


Measure Toolbar: Use this to view and modify the signal.

  • AC/DC button -- This button selects whether you want to give a DC input or an AC input. Batteries, light sensors and temperature sensors have DC input. The microphone has an AC input.
  • Bias control button -- Some sensors would require this ON to work properly, most of the times you wouldn't need to touch this button. The built in mic requires this to be OFF.
  • Time/frequency button -- This button changes the X Axis from time-based to frequency-based, allowing one to view the signal representation or a real time representation of the signal. Selecting this option is most fun when one is whistling into the microphone. This wouldn't be of much use when connecting external sensors.
  • Slider -- Move it to the position that allows you to best view the waveform. This slider controls the frequency range.
  • Show details -- Press this button when you want to see statistical data about the signal. The scales are shown in this option - the X axis scale and the Y axis scale.


Log Toolbar: Use this when you want to record data Snapshot/1 second/1 minute/1 hour -- Select the way you want to record data. Snapshot means taking a picture of the current waveform that you see on the screen. 1 second/1 minute/1 hour selects at what interval one can record data. Show saved data -- Shows you the saved waveform. Press it again to remove the display of the saved waveform.


Displaying result of a logging session
Showing the statistics about the signal

How to connect sensors (How to build a sensor-probe)

This section details outlines steps to build a low cost probe for connecting sensors to the XO for Measure

It'd be good to have these tools - A soldering iron, some soldering wire, a wire cutter/wire stripper and some insulating tape
Wire stripper
Soldering wire
Some connecting wires
3.5mm audio jack (stereo or mono, any would do)
A USB cable, or even a USB connector would do
The audio jack/connector
Cut two pieces of wire and strip them at the ends
Solder the wires to the connector as shown. Do make sure to have an identification mark (eg. a knot) to differentiate between both the wires.Call the wire connected to the central terminal as "Vin" the wire connected to the outer terminal as "Gnd"
Take the USB cable/connector
Cut it in the middle and strip the wires
We only need the red and the black wires.The USB port provides us with a source of +5V supply. Let's call the red wire as "+ve" and the black as "Gnd" and make the black one and the "Gnd" defined in audio connector as one, by connecting them together.
The audio connector goes into the pink MIC input jack
The USB connector goes into the USB port

To summarize, do remember that we have identified three terminals

  1. The "Vin" terminal
  2. The "+ve" terminal
  3. The "Gnd" terminal (the Gnd of audio connector is connected to Gnd of USB connector"