Introduction: Braitenberg Vehicles 1-4: Vehicles That 3mot3

One of the most exciting aspects of robotics is that you can somtimes see beautifully intricate behaviours emerging out of relatively simple mechanisms. Don't get me worng, I love overcomplicating my designs as much as the next engineer, but it's still nice to appreciate simple, elegant ideas every once in a while.

This instructable will introduce some of the simplest and most elegant robotics conepts I have ever seen. The concept came from a book called Vehicles : experiments in synthetic psycology by a guy named Valentino Braitenberg, and appropriately, robots based off of this concept have come to be known as braitenberg vehicles.

These braitenberg vehicles can be built using nothing but a pair of motos, a pair of sensors, a battery, and a power opp amp, but they are able to move in ways that seem so biological that braitenberg chose to attribute them to emotions.

"Robots that emote? this is not possilbe" you say, and you're probably right, but I've made a short video to demonstrate the robots and show you what I mean.


This tutorial will explain ho to make the robot in the video above.
what you will need:

- two dc motors with wheels. (best if they are rated to run at around 4.5 volts)
- two light sensitive resistors
- a power op-amp (preferably either an lm272 or one of the copycats)
- assorted resistors (2x 1k, 2x 10k, 2x matching your light sensitive resistors)
- a breadboard + jumper wires
- a nine volt abttery
- a baseplate (I used a book cause I'm fancy)

Step 1: Step 1 - the Electronics

We will start by contructiong two of the circuits shown here: one for the left side of the robot and one for the right.

as you can see it's just a voltage divider feeding into a non inverting op amp. for the resistor R1, you can either use a trimmer like I did, or you can use a resistor that matches the resistance of your light sensitive resistor (LSR) when it is fully saturated with light. as the light levels surrounding the LSR increase, it's resistance will go down. In the current configuration, the voltage measured across the light sensitive resistor will be 9v*R1/(Rlsr+R1). As such, when no light is sent to the LSR it's resistance will be very high relative to R1 so the voltage sent to the motor will be almost zero. In contrast, if the light sensor is fully saturated the voltage sent to the motor will be half of the supply voltage (4.5v). This explains why the figure above is labeled excitation - the more light it sees, the faster the motor will turn.

To switch the motor out of excitation mode and into inhibition mode, all you have to do is swap R1 and the LSR as shown in the second figure. This will cause the motors to spin fast in the dark, but slow down as the light increases.

It would be nice if we could connect our motors directly to our voltage dividers, but motors need too much current for that to work. To make sure that our motors have plenty of current to nom on, we'll put some beefy op-amps in between them and the voltage dividers.  The lm272 is a great choice for this sort of application. It can put up up to 1 amp of current, and it doesn't need a negative voltage supply. In addition to the connections shown in the figure above, you will also need to connct the op-amp to power and ground. the resistor values shown in the figure above will set the gain relating our input voltage to our output voltage to about 1.1 (1+1k/10k).

Once you've completed your circuit, your robot should look a little somthing the breadboard in the third figure.

Step 2: Put It on a Platform

At this point you actually have a functional Braitenberg vehicle, you just need to put s attach it to a platform so that wheels on it and attach it to a platform. I'm all about the gheto stylez, so I just taped my robot to a book. However, if you want somthing a bit more permanent, then please feel free to show me up.

Step 3: Choose Your Destiny! (setting the Modes)

You now have a complete robot, all that you need to do now is decide which mode you want it to operate in. It's kind of like picking your character in motral combat - except more sciency.

The modes in the top half of the picture (fear and agression) both operate with the voltage dividers configured for excitation (symbloized by the little plus signs beside the wheels). In contrast, the bottom two operate with the voltage dividers configured for inhibition (symbolized by the negative sign by the wheels).

The modes on the left side of the picture (fear and love) require that the left sensor is controlling the left motor and the right sensor is controlling the right motor. In contrast, the modes on the right side of the picture (agression and exploration) have crisscorssed leads. In these modes, the left sensor feeds the right motor and the right sensor feeds the left motor.

And bam, just like that you have four robots in one. W are done here. be free. The time has come for you to impress your firends and annoy perfect strangers with your newfound robotics knowledge.