(25 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
=Scott Stack - Design Notebook= | =Scott Stack - Design Notebook= | ||
+ | |||
+ | <big><b>Week of September 19th: </b></big> | ||
+ | <table width=850px border=2 style="margin:8px 0px"> | ||
+ | <td bgcolor="#E5F8BC"> | ||
+ | <ul> | ||
+ | <li> Attended teleconference with Hong Kong. Discussed initial ideas for the project. Decided that we would communicate our ideas through rhea on the brainstorming page. They had the same idea of using a website ti control the vehicle.</li> | ||
+ | <li> Attended the weekly team meeting on Friday.</li> | ||
+ | </ul> | ||
+ | </td> | ||
+ | </table> | ||
+ | <!-------------> | ||
+ | |||
+ | <table width=850px border=3 style="margin:8px 0px"> | ||
+ | <td bgcolor="#D6FAF0"> | ||
+ | <b><u>Week Summary: </u></b> | ||
+ | <br>Total Time Spent: ~2.5 hours | ||
+ | </td> | ||
+ | </table> | ||
+ | <br> | ||
+ | |||
+ | ---- | ||
+ | <!--------------------------NEW WEEK-----------------------------------------> | ||
+ | ---- | ||
+ | |||
+ | <big><b>Week of September 26th: </b></big> | ||
+ | <table width=850px border=2 style="margin:8px 0px"> | ||
+ | <td bgcolor="#E5F8BC"> | ||
+ | <ul> | ||
+ | <li> Looked at processors</li> | ||
+ | </ul> | ||
+ | </td> | ||
+ | </table> | ||
+ | <!-------------> | ||
+ | |||
+ | <table width=850px border=2 style="margin:8px 0px"> | ||
+ | <td bgcolor="#E5F8BC"> | ||
+ | <b> Team Meeting</b> | ||
+ | <ul> | ||
+ | <li> Looked over processor choices </li> | ||
+ | <li> Worked out how we think the overall system should work: Each team will create a website that will be able to control both vehicles. Created a block diagram of the "big picture" of how the vehicle control system will work.</li> | ||
+ | <li> Also Created a block diagram of what peripherals the processor will hove to control.</li> | ||
+ | </ul> | ||
+ | </td> | ||
+ | </table> | ||
+ | <!-------------> | ||
+ | |||
+ | <table width=850px border=2 style="margin:8px 0px"> | ||
+ | <td bgcolor="#E5F8BC"> | ||
+ | <ul> | ||
+ | <li> Attended Weekly Meeting of Friday</li> | ||
+ | </ul> | ||
+ | </td> | ||
+ | </table> | ||
+ | <!-------------> | ||
+ | <table width=850px border=3 style="margin:8px 0px"> | ||
+ | <td bgcolor="#D6FAF0"> | ||
+ | <b><u>Week Summary: </u></b> | ||
+ | <br>Total Time Spent: ~2.5 hours | ||
+ | </td> | ||
+ | </table> | ||
+ | <br> | ||
+ | ---- | ||
+ | <!--------------------------------------------NEW WEEK---------------------------------------> | ||
+ | ---- | ||
+ | |||
<br> | <br> | ||
<big><b>Week of October 3rd: </b></big> | <big><b>Week of October 3rd: </b></big> | ||
+ | <br> | ||
+ | |||
<table width=850px border=2 style="margin:8px 0px"> | <table width=850px border=2 style="margin:8px 0px"> | ||
<td bgcolor="#E5F8BC"> | <td bgcolor="#E5F8BC"> | ||
Line 16: | Line 83: | ||
<!-------------> | <!-------------> | ||
− | <table width=850px border= | + | <table width=850px border=3 style="margin:8px 0px"> |
<td bgcolor="#D6FAF0"> | <td bgcolor="#D6FAF0"> | ||
<b><u>Week Summary: </u></b> | <b><u>Week Summary: </u></b> | ||
Line 26: | Line 93: | ||
<!--------------------------------------------NEW WEEK---------------------------------------> | <!--------------------------------------------NEW WEEK---------------------------------------> | ||
---- | ---- | ||
+ | |||
<br> | <br> | ||
<big><b>Week of October 10th: </b></big> | <big><b>Week of October 10th: </b></big> | ||
+ | <br> | ||
<table width=850px border=2 style="margin:8px 0px"> | <table width=850px border=2 style="margin:8px 0px"> | ||
Line 41: | Line 110: | ||
<!-----------------> | <!-----------------> | ||
− | <table width=850px border= | + | <table width=850px border=3 style="margin:8px 0px"> |
<td bgcolor="#D6FAF0"> | <td bgcolor="#D6FAF0"> | ||
<b><u>Week Summary: </u></b> | <b><u>Week Summary: </u></b> | ||
Line 53: | Line 122: | ||
---- | ---- | ||
+ | <br> | ||
<big><b>Week of October 17th: </b></big> | <big><b>Week of October 17th: </b></big> | ||
+ | <br> | ||
<table width=850px border=2 style="margin:8px 0px"> | <table width=850px border=2 style="margin:8px 0px"> | ||
Line 119: | Line 190: | ||
</ul> | </ul> | ||
+ | </td> | ||
+ | </table> | ||
+ | <!----------------> | ||
+ | |||
+ | <table width=850px border=3 style="margin:8px 0px"> | ||
+ | <td bgcolor="#D6FAF0"> | ||
+ | <b><u>Week Summary: </u></b> | ||
+ | <br>Total Time Spent: ~ 5 hours | ||
</td> | </td> | ||
</table> | </table> | ||
Line 126: | Line 205: | ||
<!--=====================================NEW WEEK================================--> | <!--=====================================NEW WEEK================================--> | ||
---- | ---- | ||
+ | |||
<br> | <br> | ||
<b><big> Week of October 24th: </big></b> | <b><big> Week of October 24th: </big></b> | ||
− | + | <br> | |
<table width=850px border=2 style="margin:5px 0px"> | <table width=850px border=2 style="margin:5px 0px"> | ||
<td bgcolor="#ffcc77"> | <td bgcolor="#ffcc77"> | ||
Line 166: | Line 246: | ||
</table> | </table> | ||
<br> | <br> | ||
+ | <!---------------> | ||
+ | |||
+ | <table width=850px border=3 style="margin:8px 0px"> | ||
+ | <td bgcolor="#D6FAF0"> | ||
+ | <b><u>Week Summary: </u></b> | ||
+ | <br>Total Time Spent: ~ 3.5 hours | ||
+ | </td> | ||
+ | </table> | ||
+ | |||
---- | ---- | ||
<!--=====================================NEW WEEK================================--> | <!--=====================================NEW WEEK================================--> | ||
---- | ---- | ||
+ | |||
<br> | <br> | ||
<b><big>Week of October 31: </big></b> | <b><big>Week of October 31: </big></b> | ||
+ | <br> | ||
<table width=850px border=2 style="margin:5px 0px"> | <table width=850px border=2 style="margin:5px 0px"> | ||
Line 212: | Line 303: | ||
<li> Tried to get the motor driver circuit working using BJT's (2N3904) again but could not get them to work. We then figured out that the BJT's were getting extremely hot. We figured that we were running was too much current through the BJT using the circuit above. | <li> Tried to get the motor driver circuit working using BJT's (2N3904) again but could not get them to work. We then figured out that the BJT's were getting extremely hot. We figured that we were running was too much current through the BJT using the circuit above. | ||
<li> We then tried using a MOSFET (IRL...) but could not get that to work for possibly the same reason. We weren't really sure.</li> | <li> We then tried using a MOSFET (IRL...) but could not get that to work for possibly the same reason. We weren't really sure.</li> | ||
− | <li> We then decided to use the parts from the ECE362 motor driver lab to be sure that they could handle the amount of power we put through them. Went to radio shack to get the parts (Darlington NPN transistor and optical isolator). Got back and hooked up the circuit and it finally worked.</li> | + | <li> We then decided to use the parts from the [[ECE362]] motor driver lab to be sure that they could handle the amount of power we put through them. Went to radio shack to get the parts (Darlington NPN transistor and optical isolator). Got back and hooked up the circuit and it finally worked.</li> |
<li> Experimented with the PWM on the micro. obtained oscilloscope plots of the output and we were able to change the duty cycle and frequency but we couldn't really find a combination that worked really well to change the speed of the motor. | <li> Experimented with the PWM on the micro. obtained oscilloscope plots of the output and we were able to change the duty cycle and frequency but we couldn't really find a combination that worked really well to change the speed of the motor. | ||
<li> Started putting the motor circuit on a PCB. | <li> Started putting the motor circuit on a PCB. | ||
Line 235: | Line 326: | ||
<li> <b>Task:</b> Get our micro connected to the internet and have it control something based on commands received from the net.</li> | <li> <b>Task:</b> Get our micro connected to the internet and have it control something based on commands received from the net.</li> | ||
</ul> | </ul> | ||
+ | </td> | ||
+ | </table> | ||
+ | <!-------------> | ||
+ | |||
+ | <table width=850px border=3 style="margin:8px 0px"> | ||
+ | <td bgcolor="#D6FAF0"> | ||
+ | <b><u>Week Summary: </u></b> | ||
+ | <br>Total Time Spent: ~ 9.5 hours | ||
+ | </td> | ||
+ | </table> | ||
+ | <!---------------------------------------------------------------------------> | ||
+ | ---- | ||
+ | ---- | ||
+ | <!------------------------------NEW WEEK-------------------------------------> | ||
+ | <br> | ||
+ | <big><b>Week of November 7: </b></big> | ||
+ | <br> | ||
+ | |||
+ | <table width=850px border=2 style="margin:5px 0px"> | ||
+ | <td bgcolor="#E5F8BC"> | ||
+ | <b> Meeting with Team (Tuesday) (3 hours)</b> | ||
+ | <ul> | ||
+ | <li> We created a powerpoint presentation for the design review on Friday. | ||
+ | <ul> | ||
+ | <li> I personally made the section on component selection.</li> | ||
+ | <li> We will meet again on Thursday after teleconference to finalize and review what we are going to say.</li> | ||
+ | </ul> | ||
+ | </ul> | ||
+ | </td> | ||
+ | </table> | ||
+ | <!----------------> | ||
+ | |||
+ | <table width=850px border=2 style="margin:5px 0px"> | ||
+ | <td bgcolor="#E5F8BC"> | ||
+ | <b> Teleconference with HKUST (Thursday) (1 hour) </b> | ||
+ | <ul> | ||
+ | <li> participated in a teleconference with Hong Kong.</li> | ||
+ | <li> they have decided on a tank platform as well. </li> | ||
+ | <li> We will each come up with protocol ideas and brainstorm on them over rhea. Right now it looks like well be using 16 bit instructions.</li> | ||
+ | <li>plan to have a teleconference next week at the same time (thursday 8:00am)</li> | ||
+ | </ul> | ||
+ | </td> | ||
+ | </table> | ||
+ | <!--------------------> | ||
+ | |||
+ | <table width=850px border=2 style="margin:5px 0px"> | ||
+ | <td bgcolor="#E5F8BC"> | ||
+ | <ul> | ||
+ | <li> Met with team right after teleconference to finish up our PowerPoint slides for the design review. <b>(2 hours)</b></li> | ||
+ | </ul> | ||
+ | </td> | ||
+ | </table> | ||
+ | <!--------------------> | ||
+ | |||
+ | <table width=850px border=2 style="margin:5px 0px"> | ||
+ | <td bgcolor="#E5F8BC"> | ||
+ | <b>Friday</b> | ||
+ | <ul> | ||
+ | <li> Met with team before the design review to practice presenting.<b>(1 hour)</b></li> | ||
+ | <li> Gave design review in EE206. Got some feedback: | ||
+ | <ul> | ||
+ | <li> Calculate battery consumption and decide how many batteries/what type to use</li> | ||
+ | <li> Pandaboard might be very difficult to interface with.</li> | ||
+ | </ul> | ||
+ | </ul> | ||
+ | </td> | ||
+ | </table> | ||
+ | <!-----------------------> | ||
+ | |||
+ | <table width=850px border=3 style="margin:8px 0px"> | ||
+ | <td bgcolor="#D6FAF0"> | ||
+ | <b><u>Week Summary: </u></b> | ||
+ | <br>Total Time Spent: ~ 6 hours | ||
+ | </td> | ||
+ | </table> | ||
+ | |||
+ | ---- | ||
+ | <!--======================================= NEW WEEK ================================================================--> | ||
+ | ---- | ||
+ | <br> | ||
+ | <b><big>Week of November 14th</big></b> | ||
+ | <br> | ||
+ | <table width=850px border=2 style="margin:5px 0px"> | ||
+ | <td bgcolor="#E5F8BC"> | ||
+ | <b>Team Meeting (Tuesday)(3 hours):</b> | ||
+ | <ul> | ||
+ | <li> We split up into groups to get a couple things done. Jason worked on getting Ubuntu to run on the pandaboard while Kin Chin, Chris, and I worked on improving HKUST's proposed protocol. | ||
+ | <ul> | ||
+ | <li> At first we were going to just go with our original plan to have 16 bit instructions where the first byte would be an opcode such as "go forward" or "turn turret left" and the second byte would be a quantifier that would modify the command (i.e. how fast to go forward). We realized however that this does not leave very much room for fine tuned movement control because you can only send one movement control command at a time. For example, you can't go left and forward at the same time which might be desirable if you wanted to do more of a soft left turn in a tank such as ours. HKUST's protocol deals with this problem nicely by sending all movement control data in one byte. So we decided to preserve that part in our protocol proposal.</li> | ||
+ | <li>Here is what we came up with for our second byte: | ||
+ | <br> | ||
+ | [[Image:Protocol_proposal.jpg]] | ||
+ | </li> | ||
+ | <li> The one thing that we wanted to change about HKUST's protocol was that their first byte did not leave room for peripherals that might require more than simply an on/off command. We wanted to make it modular so that many different types of peripherals could be used.</li> | ||
+ | </ul> | ||
+ | <li> Jason got Ubuntu working on the pandaboard but we could not get the camera to work. It didn't seem to mount at all when it was plugged in. We did however get the wi-fi to work on the pandaboard and were able to connect to the internet.</li> | ||
+ | </ul> | ||
+ | </td> | ||
+ | </table> | ||
+ | <!----------------------> | ||
+ | |||
+ | <table width=850px border=2 style="margin:5px 0px"> | ||
+ | <td bgcolor="#E5F8BC"> | ||
+ | <b>Weekly Meeting Friday (1 hour)</b> | ||
+ | <ul> | ||
+ | <li> Work out possibility of putting a checksum in protocol. Also include a start and stop byte. Including these things would mean that some combinations of bits could not be used for actual data. This is a problem with our current design because any combination of bits is meaningful with the current configuration. This will need to be reworked slightly in order to include these things.</li> | ||
+ | <li> It came up in conversation that we should put the webserver on the pandaboard since it already runs linux. This would greatly simplify things and also provide credit for making the website to the senior design team. We realized that if this were the case it would be dumb to have a wireless module connect a couple of inches to the server when we could just send the control micro serial data commands instead. We came up with tasks based on this new model.</li> | ||
+ | <li> <task>: work on serial communication from pandaboard</li> | ||
+ | </ul> | ||
+ | </td> | ||
+ | </table> | ||
+ | <!-----------------------> | ||
+ | |||
+ | <table width=850px border=3 style="margin:8px 0px"> | ||
+ | <td bgcolor="#D6FAF0"> | ||
+ | <b><u>Week Summary: </u></b> | ||
+ | <br>Total Time Spent: ~ 4 hours | ||
+ | </td> | ||
+ | </table> | ||
+ | |||
+ | ---- | ||
+ | <!---------------=====================NEW WEEK ===============================================--> | ||
+ | ---- | ||
+ | <br> | ||
+ | <b><big>Week of November 28th</big></b> | ||
+ | <br> | ||
+ | |||
+ | <table width=850px border=2 style="margin:5px 0px"> | ||
+ | <td bgcolor="#E5F8BC"> | ||
+ | <b>Team meeting (tues) (4 hours)</b> | ||
+ | <ul> | ||
+ | <li> Jason's webpage was getting a bunch of errors, so we spent a while trying to figure out why. It turns out that permission had to be given to access the files stored in the webcam folder. A simple chmod fixed that.</li> | ||
+ | <li> We then verified that the panda board was outputting correct RS232 data by hooking it up to another computer and using putty to display characters. <took a video of this but file type is not supported in Rhea></li> | ||
+ | <li> We then worked on initializing the serial port on the Kiel micro. After much fidgeting with it, we finally got it to transmit and receive characters from putty terminal on another computer. However, we were not able to get it to receive characters from the pandaboard. We first realized that it was the male->male RS232 cable that we had that caused the problems. It didn't mirror the pins like we thought it would (i.e tx on the pandaboard was connected to tx on the micro). To fix this we soldered our own cable that correctly connected the right pins together. This didn't work either. we decieded to meet later on in the week to resolve the issues.</li> | ||
+ | </ul> | ||
+ | </td> | ||
+ | </table> | ||
+ | <!-----------------> | ||
+ | |||
+ | <table width=850px border=2 style="margin:5px 0px"> | ||
+ | <td bgcolor="#E5F8BC"> | ||
+ | <b>Teleconference / Team meeting (Thurs) (5 hours)</b> | ||
+ | <ul> | ||
+ | <li> Went to video conference with hong kong. We realized that our current configuration does not allow for very much cooperation at all. We brainstormed some ideas to allow for more integration between teams. One possible idea is to have a central server that will communicate directly to the vehicles. We will try to come up with more ideas for next conference.</li> | ||
+ | <li> After the meeting we went to the lab and started to package everything into the tank. Jason and kin chin had met and got everything working previously. Here is a picture of the completed package: </li> | ||
+ | <br> | ||
+ | [[Image:Tank internals.JPG|350px|tumb|left]] | ||
+ | <br> | ||
+ | </ul> | ||
+ | </td> | ||
+ | </table> | ||
+ | <!------------------> | ||
+ | |||
+ | <table width=850px border=2 style="margin:5px 0px"> | ||
+ | <td bgcolor="#E5F8BC"> | ||
+ | <b>Weekly Meeting (friday) (1 hour)</b> | ||
+ | |||
+ | <ul> | ||
+ | <li> Demo-ed the finished tank prototype. </li> | ||
+ | <li> Discussed final paper to be completed by next week.</li> | ||
+ | <li> also went over the system architecture. Need to come up with a system that will encourage more collaboration.</li> | ||
+ | </ul> | ||
+ | </td> | ||
+ | </table> | ||
+ | <!-----------> | ||
+ | |||
+ | <table width=850px border=3 style="margin:8px 0px"> | ||
+ | <td bgcolor="#D6FAF0"> | ||
+ | <b><u>Week Summary: </u></b> | ||
+ | <br>Total Time Spent: ~ 10 hours | ||
+ | </td> | ||
+ | </table> | ||
+ | |||
+ | |||
+ | ---- | ||
+ | <!---------------=====================NEW WEEK ===============================================--> | ||
+ | ---- | ||
+ | <br> | ||
+ | <b><big>Week of December 5th</big></b> | ||
+ | <br> | ||
+ | |||
+ | |||
+ | <table width=850px border=2 style="margin:5px 0px"> | ||
+ | <td bgcolor="#E5F8BC"> | ||
+ | <b>Team Meeting Tuesday (1.5 hours)</b> | ||
+ | <ul> | ||
+ | <li> Met with team members to come up with an outline and figure out what to put in report.</li> | ||
+ | <li> Also discussed what to do about system architecture. Didn't come up with much new. Maybe just have websites talk directly to each other or have a central server.</li> | ||
+ | </ul> | ||
+ | </td> | ||
+ | </table> | ||
+ | <!------------------> | ||
+ | |||
+ | <table width=850px border=2 style="margin:5px 0px"> | ||
+ | <td bgcolor="#E5F8BC"> | ||
+ | <b>Teleconference / Meeting Thursday (1.5 hours)</b> | ||
+ | <ul> | ||
+ | <li> Met for a teleconference with hong kong. There was confusion and they did not know there was supposed to be a conference. </li> | ||
+ | <li> Instead we discussed system architecture. Came up with ideas that would allow for more cooperation including central server and having websites send out packets to interact with the other car.</li> | ||
+ | <li> After this, the team stayed and talked about how we would divide up the paper. I am in charge of the component selection part as well as the prototype results section.</li> | ||
+ | </ul> | ||
+ | </td> | ||
+ | </table> | ||
+ | <!-------------------> | ||
+ | |||
+ | <table width=850px border=2 style="margin:5px 0px"> | ||
+ | <td bgcolor="#E5F8BC"> | ||
+ | <b>Weekly Meeting Friday (1 hour)</b> | ||
+ | <ul> | ||
+ | <li> We looked over a powerpoint that HKUST had sent and tried to work out a system architecture. It seemed that central server was the direction that we are headed. Their plan is to have separate protocols talk to a server and then have the server translate that into specific protocol for the intended car. </li> | ||
+ | </ul> | ||
+ | </td> | ||
+ | </table> | ||
+ | <!--------------------> | ||
+ | |||
+ | <table width=850px border=2 style="margin:5px 0px"> | ||
+ | <td bgcolor="#CC9966"> | ||
+ | <b>Sunday (1.5 hours)</b> | ||
+ | <ul> | ||
+ | <li> Worked on component selection part of paper. </li> | ||
+ | </ul> | ||
+ | </td> | ||
+ | </table> | ||
+ | |||
+ | <!-----------> | ||
+ | |||
+ | <table width=850px border=3 style="margin:8px 0px"> | ||
+ | <td bgcolor="#D6FAF0"> | ||
+ | <b><u>Week Summary: </u></b> | ||
+ | <br>Total Time Spent: ~ 5.5 hours | ||
+ | </td> | ||
+ | </table> | ||
+ | |||
+ | ---- | ||
+ | <!---------------=====================NEW WEEK ===============================================--> | ||
+ | ---- | ||
+ | <br> | ||
+ | <b><big>Week of December 12th</big></b> | ||
+ | <br> | ||
+ | |||
+ | |||
+ | <table width=850px border=2 style="margin:5px 0px"> | ||
+ | <td bgcolor="#E5F8BC"> | ||
+ | <b> Teleconference with HKUST Tuesday (1 hours)</b> | ||
+ | <ul> | ||
+ | <li> Discussed the details of their powerpoint with Eric from HKUST. It seems like they want to stick to thier plan in the powerpoint. This is the central server translator with different protocols. </li> | ||
+ | </ul> | ||
+ | </td> | ||
+ | </table> | ||
+ | |||
+ | <table width=850px border=2 style="margin:5px 0px"> | ||
+ | <td bgcolor="#CC9966"> | ||
+ | <b>Sunday (2 hours)</b> | ||
+ | <ul> | ||
+ | <li> Finished up my part of the paper. </li> | ||
+ | </ul> | ||
+ | </td> | ||
+ | </table> | ||
+ | <!-----------> | ||
+ | |||
+ | <table width=850px border=3 style="margin:8px 0px"> | ||
+ | <td bgcolor="#D6FAF0"> | ||
+ | <b><u>Week Summary: </u></b> | ||
+ | <br>Total Time Spent: ~ 3 hours | ||
</td> | </td> | ||
</table> | </table> |
Latest revision as of 08:05, 13 January 2012
Scott Stack - Design Notebook
Week of September 19th:
|
Week Summary:
|
Week of September 26th:
|
Team Meeting
|
|
Week Summary:
|
Week of October 3rd:
|
Week Summary:
|
Week of October 10th:
|
Week Summary:
|
Week of October 17th:
|
|
Team Meeting (tuesday)(2.5-3 hours):
|
|
|
Attended weekly VIP meeting. (1 hour)
|
Week Summary:
|
Week of October 24th:
|
Team Meeting Tuesday (3hours)
|
|
Friday
|
Week Summary:
|
Week of October 31:
|
Meeting Nov. 3rd (4 hours)
|
Meeting Friday (1 hour)
|
Week Summary:
|
Week of November 7:
Meeting with Team (Tuesday) (3 hours)
|
Teleconference with HKUST (Thursday) (1 hour)
|
|
Friday
|
Week Summary:
|
Week of November 14th
Weekly Meeting Friday (1 hour)
|
Week Summary:
|
Week of November 28th
Team meeting (tues) (4 hours)
|
Teleconference / Team meeting (Thurs) (5 hours)
|
Weekly Meeting (friday) (1 hour)
|
Week Summary:
|
Week of December 5th
Team Meeting Tuesday (1.5 hours)
|
Teleconference / Meeting Thursday (1.5 hours)
|
Weekly Meeting Friday (1 hour)
|
Sunday (1.5 hours)
|
Week Summary:
|
Week of December 12th
Teleconference with HKUST Tuesday (1 hours)
|
Sunday (2 hours)
|
Week Summary:
|