Damped Harmonic Oscillator with Arduino


The benefits of using experiments in physics classes are widely discussed in the literature, but sometimes experimental setups are not available. In this paper we present different ways of using experiments in physics classes based on the Arduino board, since it involves low cost materials and can be built by the own students in several cases. In this work we addressed the well known damped harmonic oscillator and performed the data acquisition through the Arduino board, a LDR (Light Dependent Resistor), a infrared photodiode sensor and a computer. The setup of the proposed experiment and the technical details related to assembly are discussed in a clear way in order to be reproduced by anyone interested in the subject. We found a significant difference in the results obtained through the LDR and the photodiode. The later has given better results and has reproduced a regular decay in the amplitude of the oscillator even when the experiment was performed in a highly illuminated room. The Arduino board, alongside the referred peripherals, has shown great potential for building low cost experimental setups to be used in physics classes, both for expositive and hands on approaches.

Share and Cite:

de Castro, L. , Lago, B. and Mondaini, F. (2015) Damped Harmonic Oscillator with Arduino. Journal of Applied Mathematics and Physics, 3, 631-636. doi: 10.4236/jamp.2015.36075.

Conflicts of Interest

The authors declare no conflicts of interest.


[1] Fisher, D.K. and Gould, P.J. (2012) Open-Source Hardware Is a Low-Cost Alternative for Scientific Instrumentation and Research. Modern Instrumentation, 1, 8-20.
[2] Cavalcante, M.A., Tavolaro, C.R.C. and Molisani, E. (2011) Physics with Arduino for Beginners. Revista Brasileira de Ensino de Física, 33, 4503. http://dx.doi.org/10.1590/S1806-11172011000400018
[3] Galeriu, C., Letson, C. and Esper, G. (2015) An Arduino Investigation of the RC Circuit. The Physics Teacher, 53, 285. http://dx.doi.org/10.1119/1.4917435
[4] Galeriu, C. (2013) An Arduino-Controlled Photogate. The Physics Teacher, 51, 156.
[5] Galeriu, C., Edwards, S. and Esper, G. (2014) An Arduino Investigation of Simple Harmonic Motion. The Physics Teacher, 52, 157. http://dx.doi.org/10.1119/1.4865518
[6] de Souza, A.R., Paixão, A.C., Uzêda, D.D., Dias, M.A., Duarte, S. and de Amorim, H.S. (2011) The Arduino Board: A Low Cost Option for Physics Experiments Assisted by PC. Revista Brasileira de Ensino de Física, 33, 1702. http://dx.doi.org/10.1590/S1806-11172011000100026

Copyright © 2023 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.