ETEC 578 - Week 1, Blink

This week was a little bit of a rough start. This week I began playing around with my ELEGOO Mega 2560 Starter Kit for an EdTech class. While I tried to embrace the values in my Makerspace class which are to embrace failure and just have fun, I honestly felt more frustration than anything. I am the kind of person who can usually take something out of the box and figure it out pretty quickly, often without even looking at instructions (yes, I know those are there for a reason). Seeing as though this type of thing is out of my element, I should have known I should read first and try second. 

This week's project was to get the LED light on my board to blink at a different speed than it was already programmed to do. 

My board:



Here is the original code: 


// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);  // turn the LED on (HIGH is the voltage level)
  delay(1000);                      // wait for a second
  digitalWrite(LED_BUILTIN, LOW);   // turn the LED off by making the voltage LOW
  delay(1000);                      // wait for a second
}

Here is the code to change the speed:

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);  // turn the LED on (HIGH is the voltage level)
  delay(500);                      // wait for a second
  digitalWrite(LED_BUILTIN, LOW);   // turn the LED off by making the voltage LOW
  delay(500);                      // wait for a second
}



One of the first things I had to find out - and this took me two days to realize - was how to get my port to register. Without that piece i could not get the control board to recognize. I watch videos, read the instruction book, and searched the internet. I finally came across a help board where someone mentioned their USB C adapter not being fully plugged in. .... Yeah. That was my exact problem. A little embarrassing to say the least. But once I got that part done the port immediately showed up and the lights on the board came on. 

My next struggle came with getting the board to change the LED light's blink speed. Because I did not know "Enter" was not the correct directive, the blink speed never changed. Bless the computer gods because someone (of course) had uploaded a YouTube tutorial for this. In the video I found out that I needed to select "Verify" and "Upload" to get the program to run on the board. Just as before, once I did this, viola! the blink speed changed. 

My biggest takeaways from this week are 1. YouTube has a tutorial for everything. Pretty sure I will be using it on a regular basis throughout this class. 2. MAKE SURE THE USB IS CONNECTED *facepalm* 3. Verify and Upload! 

Below is a video of my successful try at getting my board to work! 




Comments

Popular posts from this blog

Week 3: RGB and Multi LEDs

Final Post

Week 1: Reflecting on Web 2.0 and Technology in the Classroom