braitenberg robot with arduino

Here is a good project for those who want to start with robotics. Fairly simple and if you are using a breadboard there is no soldering involved. It is a vehicle that follows a light source using two LDRs, two servo motors, two wheels and an Arduino as its brain. The two LDRs are placed one on the left and one on the right side of the vehicle and each one controls the motor from the opposite side.

Although this project can be done using discrete components alone, using an Arduino allows you to further develop the project. Light is detected by the two LDRs. Each LDR is connected in series with a resistor between Vcc and ground forming a voltage divider. The joint point between the LDR and the resistor is connected to one of the Arduino’s analog inputs.

You will need to play a little bit with the values of the resistor so that you get the right sensitivity for light detection. A variable resistor could be very handy. The motors who spin the wheels are two hacked servo motors. Since servo motors don’t spin 360 degrees there is a way explained in the project to transform them into gear motors.

Servo motors are however pretty easy to control with the microcontroller. You have a center value which will make the motor stand still and if you add or subtract  from that value it will make it go forward or reverse. You will need to run a few tests to determine these values and to adjust the light sensors.

Braitenberg robot with Arduino: [Link]

controlling the flight of a zeppelin

A teams of students from Colorado State University have designed and built a PIC-based circuit to control the flight of a blimp. You can control it manually by remote or let the zeppelin find it’s own path to a specific destination that is designated by an infrared beacon.

The remote control has a 20×4 LCD display which shows the commands and a 12 key keypad from which you can control take off, land, forward, reverse and steering commands. The zeppelin also has an altitude controller with ultrasonic sensors. This makes it go higher if it detects the ground too close or go lower if it’s altitude increases too much.

The thrust is given by two motors, each set at the end of a horizontal bar. A servo motor controls the angle of this bar and thus the direction of the thrust. There are four IR sensors each placed in the four cardinal points. These sensors serve the autonomous flight mode. The IR sensors output a low pulse when it “sees” the beacon so the zeppelin will follow the direction of the sensor which gives out the most pulses. The beacon is made with 16 IR LEDs driven by two 555 circuits.

The altitude control is been taking care of by a PIC16F84 designated IC2 in the schematics, steering is done by a PIC16F88, IC3, and all communicate with the control center a PIC16F874, IC4. Thrust motors are driven by SN754410, IC5 in the schematics. In the remote control you will find a PIC16F877P who takes care of all the RC functions, reading the keypad, displaying characters on the LCD, sending audio message to speaker and sending serial commands to the zeppelin.

Controlling the flight of a Zeppelin: [Link][Via]

September 10th, 2008

3in1 Stepper Motor Controller

This article was submited by morgoth and is part of the PCB giveaway program, so for submitting he’s work morgoth will receive a free PCB. Also in the future we’ll see more of he’s projects.

Of-course there are other projects based on this idea around the web, but what makes this one special, it’s he’s features. There are 3 stepper motors controlled by a single ATmega8 that runs at 8 MHz, and a motor driver for each motor. The motors and their drivers were recovered from an old printer.

3in1 Motor stepper controller

Although the motors are controlled by the same microcontroller each one can move independent. The board can receive commands to drive the motors trough serial interface from a computer. There is also a PC software that enables you to send commands from a nice graphical interface.

interface-for-motor-driver

As you can see this is a very practical application, for example it can be easily developed into a CNC machine. I personally like morgoth’s coding skils and i think he has some more great projects to show.

And in the ending here is a movie with the motors in action.

You need to a flashplayer enabled browser to view this YouTube video

Here are some downloads:

And here are the downloads for unipolar stepper motors:

DC motor speed control using PWM

The PWM frequency is about 10 kHz and does not make a noise in the motor. The 5 K Ohm potentiometer is connected to ADC input channel 0 and is converted to 1024 (10 bit) value, this value is applied to the PWM control and produces very smooth speed control. The HEXFET type IRL1004 has extremely low on resistance (0.009 Ohm) and requires only logic level drive, in this application it does not get warm even when controlling 1 Amp motor current. according the IRL1004 data sheet it can handle much higher motor current.

DC motor speed control using PWM: [Link]

Stepping Motor Controlled Over USB Interface

This project demonstrates how you can control a stepper motor over USB using a special software. The motor is driven by a  PIC18F4550 running with full speed USB interface at 48MHz. The software for the computer was written in Delphi and the code for PIC was written in MPlab. The source files are provided so you can make any adjustments needed.

Stepping Motor Controlled Over USB Interface: [Link][via]



© 2007-2009 YourITronics | Any logo, trademark and project represented here are property of their respective owners | Wordpress | Privacy Policy    RSS