How to Save Arduino Serial Data in TXT, CSV and Excel File

  Рет қаралды 156,674

Shuvangkar Das

Shuvangkar Das

Күн бұрын

Пікірлер: 126
@AndrewMoizer
@AndrewMoizer 2 жыл бұрын
Thank you for doing this. I was just getting back into some Arduino development after a year or more and had to install the IDE on a new laptop and ended up with 2.0.1. Took me a while to figure out the new Serial Monitor, and then was more than a little annoyed that there was no way to select it all to save. So tried out your solution and it worked a treat on my MacBook Pro (Retina mid 2012) running Catalina connecting by USB to an old UNO board. Why the Arduino dev people came up with this limitation in the first place, and haven't fixed it in well over a year is beyond me. I can only surmise that the developers aren't actually using the toolset that they are writing. OK, , thanks for sharing this, and to Roger Meier for CoolTerm
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
Great to know it helped.
@dreamzz90
@dreamzz90 2 жыл бұрын
Looked at so many videos before I came to this. Finally a very clear video! Thanks!
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
Glad it helped!
@sofiabottari724
@sofiabottari724 2 жыл бұрын
Thank you so much, you saved me from copying them all manually!
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
Happy to hear it helped :D.
@alinatik35
@alinatik35 2 жыл бұрын
YOU ARE AMAZING !!! Big thanks , i was struggling to do that and finally your video was the solution.
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
Glad to hear that it helped :D
@cmiti2598
@cmiti2598 6 ай бұрын
Thank you so much, without this video I would not have succeeded in solving my arduino data capture problem
@ShuvangkarDas
@ShuvangkarDas 6 ай бұрын
You are welcome
@qiangli1578
@qiangli1578 2 жыл бұрын
I know that the software coolterm is powerful through your viedo. These days, it makes my computer crash when my matlab sample the data from arduinuo via serial communication. Thank you for sharing and give me another way to gather data.
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
You are welcome.
@frankwest498
@frankwest498 2 ай бұрын
this was an amazing video thank you so much helped me with my project in school :)
@NiallFinn
@NiallFinn 9 ай бұрын
Thanks, that was super helpful and very clear. It has allowed me to use my arduino uno kiln-control project as a data logger, so useful!
@muzaffarhussainsayyed8010
@muzaffarhussainsayyed8010 Жыл бұрын
Thanks. sir i want to upload the data of arduino in excel sheet so will i have to keep the computer continuous on and then keep the excel sheet open please reply me
@khansa5799
@khansa5799 Жыл бұрын
Thank you, very helpful with a complete explanation
@seyi1510
@seyi1510 8 ай бұрын
Thanks So Much, needed this for my disso results
@carrocesta
@carrocesta 2 жыл бұрын
nice video! I have a problem: the text file is created and info travels throughout the port, however I no text is written on the file (file is empty). What could be the issue?.
@taherrad153
@taherrad153 10 ай бұрын
Awesome Guide! Thank you so much 🙏
@jhyland87
@jhyland87 Жыл бұрын
This helped me out today. Thanks!
@floridian080
@floridian080 15 күн бұрын
Excellent explanation of coolterm. Very helpful. It beats saving data on SD, which is very temperamental. Any suggestions for saving data when running an Arduino sketch on battery and disconnected from computer? Or in that case are we just left with the SD?
@moonedCake
@moonedCake 2 жыл бұрын
Onek Onek, Thanks! 💟😭😭
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
You are welcome!
@MengYang-
@MengYang- Жыл бұрын
Thank you very much. It's very helpful to me !!!
@ShuvangkarDas
@ShuvangkarDas Жыл бұрын
You are welcome.
@pepegomez7615
@pepegomez7615 Жыл бұрын
Super helpful video! Thank you so much!!!
@marceloitalovirgillito6330
@marceloitalovirgillito6330 2 жыл бұрын
Thanks! It`s working perfectly!
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
You are welcome
@adambeedle
@adambeedle 3 жыл бұрын
Great video nice one 👍
@ShuvangkarDas
@ShuvangkarDas 3 жыл бұрын
Thank you 😁
@pasqualepacelli893
@pasqualepacelli893 Жыл бұрын
I should create a web app that should allow me to read and view Arduino data in real time (maybe even graphs like in the video). Advice? Could I save the data to an excel file and have the webapp read the value later?
@yeya24la
@yeya24la Жыл бұрын
Same. I need to create an app that will capture ESP32 board data over wifi in real time with a save button. I can take all the help I can get.
@fauzinurwahid4101
@fauzinurwahid4101 7 ай бұрын
Does the Arduino have to be connected to a laptop when you want to store data like this?
@racfar1
@racfar1 Жыл бұрын
Thank you very much for the video! It helped a lot!
@Atlas-b5t
@Atlas-b5t 8 ай бұрын
You are my hero! Thank you!
@heyitsme370
@heyitsme370 2 жыл бұрын
Sir ,the txt file that is saved is blank. What should I do?
@muzaffarhussainsayyed8010
@muzaffarhussainsayyed8010 Жыл бұрын
Where will the data be saved if the pc is shutdown
@crafter3190
@crafter3190 2 жыл бұрын
Thank you! Could you tell me please is it possible to save txt in python when in the uart port 115200 from other device we get a lot of information? Couldn’t to make delay :(
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
Yes, you can do that
@zhungonlyx
@zhungonlyx 2 жыл бұрын
Hi, I got a problem in data saved in text file. Each line of the data is separate by the println () command in aduino. In the view plain, the data look good with every line is separated. However, I checked the text file and there was no enter in the data, that mean all numbers were recorded in one line in the text. What should be the problem of this?
@gines6234
@gines6234 2 жыл бұрын
In CoolTerm go to Options --> File Capture --> Check Retain termination string :D
@benvanzon3234
@benvanzon3234 2 жыл бұрын
@@gines6234 Do you also know how to get the commas to show up? I'm only getting spaces inbetween my values, even though I added commas in the program
@gines6234
@gines6234 2 жыл бұрын
@@benvanzon3234 No idea honestly, they should appear if you put it in arduino code. Nevertheless try playing with the options in Text or File Capture.
@zhungonlyx
@zhungonlyx Жыл бұрын
@@gines6234 Yes, this can solve the problem.
@zhungonlyx
@zhungonlyx Жыл бұрын
@@gines6234 Many thanks
@takiyashir8712
@takiyashir8712 Жыл бұрын
Thanks for your video, but can you please suggest a process which is completely automated in the real time?
@ShuvangkarDas
@ShuvangkarDas Жыл бұрын
If you want really automated, then write python script.
@anindambagchi4602
@anindambagchi4602 Жыл бұрын
Hello Shuvangkar, need help in sending serial data from the sensor data over wifi. i am using arduino rev 2.0 wifi board
@abanahj5491
@abanahj5491 2 жыл бұрын
How about the time in x-axis?
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
You have to get the time fron Arduino. Use RTC or millis
@jonathanfreels6798
@jonathanfreels6798 9 ай бұрын
Whenever I have CoolTerm tack on timestamps, it also skips a line between each data packet. Do you know if there is a way to stop this?
@josephdaquila2479
@josephdaquila2479 10 ай бұрын
Couldn't you just store the variables in an array while you're measuring? And then once done measuring say you're done and then loop thru the contents of the array to generate the csv?
@dhyeyshah6732
@dhyeyshah6732 2 жыл бұрын
Great one, thanks !
@only4music725
@only4music725 Жыл бұрын
Super helpful, thanks !
@ShuvangkarDas
@ShuvangkarDas Жыл бұрын
Welcome
@dodgeshadow099
@dodgeshadow099 2 жыл бұрын
do you know if it is possible to save data for about two days?
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
Yes it is possible.
@investin_selfcare1612
@investin_selfcare1612 2 жыл бұрын
Sir what if i want to send a command of time synchronization on the serial port and store data also
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
You have to write few lines of Arduino Code. In coolterm there is an option to send command to Arduino.
@liweiwang6665
@liweiwang6665 2 жыл бұрын
Hi sir, I need to store audio data. Right now, the sample rate is 16k. In this way, I think the serial print is not fast enough to print out every sample. Any suggestions here?
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
Try sampling in 8-bit mode
@zaidhasan5862
@zaidhasan5862 Жыл бұрын
if i want enter data from text file to Arduino.... against the video what can i do? please
@BlackCat-yz3oc
@BlackCat-yz3oc 11 ай бұрын
Thanks for the information
@yeya24la
@yeya24la Жыл бұрын
The data that I see in the Arduino IDE doesn't display the same in CoolTerm. CoolTerm shows me all sorts of characters. It's like I'm missing some converter. Help?
@sofiya3733
@sofiya3733 Жыл бұрын
can you solve it? if you can, how do you do it?
@seejjordan
@seejjordan Жыл бұрын
Thanks, really helpful!
@ShuvangkarDas
@ShuvangkarDas Жыл бұрын
Happy to help :D
@রোবটিক্সগুরুজী
@রোবটিক্সগুরুজী 2 жыл бұрын
I faced a problem in coolterm. I need to sote the data in around 6 month or more for thesis perpuse. But when arduino Restarted or PC Restarted or CoolTerm terminated and when I start to data logging again, then it can't store the data in same file with out lossing previous data. If i use same name then It replace the previous file. 😪 Please help me. Have any more similar software???
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
In your application, I suggest you to use SD card with arduino instead of collecting data using terminal. You just need a SD card module to connect the card with Arduino. Arduino has an by default example to interface with. You will find a lot of example in google search, how to connect sd card with arduino. Thank you.
@রোবটিক্সগুরুজী
@রোবটিক্সগুরুজী 2 жыл бұрын
@@ShuvangkarDas wow! Thanks a lot. Is SD Card can store the data in csv or xml formate? And is SD card can continue update the data in same file without lost previous data if the power is interrupt?
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
You can store in any format and data preserves in power cycle.
@রোবটিক্সগুরুজী
@রোবটিক্সগুরুজী 2 жыл бұрын
@@ShuvangkarDas Thanks a lot bro. 🙏
@trushti_1375
@trushti_1375 Жыл бұрын
Any idea how to use PS2 keyboard with esp
@kalyani695
@kalyani695 2 жыл бұрын
Sir, I already have code for Arduino, do I need to write another code to save data in coolterm ?
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
No. You just need to serial print. Cool term save automatically
@kalyani695
@kalyani695 2 жыл бұрын
@@ShuvangkarDas okay sir, thank you so much!
@kalyani695
@kalyani695 2 жыл бұрын
@@ShuvangkarDas sir , it is not showing timing in coolterm but it showing in serial monitor, what should I do now?
@DevMishra-e9x
@DevMishra-e9x Жыл бұрын
it is showing me access denied error even if I am running the app as an administrator. what should I do?
@bjy703
@bjy703 10 ай бұрын
any luck with this?
@宏超林
@宏超林 2 жыл бұрын
I dont know why my result is all in row data, cannot be column format like ur video shown
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
Because, you didn't put new line command in your code.
@gines6234
@gines6234 2 жыл бұрын
In CoolTerm go to Options --> File Capture --> Check Retain termination string :D
@ewezungim6541
@ewezungim6541 Жыл бұрын
Mine worked initially but I started getting 'access denied'. Help please anyone?
@Omhange
@Omhange 2 жыл бұрын
bro can we save data from nodemcu + arduno ide +excel
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
Yes you can
@oliver197637
@oliver197637 Жыл бұрын
nice thanks 4 that its helpfull
@ShuvangkarDas
@ShuvangkarDas Жыл бұрын
Happy to help
@shivajoshi9068
@shivajoshi9068 8 ай бұрын
Thank a lot really heplful!
@rear1117
@rear1117 2 жыл бұрын
how to add date and time in the export Txt file
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
Use RTC with Arduino and generate date time.
@debanjanborthakur4321
@debanjanborthakur4321 2 жыл бұрын
For MacBook it says access denied. Any suggestion?
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
That's a security issue you need to resolve. Try searching enabling serial port in macbook.
@debanjanborthakur4321
@debanjanborthakur4321 2 жыл бұрын
@@ShuvangkarDas resolved.
@Br3Br2Br1
@Br3Br2Br1 2 жыл бұрын
Bravo!!!! Grazie!!!!
@abirde696
@abirde696 Жыл бұрын
This worked for me.
@midasama3124
@midasama3124 7 ай бұрын
This does not work on Linux unfortunately. As soon as Coolterm connects to the serial port, Arduino starts seeing gibberish on the terminal.
@midasama3124
@midasama3124 7 ай бұрын
Actually, you need to close Arduino's serial console and just use CoolTerm, then it works.
@soherhatem6776
@soherhatem6776 3 ай бұрын
Thanks ❤❤
@shubhamkumar-gx5vx
@shubhamkumar-gx5vx 2 жыл бұрын
How can I save data along with time ?
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
Enable time in Arduino Serial Terminal Or write code in to print time
@mancer2161
@mancer2161 Жыл бұрын
thank you brother !
@chadalavadasivasanthosh3926
@chadalavadasivasanthosh3926 Жыл бұрын
very helpful
@ShuvangkarDas
@ShuvangkarDas Жыл бұрын
Thank you
@igedearthanegara5682
@igedearthanegara5682 Жыл бұрын
Helpful
@ShuvangkarDas
@ShuvangkarDas Жыл бұрын
Thank you
@eliyahomar
@eliyahomar Жыл бұрын
Thank you so much
@arshiafas9361
@arshiafas9361 5 ай бұрын
Thank you Bro
@waleedtariq3203
@waleedtariq3203 3 жыл бұрын
Thank you
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
Welcome!
@Mohamed-uo8nl
@Mohamed-uo8nl 2 жыл бұрын
can you send me the link, so it is not working?
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
What link are you looking for?
@Mohamed-uo8nl
@Mohamed-uo8nl 2 жыл бұрын
@@ShuvangkarDas the application
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
@@Mohamed-uo8nl freeware.the-meiers.org/ here it is
@anesunyabadza8058
@anesunyabadza8058 2 жыл бұрын
well done
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
Thanks
@victorparkhomenko4185
@victorparkhomenko4185 2 жыл бұрын
Thanks a lot!
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
You are welcome.
@carolinahenao4707
@carolinahenao4707 Жыл бұрын
Thank you!
@alejandroguevara3105
@alejandroguevara3105 Жыл бұрын
TE AMO
@jyotiprakashs8394
@jyotiprakashs8394 2 жыл бұрын
sir, I am passionate about learning and in this I need your help. I had tried to connect you through Linkedin but still my request is pending. please let me a way so that I can contact you. please sir.
@ShuvangkarDas
@ShuvangkarDas 2 жыл бұрын
Accepted. Thanks for connecting
@AnwinJose-xr7yl
@AnwinJose-xr7yl Жыл бұрын
Sir can I get ur mail id , I hv some doubts
@ShuvangkarDas
@ShuvangkarDas Жыл бұрын
You will get my email address in YT channel description
@amusklb
@amusklb 4 ай бұрын
Thanks!
@SkullKrish
@SkullKrish 2 жыл бұрын
Thank you
@AdityaSengupta
@AdityaSengupta Жыл бұрын
Thank you
#behindthescenes @CrissaJackson
0:11
Happy Kelli
Рет қаралды 27 МЛН
Ful Video ☝🏻☝🏻☝🏻
1:01
Arkeolog
Рет қаралды 14 МЛН
Sigma girl VS Sigma Error girl 2  #shorts #sigma
0:27
Jin and Hattie
Рет қаралды 124 МЛН
Using Serial.read() with Arduino | Part 1
10:30
Programming Electronics Academy
Рет қаралды 141 М.
EEPROM Memory - Store Anything - Arduino101
13:16
Electronoobs
Рет қаралды 113 М.
Easy Way to Create CSV Files with Arduino Uno & Python (Save Data)
15:25
Arduino Data Logging with Microsoft Excel Data Streamer
12:32
ChefJeffPhD
Рет қаралды 10 М.
#9 Arduino Data Logger with Direct Input to Excel
10:12
Andreas Spiess
Рет қаралды 130 М.
Hacking a weird TV censoring device
20:59
Ben Eater
Рет қаралды 3,3 МЛН
ESP8266 + Arduino + database - Control Anything from Anywhere
13:51
Electronoobs
Рет қаралды 646 М.
Arduino SD Card and Data Logging to Excel Tutorial
6:22
How To Mechatronics
Рет қаралды 477 М.
НИКОГДА не иди на сделку с сестрой!
0:11
Даша Боровик
Рет қаралды 729 М.
(✋❌)kageihina VS siajiwoo VS meosimmyyt VS oxzung#tiktok #shorts
0:12
Мы Сняли Радужных Друзей на новый iPhone 14 PRO !
24:18
Pixel 7 и 7 Pro с Face ID - лучше iPhone 14 Pro!
21:12
Rozetked
Рет қаралды 457 М.