Introduction: Internet of Brain (IoT)
You might have seen about internet of things or internet of useless things etc etc...
Now hereby create an new class of technology called as internet of brains.
its my starting step of uploading my mind to internet.~~transcendence~~
this is my first step towards transcendance..
Step 1: What Is Brain? How We Hack the Data?
Now lets start telling about the basics of the brain and how we hack it to internet:
There are two parameter you need to know one is Brain which is the main part of our body which sends electrical impulse to the parts of the body via nerves..
These signals are called as synapse.. so we use sensors/electrodes to decode those electrical activity over the brain and send it to the device we are going to work called as Electroencephalography
Now i am going to copy paste the wikepedia stuff. you can have a quick read..
The human brain has the same general structure as the brains of other mammals, but has a more developed cerebral cortex than any other. Large animals such as whales and elephants have larger brains in absolute terms, but when measured using the encephalization quotient, which compensates for body size, the human brain is almost twice as large as the brain of the bottlenose dolphin, and three times as large as the brain of a chimpanzee. Much of the expansion comes from the cerebral cortex, especially the frontal lobes, which are associated with executive functions such as self-control, planning, reasoning, and abstract thought. The portion of the cerebral cortex devoted to vision, the visual cortex, is also greatly enlarged in humans.
Electroencephalography (EEG) is the recording of electrical activity along the scalp. EEG measures voltage fluctuations resulting from ionic current flows within the neurons of the brain.
In clinical contexts, EEG refers to the recording of the brain's spontaneous electrical activity over a short period of time, usually 20–40 minutes, as recorded from multiple electrodes placed on the scalp. Diagnostic applications generally focus on the spectral content of EEG, that is, the type of neural oscillations that can be observed in EEG signals.
Step 2: What Is Arduino?
What is arduino mega??
its is simply the computer brain of the project, it takes control of all the data flow and logical operations taking place.
The Arduino Mega is a microcontroller board based on the ATmega1280 (datasheet). It has 54 digital input/output pins (of which 14 can be used as PWM outputs), 16 analog inputs, 4 UARTs (hardware serial ports), a 16 MHz
crystal oscillator, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started. The Mega is compatible with most shields designed for the Arduino Duemilanove or Diecimila.
Step 3: EEG Sensor
here is am going to explain the sensor use to record the signal from our mind.
To understand the MindWave and MindWave Mobile, we must first understand what an EEG sensor is. The first recording of the human brain’s electric field was made by Hans Berger, a German psychiatrist, in 1924. Berger gave the recording the name electroencephalogram (EEG). Put simply, the EEG is performed by placing electrodes all over the subject’s scalp, and then reading in the electrical signals for analysis. Fast forward to today, and you have all of this technology packed into a compact form factor that is the MindWave. which sends all the eeg by bluetooth.
The amplitude of the EEG is ~ 100 µV when measured on the scalp, and
about 1-2 mV when measured on the surface of the brain. The bandwidth of this signal is from under 1 Hz to about 50 Hz.
Step 4: Bluetooth Interface
Now as you know that the mindwave has the eeg sensor which is connected by means of a bluetooth.
now we need an bluetooth module to connect that to our edison and decode the data to make it usefull.
Here is used RN42 bluetooth its ttl module and it can be configured as master
and i m connecting it directly to the arduino tx rx module.
its 5v module so no need of the level converter..
Step 5: Software Developement
Actually i taught of using the intel edison for the cloud push.
but it has some issue with serial so unable to interface is directly.
so i used my arduino mega and used my laptop as push mechnism to cloud
i used python code to get serial data and split it and push to thingspeak server
and arduino code to send data serially.
Step 6: Thingspeak Cloud Management
It is an freee cloud iot tool. here you can push the data and send the data to the cloud which will create a json on its backend and plots the graph based on it.
and only disadvantage is it can get data only after 15s. thats a bit slow