Hi,
I am trying to send very large amounts of data (26 arrays of 64 numbers ranging from 0 to 255), and am looking for the fastest way to do so.
I need to send 1664 numbers out of one pin on an Arduino, and need to send those values from separate variables at the very fastest speed possible. Could you help me find the fastest way to transmit this data.
Note: I am using Arduino Due to send data to Arduino Uno
What happens if the "very fastest speed possible" is not fast enough?
Put an actual number on your requirement (e.g. bytes/second), then consider UART serial, SPI serial and eight bit parallel transfers.
The fastest speed would probably would be about 16Kb/s
The Arduino can transfer data much faster than that, by UART, I2C or SPI, so you are good to go.
Ok,
Thanks, but any ideas on how to write the arrays to a pin?
As I said, UART, I2C or SPI serial.
Only UART serial can transmit data over a single pin, and you will need to use hardware serial for very high speeds. The standard Baud rate 230400 is about 23 kB/sec.
Let's say you can send your data at that speed. What will you do with them on the Uno, where all the available memory barely exceeds the amount of your data?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.