SlideShare a Scribd company logo
1 of 33
iOS + Neuroscience
Brain-iPhone interfaces
Imagine
• Cocoa
• Cocoa Touch
• Cocoa Thought
Biology
Connectome
Open Worm Project
Neurointerfaces
Backyard Brain
Roboroach video
Transcranial direct current stimulation
Foc.Us
• Enhance language and mathematical
ability, attention span, problem
solving, memory, and coordination.
• accepted maximum 2 mA, usually 1
mA or less
• stimulation time - 20 minutes
• 10 minutes - effects lasting for up to
an hour.
• 48 hours to a week before repeating
the stimulation.
• Studies indicates SAFETY in a SINGLE
session.
• No studies about long-term safety of
repeated sessions of stimulation.
Foc.Us API
- (void)peripheralDidWriteChracteristic:(CBCharacteristic *)characteristic
withPeripheral:(CBPeripheral *)peripheral
withError:(NSError *)error;
- (void)peripheralDidReadChracteristic:(CBCharacteristic *)characteristic
withPeripheral:(CBPeripheral *)peripheral
withError:(NSError *)error;
- (void)hardwareDidNotifyBehaviourOnCharacteristic:(CBCharacteristic *)characteristic
withPeripheral:(CBPeripheral *)peripheral
error:(NSError *)error;
http://www.foc.us/bluetooth
https://github.com/FocusBluetooth/focus-bluetooth-ios/blob/master/C
Foc.Us
Electroencephalography
δ <4 Gz
slow-wave sleep,
some continuous-attention tasks
θ 4-7 Gz drowsiness,
idling,
inhibition of elicited responses
α 7-14 Gz
relaxed/reflecting,
closing the eyes
β 15-30 Gz
active thinking, focus,
hi alert, anxious
γ 30-100 Gz cross-modal sensory processing,
short-term memory matching of
recognized objects, sounds, or tactile
sensations
μ 8-13 Gz
Shows rest-state motor neurons,
mirror neurons activity(?)
σ 10-16 Gz
Stage N2 sleep (consciousness
shutdown)
MindWave Mobile by NeuroSky
2 mind states:
- Attention (0 – 100).
- Meditation (0 – 100).
• Blinking and it’s “power”.
- Contact with skin.
- Signal quality.
1 electrode
$99.95
API
- (void)dataReceived:(NSDictionary *)data {
if([data valueForKey:@"blinkStrength"])
if([data valueForKey:@"raw"]) {
if([data valueForKey:@"heartRate"])
if([data valueForKey:@"poorSignal"]) {
if([data valueForKey:@"respiration"]) {
if([data valueForKey:@"heartRateAverage"]) {
if([data valueForKey:@"heartRateAcceleration"]) {
if([data valueForKey:@"rawCount"]) {
if([data valueForKey:@"eSenseAttention"]){
eSenseValues.attention = [[data valueForKey:@"eSenseAttention"] intValue];
eSenseValues.meditation = [[data valueForKey:@"eSenseMeditation"] intValue];
eegValues.delta = [[data valueForKey:@"eegDelta"] intValue];
eegValues.theta = [[data valueForKey:@"eegTheta"] intValue];
eegValues.lowAlpha = [[data valueForKey:@"eegLowAlpha"] intValue];
eegValues.highAlpha = [[data valueForKey:@"eegHighAlpha"] intValue];
eegValues.lowBeta = [[data valueForKey:@"eegLowBeta"] intValue];
eegValues.highBeta = [[data valueForKey:@"eegHighBeta"] intValue];
eegValues.lowGamma = [[data valueForKey:@"eegLowGamma"] intValue];
eegValues.highGamma = [[data valueForKey:@"eegHighGamma"] intValue];
Reverse-engineering
Tools:
• lipo
• otool
• Hopper Disassembler
• MachOView
Results:
• Spline interpolation
• Spectral density
estimation
• Fast Fourier transform
• …
Appl
icati
ons
https://github.com/orbotix/Sphero-iOS-SDK
https://github.com/MariaStoica/MindSphero
+
BrainOSC
Converts data from ThinkGear's MindWave to
OSC data
AdFence
Mood and proximity based advertising using the
MindWave headset by NeuroSky and the
Qualcomm Gimbal Proximity chip.
Melon
3 electrodes on the
forehead.
Detects focus and
meditation.
Detects sleep phases.
$149.
Uses NeuroSky’s chip.
SDK will be available in
summer.
Muse by InteraXon
Muse
6 dry sensors
$ 299
Sleep, calmness,
attention.
Has an iOS app.
Native library will be
available “soon”.
Right now: console,
sockets, protobuf.
Emotive EPOC
Emotive Insight
iOS SDK will be in summer.
C++, really ?
$ 229
API
struct emokit_contact_quality {//values > 4000 are good
short F3, FC6, P7, T8, F7, F8, T7, P8, AF4, F4, AF3, O2, O1, FC5;
};
struct emokit_frame {
unsigned char counter; //loops from 0 to 128 (129 values)
int F3, FC6, P7, T8, F7, F8, T7, P8, AF4, F4, AF3, O2, O1, FC5; //raw data values
struct emokit_contact_quality cq;
char gyroX, gyroY;
unsigned char battery; //percentage of full charge, read on counter=128
};
API
Insight video
Emotive Insight
https://sites.google.com/a/emotiv.
com/wiki/documentation
Additional Resources
http://www.openbci.com/ - opensource BCI
http://personalneuro.com/about.htm - neuro
apps development
http://neurogadget.com/ - blog
http://www.neurogamingconf.com/ -
conference 2014
http://en.wikipedia.org/wiki/Brain
%E2%80%93computer_interface
http://neuroscience.uth.tmc.edu/toc.htm
Additional Resources
http://wsyachina.narod.ru/biology/brain_17.ht
ml
http://wsyachina.narod.ru/medicine/drug_depe
ndence.html
https://eyewire.org/signup
Thanks for your
[[data valueForKey:@"eSenseAttention"]
intValue]

More Related Content

Similar to iOS + Neuroscience : Braine-iPhone interfaces

Practical unit testing 2014
Practical unit testing 2014Practical unit testing 2014
Practical unit testing 2014
Andrew Fray
 

Similar to iOS + Neuroscience : Braine-iPhone interfaces (20)

HotSpotコトハジメ
HotSpotコトハジメHotSpotコトハジメ
HotSpotコトハジメ
 
高い並列性能と耐障害性を持つElixirとNervesでIoTの新しいカタチを切り拓く
高い並列性能と耐障害性を持つElixirとNervesでIoTの新しいカタチを切り拓く高い並列性能と耐障害性を持つElixirとNervesでIoTの新しいカタチを切り拓く
高い並列性能と耐障害性を持つElixirとNervesでIoTの新しいカタチを切り拓く
 
RSROC 2015 - AutoHotKey
RSROC 2015 - AutoHotKeyRSROC 2015 - AutoHotKey
RSROC 2015 - AutoHotKey
 
System insight without Interference
System insight without InterferenceSystem insight without Interference
System insight without Interference
 
Fast as C: How to Write Really Terrible Java
Fast as C: How to Write Really Terrible JavaFast as C: How to Write Really Terrible Java
Fast as C: How to Write Really Terrible Java
 
CBDW2014 - MockBox, get ready to mock your socks off!
CBDW2014 - MockBox, get ready to mock your socks off!CBDW2014 - MockBox, get ready to mock your socks off!
CBDW2014 - MockBox, get ready to mock your socks off!
 
Cryptography 101 for Java developers
Cryptography 101 for Java developersCryptography 101 for Java developers
Cryptography 101 for Java developers
 
ITT 2014 - Erik Hellmann - Android Programming - Smarter and Better Networking
ITT 2014 - Erik Hellmann - Android Programming - Smarter and Better NetworkingITT 2014 - Erik Hellmann - Android Programming - Smarter and Better Networking
ITT 2014 - Erik Hellmann - Android Programming - Smarter and Better Networking
 
Why you should be using the shiny new C# 6.0 features now!
Why you should be using the shiny new C# 6.0 features now!Why you should be using the shiny new C# 6.0 features now!
Why you should be using the shiny new C# 6.0 features now!
 
Static Code Analysis PHP[tek] 2023
Static Code Analysis PHP[tek] 2023Static Code Analysis PHP[tek] 2023
Static Code Analysis PHP[tek] 2023
 
Practical unit testing 2014
Practical unit testing 2014Practical unit testing 2014
Practical unit testing 2014
 
Caching reboot: javax.cache & Ehcache 3
Caching reboot: javax.cache & Ehcache 3Caching reboot: javax.cache & Ehcache 3
Caching reboot: javax.cache & Ehcache 3
 
Secure Coding For Java - Une introduction
Secure Coding For Java - Une introductionSecure Coding For Java - Une introduction
Secure Coding For Java - Une introduction
 
A new execution model for Nashorn in Java 9
A new execution model for Nashorn in Java 9A new execution model for Nashorn in Java 9
A new execution model for Nashorn in Java 9
 
Wait, IPython can do that?
Wait, IPython can do that?Wait, IPython can do that?
Wait, IPython can do that?
 
Revoke-Obfuscation
Revoke-ObfuscationRevoke-Obfuscation
Revoke-Obfuscation
 
Measuring Your Code
Measuring Your CodeMeasuring Your Code
Measuring Your Code
 
Measuring Your Code 2.0
Measuring Your Code 2.0Measuring Your Code 2.0
Measuring Your Code 2.0
 
Refactoring @ Mindvalley: Smells, Techniques and Patterns
Refactoring @ Mindvalley: Smells, Techniques and PatternsRefactoring @ Mindvalley: Smells, Techniques and Patterns
Refactoring @ Mindvalley: Smells, Techniques and Patterns
 
Declarative UI on iOS without SwiftUI (中文)
Declarative UI on iOS without SwiftUI (中文)Declarative UI on iOS without SwiftUI (中文)
Declarative UI on iOS without SwiftUI (中文)
 

Recently uploaded

The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 

Recently uploaded (20)

Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 

iOS + Neuroscience : Braine-iPhone interfaces