orgicus / Mindwave

Mindwave Mobile EEG headset basic parser
24 stars 7 forks source link

No Attention and Meditation values on serial monitoring #4

Open Hesham913 opened 4 years ago

Hesham913 commented 4 years ago

problem.pdf Hi I have a problem and I want a help I have a device "NeuroSky Mindwave Mobile 2" and I connected the bluetooth HC-05 with the Arduino Nano board and I paired the device with bluetooth, then I downloaded the library "mindwave" from GitHub website ( https://github.com/orgicus/Mindwave ) and copied to Arduino library software and I opened the example "Serial" from the Arduino IDE and then I uploaded it to Arduino Nano board , after that I turned on the device and wore it and opened the serial monitoring to see the value of eSense Meters (Attention and Meditation), but the values was zeros. The same problem from example "EEG", there is no values for Beta.

But when I pair the device with the Android application "Brainwave Visualizer" , it gives Attention and Meditation values

Please help me

orgicus commented 4 years ago

Hi @Hesham913 Apologies for the (very) late reply: totally went off my radar.

I've never tried the NeuroSky Mindwave Mobile 2 (only had access to Mobile 1) and I haven't used the HC-05 module (though it should support the Bluetooth Serial Protocol Profile) I see this note on the site:

*Some older apps may no longer be supported.

I couldn't easily access the communication protocol for this device. Would you be able to contact them to ask if the Bluetooth Serial communication protocol is the same as with Mindwave Mobile 1 (if not where can we find the communication protocol details for Mindwave Mobile 2) ?

It would be great if you could run a few tests just in case the old protocol still works:

  1. double check the HC-05 baud rate is set to 57600
  2. Try testing the AltSoftSerial example and be mindful of the pins. The point of this test is to see anything comes back (especially lastUpdate())
  3. Try a simpler AltSoftSerial example to double check the HC-05 module receives bytes. Would you be able to tweak this example to receive data from the HC-05 and output to Serial so you can check data on your computer ?

HTH, George