AT^SAADC returing wrong adjusment values

22 views
Skip to first unread message

Maycon Prado

unread,
May 22, 2015, 8:00:50 AM5/22/15
to java...@googlegroups.com

Hello!

I'm facing a strange problem with ADC reading. When I use AT^SAADC command at the TC65 Terminal it returns

<ofs1>  <amp1>  <ofs2>  <amp2>
{ 0,        4096,      0,         4096 }.

If we consider this (provided by TC65 AT command datasheet):

Value = (<value> from AT^SRADC - <ofs1>) * <amp1> / 4096

the values that I got mean that I have a gain x1, but it isn't true. (4.3V at the GPIO was read as 1.5V)

Did TC65 Terminal lose it factory parameters?


Reply all
Reply to author
Forward
0 new messages