« October 2007 | Main | December 2007 »

November 2007 Archives

November 1, 2007

design changes for frame 03

I like the bolts-through-springs approach but it would be better still if there were spacer tubes so the springs can't touch the threads. In short, 4-40 bolt inside a 3/4" spacer; spring around that; bracket around spacer engaging spring. I haven't been able to find a similar bracket with a large enough drill hole but drilling them out isn't hard.

It is starting to become clear that there are important physical differences between link-type treads and big rubber bands with holes in them. They are not the only elegance/money tradeoff, however.

November 2, 2007

suppliers

These are where pieces of TiggerBot II come from:

Frames 01 and 02

November 3, 2007

board 02 design


Logic Board 02
This one features 5 sonar rx/tx pairs and an AVR Mega 32. Should be ready by 10/12 - 10/14 or so. Compared to the 01 board, this one is less sophisticated in that it avoids SMT components, but the objective here is to come up with a design that can be assembled with at $10 radio shack soldering iron.

November 6, 2007

frame 03 design


Plastics.
It is designed for board 02. It is quite similar to the 02 frame except that (1) the suspension spring holes are designed for 3/16" brass spring guides (2) the strut cutouts are kerf-corrected for precision (3) the rear rib supports have been moved to eliminate the spacer (4) to reduce weight and expense, the decks are now 1/8" acrylic instead of 1/4" (Frame 02 was actually designed for that but I didn't bother with different materials because I was only having one made.) (5) the rear inner ribs are eliminated. These pictures show two copies of the separate thick and thin components, packed together for cutting efficiency.

This design will be rendered later today in thin red transparent and thick black opaque acrylic.

November 7, 2007

frame 03


Side

This is the first of two copies manufactured. It's not perfect but will be quite capable of evaluating the forthcoming logic board.

November 8, 2007

more

The design requires the suspension springs to be at least 3/16" i.d. and the only ones I could find on mcmaster-carr that fit had a rate of about 4lbs/in. (There are six, so it's really 24lbs/inch) This is roughly equivalent to not having any suspension. It also requires an extra steps of cutting brass tubes to fit between the bolt and spring and drilling the strut brackets out to 3/16"+ which is really close to the edge. I broke one while attempting that which means it is an unrealistic plan. I've ordered some nylon flange washers which I hope will allow me to solve the issues with the frame 02 suspension.

This frame was the first kerf-corrected design. In general stuff fit well. One issue was a crack in the top deck where the servo rib tab is inserted. That part is much thinner than it ought to be but there is no obvious way to correct it because it is somewhat dictated by the distance from the drive cog to the rear road wheel. I am going to open that tolerance slightly. It won't break during assembly but it may not be sufficiently durable. The kerf correction also meant that the servo rib bracket is not actually required which is fortunate since the hole for it is in the wrong place. It will help with durability but if removed would reduce cutting distance by about four inches.

November 9, 2007

more frame 03


Top

Side

Bottom

The suspension has been modified in these pictures. The cutout tolerances are tight enough and the decks are flexible enough that deforming them too much (i.e. tightening the suspension bolts) makes the suspension struts bind. One solution to this is to use 4 aluminum spacers to secure the decks together and secure the suspension bolts loosely using nylon nuts.

November 14, 2007

logic board 02 arrives

The second revision circuit boards have arrived. I can't wait to build one of these and find out how many components of this I actually got right.

November 16, 2007

board 02 testing

Just a few minor glitches so far, nothing that couldn't be fixed with some minor soldering. Still working on the code to make the sonar work but everything looks good on the scope. The charger components are not yet installed and only one of five sonar pairs is installed.

November 17, 2007

frame 03 + board 02

This is the first prototype that looks similar to what the final model will look like.

November 19, 2007

hari's tb2

My college roommate Hari has agreed to be the first alpha-tester. Here are some photos.

on cooking your jtag cable

As it turns out the power traces on board 02 are a bit close together. If you are clumsy (as I am) and damage the adjacent power and switch pins on the LM2676 such that they short, vcc goes from 5 to 10 volts and you have a bad day. The silver lining of this cloud is I finally had to figure out putting a bootloader on the mega32. This is how.

First, wire your AVR directly to a parallel port as described here. Basically, on a DB25, 1=SCK 2=MOSI 11=MISO, 16=RESET, 18-25ish=GND. Then do this:
uisp -dprog=dapa -dpart=ATmega32 --wr_fuse_h=D8 --wr_fuse_l=DF
uisp -dprog=dapa --erase --upload --verify if=stkload_m32_2k32k_16000000.hex
uisp -dprog=dapa --wr_lock=EF
The hex file comes from here. These steps set up the fuses correctly for a R02 board, write a boot loader to the 2kw boot section, and set up the lock bits so the app cannot overwrite it accidentally with the SPM (store-program-memory) instruction.

Then, assuming you are using your first usb serial port, upload code by pressing the reset button and then running this within a few seconds:
uisp -dprog=stk500 -dpart=ATmega32 -dserial=/dev/ttyUSB0 if=main.hex --upload --verify
You need to reset again afterwards because it will not come out of program mode on its own. Theoretically speaking this should make the board Arduino-compatible, but it didn't work on the first try (probably a slightly different bootloader) and I'm not really worried about spending time on that now.

November 20, 2007

board 02 mistakes

  • MAX232 VCC not connected. hand solder to VCC5.
  • TXMUX VSS and MAX232 capacitor GNDs not connected. hand solder to GND.
  • Too much voltage drop across AVCC isolation resistor. short.
  • Omit R29, substitute R26 100k instead of 50k (or, R25 to 25k)
  • AD5220 should have higher resistance
  • Make R10 smaller
  • Remove JTAG port, use a bootloader instead.
  • Increase sonar TX power by a factor of 2. I didn't realize why I put in R26 in until now: replace it with a tuned inductor to make the transmitter resonant. Apparently this does not work. I think the problem is that the piezo transducers are not particularly efficient capacitors. If a real capacitor is put in parallel with the transmitter and the inductor value is readjusted it should work but at this point I am more inclined to copy the tried-and-true circuit from Crunch.
More to come, unfortunately.

November 21, 2007

Le site web demandé n'existe pas

WTF. That is what you get when your name is Hari and you register a domain for your robot with a french registrar then are too lazy to point it at your webserver.

November 27, 2007

more board 02 mistakes

  • as it turns out you need dc blocking caps at every op-amp stage, especially the last one. AD5220 B lead cut, 0.1 uF added in series.
  • the mega32 has no agnd, just gnd, and they are connected. so not connecting them externally does not help a lot.
  • 0.1uF vcc filter caps are always a good idea around servos
  • an avcc isolation inductor goes a long way helping ignore the outside world
  • switching the AD5220 gain during receive seems to cause big problems. no idea why.
At right, photograph evidence that the sonar sort of works. Also, it can now drive around and avoid running into things. Large flat things anyway.

About November 2007

This page contains all entries posted to Robot Army in November 2007. They are listed from oldest to newest.

October 2007 is the previous archive.

December 2007 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.35