Magic In VR That Depends On Your Actual State Of Mind

[Cangar]’s excitement is palpable in his release of a working brain-computer interface (BCI) mod for Skyrim VR, in which the magic system in the game is modified so that spell effectiveness is significantly boosted when the player is in a focused mental state. [Cangar] isn’t just messing around, either. He’s a neuroscientist whose research focuses on assessing mental states during task performance. Luckily for us, he’s also an enthusiastic VR gamer, and this project of his has several interesting aspects that he’s happy to show off in a couple of videos.

User wearing VR headset
The Muse 2 fits under the VR headset easily.

It all starts with the player wearing a Muse 2 meditation device; a type of passive, off-the-shelf electroencephalography (EEG) unit aimed primarily at guiding a user towards better relaxation and focus. [Cangar] reads data using the Brainflow library and processes it into a final value on a scale between “not focused” and “focused”. [Cangar] makes a point of explaining that his system ultimately has the goal of modeling the player’s state of mind, which is different from modeling just the brain activity. As such, motion data is considered as well, and holding still confers a small bonus to the process.

How is this data actually used in the game? In VR, this “focus” value is shown as a small bar on the player’s wrist, and spell effectiveness (for example, damage for attack spells) scales along with the size of the bar. When the bar is full a player would be very powerful, with spells doing double damage. If the bar is empty, spells will do little to no damage.

[Cangar] demonstrates the mod in two videos (both embedded below), but you won’t see him blasting enemies with fireballs. Presumably, VR gamers already know what that looks like, so what he does instead is explain how the system looks and works (first video, cued to 4:12), and in the second, he video demonstrates how the focus meter changes depending on his activity and mental state.

The results look exciting, and the potential uses of a system like this are pretty interesting to think about. Taking a few deep breaths and calming one’s body and mind before launching a magical attack will have a tangible effect in the world, and because things rarely go according to plan, there is also a clear survival benefit to learning to focus while under pressure. But if a brain monitor isn’t your cup of tea, maybe consider a leisurely bike ride through Skyrim, instead.

Continue reading “Magic In VR That Depends On Your Actual State Of Mind”

DodowDIY Is A Homebrew Sleep Aid

The Dodow is a consumer device that aims to help users sleep, through biofeedback. The idea is to synchronise one’s breathing with the gentle rhythm of the device’s blue LEDs, which helps slow the heartrate and enables the user to more easily drift off to sleep. Noting that the device is essentially a breathing LED and little more, [Daniel Shiffman] set about building his own from scratch.

An ATTiny85 runs the show; no high-powered microcontrollers are necessary here. It’s hooked up to three 5mm blue LEDs, which are slowly ramped up and down to create a smooth, attractive breathing animation. The LEDs are directed upward so that their glow can be seen on the ceiling, allowing the user to lay on their back when getting ready for sleep. It’s all wrapped up in a 3D printed enclosure that is easily modifiable to suit a variety of battery solutions; [Daniel] chose the DL123A for its convenient voltage and battery life in this case. The design is available on Thingiverse for those looking to spin their own.

It’s a neat example of where DIY can really shine – reproducing a somewhat-expensive gadget that is overpriced for its fundamental simplicity. Now when it comes to waking up again, consider building yourself a nifty smart alarm clock.

Hackaday Prize Entry: Stroke Rehabilitation Through Biofeedback

Students at Purdue University’s Weldon School of Biomedical Engineering created ExoMIND, an Arduino-powered glove that helps a stroke victim recover by tracking the range of motion the patient experiences.

A set of 7 accelerometers in the fingers, wrist, and forearm track the range of movements the patient is experiencing with that hand. An accelerometer on the back of the hand serving as a reference. Meanwhile, an EMG sensor working with a conductive fabric sleeve to measure muscle activity. The user follows a series of instructions dished out by an interactive software program, allowing the system to test out the patient’s range of motion at the beginning of the regime as well as to record whether any improvement was noted at the end. The data is used by a physical therapist to personalize the treatment plan. The interactive program also raises the possibility of patients self-directing their exercises with the ExoMIND telling them how to adjust their motion to get the most out of the experience.

Produced as part of the university’s MIND Biomedical Engineering Club, the ExoMIND prototype was designed by three interdisciplinary teams focusing on electronics, materials, and programming, respectively.

Continue reading “Hackaday Prize Entry: Stroke Rehabilitation Through Biofeedback”

Arduino Detects Pants On Fire

Hard as it is to imagine, lie detectors have been sold as children’s toys for a number of years. A simple battery-operated device clipped to your fingers and would show the conductivity of your skin. The concept — which is probably not very reliable — observers that lying causes you to imperceptibly sweat which causes a sudden increase in your skin’s conductivity. These cheap toys would have a meter and you’d note the meter deflection to determine if the subject was lying.

You can debate the amusement value of interrogating your friends, perhaps, but they were pretty common and still exist (including some that shock you if they detect you are lying). Seventeen-year-old [BuildIt] has his own modern take on this classic device using — what else? — an Arduino. You can see a video of the device below.

Continue reading “Arduino Detects Pants On Fire”

Hacklet 105 – More Mind And Brain Hacks

A mind is a terrible thing to waste – but an awesome thing to hack. We last visited brain hacks back in July of 2015. Things happen fast on Hackaday.io. Miss a couple of days, and you’ll miss a bunch of great new projects, including some awesome new biotech hacks. This week, we’re checking out some of the best new mind and brain hacks on Hackaday.io

We start with [Daniel Felipe Valencia V] and Brainmotic. Brainmotic is [Daniel’s] entry in the 2016 Hackaday Prize. Smart homes and the Internet of Things are huge buzzwords these days. [Daniel’s] project aims to meld this technology with electroencephalogram (EEG). Your mind will be able to control your home. This would be great for anyone, but it’s especially important for the handicapped. Brainmotic’s interface is using the open hardware OpenBCI as the brain interface. [Daniel’s] software and hardware will create a bridge between this interface and the user’s home.

 

biofeed1Next we have [Angeliki Beyko] with Serial / Wireless Brainwave Biofeedback. EEG used to be very expensive to implement. Things have gotten cheap enough that we now have brain controlled toys on the market. [Angeliki] is hacking these toys into useful biofeedback tools. These tools can be used to visualize, and even control the user’s state of mind. [Angeliki’s] weapon of choice is the MindFlex series of toys. With the help of a PunchThrouch LightBlue Bean she was able to get the EEG headsets talking on Bluetooth. A bit of fancy software on the PC side allows the brainwave signals relieved by the MindFlex to be interpreted as simple graphs. [Angeliki] even went on to create a Mind-Controlled Robotic Xylophone based on this project.

brainhelmetNext is [Stuart Longland] who hopes to protect brains with Improved Helmets. Traumatic Brain Injury (TBI) is in the spotlight of medical technology these days. As bad as it may be, TBI is just one of several types of head and neck injuries one may sustain when in a bicycle or motorcycle accident. Technology exists to reduce injury, and is included with some new helmets. Many of these technologies, such as MIPS, are patented. [Stuart] is working to create a more accurate model of the head within the helmet, and the brain within the skull. From this data he intends to create a license free protection system which can be used with new helmets as well as retrofitted to existing hardware.

mindwaveFinally we have [Tom Meehan], whose entry in the 2016 Hackaday Prize is Train Your Brain with Neurofeedback. [Tom] is hoping to improve quality of life for people suffering from Epilepsy, Autism, ADHD, and other conditions with the use of neurofeedback. Like [Angeliki ] up above, [Tom] is hacking hardware from NeuroSky. In this case it’s the MindWave headset. [Tom’s] current goal is to pull data from the TAGM1 board inside the MindWave. Once he obtains EEG data, a Java application running on the PC side will allow him to display users EEG information. This is a brand new project with updates coming quickly – so it’s definitely one to watch!

If you want more mind hacking goodness, check out our freshly updated brain hacking project list! Did I miss your project? Don’t be shy, just drop me a message on Hackaday.io. That’s it for this week’s Hacklet, As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

Hacklet 56 – Brain Hacks

The brain is the most powerful – and least understood computer known to man. For these very reasons, working with the mind has long been an attraction for hackers, makers, and engineers. Everything from EEG to magnetic stimulus to actual implants have found their way into projects. This week’s Hacklet is about some of the best brain hacks on Hackaday.io!

teensy-bio[Paul Stoffregen], father of the Teensy, is hard at work on Biopotential Signal Library, his entry in the 2015 Hackaday Prize. [Paul] isn’t just hacking his own mind, he’s creating a library and reference design using the Teensy 3.1. This library will allow anyone to read electroencephalogram (EEG) signals without having to worry about line noise filtering, signal processing, and all the other details that make recording EEG signals hard. [Paul] is making this happen by having the Teensy’s cortex M4 processor perform interrupt driven acquisition and filtering in the background. This leaves the user’s Arduino sketch free to actually work with the data, rather than acquiring it. The initial hardware design will collect data from TI ADS129x chips, which are 24 bit ADCs with 4 or 8 simultaneous channels. [Paul] plans to add more chips to the library in the future.

 

bioxNext up is [Jae Choi] with Lucid Dream Communication Link. [Jae] hopes to create a link between the dream world and the real world. To do this, they are utilizing BioEXG, a device [Jae] designed to collect several types of biological signals. Data enters the system through several active probes. These probes use common pogo pins to make contact with the wearer’s skin. [Jae] says the active probes were able to read EEG signals even through their thick hair! Communication between dreams and the real world will be accomplished with eye movements. We haven’t heard from [Jae] in awhile – so we hope they aren’t caught in limbo!

bioloop[Qquuiinn] is working from a different angle to build bioloop, their entry in the 2015 Hackaday Prize. Rather than using EEG signals, [Qquuiinn] is going with Galvanic Skin Response (GSR). GSR is easy to measure compared to EEG signals. [Qquuiinn] is using an Arduino Pro Mini to perform all their signal acquisition and processing. This biofeedback signal has been used for decades by devices like polygraph “lie detector” machines. GSR values change as the sweat glands become active. It provides a window into a person’s psychological or physiological stress levels. [Qquuiinn] hopes bioloop will be useful both to individuals and to mental health professionals.

biomonitorFinally we have [Marcin Byczuk] with Biomonitor. Biomonitor can read both EEG and electrocardiogram (EKG) signals. Unlike the other projects on today’s Hacklet, Biomonitor is wireless. It uses a Bluetooth radio to transmit data to a nearby PC or smartphone. The main processor in Biomonitor is an 8 bit ATmega8L. Since the 8L isn’t up to a lot of signal processing, [Marcin] does much of his filtering the old fashioned way – in hardware. Carefully designed op-amp based active filters provide more than enough performance when measuring these types of signals. Biomonitor has already found it’s way into academia, being used in both the PalCom project, and brain-computer interface research.

If you want more brain hacking goodness, check out our brain hacking project list! Did I miss your project? Don’t be shy, just drop me a message on Hackaday.io. That’s it for this week’s Hacklet, As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

Arduino Based Biofeedback Unit

[Michael Gerstenmayer] has been very successful in developing a biofeedback system. He’s based the build around an Arduino and started adding different chunks to the project to develop a full-featured unit. It can take your temperature (with an IR sensor…. not the hard way), measure your galvanic skin response (conductance), and produce feedback based on this data. Interestingly enough, he built a peripheral vision feedback system based on the glasses frames seen above. They have an LED on each side which are illuminated based on the sensor data.

By using the Arduino’s USB connection the data can also be processed by a PC. [Michael] spent some time working with an open source program called BrainBay to gather and map the stream from the sensors.

We enjoyed reading about the build, but there’s no information about what he’s got planned for this project. That shouldn’t stop you from setting up your own rig and using it as a lie detector, or for the devilish purposes we’ve seen in the past.