Below are the hyperlink to the sources/references that I used to write the code/program.
-
Below are the problems encountered and how I fixed them.
My team and I couldn't get the LDR to work and after watching several videos and asking around, we manage to find the code as well as the set up. When I had to set it up by myself, my LED lighted up but it wasn't affected by the LDR and I thought it was a connected problem. But following the setup my team has done before, it was exactly the same. I decided to play with the code and changed light<50 to light<30. It worked, hence I think that due to the darker environment I was at, it made the LED not light up.
Below is a short video as evidence that the program works
Below are the hyperlink to the sources/references that I used to write the code/program.
https://youtu.be/X8dHbdhnGKY
Below are the problems encountered and how I fixed them.
There were no problems for this task.
Below is a short video as evidence that the program works.
Below are the hyperlink to the sources/references that I used to write the code/program.
-
Below are the problems encountered and how I fixed them.
At first, the first LED lighted up the entire time without pressing the button and the other two LED alternated, also without pressing the button. The problem was fixed by making the LED into a parallel circuit so when the button is pressed, the LEDS will then light up.
Below is a short video as evidence that the program works.
Lastly, my reflection for the overall arduino activities done. π€
In my opinion, I really enjoy all of this. I just wish that learning to code is taught more proper and goes beyond the example given in the arduino examples in the software. It is definitely a lot different than what us chemical engineering year 2 students are going through.
On 24 November 2022, my class and I had to do the Arduino practical in the W3 workshop. The main objective of this practical is to form the cardboard pegasus and make use of the servo to flap it's wings.
There are other factors that graded as well, such as an additional code to be used from what we have learned from the examples in the arduino software.
Once my team and I finished setting up the cardboard pegasus and the servo with its code, we had to discuss what additional code we would like to add. Me being a simple man, I suggested adding the 'programmable button' function to the pegasus, such that when the button is pressed, whatever function is coded will play.
However, this idea of mine wasn't very appealing to the rest and disagreed. Instead, they went with the usage of the LED lights we were given to be used as the eyes of the pegasus and the other to play music. They even wanted to mash these 2 codes in one. And to be honest, while I do like this idea, to me, I see it as over-achieving as the challenge I assumed that we were gonna face is something that we have not learned nor has it been mentioned once. An analogy used to describe this by Dr Noel as well as Kieron is and I quote "Don't climb Mount Kinabalu if you haveb't even climb Bukit Timah". But, I just let it slide.
I also knew that aesthetics is worth 10 marks out of 50 as well. When I brought it up to the team that we should try drawing or designing the pegasus itself, I got shut down and they said that it is already nice as it is. Only when they found out that other groups designed their pegasus then we did, and this was 5-10 minutes before the presentation of our 2 pegasus. And even within these 5-10 minutes we had left, we spent most of the time figuring out why we couldn't play 2 codes at the same time.
As such, the design of me and my partner, Tristan, pegasus looks very simple
and to be very honest, the only time I feel that I have contributed is helping Samantha by assembling the wires inside the unicorn. All in all, I learned that if I do have an idea that is worth mentioning, I should be firm with it and if anyone disagrees, I should at least try to find out why and hear what their idea is first and try to reach a compromise.
Comments
Post a Comment