From this, they use a AC-AC power adapter and then 2 resistors to step down. If I don't use the AC-AC power adapter but a transformer to directly step down the AC voltage, will it work? Sorry, I'm still unclear of this part.
Not 5.0 Volt, The Yun has hardware bug 5.0V is not stable (~4.5V) For correct results, using the 3.3v reference voltage as ARef instead of the messy 5V will be more precise and less noisy
Thanks for your reply!
If I don't include the capacitor and the two resistors 470K ohms R3 & R4, will it work?
My transformer steps down to 36.3 Vpeak to peak and I'm thinking of using one 10k ohms for R1 and maybe 110k or 120k ohms for R2. I will get 2.79 or 3.025 positive peak, do you think it will work?
lamela:
...
If I don't include the capacitor and the two resistors 470K ohms R3 & R4, will it work?
...
No.
lamela:
...
My transformer steps down to 36.3 Vpeak to peak and I'm thinking of using one 10k ohms for R1 and maybe 110k or 120k ohms for R2. I will get 2.79 or 3.025 positive peak, do you think it will work?
What is the capacitor and the two 470K R3 & R4 for? I thought if I use one 10k R1 and 120k R2 to step down the voltage, it will meet the input requirement on the arduino?
lamela:
What is the capacitor and the two 470K R3 & R4 for? I thought if I use one 10k R1 and 120k R2 to step down the voltage, it will meet the input requirement on the arduino?
Shift signal level by 3.3V/2=1.65V, make signal level in Arduino accept arrange ( 0~3.3V). otherwise will be (-1.65V~+1.65V).