# Node MCU analog.A0 to string to CSV

**URL:** <https://discourse.nodered.org/t/node-mcu-analog-a0-to-string-to-csv/72716>\
**Category:** General\
**Created:** [26 December 2022 10:41 UTC](https://discourse.nodered.org/t/node-mcu-analog-a0-to-string-to-csv/72716 "2022-12-26T10:41:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![soubiet](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@soubiet](https://discourse.nodered.org/u/soubiet)\
**Post date:** [26 December 2022 10:41 UTC](https://discourse.nodered.org/t/node-mcu-analog-a0-to-string-to-csv/72716/1 "2022-12-26T10:41:09Z")

</div>

So i have this problem where i try to read a temp and a Voltage of a battery and store these into a CSV file. But as you can see, i don't get the string value of the Analog input. Instead i just get the text. I've tried different parameters for the "to the value". But i still just get the text of the input i'm looking at.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/d/cdcd43e6cdcb5fb8f1f048e15e7b34887b29bd6b.png)

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [26 December 2022 10:44 UTC](https://discourse.nodered.org/t/node-mcu-analog-a0-to-string-to-csv/72716/2 "2022-12-26T10:44:14Z")

</div>

As it would, as that what you are telling the change node to do.  
you have `to` set to `A/Z` not `msg.`

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [24 February 2023 10:44 UTC](https://discourse.nodered.org/t/node-mcu-analog-a0-to-string-to-csv/72716/3 "2023-02-24T10:44:22Z")

</div>

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