Let's Make Robots!

Panzer Tiger - 1. chassis

Completes missions, follow IR commands, "search & destroy", avoids traps

Several months ago I have found on my "homestock" pair of metal tuning treads for Heng Long Panzer Tiger. Had no idea what to do with that I put it back. Later I saw on E-bay used chassis which fits with the tracks together. Only motors were missing. After I bought them (tuning version) I put it all together and tried to run it. First thing I realised that to control such hungry motors using electronic regulators is just an expensive experiment. I have vaporized pair of L298s. So I decided to do it in old-fashioned way using 4 relays.

Second challenge was how to avoid "collateral damages" linked to uncontrolled movement of such heavy mechanism. This is critical especially in household with 2 kids, 2 cats and 1 wife. I used 8 IR sensors for close proximity obstacles. Four of them are in corners looking horizontaly. Other four look down to see deeper problems like staircase. Also the second fours are used for fast switch-off. When you take the tank from floor and all of them are activated it switches everything off. I play with logic of reactions based on sensor status. They are connected to all 8 pis of portD so it gives always some binary figure which is easy to analyze.

Sharp IR sensor is there to evaluate if the front obstacle is really so serious. E.g. if the hole is too deep or too wide. For this purpose it is looking 30° down.

In picture below you can see power controll. Main source is one Lipo battery which supplies motor directly. For headlights and future servos there is 6V branch. For electronics there is 5.5V branch. Also there is Ampmeter to see how hungry the robot is.


Currently I attached some other sensors - GPS, inclinometer (to measure the slope), compass and odometer. All are attached and continuously read but the data are not used for any purposes yet. So the robot know where it is but does not bother. This is space for further development.


Program structure was another question. To keep it easy for extension i split the logic of program into 3 levels.

1st level - instincts.

This senses movements and surrounding in order to avoid damages. This cannot be overriden by other commands. Routines controll motors based on othe commands but have VETO rights. Basics are fully operational.

2nd level - commands

Reads TV remote or instructions from higher levels of program. These routines controlls the movement, direction and distance of the ride. TV remote controll is fully operational now.

3rd level - mission

Overall controll of machine. Sets poins of where to go and what to do. Orders are executed by level 2 and controlled by level 1.

On this level I am working now.


As you see this robot is not ready to accomplish any other task now. I am working on second part -  the turret.

All sensors are fully functional. It can find target via laserfinder (measurig reflection), check its colour (color sensor 256 bit RGB) and measure its distance.

Turret is idependent in its job having dedicated Picaxe 28x1. Measurements are visible on display and sent to main 40x2 via serial based on request.

Now it requires just to put it together. Turret is mounted on servo below blue plate.

Below are links to videos of first movements of chassis.

When the tank approaches obstacle right in front it stops. This is temporary solution. I need to think about what the reaction should be. So, even it is not clearly visible from videos, it is not stopping because the obstacle is too strong but due to program setting. Also when it approaches the wall it does not bum it but stops 1 cm before.



To be continued...



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

interesting work, I will ask some detail later

I just saw this same base platform for sale at the mall (the RC Tiger tank).  Hopefully my wife caught one or two of the hints I was throwing her way.

Okay, so you have an awesome chassis, but what purpose do you want to accomplish with this bot?

Right question!

It seems that I put tugether all existing sensors on all-terrain chassis ...... ..... not knowing what to do with it.

You are partly right. I already built some tracked robots with clear tasks assigned. But this is my first outdoor robot.

So first I want to verify what terrain it is able to pass throught. Second question is ability of sensors to detect objects in day/night conditions in open space without walls.

For example the wireless camera is there to understand at what perspective and angles robot sees the objects.

RGB long distance (max 3 m) sensor should help to see other colours in the grass. Also laserfinder uses green 50mW laser to be absorbed by green grass and reflected by light objects.

I will keep you informed.