Showing posts with label gradschool. Show all posts
Showing posts with label gradschool. Show all posts

Sunday, November 28, 2021

Thanksgiving, Family, & Grad School, oh my!

 


As I sat down to work this week, I was hoping to knock my work out early and have the rest of the week for holidays with the family, but you know what they say about the best-laid plans.  It was not as easy to compartmentalize my life as my mind had imagined.

Setting up the Arduino circuit went fairly well.  I started with my dancing lights extension project from last week.  I needed to start with something I knew and felt comfortable with.  My first step was to get the breadboard set up like a die and the lights working on both sides of the breadboard.  Through research, I learned to connect the two sides together with jump wires - negative to negative and positive to positive. 




Since I was sort of starting from scratch on the design, I needed to draw out my plan.

Once I learned how to connect the two sides, I repositioned the LEDs into the shape of a die, then I ran the dancing lights code again to be sure the lights would work on both sides of the breadboard.  Tada!  It worked!

The next part of my project involved getting the lights to light up like a die.  Even after watching this week's videos, I am still struggling to understand the code.  Several of our classmates found a random led number project, but the LEDs were in a line, not the shape of a die.  I was able to copy the code and adjust it by changing the pin locations.  I do understand that much about the code.  When I first started running the code, I realized it wasn't lighting up like a die because I had didn't have the right HIGH and LOW for the die positions.  I was able to fix that on my own.  Yay!    The beginning of the code initializes the seven LED pins and the button. The next part of the code sets up the LEDs as OUTPUT and the button as INPUT.  The loop part of code sets is a random number generator and the different cases call the correct lights to turn on for each number in the spots on the die.  






And here is where the holidays and family got all mixed up with the grad school work.  I really wanted the lights to dance before they landed on the random number, but I could never figure out how to make that work.  I recorded the video you'll see below and THOUGHT I had posted it to the group for advice, but apparently, I did not. My daughter called and needed some mom time and my son, who lives is in Lubbock, flew in for the holiday, and Thanksgiving dinner needed preparing.  My bonus daughter wasn't able to spend Thanksgiving with us so we had a family outing at Top Golf.  Once the family time took over, I kind of forgot about school 🤷‍♀️.  Once I figured out I had missed an assignment, I began to wonder how I managed the holidays and grad school last year - but guess what?  I didn't!  I started grad school in the spring.  This is all new, but I'm figuring it out.  So, here's the video I thought I posted.  It is showing the code works to generate random numbers at the click of the button in the different shapes of a die.  If anyone would like to share how to add the dancing light code with the code I have, I would love to know how to make it happen.  


Here is the graph of the numbers generated from one hundred rolls.


I think students would really enjoy this project.  It would be fun if you had enough lights to randomly generate letters or words.

I hope you all had a wonderful Thanksgiving!  Happy tinkering this week!

It's been a long time since we have all been together! 
This mama's heart is happy.


Sunday, November 14, 2021

Arduino Success - Feeling Accomplished

 Last week, my "making" left me feeling like a hot mess, but after a reboot, some tutorials, and a little time at home, I was able to complete the blinking LED light challenge.


I was even able to have success at adjusting the code and getting the light to blink at a different speed.




After my success, I was excited, but a little apprehensive about Challenge #2.  For this challenge, we were asked to use a potentiometer on the Arduino to adjust the dimness and speed of the blinking LED.  A potentiometer is like a volume control on your TV or cell phone.  The frequency is adjusted when you turn it.  To my surprise, I was successful on my first attempt - yay me!




I'm honestly not sure I completely understand how the entire circuit works, but I do understand that there are three wires connecting the potentiometer so that it is possible to have the adjustment with the turning of the knob.  The center wire connects the potentiometer to the analog in which allows it to have more frequency.  The resister is connected to the digital side.  The ground connection completes the circuit.  I am still learning the vocabulary and understanding the ins and outs of circuits and the programming.  I did do some extensions which are below.


Because I was catching up from last week, I feel like I still have quite a bit of learning to do as far as the coding and exactly how the circuits work.  I am way out of my comfort zone, but am enjoying the challenge.  I am hoping to have more time to tinker and explore this week. For this challenge, I started by looking closely at the schematic in my book and following it exactly.  When I got to the coding, it seemed a little bit overwhelming and I wasn't sure what to take out, or what everything meant so I turned to our discussion board to read what others had done. Thank goodness for collaboration when we aren't sure what we are doing.  I am reminded that we can still learn by seeing what others have done.  It gives us something to start with and can begin to make our own connections with more practice.  

As I was playing with this challenge, I couldn't help but think of Christmas lights.  We are the Christmas house on our block with all of our lights and decorations.  We have some strands of lights where we can push a button and change the type of blinking from twinkling to flashing or dimming in and out.  This would be an example of a potentiometer changing the frequency and action of the circuit.  I can't imagine the programming that must go in to the homes that have their Christmas lights programmed to music, but now I am definitely more curious.

Here's to more learning this week as we tinker and grow as learners!

Sunday, November 7, 2021

Tackling Arduino Code - Not Winning . . . . . Yet


This week started a new adventure with a Makerspace class for graduate school.  Before we got our syllabus for the class, I was excited; I have heard of schools with Makerspaces and was eager to learn more.  Admittedly when I read the the syllabus. learned I needed to order an Arduino kit and begin coding it, I was more apprehensive than excited.  I have done a little bit of html coding for a part-time job I had, but that was nearly 20 years ago.  But, I rarely give up on a challenge, so I put my big girl pants on, and got to work once the beginner kit came in.


I used the book's instructions, thought I had done everything right.  It didn't seem too difficult, but low and behold I failed.  My light did not blink.  Our assignment was to create a circuit that would make an LED light blink.  It was supposed to be a beginner circuit.  Guess, I'm pre-beginner.  

Thankfully, I felt comfortable admitting my failure on our class discussion board.  My encouraging classmates gave me some great tips, and after further investigation, I realized I had put the breadboard on upside down.  Even bifocals didn't help me with the those tiny numbers and letters.  


I couldn't get the breadboard off, so I took the Arduino board off and turned it around.  I tried the tips from classmates and even copied and pasted the code after I had typed it in myself; it still did not work.  

I was getting a little frustrated, and had to take a break.  Actually a long break, I was scheduled to visit my son in Lubbock and the Arduino had to stay home.  On my trip, I did a little more reading, and found a simpler set-up for a blinking light.  I also reached out to some friends who I thought could help me.  


As I reflect on this experience and how, not only did I not have success with my first maker project, but I am also not able to have all of the required components of this blog post, and I find that uncomfortable as a way to start the class.  I am writing this blog post from the airplane, so I don't  have the ability to create the video that should be a part of this post.

I don't believe there is anything wrong with my code.  I believe it has to do with the connections.  When I continue working on this Monday, I will also use a magnifying glass to make sure I am putting everything together correctly.  I do feel that I am handling this the way I would want me students to.  I am not giving up.  I have reached out to my network and accessed resources.  I have taken control of my own learning.  This is exactly the mindset I would like my students to have.  I don't mind if they collaborate with friends (or Google), as long as they are seeking help, and not just copying.  

I am looking forward to getting my circuit to work and exploring other circuits.  I believe I can make this happen and have a few resources to help me out if I get stuck.