Project SETH

Hello roboteers!

I’d like to share with you all the progress I’m making with my latest project: SETH, security evaluating tracked hybrid robot.

flickr.com/photos/65440939@N04/6155486750/

The (very distant) goal is to have a tracked robot base with arm that,

-can be controlled directly using a playstation 2 wireless controller.
-can be controlled indirectly using the serial port and a PC.
-can be controlled indirectly using a wireless standard WiFi signal.
-can transmit live video feed to a handy device such as an Iphone
-can run off of battery power for a healthy amount of time
-can without fuss run off of socket AC power
-can simply plug into the charger to charge the batteries, without removing them
-same as above, AND remain fully functional
-same as above, and can do so fully independently

So to sum it up, if all ends well I’ll have a tracked robot equipped with camera, an arm, and the ability to keep running indefinitely without me having to be there, by driving him into a dock to charge.

No small demands, but I’m sure I’ll get at least some of those points sorted!

ASSEMBLY

Once all the parts have arrived, assembly is fast and easy (relatively speaking) and is generally a great deal of fun. I’ll spare you all the pictures I took as most can be found elsewhere on this site, but one thing definitely requires mentioning:

[
flickr.com/photos/65440939@N … hotostream
]( )

Shiny!

Also, I’m adding the a-style gripper:

[
flickr.com/photos/65440939@N … hotostream
]()

Assembly is smooth, without problems and completed after a few days.

WIRING

Now it gets interesting. Because of my rather long list of demands, I quickly decide I won’t be able to cram all the needed wires in the two screw terminals so I slap together a terminal block. This turns out to be an excellent idea because after a while, even my terminal block starts getting rather full.
Initial hookup is simple: BotboardII, the sabretooth motor controller, my connector block, and the supplied connectors and wires are all slapped together and from the first try, everything lights up as it should.

[
flickr.com/photos/65440939@N … hotostream
]()

Without putting everything together, I hook the arm servo’s up to the botboard, and quickly realise it’s not doing what it should: the arm jerks around a bit and dies, remaining motionless.

Some quick checks reveal that my cheaply acquired chinese 6V power supply can’t cope with the power demand. In fact, it’s a good half an amp below what it’s supposed to be able to deliver. I hook the (still uncharged!) batteries up and the whole thing does as it should.

I then wire the power pin connectors so, that when you plug in a power source, the batteries get disconnected. Unplugging switches back to battery power. I’ve added a capacitor to buffer the power supply, but this one still needs some beefing up as the botboard still resets. So if you want to hook the robot up to AC, all you need to do is plug the power in. Simple! It doesn’t even matter wether or not the battery switches are on or off, just plug in and play.

The next step makes wiring a bit complicated. Think “Docking station-” I want to be able to just drive the robot up against some contacts and the batteries charge. Also, I want to be able to leave the robot there indefinitely without me being around to turn anything off, or use the fire extinguisher, so the chargers need to switch off at some point. In addition to that, I want to be able to just drive the robot off again without any human interaction.
Now there’s several different ways of doing this, but I had to choose one, so I went with two smartchargers (cheaply acquired chinese ones, but after delivery they actually appear to be quite high quality). The robot will be fitted with a yet to be designed docking port, and a power relay.

[
flickr.com/photos/65440939@N … hotostream
]()

[
flickr.com/photos/65440939@N … hotostream
]()

I still need to find a free drawing program that allows me to show you guys my scematics, but I’ll try to explain in short:
With the relay unpowered, the batteries (6 and 12V) feed my connector block.
I installed a small battleswitch to power the relay (which apparently draws 5mA more than the board can supply, damn!) and use a button to power it. I COULD simply leave out the relay and use two battleswitches instead, but the relay is a good deal cheaper and heavier duty.
Once powered, it completely disconnects the battery from the electronics and wires them to the docking port instead. Also, one wire from the docking port supplies 6V to the electronics, so everything still keeps running.

In other words: I have 4 wires going to the docking port. 6V, common, and one charge wire from each battery.
So when running on battery power, you drive up to the dock. 6V is transferred through the buffer diode. You check everything is in order (using the to be installed camera) and hit the charge button. The relay flicks over, batteries are now connected to the chargers and you can still happily move around the arm and camera.

This is definitely not the simplest or cheapest way of doing it, but considering the goal is to have the robot running without human presence, it’s the safest way of doing it. If anything goes wrong, the relay switches off, disconnects the chargers and resets the robot. If all goes right, the chargers switch to low trickle charge once the batteries are full, and the robot can stay there indefinitely.

I took a picture of the unassembled wiring, without any of the servo wires.

[
flickr.com/photos/65440939@N … hotostream
]()

As you might notice, I’m losing considerable space using bulky connectors, but I’m trying to keep most of the originally attached wiring intact. I could possibly gain some room by cutting them short and to size but I figured I’d want to wait with that until everything’s in the right spot and I actually run out of space.

I should note that while I’m doing all this, I’m also loading bits of program into the botboard and test things on a regular basis, but we’ll get to the main program in a bit :slight_smile:

Further wiring is done, the PS2 receiver is hooked up with a homemade connector.
At this point the whole thing is assembled completely and tested thoroughly running the standard rover program, and it all works as it should, but as I fish out the docking port to charge, I accidentally pull loose a wire… so no choice but to dismantle the whole thing again rather than play around with it (as, you can imagine, the temptation was rather big to do so) so alas no worthy pictures of the initial first version.

The next step is to install the SSC32 servo controller.

With a lot of sweat, blood and tears, a healthy dose of persistance and a ridiculous overdose of stubbornness, I manage to fit both the bot board AND the servo controller inside the tri-track chassis without having to squeeze. This took a lot of time and tweaking and some customised spacers and screws, but it CAN be done! If you intend to do so yourself, do make sure that none of the contacts are under pressure and that the two boards do NOT touch eachother. (obviously)

[
flickr.com/photos/65440939@N … hotostream
]()

As you can see, I even have enough space to feed through some servo wires (for the battery indicators) to save space.
I’ve cut all my wiring down such that nothing is under pressure. It might look a bit of a mess on the pictures, but once everything’s shut, it all flows rather nicely, lots of natural curving wires and the like, as it should be!

[
flickr.com/photos/65440939@N … hotostream
]()

One thing to note: you need to leave enough space for a serial cable to fit into the servo controller. So if you try to squeeze it all in like I did, it is best to fit and try with a serial cable attached to the SSC-32.

[
flickr.com/photos/65440939@N … hotostream
]()

After all of this, I slap the whole thing together again, hook up the arm servo’s to the SSC-32 servo controller instead, and test it all using a heavily modified program…
and it all works from the first try. No black smoke, no fire. So far, i’m a very happy bunny.

That brings us to the current state. So that would be:
Tri-track chassis with AL5D arm and a-style gripper
Currently running on Botboard 2 using BASIC ATOM PRO and SSC-32 servo controller
Playstation 2 receiver
Custom electrics

to do:
Install camera
Install WiFi to serial communication
sort out power supply for the above
Figure out how to control the whole thing through WiFI :smiley:
I’ll post the current version of the program later on.

Here’s some shots of the current version. Note that I’m still waiting for the camera, so the camera arm on the side still looks a bit naked. I’m also going to slap together a casing or enclosure of some sort to close up the SSC-32 on the back end.

[
flickr.com/photos/65440939@N … hotostream
]()

[
flickr.com/photos/65440939@N … hotostream
]()

[
flickr.com/photos/65440939@N … hotostream
]()

[
flickr.com/photos/65440939@N … hotostream
]()

Nice build and documentation. 8) Very cool!

that pretty sweet. I like the look of it. :slight_smile:

A quick update: I picked up the camera today, and it looks fan-tas-tic when attached. So far I can stream it directly to Iphone using a direct WIFI link. It doesn’t seem to want to link up to my router wifi just yet- sure wish I was a network specialist right about now :smiley:
Pictures to follow once I manage to get it to work well enough to attach it to Seth properly.

Also, work on the docking station has started. In theory, I’ll be able to drive Seth directly into it, charge the batteries in about 30 minutes, leave him in indefinitely as it switches to trickle charge, and then drive him out, all while remaining fully functional and no human interaction is required. It’ll be the rough shape of a large network cable, Seth will be able to pick it up with his arm and plug himself in, or if I fix the plug somewhere somehow, he’ll be able to drive into it. (Magnets! The secret is magnets!)

I am now a network specialist and the camera is working as intended through the WIFI network. Nah, just kidding :smiley:
The camera hooks into the local wifi network marvellously and can be accessed with a mere Iphone. Sadly my router seems to lack decent port forwarding capability so it’ll have to stay a local network connection for now. So until I hook Seth up to a wireless wifi connection, I’ve returned the camera operation to direct, so it’s a lot smoother.
The camera is now also attached permanently using a bracket.
The next step will be to power it from the batteries, so I’ll be looking at power converters next. This is being delayed as I suspect the manufacturers of the camera have not given me the right data!

The camera itself requires 3.3V, give or take. The cradle snaps into the camera battery compartiment and provides the 3.3V from a standard usb cable (5V). However they say that the cradle requires 5V EXACTLY. Now the cradle has a sticker saying 5% deviation is possible, so they’re definitely wrong already- but I suspect the cradle might already have a voltage converter in there that could quite possibly have a range of 3-6V or even 4-12V. I believe most of those converters have a range like that. If that were the case, I wouldn’t even need a converter, I’d just jab the usb cable in the battery as it were :smiley:

So yeh, that’s delayed until I decide wether or not it’d be rude to poke them ever further for more data.

Also, the docking station mentioned earlier is finished and works wonderfully- I’m just waiting to mount it to Seth until next time I’m opening it up as it’ll require some wiring inside.

I’m also considering another under-the-hood upgrade: depending on what’s happening with the before mentioned voltage converter, I might run all the logic from the 12V battery through said converter. That way all the servo’s (for the arm mainly) will be able to run a lot longer. Currently the servo’s and logic both run off the 6V battery, causing the logic to reset when the battery voltage dips too low. While unfortunate, with the way I intend to dock and charge it’s the easiest solution. However with some clever wiring and diodes here and there, I think I can get the logic to run off the 12V battery, and when docked, it’ll switch to the 6V power supply. Theoretically.

So with the whole thing on a bit of a standstill, that gives me some time to actually take it for a spin a bit more :smiley:

Yeah, I know what you mean about needing to be a network expert, having just gotten my FosCam (WiFI) set up on my LAN, and also port-forwarding to a WAN URL (with Dyndns)! No small task. I had to learn WAY more then I wanted to. Initially it will do guard duty on my wife’s two cats while we’re away, then it can take a turn on a 'bot. A little big for most of my 'bots.

foscam.us/products.html

dyn.com/dns/?dyndns-redirect

Alan KM6VV

Good news: more pictures added!

The camera is now properly mounted. Behold!

flickr.com/photos/65440939@N04/6155473914/in/photostream

flickr.com/photos/65440939@N04/6155484164/in/photostream

flickr.com/photos/65440939@N04/6155482472/in/photostream

flickr.com/photos/65440939@N04/6155479350/in/photostream

Also, I’ve provisionally put one end of the docking port where it’s supposed to go, to have a bit of an idea what it’s going to look like. When mounted properly it’ll go a bit further back so you won’t even see it.

flickr.com/photos/65440939@N04/6155481226/in/photostream

flickr.com/photos/65440939@N04/6155476588/in/photostream

Two adjustable little magnets on the side hold the other end of the docking port in place, thus making a firm contact with the springs. I’m getting less than half an Ohm so that’s good enough of a contact for me!

Hi,

Your project looks great!
A little tip, you can also post the pics directly in the post. This is the 500 size:

I was struggling with wrapping the Christmas presents so I recruited some help.


Linkie m.flickr.com/photos/65440939@N04/5958223589/lightbox/

Happy holidays everyone!