Pages: 1 [2]   Go Down
Author Topic: Save data to file  (Read 3008 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi there,

So here are a few news about this experiment. It is able to acquire data from a detector made of a scintillator and a PIN diode or from a PhotoMultiplier. It will display directly the histogram of the spectrum on the screen connected to the Arduino. When the spectrum is thought to be good enough, one can press a physical button connected to the Arduino in order to save the actual histogram into a file. I find this method much more efficient and useful than using a terminal emulator and saving each entry in the file. I guess that will depend on what data you have and what you want to do with them.
Here are the final version of the files that allow to do that, maybe this will be useful to someone.

* Base.java (77.28 KB - downloaded 35 times.)
* Serial.java (20.57 KB - downloaded 22 times.)
* SerialMonitor.java (8.06 KB - downloaded 20 times.)
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

And here are a few pictures of the setup and the detector,  smiley


* 2013-08-21 11.21.53.jpg (2293.54 KB, 3264x2448 - viewed 45 times.)

* 2013-08-29 09.48.45.jpg (1422.57 KB, 2448x3264 - viewed 35 times.)
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

And one more, sorry for the number of posts, but the pictures are too big ! ^^


* 2013-08-21 11.22.13.jpg (2173.08 KB, 3264x2448 - viewed 42 times.)
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Have you ever got your scintillator working im trying to build one now but im having some issues. http://forum.arduino.cc/index.php?topic=232151.0
Logged

North Queensland, Australia
Offline Offline
Edison Member
*
Karma: 65
Posts: 2109
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

HTerm is the best, it has the connect + save data buttons right next to each other. All the main functionality you'd expect is on the main screen.  Nothing to install either, it is one file.

Their homepage below has the download link at the top, it is in german, but the application is in English.
http://www.der-hammer.info/terminal/
 


* hterm.PNG (46.07 KB, 915x523 - viewed 16 times.)
« Last Edit: April 14, 2014, 11:06:50 pm by pYro_65 » Logged


UK
Offline Offline
Tesla Member
***
Karma: 101
Posts: 6306
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The Arduino can't save data on a file on a PC without some software running on the PC that is controlled by the PC. You can use one of the terminal programs as has already been mentioned, or you could write your own PC program in Python or your favourite language. Many people that use Arduinos seem to like Processing.

You could add an SD Card to to your Arduino system and have the Arduino write directly to a file on that. Later you could take the SD Card to your PC to upload the data.

...R
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 72
Posts: 7171
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey Emix,

I lost track of this post. Would you be interested in competing at the AAPT apparatus competition this summer? Impress construction! I would like to know more about it!

http://www.aapt.org/Programs/contests/apparatus.cfm
Logged


Pages: 1 [2]   Go Up
Jump to: