Difference between revisions of "Pd BioAmp"
From Hackteria Wiki
(→Arduino code) |
|||
Line 17: | Line 17: | ||
== Arduino code == | == Arduino code == | ||
− | Based on the [https://github.com/upsidedownlabs/BioAmp-EXG-Pill example codes by Upside Down Labs] for reading and filtering the BioAmp EXG pill and the | + | Based on the [https://github.com/upsidedownlabs/BioAmp-EXG-Pill example codes by Upside Down Labs] for reading and filtering the BioAmp EXG pill and the [https://github.com/makeabilitylab/arduino/tree/master/OLED/AnalogGraphScrolling scrolling graph by Jon E. Froehlich]. |
'''Libraries:''' | '''Libraries:''' | ||
Line 24: | Line 24: | ||
* Adafruit_NeoPixel | * Adafruit_NeoPixel | ||
* Adafruit_GFX | * Adafruit_GFX | ||
− | |||
− | |||
== Pd patch == | == Pd patch == |
Revision as of 18:37, 25 February 2024
Contents
pd BioAmp Eurorack version
Made a nice case with 3mm mdf, laser-cut, glued and sanded to have rounded corners and sprayed nicely.
Materials:
- upside-dowb labs BioAmp EXG pill
- Seeed Xiao SAMD21 microprocessor
- 32x128 OLED screen (and pink foil)
- neo-pixel strip, 6 Leds
- 1 x stereo jack, 3.5mm
- 1 x 10kOhm potentiometer
- 1 x push-button
- 3 x mono jacks, 3.5mm
Arduino code
Based on the example codes by Upside Down Labs for reading and filtering the BioAmp EXG pill and the scrolling graph by Jon E. Froehlich.
Libraries:
- Wire (for i2c)
- Adafruit_SSD1306 (for the oled)
- Adafruit_NeoPixel
- Adafruit_GFX
Pd patch
How to receive data from Arduino through serial port in Pd (puredata)
- install "comport" extension. And then... first you will just receive the ascii-code number of the strings sent through the serial port. So we need to decode this.
Arduino_Pd
https://github.com/alexdrymonitis/Arduino_Pd
can be loaded from ./Arduino_Pd or copied directly into the patch.
cyclone extension
See this instruction video: