Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!
Aula 💡🕊️
Published © MIT

Hexabitz Biosignal Logger 📊

The Hexabitz Biosignal Logger is a powerful and portable tool designed for capturing biosignal data using the Hexabitz EXG Monitor.

BeginnerFull instructions provided1 hour132
Hexabitz Biosignal Logger 📊

Things used in this project

Story

Read more

Custom parts and enclosures

H2BR0x-FactSheet

Schematics

H2BR0x-Hardware

Code

EOG Plot

Python
import matplotlib.pyplot as plt

# Read data from the text file
with open('data.txt', 'r') as file:
    lines = file.readlines()

samples = []
filtered_samples = []

# Extract values from the text
for line in lines:
    parts = line.split()
    sample_value = float(parts[1])
    filtered_value = float(parts[3])
    samples.append(sample_value)
    filtered_samples.append(filtered_value)

# Plot the data
plt.plot(samples, label='Sample')
plt.plot(filtered_samples, label='Filtered Sample')

# Add titles and labels
plt.title('Sample vs Filtered Sample')
plt.xlabel('Index')
plt.ylabel('Value')

# Display the legend
plt.legend()

# Show the plot
plt.show()

H2BR0x-Firmware

Credits

Aula 💡🕊️
58 projects • 224 followers
Electronic Engineering
Contact

Comments

Please log in or sign up to comment.