Monday, December 16, 2013

Code worked

                                                        Code Worked!!!!!!!!!!!!

To Be Continue

First and foremost, I would like thank the team that made all of this possible. Jeff Francois and Jeff Hutchinson, thank you for your participation on this project. Jeff F. did a terrific job with the coding, I'm truly please with the final outcome. Jeff H. did a great job with the write up, you summed up everything the team went through to make this project come to life. Great work gentleman...
This concludes our project...

 "TO BE CONTINUE!!!!"

Your Host: Tito J. Arana

December 13 - Hard Work Pays Off Cont.

Roboplow Mini Part 2:

Saturday, December 14, 2013

December 13 - Hard Work Pays Off

We present to you Roboplow....

December 13 - Roboplow Mini

Ladies and Gentlemen (drum roll!!!!!!)..... Roboplow Mini, brought to you by the Department of Mechanical Engineering:

Thursday, December 12, 2013

December 12 - Code Used To Run Roboplow

This is our final code we are using to run Roboplow. Our Robot is alive!!!!!! A final video soon to come.

December 11 - This Is It

 At only two days away I had no choice but to go back to Walmart and purchase another RC car. This time I did not throw away the box or took the RC apart but what I did (and this I should of done with the first RC I bought) to put batteries on the RC and the control and make sure that the forward and back worked. Luckily this one seem to work flawlessly. Once I tested that all terminals were fine, I started soldering everything back with caution. I didn't want to alter anything with the new RC car. So far is looking great according to plan. Each terminal that's being solder is working great. Now to put it back together and move forward with Roboplow. Ladies and Gentlemen, we are back in business. Two RC car later:


December 10 - Once Again

Today I rush to buy a new RC car at a local Walmart and begin all the soldering once again. At this point we are pressure for time. Little did we know that something major like this would show up. But then again with any problem there's a solution. Once again I took all the unnecessary parts off the RC and left what is important to us. First I solder a cable to ground and another cable to positive just so I can run a code test the turns and also the motor forward and back. Now that I have ground solder to a cable and so is positive, I plug the leads to the breadboard along with the proper wiring and fail. Now the forward and right turn don't work on the brand new RC car. My theory is that these RC car have some sort of defect. At this point I had taken the RC car apart and thrown the box away to return the car.

December 9 - No!!!!!!!

Almost at the end of the finish line and here's an obstacle. Testing the code, the ping sensor, the new body style and battery, Roboplow seems to not want to turn left or right even though the serial monitor is reading left and right. It just doesn't make sense. We checked, double checked and triple checked line by line. Why all of the sudden Roboplow doesn't want to make any turns? Our next point is to check all of the wires and bingo!!!! We figured out that terminals left and right do not work. Our theories:

1. When soldering the terminal left and terminal right three times (yes three time it came undone) we must of alter something with the chip

2. Maybe we did bad wiring and burnt the chip

3. Manufacture default

At this point we all got discourage, but like I told me team "This is part of our challenge gentlemen, we now have to come up with a solution." At this point my solution (quickest solution being that we only had three days left) was to purchase a new RC toy car.

December 5 - Body Part Updated

Ladies and gentlemen, here is our new body style for Roboplow. Free access to the Arduino USB port, access to the RC's motherboard, opening in the sides for LED, opening for an On/Off switch at the top and the Arduino board holder:
    












December 4 - Back To The Code

While the body was getting printed one more time with all the updates done on the 3rd. Jeff F and I came up with the idea of adding LED to Roboplow. We wired some LED to the breadboard added a couple more lines of arguments to our code and we came up with this:

December 3 - Body Update

After the body was printed, I came up with a few more ideas to add. I wanted to implement a few things, like make an opening for a free access to the Arduino port, add an extruded part to hold in place the Arduino, make a special box for the battery holder, make an opening in the middle of base for free access to the RC's motherboard. Here's the Solidwork part:












December 3 - Putting All The Pieces Together

We now have a working sensor, the ping sensor is able to see an obstacle and figure out to go on reverse and keep moving forward in a different direction. We are very close to our final assemble, today I got the body. It was pretty exciting to put everything together, the Arduino, the breadboard, the battery, the Ping Sensor and this is what it looks like all together:



December 2 - Ping Sensor Trials

While the body is getting printed, we go back to work on the code. So far we have the Ping Sensor to see an object in front of it, stop and go in reverse. This is what is looks like:

Monday, December 9, 2013

November 28 - Body Work

Now that we have our code to work, it is time to work on the body style. As a group we threw different ideas as to what the body should look like. Both Jeff F. and Jeff H. wanted to make a body style of a pick up truck. Really good idea but Roboplow need to looked more futuristic. At one point we all agreed to make a simple box, but then we figured that was too simple. Until on a Thanksgiving aftenoon, I came up with this idea:

November 27 - Third Attempt

Second code failed. This code did make the ping sensor to work (awesome!!) but the only thing that worked was the ping sensor. The RC motors didn't want to turn on (not good), we have a working sensor but not a working car. Again we change the language to make it our own but unfortunately the RC did not want to budge. All until we came across this code (they do say the third one is the charm): This code works!!!! Our ping sensor was picking up obstacles and also was making the RC move forward when no obstacles were present and going in reverse when there was an obstacle. This code also made the wheels turn. We changed a lot of line to make it our own.

November 27 - Second Attempt

First code failed. The ping sensor did not picked up any obstacles, in fact the ping sensor did not turn on. We tried different things to make this code to work. We changed the language to make it our own but the ping sensor did not turn on. We then went back to the website we got the code from and later we found out the creators of this code were using a different sensor similar to ours. We then came across this:

November 27 - First Attempt

Our first attempt to make the ping sensor pick up obstacles and stops at midway, turn either left or right then continue moving forward. When we looked online for similar codes. We came across this, we figured it would work:

Sunday, December 8, 2013

November 27 - Stripped RC Car, A Motherboard, Ping Sensor

We now have a stripped RC car, a motherboard, a ping sensor, an Ardunio and a breadboard. All the terminals are solder and ready  for testing. We begin to test different lines of code, some taking from Google and rewritten to make it our own. A challenge ahead of us awaits. We need to control two motors and make the motors talk to the Ping sensor when an object is at a close proximity. At the same time when an object is at a close proximity, Roboplow mini will stops and either turn left or right... At the control room:

November 26 - It's Soldering Time Cont.

Inspecting for any loose leads. Making sure everything is in place and each cable is in its corresponding terminal.

November 26 - It's Soldering Time

Now that we've tested the mother board main chip. It is time to solder cables to its corresponding terminal. First solder terminal Reverse and Forward (red cables are for Reverse and Forward)
Then solder terminals Left and Right: (black cables are for Left and Right)

Saturday, December 7, 2013

November 21 - Halfway There

We are halfway there. Thumbs up for success!!!

Novermber 21 - Engineers At Work

Engineers Build Off Ahead Please Use Caution...
Engineers At Work

November 21 - Do Work! Continue

Success!!!! Now the battery powers both the Arduino and RC
Great Job Men!!! 

November 21 - Do Work!!!

Ready, set, and the build off starts. Here we demonstrate Jeff F. and Jeff H in the operating room. Making our idea come to life.
Now that we have bits and pieces connected, we proceed to test the motor once again by just using the battery this time (the Arduino is not connected to the computer). Which essential will power both the Ardunio and the RC

Friday, December 6, 2013

November 21 - Rigth and Left Turn

Next, we test the RC's right and left turn. Under the Arduino program library "Simple - Blink" example. We test right and left turn. Here's a rough sketch of the code we use to test right and left. We used the same coding for left turn:

Tuesday, November 26, 2013

November 21 - MotorTest

On to the next step. We test the RC's mother board front motor. Under the Arduino program library "Simple - Blink" example. We test the delay of the motor. Here's a rough sketch of the code we use to test the delay:

Sunday, November 24, 2013

November 20 - Dismantle

Show of hands, how many of us took a cheap RC toy car apart giving to us either on Christmas, birthday or just because??? Well if some of you haven't you are missing all the fun:
We stripped our RC down to bear bones. We now have dismantle RC toy car, a mother board and well 4 guys. Now we need to study the RC's mother board, mainly study the main chip and its functionality.
Professor Sullivan once said "Google own the Universe." We didn't have to study the board in depth. All we had to do was type the name of the Chip in Google (well Google led us to this  :http://www.et.byu.edu/~bmazzeo/LTR/tech.phtml") and we now know the purpose of the main chip.
It's funny because I once told a friend "If you don't know the answer, don't ask me ask Google.

November 13 - RoboPlow

On November 13 as a group we came up with numerous ideas, from designing the well known cartoon figure Wall-E to remote control police car. All were terrific ideas but very challenging projects to construct in a short period of time. All until we came up with RoboPlow Mini. It might sound like "oh here's another RC build off," well not really. Our idea of a plow vehicle comes from this YouTube video below: 

Pretty Cool huh!!!
We wanted to come close to this build off. What makes Mini-RoboPlow come to live:
PING Sensor
Plow
RC Toy Car
Arduino Board
A series lines of codes
And 4 guys
From here we begin our journey...
Enjoy!!!

Wednesday, November 13, 2013

Project Initial Ideas

Project Overview

Today, we came up with some initial ideas for our project. The design we have chosen is a sandplow with sensors to detect walls. The plow will push sand forward, detect a wall, move in reverse and turn to push sand at its sides, repeating the process. LED lights of different colors will be lit based on the direction of the plow.