Since it just reads the data coming in on the serial port, its really independent of the specific microcontroller, as long as the correct command words are sent over the USB bus. Ironically, it was originally written for Stamp microcontrollers a competitor to Arduinos. Plus, I wanted the learning curve to be at most five minutes with minimal additional code I had to add to my Arduino sketches. My criterion was I wanted to look at the data in real time as it came out of the Arduino, and display it in a high quality plot preferably Excel compatible. The options for reading the data on the serial port ranged from simple programs written in Processing, Python, or C, to using high-end tools like LabVIEW and MatLab. Its getting the data from the serial port into an immediately useful format that was the challenge. Programming the Arduino to print data to the serial port while there are a few timing limitations is easy. They generally fell into three categories: in real time through the serial port data logging into an SD card or by Wi-Fi into the cloud. When I Googled Arduino data acquisition, I got more than 250,000 entries. While there are a few really cool low cost data acquisition systems like the DATAQ DI-145 Electronic Strip Chart Recorder (29) and the more advanced LabJack (108), Ive been exploring using an Arduino as a data acquisition interface to the real world. The agreement of this simple ideal model and this real physical system is really remarkable. I used an analog front end to convert the induced current from the speaker into a voltage in the range an Arduino can measure with its analog pin. The agreement is excellent and even shows the onset of anharmonic behavior at small amplitude. This is the transient response of the system when perturbed, showing the damped oscillations. This is especially exciting when I can collect the measurements by computer and utilize the power of easy-to-use yet powerful tools to perform the plotting and analysis. Maybe its because of my physics training, but even as old as I am, I still get a thrill when I can measure something and have it match the predictions of a simple model. Arduino Data Acquisition Into Excel Free Up TheĪrduino Data Acquisition Into Excel Free Up The.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |