Wednesday, 14 December 2016

P&PI PROJECT 2 - TUTORIAL 1 - Blink

For our second big project, we have been given an Elegoo Basic Starter Kit and have been told to download the applications, 'Arduino IDE' & 'Processing' onto our own laptops. After doing this, we must complete the following tutorials on the brief and document the process, via our blogs, using images & text. We must also record short videos to show our results on each test. All of this is only Part 1 of 3 of this assignment.

Within this post, I will be documenting the first tutorial: Blink.

I was put off this assignment for a while since I was unable to attend the tutorial class, I was deeply confused by how the tutorial started off. As you could see in the picture, I was worried that I was supposed to automatically understand what all the 'D13' stuff meant straight away. But after getting a lesson from a couple students in my class, they showed me how to start off that assignment amd told me to just continue down the tutorial and it will make sense afterwards. It certainly did. Although I will admit that I don't really understand the specifics, I can certainly understand the basics and how to make them work.

This tutorial was to get a light to flash a specific timeframes using programming in the Arduino software. There were a couple hiccups along the way, such as not realising I had to connect the port and upload the code once it is changed, but I got there in the end. I set the light to stay on for 800 milliseconds and turn off for 300 milliseconds.

Extra test - I had it on 50 miliseconds on & off to see how fast it would go. Afterwards I set it to 5 milliseconds each and it stopped working. At first I thought it decided to recognise my '5' as '5 seconds' but it seems that it just simply can't go that fast and it just stays on to combat the set speed.

Video Result of Tutorial 1 -> https://youtu.be/2ArXfrkV2Xc



No comments:

Post a Comment