Arduino - Analog output to be read by another arduino

Hello,

I want to put this out there to see if it is possible: I want an arduino to output analog, only to be read in by another arduino as analog. The reason I want to do this is because serial transfers for some reason lags the loop.

I’ve tried analogwrite output to analogread input, and all I got were either 0 or 1023.

Thanks

Maybe serial lags caused by FDTI funnel. It should be possible to connect them directly and play.

About analogwrite… computers couldn’t output analog voltages. You must use PWM emulation.

Check Spooky project 3:

http://todbot.com/blog/2006/10/22/spook … rojects-3/

I’m only a student and I am maybe wrong but I hope it helps you!

:slight_smile:

As Mudo said, analogWrite sets up a pwm output. You need to add a low pass filter between the analog output and the analog input to be able to analogRead the analogWritten voltage.