Brain Controlled Wheelchair with TI Eval module > Arduino Uno > PC
Hey Guys,
Me and my friends are working on a project for highschool, we wanted to make a prototype brain controlled wheel chair
since your Open BCI isn't available here we had to go with the TI eval module. we wanted to use the same technique
in spite of reading quite a lot, we haven't got far on the stps and things we need to do to get this done
I intend to use the arduino to interface with the ADS1299 and Motor Driver IC,
we're using 12v DC motors, and some passive electrodes from a local supplier.
we're stuck on
>what code to upload to the arduino and which pins to connect ( will i need a voltage divider ?)
>what software to run on the PC ? can we use matlab ? which is the least complex (a gui would be nice to show teachers the raw input )?
>how to use FFT as demonstrated by chip and send the command back to arduino to turn on one or both the motors (left right or straight)
>configuring the ADS with the arduino setting bias and reference electrodes ill be using a maximum of 4 or 5 electrodes.
>electrodes double ending or single ending and how??
i would love fast answers cos we need to put this together before saturday morning gmt+5:30
Thanks in advance !!
Comments
Also what software do I need to run on my PC ?
> what software to run on the PC ? can we use matlab ?
Why not just modify Chip's Processing code, which includes the GUI?
https://github.com/chipaudette/OpenBCI/tree/variant_hexBugControl_visualEntrainment/Processing_GUI/OpenBCI_GUI
If your Arduino sends out packets in OpenBCI format, all of the other OpenBCI compatible apps should work, such as neuromore, etc.
Have you looked over all the other TI Eval board tips in Other Platforms?
Regards,
yes I have seen and tried to make sense of all other discussions here, I still seem to be lost, what about the pin connections ? Is there any document which explains that? And as for chips code what would I have to change to make it work ?
Thank you
re: adding robot commands. Here you will need to invent some serial port commands that control your motors. Look over the OpenBCI commands and pick some unused bytes to do that. Then in the command parser in the arduino, do your motor control when you see those commands.
Alternately, use a SECOND arduino (separate from the EEG arduino) on a SECOND serial port to control your motors. Microvolt EEG signals and noisy motor control signals may interfere with each other. This would also be possibly easier to code, since you don't have to integrate your motor commands and timing into the OpenBCI firmware.
Not sure how it could work unless it was supplied with a serial data stream that matches OpenBCI.
You may want to use a 3.3 v based microcontroller to avoid all the level shifting. chipKIT makes dev boards,
https://www.adafruit.com/products/949
For your initial testing it sounds like you are using the complete TI Eval kit, which includes a motherboard and the ADS1299 "shield". If you look at the other Eval Kit tips in the Other Platforms Category, everyone ditches the motherboard since it is closed source and undocumented. Instead they just wire up the SPI bus on the "shield" to their Arduino microcontroller.
So if I set up a separate power supply for the ADS daughter card and give the pin connections as mentioned above with a level shifter and flash chips code to my arduino uno it should work straightaway?
http://www.amazon.com/HifimeDIY-Isolator-ADUM4160-signal-isolation/dp/B00F4SCCR2
Adafruit has a model also,
https://www.adafruit.com/products/2107
These are all based on the Analog Devices part,
http://www.analog.com/en/products/interface-isolation/isolation/usb-isolators.html