Reading a PWM signal with an Analog Input - strange LED behavior
hi
i noticed find strange , wondering if explain me.
i got myself 2 arduino pro minis (the 3v3 version). playing around different ways of letting communicate. wanted see if read pwm output of digital pin of arduino 1 analog input of arduino 2.
i wrote short sketch fades led on , off works expected.
next step was, connect minus of led analog input of second arduino. happened led stopped fading , instead started pulsing visibly (my guess 1 or 2 times per second.) disconnected again, not sure whats happening , want keep these boards while.
both arduinos powered lipo battery, regulated output 5 volt (i know isn't necessary, in bundle charger...). connecting lipo raw power pin. arduinos , battery have common ground.
any ideas?
i noticed find strange , wondering if explain me.
i got myself 2 arduino pro minis (the 3v3 version). playing around different ways of letting communicate. wanted see if read pwm output of digital pin of arduino 1 analog input of arduino 2.
i wrote short sketch fades led on , off works expected.
next step was, connect minus of led analog input of second arduino. happened led stopped fading , instead started pulsing visibly (my guess 1 or 2 times per second.) disconnected again, not sure whats happening , want keep these boards while.
both arduinos powered lipo battery, regulated output 5 volt (i know isn't necessary, in bundle charger...). connecting lipo raw power pin. arduinos , battery have common ground.
any ideas?
quote
i wanted see if read pwm output of digital pin of arduino 1 analog input of arduino 2.
that won't work anyway, @ least have run pwm through low-pass filter. possibly silliest method of communicating i've ever heard of.
quote
connect minus of led analog input of second arduino.
is there resistor involved here?
is led still connected gnd through resistor?
you'll have draw circuit think, bear in mind first comment. why?
______
rob
Arduino Forum > Using Arduino > General Electronics > Reading a PWM signal with an Analog Input - strange LED behavior
arduino
Comments
Post a Comment