Re: HAKKO (907ESD) and SOLOMON (SL-10/30) soldering iron dri
Reply #119 –
btw, some info about the "method" for data gathering, maybe someone find it useful :)
1. I am printing printf("%10.3f, %8.4f, %Ld, %6.2f, %6.2frn", milliseconds/1000.0, Pk, outPWM, current/10.0, temperature/10.0); to the serial port (9600bps nothing fast, no need)
2. Then I attached some USB2TTL serial adapter to my linux box (silabs cp2102 this time but not really relevant)
3. soldered a piece of wire directly on the pin10 of 16F690 (TX) because it is not broken out on my pcb
4. linked TX with USB2TTL + linked grounds
5. on linux I start
screen -L /dev/ttyUSB0 9600
This starts screen on the /dev/ttyUSB0 port using 9600bps speed. What's important part is -L as this tells screen to start logging everything on the screen so the screen creates ~/screenlog.0 and start filling it in. This way you are able to see real time data as it comes from the serial port and you have a log in a file
6. I start wonderful program called KST. I know it works on linux (comes with default distro) but no idea if there's a windoze version. I assume it does but if thy use windoze feel free to check out the link.
7. In KST I go trough data wizard, tell it that data is in the ~/screenlog.0, that I use ", " as delimiter and after few next, next, next I have the real time data graphing in front of me :). As screen actually flushes data only once per second (maybe faster if more data comes) you see updates of the graph only once per second, but you see numeric data in your screen session real time ... You can tell KST to use /dev/ttyUSB0 as a source for data (probably, I have not tried) but I kinda want to see the numbers + I like to have the log file for later checkup too ..
I hope this procedure helps someone too :) .. you can fetch same way data from arduino or any other serial logger (for e.g. BusPirate :D you can graph the analog input this way)