manasdeore
New member
Hello helpful folks at PJRC Forum!
I am trying to build a 512 Channel 16 Bit Analog Data logger with a sampling speed of 1 Kilo Samples per second per channel.
The analog channels will be read using a parallel bus and I plan to use a Teensy 4.1 for simply reading 16 inputs a total of 512000 times a second and store these values as either a 16bit integer or as hex or as binary in a file in the SD card.
Apart from the ADC values I need to store about 5 analog values and IMU readings for every set of 512 channels of analog inputs.
Here's what I have thought so far - I plan to use 16 numbers of 32 bit analog multiplexers and a 16 channel 16 bit ADC with sampling rate of 1MSPS on parallel bus! I plan to use a standalone Teensy 4.0 just to handle the system status ( Acquiring/ diagnostics etc) and also to control the ADC and Multiplexers. This 4.0 will also give a sync pulse for every sample to the 4.1 to sample the 16 channels and the 4.1 will write a set of samples to the SD card!
Also I am open to recommendations about how I can extract that file from the SD card to lets say a laptop without removing the SD card from the board! I can think of using 2Million baudrate over usb to simply read the files and dump on the serial monitor and then I can have like a program to simple acquire data over serial and post process
These are my questions:-
1) Is the Prop shield pin compatible with teensy4.1? Can I acquire data from the IMU at 1k samples a second? How much time does it take for the current library to acquire one set of IMU data?
2) What is the max SD card size with fastest and reliable rate possible with the Teensy4.1?
3) Am I on the right track with my implementation? Do you think a teensy 4.1 can read 16 inputs 500,000 times a second? Do you think Teensy can also acquire 1K samples of IMU data from the prop shield? Do you think it can also manage to write this data to lets say a 256 GB SD card at such rate ?
4) Any recommended way to extract files from the SD card? Using Ethernet maybe?
What are your thoughts on this?
Any tips/suggestions are welcomed!
I am trying to build a 512 Channel 16 Bit Analog Data logger with a sampling speed of 1 Kilo Samples per second per channel.
The analog channels will be read using a parallel bus and I plan to use a Teensy 4.1 for simply reading 16 inputs a total of 512000 times a second and store these values as either a 16bit integer or as hex or as binary in a file in the SD card.
Apart from the ADC values I need to store about 5 analog values and IMU readings for every set of 512 channels of analog inputs.
Here's what I have thought so far - I plan to use 16 numbers of 32 bit analog multiplexers and a 16 channel 16 bit ADC with sampling rate of 1MSPS on parallel bus! I plan to use a standalone Teensy 4.0 just to handle the system status ( Acquiring/ diagnostics etc) and also to control the ADC and Multiplexers. This 4.0 will also give a sync pulse for every sample to the 4.1 to sample the 16 channels and the 4.1 will write a set of samples to the SD card!
Also I am open to recommendations about how I can extract that file from the SD card to lets say a laptop without removing the SD card from the board! I can think of using 2Million baudrate over usb to simply read the files and dump on the serial monitor and then I can have like a program to simple acquire data over serial and post process
These are my questions:-
1) Is the Prop shield pin compatible with teensy4.1? Can I acquire data from the IMU at 1k samples a second? How much time does it take for the current library to acquire one set of IMU data?
2) What is the max SD card size with fastest and reliable rate possible with the Teensy4.1?
3) Am I on the right track with my implementation? Do you think a teensy 4.1 can read 16 inputs 500,000 times a second? Do you think Teensy can also acquire 1K samples of IMU data from the prop shield? Do you think it can also manage to write this data to lets say a 256 GB SD card at such rate ?
4) Any recommended way to extract files from the SD card? Using Ethernet maybe?
What are your thoughts on this?
Any tips/suggestions are welcomed!