M2M Demo – Lesson #2 : Dim a LED
In this third tutorial, we will learn how to use an Android smartphone to dim a LED through an Arduino micro-controller.
This third lesson is usefull to understand PWM (Pulse Width Modulation) concept. See here for more information.
You will find :
– Arduino sketch
– Android code
– Documentation including : List of electronic components, Circuit diagram , Arduino sketch, Android main class script, and a photo of the result.
You can enhance the code or create new one 🙂
As usual all code is documented.