The biggest problem I faced when I wanted to learn Arduino was there are too many documents, learning guides, tutorials flooding around the internet and I had no idea which one to refer to.
Most of the learning guides that claim they were crafted for the beginners are just too surface while most of the time they only show you the schematics, give you the sample codes and tell you what to expect but they do not explain how it works. It is very frustrating for people like me who do not have C-programming background. Although I can achieve the expected results by following the schematic and codes given but I am pretty sure I can’t create my own project after I completed the lessons.
Another problem that I observed was most of the learning guides are created by the techies where things are assumed to be understood.
There is nothing special with the projects that I covered in this learning guide, I just added some notes and reminders on things that I did not understand. I try to simplify the technical part and I hope that at least the beginners benefit from this and enjoy learning with Arduino.
This beginner guide covers 7 lessons. Each lesson comes with several projects and one open-ended challenge.
Lesson 0 - Setting Up The Hardware & Software
Lesson 3 - Analog Output
Lesson 4 - Melody Tone
Lesson 5 - Analog Input
Lesson 6 - DC Motor
Lesson 7 - Ultrasonic Sensor
****************************************************************************************************
Lesson 3 > Project 6: Construct An LED CircuitStep 1. Get ready these components.
Step 2. Construct the circuit shown below.
Step 3. Upload these codes to your board.
Step 4. Check your result: Both on-board LED and the external LED at Pin 5 will blink after the on-board switch is pressed. Nothing can stop the program unless the reset button is pressed.
*********************************** End of Project 6 ************************************
Lesson 3 > Project 7: Fade An LEDStep 1. Remain the same circuit used in Project 6, upload these codes to your board.
Step 2. Check your result: You will notice that the LED’s brightness is reduced gradually until it is completely off.
Step 3. We have an easier way to simplify the codes above. Modify your code accordingly then upload to your board.
Step 4. Check your result. It should be exactly the same as the earlier result.
*********************************** End of Project 7 ************************************
Q: Fade the LED 5 only when the on-board switch is pressed.
Proceed to Lesson 4 >>
Comments
Please log in or sign up to comment.