This book on the use of Arduino and Smartphones in physics experiments, with a focus on mechanics, introduces various techniques by way of examples. The main aim is to teach students how to take meaningful measurements and how to interpret them. Each topic is introduced by an experiment. Those at the beginning of the book are rather simple to build and analyze. As the lessons proceed, the experiments become more refined and new techniques are introduced. Rather than providing recipes to be adopted while taking measurements, the need for new concepts is raised by observing the results of an experiment. A formal justification is given only after a concept has been introduced experimentally. The discussion extends beyond the taking of measurements to their meaning in terms of physics, the importance of what is learned from the laws that are derived, and their limits. Stress is placed on the importance of careful design of experiments as to reduce systematic errors and on good practices to