Arduino Documentation Blog Entry
There are 4 tasks that will be explained in this page:
Input devices:
Interface a potentiometer analog input to maker UNO board and measure/show its signal in serial monitor Arduino IDE.
Interface a LDR to maker UNO board and measure/show its signal in serial monitor Arduino IDE
Output devices:
Interface 3 LEDs (Red, Yellow, Green) to maker UNO board and program it to perform something (fade or flash etc)
Include the pushbutton on the MakerUno board to start/stop part 2.a. above
For each of the tasks, I will describe:
The program/code that I have used and explanation of the code. The code is in writable format (not an image).
The sources/references that I used to write the code/program.
The problems I encountered and how I fixed them.
The evidence that the code/program worked in the form of video of the executed program/code.
Finally, I will describe:
My Learning reflection on the overall Arduino programming activities.
Input devices: Interface a potentiometer analog input to maker UNO board and measure/show its signal in serial monitor Arduino IDE.
Below are the code/program I have used and the explanation of the code.
Below are the hyperlink to the sources/references that I used to write the code/program.
This video shows how to write the code on Thinkercad, and transfer it to the Arduino Software. Then, upload it to the Arduino Uno board.
Link: https://www.youtube.com/watch?v=yyG0koj9nNY
Below are the problems I have encountered and how I fixed them.
The light wasn't light up at first. After we checked is the resistor is use wrongly, we switch to a value which higher than previous one. Then it is light up.
Below is the short video as the evidence that the code/program work. https://drive.google.com/file/d/18_nnr4hhq4wYxNfhg7VoLJRrr279ZXoA/view?usp=share_link
Input devices: Interface a LDR to maker UNO board and measure/show its signal in serial monitor Arduino IDE:
Below are the code/program I have used and the explanation of the code.
Below are the hyperlink to the sources/references that I used to write the code/program.
This video shows how to blink an LED on Thinkercad
Link: https://www.youtube.com/watch?v=yyG0koj9nNY
This video shows how to fade an LED on Thinkercad
Link:https://www.youtube.com/watch?v=X8dHbdhnGKY
Below are the problems I have encountered and how I fixed them.
The resistor was not plugged into the correct hole. So, the light did not turn off at dark
I reconstructed it again and ensure that all the items are attached tightly to the hole.
Below is the short video as the evidence that the code/program work.
Output devices: Interface 3 LEDs (Red, Yellow, Green) to maker UNO board and program it to perform something (fade or flash etc)
Below are the code/program I have used and the explanation of the code.
Below are the hyperlink to the sources/references that I used to write the code/program.
Below are the problems I have encountered and how I fixed them.
The LED wasn’t lighting up. As I had plugged out the wrong side of the LED which the short one (anode) should be connected to the resistor. Thus, I switch it and it works.
Below is the short video as the evidence that the code/program work. https://drive.google.com/file/d/1D6gPHwiOIUBguH494S3VkFed-NtRHs9X/view?usp=share_link
Output devices: Include pushbutton to start/stop the previous task
Below are the code/program I have used and the explanation of the code.
Below are the hyperlink to the sources/references that I used to write the code/program.
This video shows how to blink an LED on Thinkercad
Link: https://www.youtube.com/watch?v=yyG0koj9nNY
This video shows how to fade an LED on Thinkercad
Link:https://www.youtube.com/watch?v=X8dHbdhnGKY
Below are the problems I have encountered and how I fixed them.
Below is the short video as the evidence that the code/program work. https://drive.google.com/file/d/1B9caLN_-9ys3fE45uKRRjufIIMAGq0qG/view?usp=share_link
Below is my Learning Reflection on the overall Arduino Programming activities.
Learning Reflection in this Practical:
This was the great experience that I ever had before. It made me feel like I can be a programmer👩💻 in the future hahaha.😅 I learned the basics of coding which gave me a meaningful experience as we can create the things that we desired. However, there is still a bit of frustration as the breadboard holes are very tiny which is we will keep plugging in the wrong place. But when we see the code is working, we will be very satisfied and elated as our efforts are not wasted!!! Focus and care are required in the practical as the things are very small and soft (resistor and LED bulb). So, please stay calm and patient along the way.
Comments
Post a Comment