Some of the files/instructions used in the video E-textile mesuaring EMG.
- Arduino Uno.
- MOD-BT (Bluetooth).
- Shield EKG-EMG.
###For connecting the Bluetooth as a serial port
- Open a terminal and write
sudo nano /etc/bluetooth/rfcomm.conf
. - Add this lines to the file, replacing
xx:xx:xx:xx:xx:xx
with the MAC address of the bluetooth device.
rfcomm0 {
bind no;
device xx:xx:xx:xx:xx:xx;
channel 1;
comment "BluEMG Serial Port";
}
- The device specified in the mac will be know as
device 0
and binded torfcomm0
that can be opened as a normal serial port. - Pair the bluetooth device with the computer.
- Before using the serial port, the connection must be made:
sudo rfcomm connect 0
- Open RTGraph (modified as needed) to display the data stream as a plot.