All posts tagged as node.js


iQ Prototype

We have successfully managed to communicate to the Phillips Hue lightbulb with the Mindwave headset. By using nothing but our brain waves we can turn our lights on or off. Once the user’s attention reaches a certain value, the light will turn on and stay on. To turn the light bulb off, simply do the same by meditating.

Although this may seem simple, the ability to use our very own brainwaves to manipulate the light is a major breakthrough towards our final goals with the project. As of today we will only be demonstrating the proprietary eSense meters. We will be streaming our attention and meditation values directly controlling the hue api using Cylon.js. In the future, we will be expanding our research to control the Hue and Luminosity of the bulb, visually representing our mental state in vibrant color.

  But How?

When we first started we ran into a problem with the operating system. Windows was incompatible with the software so we switched over to Ubuntu Linux.Cylon is a JavaScript framework for robotics and physical computing. It runs inside of Node.js which is a platform built on Chrome’s JavaScript runtime for easily building fast apps. The headset transfers values to our Linux laptop via Bluetooth into Cylon.js to the Phillips bridge via WiFi router to the hue bulb.

Future plans include changing the colour of the light based on brain waves and making it all work on a raspberry pi.

William Meshchery background image