Search results

  1. P

    Problems with teensy 4.1 ADC signal – connecting to the wrong ground?

    Hi Sicco, thanks for the reply. At the moment, I don't think I'm in a position to go beyond the standard library, unless there is a very straightforward way to implement this. I don't think I have the time and/or skill to do it. With this limitation in mind, is it still possible to average the...
  2. P

    Problems with teensy 4.1 ADC signal – connecting to the wrong ground?

    Thanks for the suggestion. I had another look, and it doesn't appear that there is much noise coming from 50 Hz - see this FFT: here's some data: so it looks like the noise is coming from a range of frequencies.
  3. P

    Problems with teensy 4.1 ADC signal – connecting to the wrong ground?

    These are some interesting suggestions, thanks for them. Just to make sure I'm understanding you correctly, are you saying that for my 10 kHz datalogging, the Teensy actually takes 100 ADC conversions, stores them on the RAM or something, and then averages those 100 samples and stores that to...
  4. P

    Problems with teensy 4.1 ADC signal – connecting to the wrong ground?

    This might sound really stupid, but do you know the names of the slower speed sampling rates? I'm sorry if this is an incredible display of ignorance on my part, I'm just not aware of the other conversion options
  5. P

    Problems with teensy 4.1 ADC signal – connecting to the wrong ground?

    Thanks for the suggestions. The voltage source I was using can give up to 5 A, so I would be surprised if the powersupply was struggling with a Teensy alone. I think you are right that the reference voltage is GND and the 3.3 V on the Teensy. I know the range you should use on the Teensy should...
  6. P

    Problems with teensy 4.1 ADC signal – connecting to the wrong ground?

    I tried this, and it didn't really seem to make a difference (I also had a resistor connected).
  7. P

    Problems with teensy 4.1 ADC signal – connecting to the wrong ground?

    I tried using different ground pins. Thanks for the suggestion, it looks like it might have improved things slightly: same ground pin: using 2 different GND pins: As you can see, there is still, however a lot of noise :/ here is a picture of the setup: Here is the waveform generator...
  8. P

    Problems with teensy 4.1 ADC signal – connecting to the wrong ground?

    sorry for the delayed reply. the setup code is: pinMode(2, INPUT_PULLDOWN); attachInterrupt(digitalPinToInterrupt(2), myfunction, RISING); for (int i = 0; i < PINS; i++) { pinMode(adc_pins[i], INPUT_DISABLE); } pinMode(0, OUTPUT); pinMode(1, OUTPUT); Serial.begin(2000000); ///// ADC0 ////...
  9. P

    Problems with teensy 4.1 ADC signal – connecting to the wrong ground?

    Hi, sorry if I was being unclear there. I have been trying to see if I can minimise noise when it is connected to a clean signal, as that seems like it should be easier than when the signal is floating. I replied to your comment to say that I have tried connectin the 10k resistor but it did not...
  10. P

    Best Teensy for a datalogger?

    how much noise did you find that you got? were working with a Teensy 4.1 atm but finding that we get quite a lot of noise even with a clean input signal (about 100 divisions at it worst on the 12 bit data). I've tried putting the data logger in an alu box (to act as a faraday cage), and...
  11. P

    Problems with teensy 4.1 ADC signal – connecting to the wrong ground?

    Hi Mark, thanks for your continued support. I tried linking up the 10k resistor, and the noise did not subside. in the diagram below, the circled red bit should have essentially a flat signal - the p2p of the noise is about 100 divisions of the 12 bit logged data. It says the data is supposed to...
  12. P

    Problems with teensy 4.1 ADC signal – connecting to the wrong ground?

    Sorry if I'm just misunderstanding you, but I thought my input wasn't floating (in the bit that is circled in red). There it is connected to a signal generator that is turned on at a fixed offset voltage, and the signal generator shares a common ground with the GND pin of the teensy. As far as I...
  13. P

    Best Teensy for a datalogger?

    Hi, I've been looking at Teensy's and am currently working on a 4.1 to use as a data-logger. I have however seen on this forum that some people recommend using a 3.6 instead. which Teensy is the best to use for a small, battery powered data-logger? The Teensy cannot use a laptop for this...
  14. P

    Problems with teensy 4.1 ADC signal – connecting to the wrong ground?

    Is there a way to mitigate this? according to the PJRC website, the analog inputs are usable up to 10 bit resolution (basically 0.1% accuracy) if I'm understanding the description propelry. from https://www.pjrc.com/store/teensy41.html I will quote: "Analog Inputs 18 pins can be used an analog...
  15. P

    Problems with teensy 4.1 ADC signal – connecting to the wrong ground?

    I tried plugging in an adjacent channel to the signal generator with a flat, constant voltage signal and still got a lot more noise than expected (and a lot more noise than with the other oscilloscopes/data loggers I tried), but it was an improvment from before (although that's not saying much)...
  16. P

    Problems with teensy 4.1 ADC signal – connecting to the wrong ground?

    Thanks for replying Mark. I'm trying to understand what you're saying, but must confess that I'm not very knowledgeable about electronics so don't fully understand you. if you are saying the floating input is high z, why would that mean there is more noise from 'pickup'? Also does 'more noise...
  17. P

    Problems with teensy 4.1 ADC signal – connecting to the wrong ground?

    Thanks for the replies! A floating input should usually give back 0 V though right? there is still a stable GND from the power supply I think. At least when I do this with another micro-controller data logger, it just gives back a signal of 0 V with little noise. You are right about it being...
  18. P

    Problems with teensy 4.1 ADC signal – connecting to the wrong ground?

    Hi everyone, I’m trying to get a teensy 4.1 to be used as a datalogger in place of different, physically larger micro-controller. I’m testing it out, and it seems that the code side of things is ok (it’s recording samples at the correct rate and storing them to a card), but when I try to get a...
  19. P

    code for fast ADC reading on a T3.6?

    I thought that theoretically though that data rates on 1 channel one could do up to like 100k in read speed. It's just getting the buffer and the multiple channels.. I thought there might be readily available code that requires slight modification to suit needs. There is such code for Arduinos...
  20. P

    code for fast ADC reading on a T3.6?

    bump, surely someone on this forum has an answer, I thought this would be the best place to ask regarding T3.6 code. I'd really appreciate the help
  21. P

    code for fast ADC reading on a T3.6?

    I'm trying to log 8 channels at a rate of 10kHz, and I want the data to be 12 bit (as mentioned in another thread). I'm a noob at coding and looking for help with this. this arduino forum thread has some library where people were claiming to get up to 40kHz on a single analog channel...
  22. P

    rapidly storing ADC data

    I am hoping to use 8 channels at 10kHz with 12 bit data, this is ~160KB/s. all the data is ADC voltage readings. It seems quite tricky which is why I'm really hoping on some help from someone much better than me at this stuff.
  23. P

    rapidly storing ADC data

    As I understand it, it's not just the write speed of the card, it's rapidly taking incoming newly converted ADC data and putting that on a card in a new file which is slightly different. I didn't mention it in my first comment but I'm using ~8 channels, because of this the data rate will be...
  24. P

    Simple SdFat write benchmark for T3.5/3.6

    Which Teensy were you using?
  25. P

    rapidly storing ADC data

    Are you saying that with the 3.6 library it is possible to maintain the 10kHz data rate, whilst transferring data across to the card? If so the problems is solved i think, so if you know how to do this, please let me know. This could maybe either be done by writing the data directly to the...
  26. P

    rapidly storing ADC data

    Bump, help would be much appreciated
  27. P

    rapidly storing ADC data

    I am trying to use a teensy 3.6 or 4.0 (I will be able to use either) to rapidly store (12bit) ADC data. I will be measuring voltage readings at a rate of ~10kHz. the thing is I want to be able to store this data. With an arduino it did not appear to be possible to write data to a micro SD card...
Back
Top