# how to get data from excel sheet to arduino board

**URL:** <https://forum.arduino.cc/t/how-to-get-data-from-excel-sheet-to-arduino-board/564447>\
**Category:** General Guidance\
**Created:** [December 28, 2018, 7:17pm UTC](https://forum.arduino.cc/t/how-to-get-data-from-excel-sheet-to-arduino-board/564447 "2018-12-28T19:17:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![shubham0389](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@shubham0389](https://forum.arduino.cc/u/shubham0389)\
**Post date:** [December 28, 2018, 7:17pm UTC](https://forum.arduino.cc/t/how-to-get-data-from-excel-sheet-to-arduino-board/564447/1 "2018-12-28T19:17:09Z")

</div>

I'm new to arduino. I want to get data from ms excel spreadsheet to my arduino code and write conditions according to the data which I receive from that spreadsheet. So can you please help me out and give any suggestions so as to how to communicate between my arduino UNO board and pc.

---

<div class="post-metadata">

**Author:** ![anon94801460](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@anon94801460](https://forum.arduino.cc/u/anon94801460)\
**Post date:** [December 28, 2018, 7:25pm UTC](https://forum.arduino.cc/t/how-to-get-data-from-excel-sheet-to-arduino-board/564447/2 "2018-12-28T19:25:34Z")

</div>

The Arduino communicates with a PC via a serial com port connection.

You will need to figure out how to output data from Excel via the serial port. I've never heard of anyone doing that.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [December 28, 2018, 7:28pm UTC](https://forum.arduino.cc/t/how-to-get-data-from-excel-sheet-to-arduino-board/564447/3 "2018-12-28T19:28:42Z")

</div>

via Processing?

---

<div class="post-metadata">

**Author:** ![KawasakiZx10r](https://avatars.discourse-cdn.com/v4/letter/k/d07c76/32.png) [@KawasakiZx10r](https://forum.arduino.cc/u/KawasakiZx10r)\
**Post date:** [December 28, 2018, 8:52pm UTC](https://forum.arduino.cc/t/how-to-get-data-from-excel-sheet-to-arduino-board/564447/4 "2018-12-28T20:52:06Z")

</div>

Excel has an option to export the data as a CSV format, from there it is a simple case of making a Visual Studio form using the Visual Studio Serial library and File reader, I recommend using C#, it almost the same as Arduino C. Then you just need to make an Arduino code to read the serial data using the header each time and place the following data into an array.

---

<div class="post-metadata">

**Author:** ![MorganS](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/morgans/32/218718_2.png) [@MorganS](https://forum.arduino.cc/u/MorganS)\
**Post date:** [December 28, 2018, 9:38pm UTC](https://forum.arduino.cc/t/how-to-get-data-from-excel-sheet-to-arduino-board/564447/5 "2018-12-28T21:38:47Z")

</div>

I actually use Excel to write code. Lists of EEPROM variables get turned into pieces of code to be pasted into specific parts of the Arduino program.

There is a way of getting Excel to talk to the Arduino. Usually it's used for data logging but it can be done in the other direction. PLX-DAQ is a reasonably complete solution. There are a few tutorials online showing you how to to it in VBA programming.

---

<div class="post-metadata">

**Author:** ![anon94801460](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@anon94801460](https://forum.arduino.cc/u/anon94801460)\
**Post date:** [December 28, 2018, 11:13pm UTC](https://forum.arduino.cc/t/how-to-get-data-from-excel-sheet-to-arduino-board/564447/6 "2018-12-28T23:13:04Z")

</div>

I use PLX-DAQ for logging data from the Arduino, but have never explored how it might work in the other direction. Here is the [latest version](http://forum.arduino.cc/index.php?topic=437398.msg3251256#msg3251256).

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 5, 2021, 6:46pm UTC](https://forum.arduino.cc/t/how-to-get-data-from-excel-sheet-to-arduino-board/564447/7 "2021-05-05T18:46:34Z")

</div>

Closed on May 5, 2021, 6:46pm UTC


