I am working on a project to read the analog signal from the input port of Arduino and print it to serial monitor i am unable to read the input signal with delay less than 4 ms, it works with delay higher than 4 ms .
I am working on a project to read the analog signal from the input port of Arduino and print it to serial monitor i am unable to read the input signal with delay less than 4 ms, it works with delay higher than 4 ms .
The UNO can sample the ADC at over 9,000 Hz, so the problem is not the A/D converter.
The serial port may have a baud rate that is too slow to send data this quickly.
At 9,600 baud the serial port sends about 1 byte per millisecond.
At 115,200 baud it can send about 12 bytes per millisecond.
If you need to go faster, you could try SPI.
The UNO can sample the ADC at over 9,000 Hz, so the problem is not the A/D converter.
The serial port may have a baud rate that is too slow to send data this quickly.
At 9,600 baud the serial port sends about 1 byte per millisecond.
At 115,200 baud it can send about 12 bytes per millisecond.
If you need to go faster, you could try SPI.