North Queensland, Australia
Offline
Edison Member
Karma: 31
Posts: 1181
|
 |
« on: December 29, 2012, 06:19:34 am » |
Hi all, I have a need for a serial monitor with a binary dump feature, not a technological poo, but a 'save raw data to file' feature. The only decent app I found so far is 'advanced serial port monitor' but its not free and my trial expired.
All I need is to save a TFT screenshot to the computer ( bitmap header is sent in data ). Or maybe someone knows of an app that can receive image data via serial?
Cheers chris.
|
|
|
|
|
Logged
|
|
|
|
|
Netherlands
Online
Tesla Member
Karma: 90
Posts: 9398
In theory there is no difference between theory and practice, however in practice there are many...
|
 |
« Reply #1 on: December 29, 2012, 06:21:53 am » |
I often use putty.exe for this
|
|
|
|
|
Logged
|
|
|
|
|
North Queensland, Australia
Offline
Edison Member
Karma: 31
Posts: 1181
|
 |
« Reply #2 on: December 29, 2012, 09:09:38 am » |
I gave putty a try, but I cannot see how to save the output as raw binary, the saved log file is larger than the amount of data sent. Any hints.
|
|
|
|
|
Logged
|
|
|
|
|
Netherlands
Online
Tesla Member
Karma: 90
Posts: 9398
In theory there is no difference between theory and practice, however in practice there are many...
|
 |
« Reply #3 on: December 29, 2012, 09:19:35 am » |
try under logging -> all session output void setup() { Serial.begin(9600); for (int i=0; i<255;i++) { Serial.write(i); } }
void loop(){}
viewing with a hexviewer gives output as expected 000102030405060708090A0B0C 0E0F101112131415161718191A1B1C1D 1E1F202122232425262728292A2B2C2D 2E2F303132333435363738393A3B3C3D 3E3F404142434445464748494A4B4C4D 4E4F505152535455565758595A5B5C5D 5E5F606162636465666768696A6B6C6D 6E6F707172737475767778797A7B7C7D 7E7F808182838485868788898A8B8C8D 8E8F909192939495969798999A9B9C9D 9E9FA0A1A2A3A4A5A6A7A8A9AAABACAD AEAFB0B1B2B3B4B5B6B7B8B9BABBBCBD BEBFC0C1C2C3C4C5C6C7C8C9CACBCCCD CECFD0D1D2D3D4D5D6D7D8D9DADBDCDD DEDFE0E1E2E3E4E5E6E7E8E9EAEBECED EEEFF0F1F2F3F4F5F6F7F8F9FAFBFCFD FEThe 0D is a return - interpreted by the viewer
|
|
|
|
« Last Edit: December 29, 2012, 09:30:01 am by robtillaart »
|
Logged
|
|
|
|
|
Chile
Offline
Edison Member
Karma: 28
Posts: 1146
Arduino rocks
|
 |
« Reply #4 on: December 29, 2012, 10:32:14 am » |
HTERM rocks! it is free and very powerful
|
|
|
|
|
Logged
|
|
|
|
|
North Queensland, Australia
Offline
Edison Member
Karma: 31
Posts: 1181
|
 |
« Reply #5 on: December 30, 2012, 11:57:27 am » |
HTERM rocks! it is free and very powerful
You are right! It was exactly what I needed, I tried maybe 8 different serial apps... All pretty much useless, well not useful for my needs. HTerm was so straight forward, option for raw save and 2 clicks for capture. Finally got some screen captures happening. Thank you. Thanks robtillaart too, your input is appreciated.
|
|
|
|
|
Logged
|
|
|
|
|
Greenville, IL
Offline
Edison Member
Karma: 11
Posts: 1289
Warning Novice on board! 0 to 1 chance of errors!
|
 |
« Reply #6 on: December 31, 2012, 08:49:07 pm » |
HTERM rocks! it is free and very powerful
Any recommendation where to download the app. from? Preferably an English site. I found a few places using a search but, I was worried about getting added crap with it.
|
|
|
|
|
Logged
|
|
|
|
|
Chile
Offline
Edison Member
Karma: 28
Posts: 1146
Arduino rocks
|
 |
« Reply #7 on: December 31, 2012, 09:29:43 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 48
|
 |
« Reply #8 on: December 31, 2012, 10:18:45 pm » |
What about Terminal v1.9b also free I especially like the macro buttons & although I've not tried has inbuilt graphing capability https://sites.google.com/site/terminalbpp/ should get you there... Happy NY
|
|
|
|
|
Logged
|
|
|
|
|
Greenville, IL
Offline
Edison Member
Karma: 11
Posts: 1289
Warning Novice on board! 0 to 1 chance of errors!
|
 |
« Reply #9 on: January 01, 2013, 07:35:08 am » |
Thank you! I looked the program over and I like it! I will have to test it later and try out the features.
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15316
Measurement changes behavior
|
 |
« Reply #10 on: January 01, 2013, 09:45:59 am » |
That is the so called brey terminal and is a wonderful troubleshooting tool, I''ve been using it for years. I see I'm a rev behind and will have to check out the latest version. Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 40
|
 |
« Reply #11 on: January 01, 2013, 12:34:15 pm » |
Here http://hobby-roboter.de/forum/viewtopic.php?f=4&t=139 I've written a python program for displaying and logging data from the arduino. To write data to a file from Arduino is quite simple: Serial.print("w2file "); Serial.println(sensorValue); // write value to file A demo program for logging analog values would be as follows: int sensorValue = 0; // value read from the pot
void setup() { // initialize serial communications at 9600 bps: Serial.begin(9600); }
void loop() {
//Serial.println("cls"); // clear screen Serial.println("pos 0 460"); // set cursor position to 0,460 Serial.println("print write analog values to file"); Serial.println("pos 100 300"); // set cursor position to 0,460 sensorValue = analogRead(A0); Serial.print("print "); Serial.println(sensorValue); // print value on screen Serial.print("w2file "); Serial.println(sensorValue); // write value to file delay(2000); }
|
|
|
|
« Last Edit: January 01, 2013, 03:59:45 pm by ChrisMicro »
|
Logged
|
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 118
Posts: 10153
|
 |
« Reply #12 on: January 01, 2013, 03:00:55 pm » |
What about Terminal v1.9b also free It (still) has a nasty buffer corruption bug. For most uses the bug falls somewhere between irrelevant and minor inconvenience. For logging binary data the bug is a show-stopper. Even with the bug, it's the terminal application I turn to first. Lately I've been using Python for "advanced" applications (like logging binary data).
|
|
|
|
|
Logged
|
|
|
|
|
Beijing
Offline
Full Member
Karma: 3
Posts: 181
Skype name habib.derbyshire
|
 |
« Reply #13 on: January 03, 2013, 06:13:17 am » |
Coolterm can record the serial info and save it.
|
|
|
|
|
Logged
|
What is man's best friend? The breadboard!
|
|
|
|
Chile
Offline
Edison Member
Karma: 28
Posts: 1146
Arduino rocks
|
 |
« Reply #14 on: January 03, 2013, 07:12:32 am » |
HTERM kicks all other serial monitor virtual asses  I ve tested them all
|
|
|
|
|
Logged
|
|
|
|
|
|