Saturday, June 1, 2013

Days 22 to the end

The long Memorial Day weekend was spent mostly in the woodshop getting our beautiful POD ready! David and Erica drilled some holes, chiseled some channels, and just got dusty! We had one minor setback in that our drivetrain failed (i.e. one of the wheel hubs started slipping on the wheel), but a day in the shop turning our hubs into double D shapes solved that! No more wheg slipping means great driving!

Ramanan and Rishabh continued to debug the code, and get it all ready for POD and ROAMER integration.

After the weekend, and 1 or 2 all nighters, we finally began to integrate. Integration was tough, and we blew multiple fuses ( forgot there was a metal screw underneath one of our boards....woops), but in the end we got it all working! Grading day was a bit hairy, as we were scheduled to go last and working right up until the last minute, because our ROAMER had some random disconnect issues that we were trying to debug. But we made it through grading! Ed really enjoyed our rocking horse :) He said we took the cake with entertaining PODS! #yes. #lifecomplete.

The public presentation also went awesomely, as the audience obviously loved our POD :) grown adults riding the rocking horse are super entertaining!

Another quarter of ME218 complete. The last quarter for most (all?) of us....unless Erica decides to take ME218D. It's the end of an era, but we've had a great (often sleepless, but still great) time. Thanks Ed, for the memories!


Saturday, May 25, 2013

Days 21 through 23

It's finally getting there!

We got all of our inputs working! The accelerometers, force sensors and the buttons from the Pod all issue commands to the Roamer and it responds - brilliantly!

Going into the long weekend ahead, we need to get the stuff mounted on the Pod and get everything set for grading.

Tuesday, May 21, 2013

Days 19 and 20

Coding. Again.
So we discovered (much to our annoyance) that the code we had used for the previous checkoff was super buggy. Two days of troubleshooting later, the Roamer came around and responded nicely to the commands from our Pod as well that of others. We hadn't implemented all the controls on the Roamer yet, so we couldn't make a full fledged test yet.

The Pod, however, continued to be a pain. Since it had the C-32, we found it super hard to debug. We used a whole bunch of LEDs to figure out the states in which the code remained stuck. But whatever we did only seemed to make the problem worse. We're late for checkoff (again :-/), but hopefully we'll sort out the code by tomorrow.

David's been picking the actual Pod hardware apart. Its in pieces now. Literally.

Saturday, May 18, 2013

Days 15 through 17

Circuit-making

So we decided that before we go into the next check-off, we needed to have all the hardware ready. Previous experience had taught us that we would save a whole lot of time if we started testing our code on soldered circuits in segments and not use breadboards as circuit prototypes.

Hence, we decided to invest quite a bit of time in designing the layout of our circuits - especially in determining the size of the board, the wire routing and in the placement of the molex connectors.


David continued to pummel through the SPI code to get it to work with the E128 while Rishabh checked the ability of the Roamer to run at different voltages and calibrated our servos.

Tuesday, May 14, 2013

Days 12 and 13

Coding.

Debugging can be a pain when you are coding in C on a C-32. And if the C-32 so decides to use those life-saving printf output lines as its Serial Communications Interface lines, you can consider yourself to be pretty much screwed.

Somehow, we got the communication going just a while back. Our code makes the Pod to issue a connect command to the Roamer, lighting up an LED in the process. When the connection is successful, another LED lights up. The Pod then sends back a command and the Roamer lights up an LED in response.

Hopefully, this is going to continue to work!

Sunday, May 12, 2013

Day 11

Communication between the C32 and E128 has been a priority and the coding for it is in full swing. On one of the more hectic days of coding, the Pod finally arrives. David comes to lab with this



Pod - Ramanan calls it "Horsey" :P

The coding continued but at least things were a lot more relaxed.

Day 10



Getting the SPI up and running has been a priority apart from soldering circuits. The XBee boards are ready and so is a drivetrain board.

All the pin out diagrams have been finalized too.


Pinout Diagram



Motor Drive Circuit
XBee Boards