470 likes | 583 Views
EPOCalypse Mind Controlled Car. Group 21 Kathryn Morales Mike Strobridge Chris Perez Lee Sully. Basic Overview. Objectives. To be able to control an RC car using only the mind.
E N D
EPOCalypse Mind Controlled Car Group 21 Kathryn Morales Mike Strobridge Chris Perez Lee Sully
Objectives • To be able to control an RC car using only the mind. • When certain brain waves or facial expressions are detected, the software will interpret them into separate vehicle operations • Depending on what signal is detected the vehicle will go forward, left, right, or stop
Requirements/Specifications • Headset: sampling rate of > 100 Hz, Resolution of 16 bits, Dynamic range > 250 mVpp • Emotiv Software: 2.4GHz processor, 1GB RAM, 50 MB disk space. • RC car: Arange of at least 20ft, with full range of motion.
EMOTIV EPOC Neuro-Headset
Emotiv EPOC Headset • 14 channels with 7 paired sensors • Sampling rate of 128 Hz • 16 bit resolution • 0.2 – 45 Hz bandwidth • Dynamic Range 256 mVpp
Emotiv Suites • Emotiv’s 3 suites • Cognitiv- registers and interprets users conscious thoughts • Expressiv- uses the signals measured to interpret users facial expressions • Affectiv- monitors user’s emotional states • All suites reflect real time measurements • Controlling forward motion of the car through the Cognitiv suite by training the mind to manipulate a 3D cube. Location of sensors on scalp
Emotiv Headset Training/Testing Expressiv Suite Testing; Detects range of facial expressions We will be using the left wink and right wink detection for left and right turning. • Cognitiv Suite Training; • Methods tried • Thinking in a different language • Reaction to modest pain (oceans 11 tec.) • Focusing on/past an object • Immediate local temperature change
Intel DH61AG Mini Motherboard • Decided on DH61AG • Because of price meets minimum requirements. • Using Intel Core i3 sandy bridge processor running at 2.5 Ghz. • System Memory of 1 GB. Integrated Intel HD graphics as a bonus. • 160 GB laptop hard drive added. Mini- ITX (17 X 17 cm)
EPOC Software • We decided to write the EPOC software using C++ • There are many examples of code already written in C++ • No prior experience in C++, so wanted a challenge.
Final Command String • Expressive • “WL” = Turn Wheels Left • “WR” = Turn Wheels Right • “GS” = Go Straight • “SW” = Straighten Wheels • Cognitive • “Neutral” = Stop • “Push” = Move Forward • “Pull” = Move Backwards • -Final commandstringwill be a concatenation between one of the expressive commands and one of the cognitive commands. • - The first two characters of the final string will be the expressive command and the remainder of the string will be the cognitive command. • - Ex: • WLPush
Emotiv Software Testing: Expressive Commands
Emotiv Software Testing: Expressive Commands
Emotiv Software Testing: Expressive Commands
Emotiv Software Testing: Cognitive Commands
Emotiv Software Testing: Cognitive Commands
Emotiv Software Testing: Cognitive Commands
Emotiv Software Testing: Final Command String
Development Environments Arduino 1.0.3 Digi XCT-U Microsoft Visual Studio 2010
Basic Car Layout Transmitter on motherboard Receiver on PCB Atmega328p-pu DC SteeringMotor DC Drive Motor
New Bright Ford F-150 • 3 lbs • $26.00 • Ideal size for use. • Atmega 328p-pu microcontroller with 28 pins and a 5V operating voltage. 9.8 inches 9.3 inches 17.7 inches 1.36in .28in
The PCB • L298 dual full bridge driver. • LM 7805 Voltage Regulators • Directional LEDs, capacitors (.1uF, 22uF, 22pF), resistors (2.2kohm & 47kohm), and female pin headers • 1N4004 Fly Back diodes (circled)added to avoid damage to the circuitry connected to the inductive load of the motors.
L298N H-Bridge • Able to control two motors at the same time with a 5V operating voltage • When Enable A is activated it turns on the drive motor • When Enable B is activated it turns on the turn motor H-Bridge L298N .069 in .344in .157in
Transmitting and Receiving Data • 2 Xbee modules communicate between the motherboard and the vehicle • 1 Xbee connected to an Xbee Explorer dongle, then connected to the motherboard • 1 Xbee connected to an Xbee Explorer Regulated, then connected to the PCB • Range of 100 ft indoors/300 ft outdoor. • Operating frequency at 2.4 GHz
Power • Car: 6 volts, via four AA batteries, to power everything on the vehicle. • Motherboard: 90W 19V Laptop power source. • Headset: Lithium polymer rechargeable battery with 12 hr life.
Difficulties Overcome • Analysis and encoding of raw EEG data. • Maintaining left and right directional signals from left and right blinking. • Transmitting and receiving data from DH61AG motherboard to the onboard PCB. • Not funded.