wiki:HowToUseBrainstormsSoftware

Version 24 (modified by sc, 12 years ago) (diff)

--

How To Use Puzzlebox Brainstorms Software

Description

Puzzlebox Brainstorms software is undergoing rapid development, including more convenient packaging and reduce hardware and software requirements. This document will be updated periodically to reflect advances in development a packaging.

The current version of Puzzlebox Brainstorms software uses an Emotiv EPOC EEG headset running software on a Windows PC to send control commands over wireless network connection (either Wifi or mobile data) to a Nokia n900 mobile handset running Linux, which in turn speaks to a LEGO Mindstorms NXT robot over Bluetooth. This configuration allows the camera on the n900 to be used to remotely view a live stream from the robot's perspective while the user tele-operates remotely.

The Nokia n900 / Maemo 5 software portion should be possible to run on any Linux PC which supports Bluetooth. With minor modification it should be possible to run entirely on the Windows PC as well, and this is a future target for development, along with removing the need for the "EmoKey" software program.

Alternatively, the "Remote Control" GUI software can be run entirely on a Nokia n900, allowing control of the robot without an EEG headset.

Equipment

Hardware

Software (Windows PC)

Software (Nokia n900 running Maemo 5 Linux)

Setup

Download

  • The latest stable and development releases of Puzzlebox Brainstorms software can be downloaded here

LEGO Mindstorms NXT

  • First select the Bluetooth Menu

No image "nxt-1-bluetooth_menu.jpg" attached to HowToUseBrainstormsSoftware

  • Next turn on to Bluetooth

No image "nxt-2-bluetooth_on_off.jpg" attached to HowToUseBrainstormsSoftware

  • Then turn on Visibility

No image "nxt-3-bluetooth_visibility.jpg" attached to HowToUseBrainstormsSoftware

Nokia n900 running Maemo 5 Linux

  • First select and turn on Bluetooth from the control panel menu

No image "n900-1-bluetooth_menu.jpg" attached to HowToUseBrainstormsSoftware

  • Next choose the LEGO Mindstorms NXT from the list of Bluetooth devices

No image "n900-2-device-list.jpg" attached to HowToUseBrainstormsSoftware

  • Then choose "Edit" and set the NXT device as "Trusted"

No image "n900-3-save_device.jpg" attached to HowToUseBrainstormsSoftware

  • Now save all Bluetooth settings
  • Next open the "X Terminal" application or SSH into the n900
  • Use the "hcitool" to scan for Bluetooth devices

No image "terminal-1-bluetooth_scan.jpg" attached to HowToUseBrainstormsSoftware

  • Note the Bluetooth MAC address of the NXT device
  • Connect the NXT device to the serial port "/dev/rfcomm0" using the Bluetooth MAC address

No image "terminal-2-bluetooth_connect.jpg" attached to HowToUseBrainstormsSoftware

  • Finally run the Puzzlebox Brainstorms server software

No image "terminal-3-start_server.jpg" attached to HowToUseBrainstormsSoftware

Windows PC

  • Documentation Under Construction