Shop OBEX P1 Docs P2 Docs Learn Events
Boe-Bot Encoders With Treads-Kit Too — Parallax Forums

Boe-Bot Encoders With Treads-Kit Too

TinkersALotTinkersALot Posts: 535
edited 2010-09-04 14:27 in Robotics
Since I am having a project stall on my sting-ray (see blowing my stack thread) I decided to work on a boe-bot instead.

I don't know if anyone has ever done this, and if this already done a dozen times I apologize for the redundant information. I am pretty sure that I didn't void the warranty by adding the Boe-Bot Digital Encoder Kit to a boe-bot that was sporting a Boe-Bot Tank Tread Kit -- but I did have to dig around in my spare parts bag to pull it off.

The key to making this work was to use Standoffs between the encoder and the boe-bot chassis (to get the sensor on the outer side of the tread).

Next, the orignal boe-bot wheel is also mounted with stand offs OVER/OUTSIDE OF the tread gear (which is mounted to the servo in the usual manner).

I have included some pics that I hope illustrate this better than words can.

Image 15 : Top Shot showing standoffs that position the encoders to the outside of the tread
Image 18 : Close up showing stand offs between tank tread main gear and the original boe bot wheel
Image 19 : Back Shot showing standoffs that position the encoders and the original boe-bot wheels
Image 20 : Front angle shot showing encoders "tucked up behind" the boe-bot wheels.
640 x 480 - 205K
640 x 480 - 262K
640 x 480 - 262K
640 x 480 - 248K

Comments

  • ratronicratronic Posts: 1,451
    edited 2010-08-28 18:44
    Very creative TinkersALot! Just to let you know I downloaded Beau's unmodified Servo32v7 code from the obex and it does work. It looks to me you modified to get the servos to scan slower and other things. When you get back to working on the stingray I have some ideas how to accomplish what you were trying to do. The mod on the Boebot looks fantastic!
  • ercoerco Posts: 20,256
    edited 2010-08-28 19:00
    tinkers: Nice job! I have not seen the wheel/tread combo before, you're the first that I've seen anyway! I think Parallax bought those bogies & tread parts from Tamiya, looks like one of their kits, I put those treads on my Waste-bot's triangular wheels: http://www.youtube.com/watch?v=Ie1AWV3-yS4

    I'm an encoder fan, and I will be curious to see how well your treaded BoeBot works. Please advise and video if possible!
  • TinkersALotTinkersALot Posts: 535
    edited 2010-08-28 19:25
    Hi Ratronic - The only thing I remember adding to Beau's code is GetPosition and an array of "last requested positions" do you think that is what blew my stack? I'll have to dig into that soon.

    Erco - I'm still merging encoder and ping programs together. So, right now, this little boe-bot just kind of lurches around like a cockroach (grin). But it does go straight now (as well as forward).
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-08-28 20:00
    Wow, that's dedication! Nicely done, TinkersALot!

    -Phil
  • ratronicratronic Posts: 1,451
    edited 2010-08-28 20:23
    Hi TinkersALot - I know Beau's code works fine unmodified. There were a couple of things I saw like using repeats for a time delay and probably other things. I'll post some suggestions in the other thread - not that mine are all that good - I consider myself as always learning!
  • WhitWhit Posts: 4,191
    edited 2010-08-29 18:09
    Nice work! This is an ingenious scheme TinkersALot. Super idea.
  • TinkersALotTinkersALot Posts: 535
    edited 2010-08-29 20:36
    Thanks, gents! Sometimes wild-hair-brained ideas work out.
  • TinkersALotTinkersALot Posts: 535
    edited 2010-09-03 18:18
    This little bot continues to "evolve." It is back on the bench again, because I really did not like the lurchiness of the roam-with-pings on a BS2 based system. So, I'm in the midst of adding a propeller processor board to replace the BS2 that will allow more complex software to power this little feller. (I'm still trying to decide if I will name it a poe-bot or a poe-ray? )

    For a peek forward on the software front, what I have in mind is a sensors pipeline that will run in cogs that are separate from the drive-servo/encoder-counting cogs. The sensor cogs will generate messages to the drive-servo control cogs. The drive-servo cogs will just respond to this event stream (or will keep processing the last input message if no new message is present in their message queue). I hope to post more updates on that front over time.

    As luck would have it, the spin-studio main board ( http://ucontroller.com/index_pro1.html ) will mount to the existing stand-offs on the boe-bot chassis. I like this board because of the "bus/slots" that it sports. Because, it is my opinion that designs like this make it easier for me to tinker a lot.

    I will be using another of their boards to interface to the boe-bot servos and the front mounted ping: http://ucontroller.com/documentation/ioservodoc.html since it has the "standard servo three pin" arrangement already in place and it has the 1K limit resistors that are needed for the PING))) module too.

    Next, I'll be using this board to hold the simple interface circuitry for the encoders: http://ucontroller.com/documentation/protocard.html ... but with a twist. Examining the copper traces on this board, anyone can see that it looks very much like the "innards" of any off-the-shelf bread board. That by itself is nice enough to be sure. But, if I can avoid melting solder on an experimental platform, I will (because, well, you know, I like to tinker a lot). So, I raided the parts bin and found a bunch of 16-pin SIP headers that I soldered on to this board, in order to make my own "bread board". See the attached images.

    Well that's it for now. Hope this tip on making your own bread board is useful to someone else that lurks around here.
    640 x 480 - 260K
    640 x 480 - 278K
  • TinkersALotTinkersALot Posts: 535
    edited 2010-09-04 14:27
    Today, this boe-bot-and-more (now I'm thinking it should be named a mo' boe bot or just a mo'bot for short) sprouted a whisker deck. So, what is a whisker deck?

    The whisker deck is is a small platform that I mounted on the outside of the ping-servo at the front that allows the mo'bot to sport whiskers as a means of sensing its surroundings. During my experiments with the mo-bot running various versions of roaming-with-ping code, I found that having whiskers would be have been a good thing.

    I don't know about you all, but occassionally things go slightly awry with my programming and these little fellers tend to bump into things. So, I guess I'll call having whiskers a fail safe to be used when my adventures in programming don't work exactly right.

    To add the whisker deck, I robbed a couple of angle mounts from an erector set. As an aside, I'd recommend at least one erector set to anyone that can't quite punch through on purchasing vex metal parts but still needs various light weight metal parts from time to time.

    These angle mounts attach to the back side of the front-most idler pulley of the tread assembly. I bolted a standard radio shack circuit protoboard to the angle mounts. It turns out that the erector part and the circuit proto-board had holes drilled in exactly the right location for a couple of #4 machine screws that allows this protoboard to mount just to the outside of the ping servo.

    To finish up the whisker deck, I attached a bread-board to the top of the proto-board with double sided adhesive. After the deck was completed, I built up a whisker system and an IR sensor system on to the bread board attached to the whisker deck.

    Images here show the whisker deck, and how it is mounted to the mo'bot. Other images show how the spin studio is currently mounted on this mo'bot. I have to admit that I don't really care much for the "outrigger" style of the daughter boards (I think they are exposed in the crash-into-stuff-zone in this horizontal orientation). So, I'm waiting for some 90 degree gender changers that I found in the jameco catalog to see if I can get the spin "bus boards" to mount in a vertical orientation.

    if the parts on order don't work according to plan, then I'll have to fabricate some myself with 90 degree pin headers soldered to the leads of a header socket.
    640 x 480 - 191K
    640 x 480 - 226K
    640 x 480 - 227K
    640 x 480 - 248K
Sign In or Register to comment.