User:Dcaldero8983/enes100/eagles

Link to project Eagles team page.

Link to page Arduino

Give instructor top 3 project choice list
For my second project my three preferences in the exact order were electrical scooter, helicopter, and submarine.

Write problem statement
I will take a arduino and install it on my PC. I will then learn how the basics of it works in order to then take it to do more complex things like control the accelerometer of the drone.

Assign Task1
Install the arduino on PC using a USB wire. Then using the sketch pads, make the arduino turn LED lights on and blink through a code.

Compare actual work done to Task1
Rationalize differences

Week1 Narrative
This is an Arduino Uno board that can be used tfor multiple purposes. In my first week, i was learning the basics of the Arduino and tested writing a code to make an LED blink using certain ports on the board.

Assign Task2
I will try to make the Arduino something a little more complex. I am going to have an analog button make an LED light blink and i will have to write a code for that.

Compare actual work done to Task2
I was able to get the Arduino to blink an LED by using an analog button. I also made an actual page for the Arduino where i wrote a tutorial for anyone new to the Arduino and would like to get started. The turorial teaches you how to download the Arduino program to your PC as well as download the actual driver for the Arduino you are working for. I personally was working with the Arduino Uno, and i show the steps that i went through in order to get the Arduino to work on the program. Arduino, is the link to the arduino page on wikiversity.

Week2 Narrative
Here is a link to a youtube video that i posted, Arduino and Analog Button. I recorded this video through my android phone and it shows an Arduino Uno blinking an LED using an Analog Button through a bread board. In order for this to work i had to create a code and make sure that i was connecting the LED to the bread board and Arduino as well as the Analog button.

Here is another link to a youtube video that i posted,LED blinking 5 times . This video shows an Arduino Uno sending commands to blink an LED light for one second, and turning the LED light off for one second. It will do this for 5 times before fulfilling its comands and not doing anything else. In other words, the LED will blink 5 times then stop completely.

Week2 Peer Review
I added good comments on my fellow teammates pages. Only one did not have information on their week 2 but i know he has good and positive work to add to it.

Assign Task3
I will try to find a way to get a motor to work with an Arudiuno Uno

Compare actual work done to Task3
I was working with a DC Motor that i found in the class room. My goal was to get the motor to work with the Arduino Uno, but first i had to make sure that the Motor was working. What i did was i added some solid wires to the motor and tested it using a 9V battery. The test was successful and the motor ran on all four. My first try at the Arduino was to test to see if i could get the same code that lit an LED to get the Motor to actually function in any way even if it was just by making noise or any action that showed the motor doing something other than nothing. That though was a failure and failed again after a few other attempts. This week i presented my project for week 3 to the classroom and one of the students came up with the question on how i was planning on getting the energy to power the motor. I suggested that the Arduino Uno had a 5V port and that i was planing on getting the energy from there but my professor included that the motor needs at least 3V to run and that the Arduino has enough voltage but it needs more to transport to the motor. i was told that i had to use more than just the Arduino Uno since the board was not putting out much energy to get the Arduino to work. Last week i got an analog button to work with the Arduino and an LED and i used the 5V port. I still havent given that a try so for this weekend going in to week 4 i will give that a try to see if i get any actions at all from the DC Motor.

Week3 Narrative
I was working with the Arduino Page some more and i noticed that the page had experienced an extreme makeover, also that it was linked to Wikibooks. Who ever edited the page did a good job i will have to admit. A lot more information was added and maybe i can find more useful ideas from there. the link is at the top of my page as well as here, Arduino

As you can see in this youtube video, Arduino Uno working with a DC Motor, this is what i want my Arduino to do. I found this video and i was trying to trace the guys steps using the parts he used and am still in the process of trying to get the motor to work. He has a lot of wires running to many ports of the Arduino Uno Board as well as the Bread Boards. As you can see it doesnt seem like he gets all of his power from the Arduino uno, it seems as he has an ALternative power source where the red positve cables and the black negative cables come in to play. I have many ideas to what i might be using instead to actually get the motor to work and some of those ideas include maybe that im using the wrong motor for this attempt, so changing up the motor can be the easiest to get done but more likely i will run again with the same problem.

I have found many pages online when i researched people controlling a motor using an Arduino Uno. All this bring more ideas to what i can use to successfully work the motor.



Looking at the Arduino Page i found out i can turn to try to use a motor shield with working with DC Motor. This is a picture provided by Profesor Foerster that i found on the Page of an actual Motor Shield which we have in class.

Week3 Peer Review
i saw my teammates' pages and only one did not have any information for their week 3. but the other 2 had really good information. I like the fact that one is working hard to get us to be able to play and combat amongst each other using devices like the android or apple devices and then the other student is showing his progression with the battery issues. our team is looking pretty swell.

Assign Task4
I am still in the process of getting a DC Motor to work with the Arduino.Since the method that i used to blink an LED failed with the DC Motor i still have another method thats worth the try. I will try to use the method that i used to get the analog button to work with the arduino to see if maybe i can subsitute the DC Motor in and find a way to get it to do any action.

I have found a lot of people that have gotten DC Motors to work with the arduino and so i will keep trying until i find a solution to my problem which is that the Arduino Uno itself will not power the motor unless if you use external power. I am more liekly to find sucess in getting that problem solved first but before i go to that i want to get all of my suggestions out of the way first.

I will also try a motor shield incase if i keep failing, this is what i can use since i dont have an external source of energy. I have included a picture provided by professor foerster of a Motor Sheild to show what it looks like.

Compare actual work done to Task4
I didn't try the method i used to get the analog button to work because i thought to myself and decided to devote my time instead in working with the motor shield because working with that motor shield can possibly get me farther into this project than the other method. So i left alone the analog button method and pursued the motor shield more. In getting started with the motor shield, i was with out a clue in how it worked just like i was when i first started with the Arduino. I found and picked a motor shield from class and it is one of the newer motor shields there are which can be distinguished by the other motor shield due to its blue color. There is a website which is http://www.ladyada.net/make/mshield/ which is the official site for the motor shield and can be used for introduction to the motor shield and getting started with it. In Addition to this, I also started the creation of a tutorial for the motor shield on the same wikiversity page of the Arduino. This page can be accessed by clicking on it at the top of this page, searching for Arduino in the search bar, or simply clicking on the blue link that follows. Arduino

On that ladyada.net page, i found an example that they list that shows someone using a code on a sketch to get a motor to DC motor to work using the motor shield. I followed the same steps they provide as well as download the libraries that they provide to download but when i type the code in the sketch pad of the arduino software, i get error messages saying that the code is not recognized by the arduino library. I have created a problem where i cant get the code that is suppose to work the motor and i might be downloading the wrong libraries or downloading them to the wrong place. this is the page that i am using and following their steps to try to get the motor shield to work with the DC motor, you can find this information on the link that follows and under their category of DC Motors( http://www.ladyada.net/make/mshield/use.html ) in addition to the steps and the code that i am using, i went and downloaded the libraries that they provide which are on this link http://www.ladyada.net/make/mshield/download.html

Week4 Narrative
This was my first week that i ever got to actually work with a motor shield. After researching for helpful sites that might help me out in getting started, i found this site that i didn't notice at first was written on the motor shield itself. That website is the ladyada.net website. Well in this website, you can find an introduction to motor shield as well as any downloads in order for you to get started with the motor shield. The following picture is a picture of the newest model of the motor shield and you can tell its difference by being a blue color instead of the green color the older models have. In addition i show pictures of how i mounted the motor shield to the arduino as well as connected the DC Motor to the Motor Shield.

Week4 Peer Review
I was able to add positive comments on my team member's pages. In addition i was able to remind them to complete their tasks for the team page and to look over the team page for any additional words they might want to add or maybe change.

Complete Project Page
Project Done