Re: analogread won't work
Posted: Thu Jun 11, 2015 8:35 pm
I can prettywell assure you that the Arduino IDE is not the likely cause. They have been doing analogue reads for 5 years plus . The library might be the culprit but again I doubt it .
There is something peculiar about the analog pin on these modules . people swear blind they cannot read better than 1 Volt input and I have 1 running (ESP 12)and it seems to be reading up to 2.85 Volts but I could be mistaken ,I am working on checking that now.
The change though from NodeMCU to Arduino as an upload facility for the machine code might be assuming certain settings or pin connections that you are not aware of . ie Up to IDE 1.6.3 the pins were not addressed as they are now following the board names although I think the analog pin has stayed the same .
Perhaps you can see what I mean though . It might be some more subtle difference.
There is something peculiar about the analog pin on these modules . people swear blind they cannot read better than 1 Volt input and I have 1 running (ESP 12)and it seems to be reading up to 2.85 Volts but I could be mistaken ,I am working on checking that now.
The change though from NodeMCU to Arduino as an upload facility for the machine code might be assuming certain settings or pin connections that you are not aware of . ie Up to IDE 1.6.3 the pins were not addressed as they are now following the board names although I think the analog pin has stayed the same .
Perhaps you can see what I mean though . It might be some more subtle difference.