So I'm using the Advancer EMG board which is powered by two 9 volt batteries. When the arduino uno itself (not connected to a computer or power source) is connected to the EMG board via the Gnd pin and Analog In pin, the L-led and On-led light up when I contract my muscle. However, when I use the analogRead and check the results using pyserial.readline(), I hardly see any significant jump beyond noise.
This is where I'm having an issue. How can there be enough signal coming from the EMG board to light up the Arduino UNO's LEDs, but the UNO not read it as a significant jump in signal?
I've also attached the files I'm using, but I don't know if it'd be helpful. Overall, any help would be greatly appreciated! Thank you so much!
cloudlife:
So I'm using the Advancer EMG board which is powered by two 9 volt batteries. When the arduino uno itself (not connected to a computer or power source) is connected to the EMG board via the Gnd pin and Analog In pin, the L-led and On-led light up when I contract my muscle. However, when I use the analogRead and check the results using pyserial.readline(), I hardly see any significant jump beyond noise.
What do you think makes the Arduino work, without connection to a power source? The Analog In pin will draw current from the EMG board, tying the signal almost to Gnd
@LarryD Actually the pins are properly set as an analogInput: pinMode(analogInput*, INPUT);* @DrDiettrich Yes, of course I realize the board is pulling current from the EMG board. It's for that very reason I know the EMG board is actually working, because it's providing more power/signal whenever I contract my muscle. The issue is why does reading the analog pin that receiving this much power (enough to light up the LEDs) not register significantly above background noise from the other pins. @siutoejai The battery is connected properly + to +V, battery - connected to other batteries +, and the other batteries - connected to -V as according to the wiring diagram. The EMG board is functioning as told to us by the LEDs on the arduino modulating according to muscle tension. @Paulcet LEDs light up because electricity goes through them, not just because the program tells it to do so. Such a mysterious problem......
@LarryD@siutoejai The example code is essentially looking at all six analog pins. One will have the actual signal, and the rest I guess is to measure background.