Tag Archives: analogwrite


Detect Vibrations using a piezo element

A rather simple, cheap, yet effective way to detect vibrations is by using a piezo element. The piezo element is an electrical component found in many commercial products to detect impacts, vibrations, pressures and also to produce sound. The piezoelectric effect (as it is known) was discovered in 1880 by French physicists Jacques and Pierre Curie. By definition the piezoelectric effect is the electric charge accumulated in certain solid materials… Read Article →

Arduino Beginner’s Course Lesson 7– Understanding Interrupts

You can download our e-book ‘Learn Arduino from Scratch’ from this link What are interrupts? Well they interrupt something for sure, precisely they interrupt the main program execution of the CPU. In Arduino we have 2 main functions the setup() and the loop(). Interrupts interrupt code execution in the loop(). But why should we care about interrupts anyway? They are not something to be feared, they make your code cleaner… Read Article →