(51 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
=Scott Stack - Design Notebook=
 
=Scott Stack - Design Notebook=
  
<!--      =-=-=-=-=-=-=-=-=-=-=--=-=-=- START OF WEEK TEMPLATE -=-=-=-=-=-=-=-=-=-=-=-=-=-= -->
+
<big><b>Week of September 19th: </b></big>
<table border="1" width=850>
+
<table width=850px border=2 style="margin:8px 0px">
<tr>
+
<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">
 
<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>
 +
<big><b>Week of October 3rd: </b></big>
 +
<br>
 +
 +
<table width=850px border=2 style="margin:8px 0px">
 +
<td bgcolor="#E5F8BC">
 +
<ul>
 +
<li> briefly looked at vehicle platforms. We decided that we probably wanted to build our own vehicle platform so I looked for robotics kits that looked like they might make that task easy. Didn't find anything particularly interesting. Most robotics kits I looked at were expensive. It was also difficult to find something with just wheels and a body that would fit out needs...</li> 
 +
 +
<li> Poster for VIP poster session was completed </li>
 +
 +
<li> Weekly 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:  ~1.5 hours
 +
</td>
 +
</table>
 +
<br>
 +
----
 +
<!--------------------------------------------NEW WEEK--------------------------------------->
 +
----
 +
 +
<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">
 +
<td bgcolor="#E5F8BC">
 
<ul>
 
<ul>
<li> looked at possible options for mounting a camera on board the car without interfacing it with the microcontroller. Found this as one possible option: http://foscam.us/foscam-fi8918w-wireless-ip-camera-11.html . </li>  
+
<li> looked at possible options for mounting a camera on board the car without interfacing it with the microcontroller. Found this as one possible option: http://foscam.us/foscam-fi8918w-wireless-ip-camera-11.html. <b>(30 mins)</b> </li>
 +
 
 +
<li> Attended weekly VIP meeting on Friday. Chose a development board to start prototyping with: Kiel MCBSTM32EXL <b>(1 hour)</b> </li>  
 
</ul>  
 
</ul>  
 
<br>
 
<br>
 
</td>
 
</td>
</tr>
+
</table>
 +
<!----------------->
 +
 
 +
<table width=850px border=3 style="margin:8px 0px">
 
<td bgcolor="#D6FAF0">
 
<td bgcolor="#D6FAF0">
  Total Time Spent: ~ 30minutes
+
<b><u>Week Summary: </u></b>
 +
<br>Total Time Spent: ~ 1.5 hours
 
</td>
 
</td>
 
</table>
 
</table>
  
<!-- -=-=-=-=-=-=-=-=-=-=-=-=-=-END OF WEEK TEMPLATE -=-=-=-=-=-=-=-=-=-=-=-=-=- -->
+
<br>
 +
----
 +
<!--==========================================-NEW WEEK=====================================--->
 +
----
  
 +
<br>
 +
<big><b>Week of October 17th: </b></big>
 +
<br>
  
<table border="1" width=850>
+
<table width=850px border=2 style="margin:8px 0px">
<tr>
+
<td bgcolor="#ffcc77">
 +
<ul>
 +
<li> <b>TASK: </b> Install Kiel ARM-MDK software onto a VIP computer to start experimenting with the chosen development board (Kiel MCBSTM32EXL )</li>
 +
</ul>
 +
</td>
 +
</table>
 +
<!-------------------------------------------->
 +
 
 +
<table width=850px border=2 style="margin:8px 0px">
 +
<td bgcolor="#CC9966">
 +
<ul>
 +
<li> looked at camera options. In particular this one: http://www.axis.com/products/cam_m1011w/index.htm and this one: http://foscam.us/foscam-fi8918w-wireless-ip-camera-11.html axis looks like it will be easier to interface with website. Also briefly looked at wireless transceivers suggested by Jason. decided RN-XV WiFly Module http://www.sparkfun.com/products/10822 might be a good choice to start with. Posted findings on the discussion page on Rhea  <b>(30 minutes)</b></li>
 +
</ul>
 +
</td>
 +
</table>
 +
<!-------------------------------------------->
  
 +
<table width=850px border=2 style="margin:8px 0px">
 
<td bgcolor="#E5F8BC">
 
<td bgcolor="#E5F8BC">
<big><b>Week of October 17th: </b></big>
 
  
 +
<b> Team Meeting (tuesday)(2.5-3 hours):</b>
 
<ul>
 
<ul>
<li>Install Kiel ARM-MDK software onto a VIP computer to start experimenting with the chosen development board (Kiel MCBSTM32EXL )</li>
+
<li> found potential parts to start prototyping with including a vehicle platform, wi-fi module, wireless camera to mount on vehicle, and proximity sensors/switches. [https://www.projectrhea.org/rhea/index.php/LRVC_Oct18  see here for details on choices]</li>
 +
<li> Wrote a simple example program and loaded it onto the target development board that printed out names onto the LCD screen. </li>
 +
<li> <b> TASK:</b> determine if the development board has A/D and D/A PWM ports because it is not obvious if those features are padded out on our development board. We had a very hard time finding documentation on how to use the general purpose IO as potential analog input/output. Needs to be done because we might have to find a new dev board if these features are not available. </li>
 +
<li> After looking into wireless ip cameras, we decided that it would probably be to difficult to interface into the design. First of all the ip address of the camera would need to be manually set every time we needed to use it and then the website would need to reflect these changes. This seemed impractical. We thought that interfacing a CMOS camera with the board would give us greater flexibility in this area and ultimately be more effective. </li>
 +
</ul>
  
<li> looked at camera options. In particular this one: http://www.axis.com/products/cam_m1011w/index.htm and this one: http://foscam.us/foscam-fi8918w-wireless-ip-camera-11.html axis looks like it will be easier to interface with website</li>  
+
</td>
 +
</table>
 +
<!---------------------------------------------->
  
<li> ... other stuff ... </li>
+
<table width=850px border=2 style="margin:8px 0px">
 +
<td bgcolor="#E5F8BC">
 +
<ul>
 +
<li> Set up a lab bench in EE 63 (wednesday) with a username and password. We will install the IDE for the micro on that machine. <b>(10 minutes)</b></li>
 +
</ul>
 +
</td>
 +
</table>
 +
<!------------------------------------------>
 +
 
 +
<table width=850px border=2 style="margin:8px 0px">
 +
<td bgcolor="#E5F8BC">
 +
<ul>
 +
<li> Attended VIP poster session in MSEE <b>(1.5 hours)</b></li>
 +
</ul>
 +
</td>
 +
</table>
 +
<!------------------------------------------>
 +
 
 +
<table width=850px border=2 style="margin:8px 0px">
 +
<td bgcolor="#E5F8BC">
 +
 
 +
<b>Attended weekly VIP meeting. (1 hour)</b>
 +
<ul>
 +
<li> <b>Tasks:</b>
 +
<ul><li> Find out if the bandwidth capabilities of the wireless module will be enough to stream video.</li>
 +
    <li> Research camera options that are either neatly packaged or are able to be hand soldered easily. There was concern that the current choice of camera would not be able to be soldered to anything by hand because the contacts were very small.</li>
 +
    <li> Install windows onto the team laptop that I was given during the meeting.</li>
 +
</ul>
 +
<li> Talked about the idea of the vehicle possibly becoming an off-road exploring vehicle that would integrate things like gps, temperature, and orientation of the vehicle into the design. This means that these kinds of sensors should be taken into account when looking at other things such as the capability of the wireless transceiver to send all of this data in a timely fashion.</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 hours
 +
</td>
 +
</table>
 +
 
 +
<br>
 +
----
 +
<!--=====================================NEW WEEK================================-->
 +
----
 +
 
 +
<br>
 +
<b><big> Week of October 24th: </big></b>
 +
<br>
 +
<table width=850px border=2 style="margin:5px 0px">
 +
<td bgcolor="#ffcc77">
 +
<ul>
 +
<li> INDIVIDUAL TASK:  get windows loaded onto the laptop given to team.</li>
 +
</ul>
 +
</td>
 +
</table>
 +
<!------------------------>
 +
<table width=850px border=2 style="margin:5px 0px">
 +
<td bgcolor="#E5F8BC">
 +
<b>Team Meeting Tuesday (3hours)</b>
 +
<ul>
 +
<li> (meeting summary: [[LRVC_oct25]] )</li>
 +
<li> Wrote a list of all peripherals and their interfaces (PWM/SPI/etc...) that would be needed to interface to the processor. Available here: [[Media:Processor_interfaces.doc]]. Still not sure about the current development board in meeting all of these requirements.</li>
 +
<li> looked at camera options for a long time. We found that integrating our own camera would require A LOT of bandwidth. </li>
 +
<li> Looked up the bandwidth of the wireless transceiver (see above meeting summary) and decided that it depends on what we decide to do with the camera. All of the CMOS cameras output to much data to be sent over wireless. Our conclusion was that we would either have to figure out a way to interface an existing  ip camera to a website or find a way to limit the amount of data coming from a camera.</li>
 +
</ul>
 +
</td>
 +
</table>
 +
<!-------------------->
 +
<table width=850px border=2 style="margin:5px 0px">
 +
<td bgcolor="#CC9966">
 +
<ul>
 +
<li> Emailed Chuck Barnett about putting windows on the laptop I was given. He said that he had XP for HP computers and that it can be weird to do on DELL that we have. He said to talk to ECN about getting windows on it.</li> 
 +
</ul>
 +
</td>
 +
</table>
 +
<!--------------------->
 +
<table width=850px border=2 style="margin:5px 0px">
 +
<td bgcolor="#CC9966">
 +
<b>Friday</b>
 +
<ul>
 +
<li> Dropped the laptop at ECN to have windows XP put on it. They said that it should be ready by Monday (Oct. 31). I also had them put Microsoft office on it just in case.</li>
 +
</ul>
 +
</td>
 +
</table>
 +
<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================================-->
 +
----
 +
 
 +
<br>
 +
<b><big>Week of October 31: </big></b>
 +
<br>
 +
 
 +
<table width=850px border=2 style="margin:5px 0px">
 +
<td bgcolor="#CC9966">
 +
<ul>
 +
<li> <b>Monday: </b> Picked up laptop loaded with windows from ECN and put it in team EE63 locker.</li>
 +
</ul>
 +
</td>
 +
</table>
 +
<!-- ----------------->
 +
<table width=850px border=2 style="margin:5px 0px">
 +
<td bgcolor="#E5F8BC">
 +
<b>Tuesday:</b>
 +
<ul>
 +
<li><b>Team Meeting (4.5 hours)</b>
 +
<ul>
 +
<li> Disassembled tank to see how we might interface with it:
 +
    <br> - very easy to interface with. TONS of extra room to mount electronics inside. 
 +
    <br> - tank uses relays to ramp up voltage to the motors and also to switch them on. We will probably throw out the on-board electronics and make our own. It will be easier and also way more effective than interfacing with what is provided. We will be able to send the motors variable speeds instead of the simple all-or-nothing interface that is currently there.
 +
    <br> - Motors are kind of small... we were worried about whether or not the vehicle will be able to move effectively with all of that added weight. Probably end up replacing the motors with bigger ones and keeping the original gearbox.
 +
    <br> - turret turns using the same kind of motor as the treads.
 +
</li>
 +
<li> started a detailed outline of what information we want to include in our design review. Kin chin will try to finish and improve upon it.</li>
 +
<li> spent a LOT of time trying to interface the micro-controller to a motor using PWM. We verified that the PWM was working and we used the following circuit:
 +
    <br>
 +
    [[Image:Motor_switch_circuit.jpg]]
 +
    <br>
 +
    I did the calculations for what the R's should be by figuring out how much base current would be needed to drive 1 amp of current through the motor { Hfe * (base current) = 1A } but we could not get the circuit working. Tried the calculation several times but still didn't work. Since there is no information on the motor it's hard to tell if maybe 1 Amp isn't enough, we did some calculation wrong, or if there was a problem with the way we hooked up our circuit.
 +
<li> We decided to meet again on Thursday to try to finalize our design review outline and also to try and get this motor driver circuit working.</li>
 +
</ul> 
 +
</ul>
 +
</td>
 +
</table>
 +
<!-------------------------->
 +
 
 +
<table width=850px border=2 style="margin:5px 0px">
 +
<td bgcolor="#E5F8BC">
 +
<b>Meeting Nov. 3rd (4 hours)</b>
 +
<ul>
 +
<li> Met to tried and finish the motor driver circuit and the outline of topics to be included in our design review.</li>
 +
<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 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> Started putting the motor circuit on a PCB.
 +
<li> Finished the list of things that we would like to include in our design review.</li>
 +
 
 +
</ul>
 +
</td>
 +
</table>
 +
<!--------------------->
 +
 
 +
<table width=850px border=2 style="margin:5px 0px">
 +
<td bgcolor="#E5F8BC">
 +
<b>Meeting Friday (1 hour)</b>
 +
<ul>
 +
<li> Design Review to take place next week (Friday 11/11/11)</li>
 +
<li> Teleconference with Hong Kong next week...
 +
<ul>
 +
<li> Main Goal is to talk about a protocol for controlling the vehicles. Along with that we need to discuss vehicle platforms and how that will affect the protocol.</li>
 +
<li> Talk about getting a connection made between our micro and theirs and get them to do something in the real world. </li>
 +
</ul>
 +
</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>
 +
</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>  
 
</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>
 
<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>
 
</td>
</tr>
+
</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">
 
<td bgcolor="#D6FAF0">
  Total Time Spent: X.X
+
<b><u>Week Summary: </u></b>
 +
<br>Total Time Spent: ~ 4 hours
 
</td>
 
</td>
 
</table>
 
</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>
 
<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>
 +
</table>
 +
 +
 +
<!---=-=-=-=-=-=-=-=-=-=--=-=-=-=ENTRY TEMPLATE-=-=-=-=-=-=-=-=-=-=-=-=-
 +
<table width=850px border=2 style="margin:5px 0px">
 +
<td bgcolor=????>
 +
<ul>
 +
something!
 +
</ul>
 +
</td>
 +
</table>
 +
-=-=-=-=-=-=-=-=-=-=-=-=-=----------=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -->
 +
 +
<!-------------COLORS--------
 +
task = #ffcc77
 +
meeting = #E5F8BC
 +
independent work = #CC9966
 +
end of week = #D6FAF0
 +
-----------------------------> 
 +
 +
 
<br>
 
<br>
 
<br>
 
<br>

Latest revision as of 08:05, 13 January 2012

Scott Stack - Design Notebook

Week of September 19th:

  • 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.
  • Attended the weekly team meeting on Friday.

Week Summary:
Total Time Spent: ~2.5 hours




Week of September 26th:

  • Looked at processors

Team Meeting

  • Looked over processor choices
  • 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.
  • Also Created a block diagram of what peripherals the processor will hove to control.
  • Attended Weekly Meeting of Friday

Week Summary:
Total Time Spent: ~2.5 hours






Week of October 3rd:

  • briefly looked at vehicle platforms. We decided that we probably wanted to build our own vehicle platform so I looked for robotics kits that looked like they might make that task easy. Didn't find anything particularly interesting. Most robotics kits I looked at were expensive. It was also difficult to find something with just wheels and a body that would fit out needs...
  • Poster for VIP poster session was completed
  • Weekly meeting on Friday

Week Summary:
Total Time Spent: ~1.5 hours





Week of October 10th:

  • looked at possible options for mounting a camera on board the car without interfacing it with the microcontroller. Found this as one possible option: http://foscam.us/foscam-fi8918w-wireless-ip-camera-11.html. (30 mins)
  • Attended weekly VIP meeting on Friday. Chose a development board to start prototyping with: Kiel MCBSTM32EXL (1 hour)


Week Summary:
Total Time Spent: ~ 1.5 hours





Week of October 17th:

  • TASK: Install Kiel ARM-MDK software onto a VIP computer to start experimenting with the chosen development board (Kiel MCBSTM32EXL )

Team Meeting (tuesday)(2.5-3 hours):

  • found potential parts to start prototyping with including a vehicle platform, wi-fi module, wireless camera to mount on vehicle, and proximity sensors/switches. see here for details on choices
  • Wrote a simple example program and loaded it onto the target development board that printed out names onto the LCD screen.
  • TASK: determine if the development board has A/D and D/A PWM ports because it is not obvious if those features are padded out on our development board. We had a very hard time finding documentation on how to use the general purpose IO as potential analog input/output. Needs to be done because we might have to find a new dev board if these features are not available.
  • After looking into wireless ip cameras, we decided that it would probably be to difficult to interface into the design. First of all the ip address of the camera would need to be manually set every time we needed to use it and then the website would need to reflect these changes. This seemed impractical. We thought that interfacing a CMOS camera with the board would give us greater flexibility in this area and ultimately be more effective.
  • Set up a lab bench in EE 63 (wednesday) with a username and password. We will install the IDE for the micro on that machine. (10 minutes)
  • Attended VIP poster session in MSEE (1.5 hours)

Attended weekly VIP meeting. (1 hour)

  • Tasks:
    • Find out if the bandwidth capabilities of the wireless module will be enough to stream video.
    • Research camera options that are either neatly packaged or are able to be hand soldered easily. There was concern that the current choice of camera would not be able to be soldered to anything by hand because the contacts were very small.
    • Install windows onto the team laptop that I was given during the meeting.
  • Talked about the idea of the vehicle possibly becoming an off-road exploring vehicle that would integrate things like gps, temperature, and orientation of the vehicle into the design. This means that these kinds of sensors should be taken into account when looking at other things such as the capability of the wireless transceiver to send all of this data in a timely fashion.

Week Summary:
Total Time Spent: ~ 5 hours





Week of October 24th:

  • INDIVIDUAL TASK: get windows loaded onto the laptop given to team.

Team Meeting Tuesday (3hours)

  • (meeting summary: LRVC_oct25 )
  • Wrote a list of all peripherals and their interfaces (PWM/SPI/etc...) that would be needed to interface to the processor. Available here: Media:Processor_interfaces.doc. Still not sure about the current development board in meeting all of these requirements.
  • looked at camera options for a long time. We found that integrating our own camera would require A LOT of bandwidth.
  • Looked up the bandwidth of the wireless transceiver (see above meeting summary) and decided that it depends on what we decide to do with the camera. All of the CMOS cameras output to much data to be sent over wireless. Our conclusion was that we would either have to figure out a way to interface an existing ip camera to a website or find a way to limit the amount of data coming from a camera.
  • Emailed Chuck Barnett about putting windows on the laptop I was given. He said that he had XP for HP computers and that it can be weird to do on DELL that we have. He said to talk to ECN about getting windows on it.

Friday

  • Dropped the laptop at ECN to have windows XP put on it. They said that it should be ready by Monday (Oct. 31). I also had them put Microsoft office on it just in case.


Week Summary:
Total Time Spent: ~ 3.5 hours




Week of October 31:

  • Monday: Picked up laptop loaded with windows from ECN and put it in team EE63 locker.

Tuesday:

  • Team Meeting (4.5 hours)
    • Disassembled tank to see how we might interface with it:
      - very easy to interface with. TONS of extra room to mount electronics inside.
      - tank uses relays to ramp up voltage to the motors and also to switch them on. We will probably throw out the on-board electronics and make our own. It will be easier and also way more effective than interfacing with what is provided. We will be able to send the motors variable speeds instead of the simple all-or-nothing interface that is currently there.
      - Motors are kind of small... we were worried about whether or not the vehicle will be able to move effectively with all of that added weight. Probably end up replacing the motors with bigger ones and keeping the original gearbox.
      - turret turns using the same kind of motor as the treads.
    • started a detailed outline of what information we want to include in our design review. Kin chin will try to finish and improve upon it.
    • spent a LOT of time trying to interface the micro-controller to a motor using PWM. We verified that the PWM was working and we used the following circuit:
      Motor switch circuit.jpg
      I did the calculations for what the R's should be by figuring out how much base current would be needed to drive 1 amp of current through the motor { Hfe * (base current) = 1A } but we could not get the circuit working. Tried the calculation several times but still didn't work. Since there is no information on the motor it's hard to tell if maybe 1 Amp isn't enough, we did some calculation wrong, or if there was a problem with the way we hooked up our circuit.
    • We decided to meet again on Thursday to try to finalize our design review outline and also to try and get this motor driver circuit working.

Meeting Nov. 3rd (4 hours)

  • Met to tried and finish the motor driver circuit and the outline of topics to be included in our design review.
  • 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.
  • We then tried using a MOSFET (IRL...) but could not get that to work for possibly the same reason. We weren't really sure.
  • 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.
  • 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.
  • Started putting the motor circuit on a PCB.
  • Finished the list of things that we would like to include in our design review.

Meeting Friday (1 hour)

  • Design Review to take place next week (Friday 11/11/11)
  • Teleconference with Hong Kong next week...
    • Main Goal is to talk about a protocol for controlling the vehicles. Along with that we need to discuss vehicle platforms and how that will affect the protocol.
    • Talk about getting a connection made between our micro and theirs and get them to do something in the real world.
  • Task: Get our micro connected to the internet and have it control something based on commands received from the net.

Week Summary:
Total Time Spent: ~ 9.5 hours




Week of November 7:

Meeting with Team (Tuesday) (3 hours)

  • We created a powerpoint presentation for the design review on Friday.
    • I personally made the section on component selection.
    • We will meet again on Thursday after teleconference to finalize and review what we are going to say.

Teleconference with HKUST (Thursday) (1 hour)

  • participated in a teleconference with Hong Kong.
  • they have decided on a tank platform as well.
  • 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.
  • plan to have a teleconference next week at the same time (thursday 8:00am)
  • Met with team right after teleconference to finish up our PowerPoint slides for the design review. (2 hours)

Friday

  • Met with team before the design review to practice presenting.(1 hour)
  • Gave design review in EE206. Got some feedback:
    • Calculate battery consumption and decide how many batteries/what type to use
    • Pandaboard might be very difficult to interface with.

Week Summary:
Total Time Spent: ~ 6 hours




Week of November 14th

Team Meeting (Tuesday)(3 hours):

  • 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.
    • 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.
    • Here is what we came up with for our second byte:
      Protocol proposal.jpg
    • 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.
  • 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.

Weekly Meeting Friday (1 hour)

  • 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.
  • 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.
  • <task>: work on serial communication from pandaboard

Week Summary:
Total Time Spent: ~ 4 hours




Week of November 28th

Team meeting (tues) (4 hours)

  • 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.
  • 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>
  • 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.

Teleconference / Team meeting (Thurs) (5 hours)

  • 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.
  • 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:

  • tumb


Weekly Meeting (friday) (1 hour)

  • Demo-ed the finished tank prototype.
  • Discussed final paper to be completed by next week.
  • also went over the system architecture. Need to come up with a system that will encourage more collaboration.

Week Summary:
Total Time Spent: ~ 10 hours





Week of December 5th


Team Meeting Tuesday (1.5 hours)

  • Met with team members to come up with an outline and figure out what to put in report.
  • 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.

Teleconference / Meeting Thursday (1.5 hours)

  • Met for a teleconference with hong kong. There was confusion and they did not know there was supposed to be a conference.
  • 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.
  • 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.

Weekly Meeting Friday (1 hour)

  • 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.

Sunday (1.5 hours)

  • Worked on component selection part of paper.


Week Summary:
Total Time Spent: ~ 5.5 hours




Week of December 12th


Teleconference with HKUST Tuesday (1 hours)

  • 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.

Sunday (2 hours)

  • Finished up my part of the paper.

Week Summary:
Total Time Spent: ~ 3 hours






Back to Design Notebooks

Alumni Liaison

Basic linear algebra uncovers and clarifies very important geometry and algebra.

Dr. Paul Garrett