Training New Model: Running Avatar - 3C-SCSU/Avatar GitHub Wiki
- If you want to use prerecorded data with the program, select playback mode in OpenBCI and open the avatar programs like normal
- If you want to use live data from the headset, follow these instructions instead (it is highly recommended that you use Linux for this!):
-
Go to the function "read_from_board"
-
Comment out the following lines near the top of the function
- params = BrainFlowInputParams()
- board = BoardShim(BoardIds.SYNTHETIC_BOARD.value, params)
-
Uncomment the following lines near the top of the function
- params = BrainFlowInputParams()
- params.serial_port = "/dev/ttyUSB0"
- board = BoardShim(BoardIds.CYTON_DAISY_BOARD.value, params)
-
Go to the OpenBCI GUI, select "Cyton", select “Serial (from Dongle)”, set the channel count to 16, and press the manual button in the "serial connect" box
-
Choose the serial/com port that the dongle is using and copy the name. It usually looks something like "/dev/ttyUSB0"
-
Replace the existing string in the following line to match the one you copied
- params.serial_port = "COPIED VALUE GOES HERE"