Go Down

Topic: Muscle Sensor v3 problems (Read 10794 times) previous topic - next topic

msahsanzafar

same here same problem with slight modification in power setup i am using 5v+\- supply when i attach black electrode to bone the value get zero in serial before it is showing value around 896 ..contineous

edwardanthony

hello guys, i followed the connections and uses


int sensorPin = A0;    // select the input pin for the potentiometer
int ledPin = 13;      // select the pin for the LED
int sensorValue = 0;  // variable to store the value coming from the sensor

void setup() {
  // declare the ledPin as an OUTPUT:
  Serial.begin(9600);
  pinMode(ledPin, OUTPUT); 
  pinMode(sensorPin,INPUT);
 
}

void loop() {
  // read the value from the sensor:
  sensorValue = analogRead(sensorPin);   

  Serial.println(sensorValue); 
  delay(100);         
}

and my serial monitor displays 255. Am i on the correct path?

AdvancerTechnologies

Hey, i'm having some troubles making it work. I'm using Arduino fio board with a divider in order to have 3V maximum. What board are you using? What connexion was not fully secured? Where do you put the electrodes?


I would appreciate your help!
You cannot power this sensor with +3V. It needs a minimum off +/-3.5V to operate meaning you need at least a +7V supply.

edwardanthony

You cannot power this sensor with +3V. It needs a minimum off +/-3.5V to operate meaning you need at least a +7V supply.
Hi advancer,
the value we got from the muscle sensor is in volt? or other?

thanks!

Go Up