AVR GCC : Microcontrollers Port Management (Part 2 end)

December 31st, 2011 by Robot Technology | No Comments | Filed in Robotics Tutorial

A continuation of the article AVR GCC : Microcontrollers Port Management (Part 1).

>>Once the data transfer direction for the port is configured, you can set the port value to be stored in the appropriate register PORTx.
PORTx – register the port, where x is the port name.

If the output is configured as an output, then the corresponding bit in the register PORTx forms on output high signal, and zero – low signal.

If the output is configured as an input, the corresponding bit in the register PORTx connects to the output internal pull-up resistor, which provides a high level of input in the absence of an external signal.

Tags: , , , , ,

Simple line follower robot with LOGIC CIRCUITS

December 21st, 2011 by Robot Technology | No Comments | Filed in Robotics Tutorial

Line follower with single sensorUsing logic chips can make the robot’s behavior more interesting and can implement more complex algorithms. In this robot, the gate circuit is used to make the robot no longer worried about the sharp turns. It will only be using one sensor.

Algorithms for this robot motion will be as follows: when the sensor on a black field, then one of the motor will be switched on and off the other. Thus, the robot will change until the sensor is not able to pass on a white field. Then the motor running, and off – on. The robot starts rotating in the opposite direction until the sensor back on the black line. The algorithm will repeat again, and robots, slightly swaying from side to side, begin to move along the border of black and white.

A logical element that we add to the circuit of the robot is an element  “NOT” gate, or “inverter”. The inverter has one input and one output. When the input of inverter fed a logical “1″ (logical unit – a high signal), the output we will have a logical “0″ (logical zero – low signal), and when the input will be submitted to a logical “0″, then output will be present a logical “1″.

Tags: , , , ,

Distance Measurement Using Ultrasonic and MSP430 Microcontroller

December 6th, 2011 by Robot Technology | No Comments | Filed in Microcontroller, Programming, Sensors

Ultrasonic Distance Sensor With the MSP430

This is the application report from Texas Instruments about distance measurement using ultrasonic and MSP430 microcontroller. The report is provided in PDF file, you may download the application report at the end of this post.

This application report describes a distance-measuring system determined by ultrasonic sound using the MSP430F413 ultralow-power microcontroller. The system transmits a burst of ultrasonic sound waves towards the subject point and after that receives the corresponding echo.

Tags: , , , , ,

Arduino Tutorial: Use a Piezo Element to Detect Vibration

November 26th, 2011 by Robot Technology | No Comments | Filed in Arduino Tutorials, Electronics, Microcontroller, Programming, Robotics Tutorial, Sensors, Software

Circuit Connection of Arduino Tutorial Piezo element to detect vibration

Arduino Tutorial: Use a Piezo Element to Detect Vibration. This tutorial shows you how to use a Piezo element to detect vibration, in this case, a knock on a door, table, or other solid surface.

A piezo is an electronic device that generates a voltage when it’s physically deformed by a vibration, sound wave, or mechanical strain. Similarly, when you put a voltage across a piezo, it vibrates and creates a tone. Piezos can be used both to play tones and to detect tones.

Tags: , , ,

Robot Tutorial: DC Motor Control System

October 17th, 2011 by Robot Technology | No Comments | Filed in Electronics, Robotics Tutorial

H-bridge motor driver circuit

This is the tutorial of DC motor control system for robot application. The tutorial provided in powerpoint presentation sheet which is converted in PDF file. The tutorial contains information about motor control system especially for PID Closed loop control system: PID control system diagram, PID implementation, PID calculation, PID tuning and more.

Tags: , , , , , ,

A D V E R T I S E M E N T