Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: Chopsticks

Search: Search took 0.00 seconds.

  1. That should work I guess? But i'm trying to solve...

    That should work I guess? But i'm trying to solve this on board and/or making use of the software libraries to create filters. Don't know if it's possible to filter the noise away by software?

    I...
  2. 50Hz Noise on Microphone input (Teensy 3.2 + Audio Adapter + Amplifier)

    Hello Guys!

    We're busy with a project including audio and recording, we are using the Teensy 3.2 and the Audio Board with a 20W amplifier. We are using the microphone input (not de line in). to...
  3. Any good suggestions? I'm using the LIS3DH at...

    Any good suggestions? I'm using the LIS3DH at this moment. Alternatives?
  4. The application would be a simple office chair, i...

    The application would be a simple office chair, i just want to detect the slightest movements, how people sit on their cheir etc. So the application needs to measure a change between 15 degrees.
  5. Teensy 3.1 in combination with Digital & Analog Accelerometer

    Hi there!

    I've started a new hobby project where I want to test different kind of accelerometers in combination with my teensy 3.1.
    Now i've seen lots of guides of how to select a suitable...
  6. Is there a reason why i can only log 64 seconds?...

    Is there a reason why i can only log 64 seconds? I did a measurement of 5 minutes, but only the first 64 seconds has been measured.. It's the half of 128 byte and 1/8 from 512 byte
    Is it even...
  7. Replies
    32
    Views
    7,111

    The 3.3V is the teensy's 3.3V output. With this...

    The 3.3V is the teensy's 3.3V output. With this divider, a range can be set from a certain voltage. Basically, the level shifter is a three-resistor voltage divider, where R2(30.9k) and R3(39.2k)...
  8. Replies
    32
    Views
    7,111

    I switch from ports often on my laptop, but i...

    I switch from ports often on my laptop, but i dont set the com port in the Arduino IDE, it switch automatically here... Don't know if that happens on every laptop?
    The hex file is loaded into Teensy...
  9. Replies
    32
    Views
    7,111

    Does anybody see an issue with reading the...

    [QUOTE]Does anybody see an issue with reading the VUSB straight into a digital pin?[/QUOTE
    Well, putting VUSB on a digital just give a "0" or a "1" in my opinion, digital pins can handle 5V,


    ...
  10. Purpose of this board is to measure analog...

    Purpose of this board is to measure analog signals from two sensors, these signals are preamplified. There's an analog differential amplifier with the two sensor inputs (which also forms A-B signal),...
  11. That actually sounds cool! I'm wired to an...

    That actually sounds cool! I'm wired to an MicroUSB cable, haha. see my attachment of my developed protoboard which has been used for measurement (to give somewhat a impression :) )
  12. Thanks for the effort Turtle9er, it seems to work...

    Thanks for the effort Turtle9er, it seems to work as far I see now, especially the starttime.

    It seems that float buf did the trick. It was an int, but i'm using floating numbers.

    Future...
  13. Thanks for explanations! :)

    Thanks for explanations! :)
  14. I've changed it now, and I am getting some...

    I've changed it now, and I am getting some results!
    Although, for testing i'm using as input: "micros,1,2,3" instead of the sensor signals

    The output in the text file are:

    Time A-B A B...
  15. That does more then the code I had and been busy...

    That does more then the code I had and been busy with. So far i was testing with my idea, i only got zero's..

    Although i'm now using your code, I got this:

    Time,A-B,A,B
    0,0,0,0
    0,0,0,0...
  16. Update: (1) In the binarytosd part, there is a...

    Update:
    (1) In the binarytosd part, there is a line 'block_t buf' which buffer is this? in the example of turtle9er, is not used something like block_t.... so I wonder... :)

    The link u send me...
  17. Question, I'm logging binary files now, but i...

    Question, I'm logging binary files now, but i expect to have zero's and one's. my logfile.bin gave me this:

    K•? 5@~|a?”K—ʏ?kD...
  18. I'll check it out! thanks for the link! I'm...

    I'll check it out! thanks for the link!

    I'm going to try implementing the bintocsv part into my current code, as far I see, some adjustments are needed...

    If I succeed to get it working...
  19. Teensy 3.1: Low, High and/or Band-Pass Filters

    Hi there!

    While I was measuring with noisy ECG signals, I need something that take cares of filtering the measured signals.

    I came across the following filter library:...
  20. It should not be a problem to use this method. I...

    It should not be a problem to use this method. I have implemented your code, although i need to make use of bufferedwriter.h, but where can i find this? It is not available in the sdfat library tho?...
  21. Ahhh so I actually had a -70000 bug, but because...

    Ahhh so I actually had a -70000 bug, but because of the calculations it's -56,4.. sounds logical... and yes, it was only with ADC1



    that is silly, but that happens everyone. I'll check your...
  22. At this point it seems that i don't have problems...

    At this point it seems that i don't have problems anymore with -70000 values, i've been able to fix this issue. Although, as is shown in my log files, i was reading strange values at -56. And it...
  23. I haven't been able to log my files to sd, i see...

    I haven't been able to log my files to sd, i see a .bin format, for my purposes i want a .txt file.
    I have changed the 'char binName[13] = FILE_BASE_NAME "000.bin";' to 'char binName[13] =...
  24. Thanks for uploading your attempt! I'm...

    Thanks for uploading your attempt!

    I'm currently testing the code you've send me, although, when measuring, i get values like -70000 etc etc. after changing the 'int SDBuffer' to 'float SDBuffer'....
  25. I'm looking forward for some code of yours, i'm...

    I'm looking forward for some code of yours, i'm continuing my work tomorrow, have to work right now. :)
    I'll check your post tomorrow i quess :)

    Thanks in advance!
  26. I've been busy for a while now, and i got the...

    I've been busy for a while now, and i got the array principle working. it isn't stable yet tho, i have samples between 1 and 2k samples/second. Does anyone have an idea how to get a stable...
  27. Haven't been able to fix it yet with the arrays,...

    Haven't been able to fix it yet with the arrays, i believe something like this possible


    int cols = 4;
    int rows = 100;
    int[][] myArray = new int[cols][rows];

    // Two nested loops allow us to...
  28. Well, i'm using the following sensors:...

    Well, i'm using the following sensors: http://www.mouser.com/ProductDetail/Plessey-Semiconductors/PS25101/?qs=sGAEpiMZZMttKWgNLnZcJgErdsXOV7xh
    These sensor measures the ECG values of a person. The...
  29. I did change the analog read part the way you...

    I did change the analog read part the way you did, and so far it seems to work, although it still lacks on the sample rate(almost the same results as the attached log file).

    I did indeed start two...
  30. Teensy 3.1: ADC Measurement, SD logging, problem with Sample Rate?

    Hello!

    I've been busy with measuring analog values. It's possible to measure the values, but somehow i don't know how to increase the sample rate, it's maybe a noob question, but i'm using a...
  31. Ahhh, would be smart to post some pictures /...

    Ahhh, would be smart to post some pictures / links next time.. ghehe

    The i2c adapter can be found in this link: http://www.robot-electronics.co.uk/htm/usb_i2c_tech.htm
    schematics: 2085

    there...
  32. Nobody knows? :)

    Nobody knows? :)
  33. Teensy 3.1: Interference between SDwrite and I2C?

    While i'm busy with my project for measuring ECG signals, there are some issues which came across.

    I've managed to write 2 analog signals synchronous to the sdcard.

    But at this very moment:...
  34. Teensy 3.1: LabVIEW + Controlling Teensy Outputs(IC/Serial)

    Hi There!

    I've been trying to connect my Teensy 3.1 to LabVIEW. Using the tool "Basic Serial Write and Read Modified.vi" in this post: https://decibel.ni.com/content/message/69017.

    But I was...
  35. For that my friend, is needed a Driven Right Leg...

    For that my friend, is needed a Driven Right Leg circuit. Which i also have included within my design. It basically a ground plane with an inverted signal on the human body. For example: the sensors...
  36. There are many opamp circuits available ofcourse,...

    There are many opamp circuits available ofcourse, but the offset shall be less then 3.3V tho? Any schematic available?
  37. I'm using an Plessey EPIC Sensor (PS25201). For...

    I'm using an Plessey EPIC Sensor (PS25201). For measuring ECG signals. Those signals are very weak. The sensor itself generates approx. max 2.5V at the output.
    i came across this solution:
    ...
  38. I've read about the internal voltage (3.3V)? ...

    I've read about the internal voltage (3.3V)?

    But what about measuring signals above that reference? Let's asume my sensor signal is 2,5V, with an level shifter (3.3V for example) it's gonna be:...
  39. I've been testing this circuit, but when my input...

    I've been testing this circuit, but when my input is 2V for example, it halves it. ;) so that leaves me 1V at the output.

    I'm measuring signals approx. 30-60mV. when that halves (15-30mV), it...
  40. Do you know what location? is it those 2 pads,...

    Do you know what location? is it those 2 pads, which can be cut? As far I see in this picture http://www.pjrc.com/teensy/schematic3.gif there are two pins (VUSB and VIN) and in between two pads which...
  41. Replies
    5
    Views
    3,856

    ADC0_DM0(A11) and ADC0_DP0 (A10) are on the same...

    ADC0_DM0(A11) and ADC0_DP0 (A10) are on the same 'ADC0' channel, So that means that they can't measure synchronous? The 12-bit ADC's A2 and A3 are also well enough. But it would be nice if it was...
  42. Teensy 3.1: 5V Output (USB) & Negative Voltage Input (ADC)

    Hi there,

    I've been watching the schematics and specification/datasheet from the Teensy 3.1, and I have two questions about the voltage output and ADC Input

    Q1
    The USB input gives a 5V Out, I...
  43. Replies
    5
    Views
    3,856

    I'm understanding that I can only select one...

    I'm understanding that I can only select one function at a time, but in your post you said "Pins A2 and A3 are particulary useful for the synchronous measurement". Those pins are, as far I see 12...
  44. Replies
    5
    Views
    3,856

    Teensy 3.1: ADC PINS / 16-Bits mode

    Hi there,

    Maybe a dumb question, i've been watching this pin layout from the Teensy 3.1 (see link) http://www.pjrc.com/teensy/card5a_rev5.pdf
    In the datasheet of the processor are the pins...
Results 1 to 44 of 45