UPM

The UPM API is a high level sensor library for IoT devices using MRAA. See examples here. Back to index page.
SparkFun sensor images provided under CC BY-NC-SA-3.0.

EMG Class

Module: emg
  • ID: emg
  • Name: Electromyography ( EMG ) Sensor
  • Other Names: Grove EMG Sensor
  • Category: electric
  • Manufacturer: seeed
  • Connection: analog

Grove EMG muscle signal reader gathers small muscle signals, then processes them, and returns the result
emg.jpg

Item Index

Methods

Methods

EMG

(
  • pin
)
Number

Grove EMG reader constructor

Parameters:

  • pin Number

    Analog pin to use

Returns:

Number:

calibrate

()

Calibrates the Grove EMG reader

value

() Number

Measures muscle signals from the reader

Returns:

Number:

Muscle output as analog voltage