Previous in Forum: Difference Between Microprocessor & Microcontroller   Next in Forum: Ransomware/Malware
Close
Close
Close
6 comments
Rate Comments: Nested
Active Contributor

Join Date: Nov 2008
Posts: 23

Save Data from PIC Microcontroller to a TXT File

01/14/2013 9:34 AM

Dear all,

I´ve created a code which reads temperature values by second and would like to save the values on a txt file (by RS232) for plotting. We have used CCS program and PIC 16F877A. Could someone help me?

Regards

Eduardo

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru

Join Date: Jul 2008
Posts: 1688
Good Answers: 145
#1

Re: Save Data from PIC Microcontroller to a TXT File

01/15/2013 7:43 AM

You might have better luck getting help if you provide a few more details. Does your current code work? How is it outputting data now? Did you use a demo board and if so what ports (ethernet, RS-232, etc.) does it have?

I have done some PIC programming but I don't recall CCS programs. What are they?

__________________
Few things limit our potential as much as knowing answers and setting aside questions.
Register to Reply
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#2

Re: Save Data from PIC Microcontroller to a TXT File

01/15/2013 8:17 AM

Have you searched for forums that support your chip and software?

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply
Commentator

Join Date: Aug 2012
Posts: 68
#3

Re: Save Data from PIC Microcontroller to a TXT File

01/15/2013 9:05 AM

I am sure you have been using the hayberterminal communication window that comes with all window versions(XP) . from this page you can copy. i am using the PCM CCS .C compiler and still working on the same micro.pic16f877a. and others

Register to Reply
Active Contributor

Join Date: Nov 2008
Posts: 23
#4
In reply to #3

Re: Save Data from PIC Microcontroller to a TXT File

01/15/2013 9:07 AM

Right. Thank you very much!!!

Register to Reply
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#5
In reply to #3

Re: Save Data from PIC Microcontroller to a TXT File

01/15/2013 9:32 AM

Hyperterminal!!!

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply
Commentator

Join Date: Aug 2012
Posts: 68
#6
In reply to #5

Re: Save Data from PIC Microcontroller to a TXT File

01/16/2013 9:17 AM

thank you very much Germany .

Register to Reply
Register to Reply 6 comments
Copy to Clipboard

Users who posted comments:

Andy Germany (2); BruceFlorida (1); caeser (2); EJA (1)

Previous in Forum: Difference Between Microprocessor & Microcontroller   Next in Forum: Ransomware/Malware

Advertisement