Analog inputs A4-A7 [RP2040 Connect]

Hi,
has anyone been able to use the analog inputs A4 through A7?

I've been having the same issue as this person, basically the analog input would saturate to 0x0FFF with just 1.1 V on the input (I didn't have a potentiometer at hand to try gradually varying the voltage)

Now I'm seeing that an ADC range issue was recently fixed in the Nina Firmware code: nina-fw/CHANGELOG at c84aa3406717af771653733fb9c3480bdf5e1a64 · arduino/nina-fw · GitHub. Keep in mind that the Nina-W102 is used on the Connect to read analog inputs A4 to A7.

Does this mean that these analog inputs were never working properly in the first place? Or am I looking at the wrong codebase?

This is because the analog inputs A4::A7 are not on the RP2040 but on the ESPxx which is in the nina module.

You cannot have more than the ESPXX can give.

Have you updated the firmware on the NINA-W102 module of your Nano RP2040 Connect to the 1.5.0 version that contains the fix @mcejp?

Take a look at these guides for better understanding these pins:

After updating to 1.5.0, I am in fact getting a reasonable measurement on A6 (ch0). That is, after taking into account the fact that full-scale voltage is now 3.9 V, which seems to be only mentioned in Espressif (!) docs.

However, A7 (ch7), which is at +/- GND potential, reads approximately the same value as A6 most of the time, only occasionaly returning a 0.

TBH, with this problem, and the official SDK being still broken for certain batches of boards (issue1 issue2) I'm very close to throwing this board into the bin and switching to something with more mature support.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.