Settings for Cyton + WIFI Shield + ThinkPulse with Brainflow

KavehKaveh The Netherlands
edited June 2023 in Cyton

I am currently using the ThinkPulse sensors along with the Cyton board and WIFI shield. I'm encountering a situation where I need to adjust the hardware settings to PGA gain 8 or lower and Bias include to NO in order to resolve an issue with the railed situations.

For my Python code in the BrainFlow library, I'm using the command 'board.config_board('x1040010X')' to configure sensor 1 with gain 8 and Bias set to No. I would like to understand the meaning of these seven digits and how they affect the configuration.
Here is my primary Python code:

import argparse
import time
import pandas as pd
import numpy as np
from brainflow.board_shim import BoardShim, BrainFlowInputParams, BoardIds #BrainFlowPresets
def print_data(sample):
    print(sample)
BoardShim.enable_dev_board_logger()

params = BrainFlowInputParams()
params.ip_port = 12345
params.ip_address = '192.168.4.1'


board = BoardShim(BoardIds.CYTON_WIFI_BOARD.value, params)  
board.prepare_session() 
#
board.config_board('x1040010X')
board.config_board('x2040010X')
board.config_board('x3040010X')
 board.config_board('x4040010X')
board.config_board('x5040010X')
board.config_board('x6040010X')
board.config_board("x7040010X")
board.config_board("x8040010X")
board.start_stream()
time.sleep(30)
data=board.get_board_data()
board.stop_stream()
board.release_session()
print(data)

Could you please confirm if this configuration is correct or suggest an alternative solution?
Thank you

Comments

Sign In or Register to comment.