day1

Post on 31-Aug-2014

266 Views

Category:

Documents

3 Downloads

Preview:

Click to see full reader

DESCRIPTION

 

TRANSCRIPT

R-tist &

I Sky -Technologies

Project Internship Programon Advanced Robotics & Embedded Systems

What is robotics?

Robotics is the branch of technology that deals with the design, construction, operation, structural disposition, manufacture and application of robots.Robotics is related to the sciences of electronics, engineering, mechanics,and software.

Basic block of a robot

feedback system

Input Devices

Embededsystem

OutputDevices

It is an open source hardware. The arduino program done on arduino IDE

board. Crystal oscillation is of 16 MHz follow the

path of minimum error with acurate maxi. Efficiency.

Microcontroller need only squar wave form that that is why we need capacitor with crystal oscillator. It also reduce noise.

Arduino

Hardware The Arduino or

other clone boards

Based on the Atmel AVR series Controllers

Software The Arduino IDE.

Based on win AVR (C compiler for AVR Microcontrollers)

Arduino is an open source package containing

Swarms of robots are effective:◦ They can perform tasks that one expensive robot

cannot. Swarms are robust:

◦ Even if some robots fail, the swarm can still achieve the task.

Swarm robotics

Inter-Integrated Circuit( generically referred to as "two-wire interface“) is a multi-master serial single-ended computer bus invented by Philips that is used to attach low-speed peripherals to a motherboard, embedded system, or cellphone or other electronics.

I²C uses only two bidirectional open-drain lines, Serial Data Line (SDA) and Serial Clock (SCL), pulled up with resistors. Typical voltages used are +5 V or +3.3 V although systems with other voltages are permitted.

I²C protocol

The interintegrated circuit (I 2 C) bus is designed for short-range communication between chips in the same system using a software addressing system. It requires only two signal wires and operates like a simplified local area network.The I 2 C slave chips are attached to a two-wire bus, which is pulled up to logic 1 when idle. Passive slave devices have their register or location addresses determined by a combination of external input address code pins and fixed internal decoding. If several memory devices are connected to the bus, they can be mapped into a continuous address space. The master sends data in 8-bit blocks, with a synchronous clock pulse alongsideeach bit. As for SPI, the clock is derived from the instruction clock, up to 5 MHz at the maximum clock rate of 20 MHz.To send a data byte, the master first sends a control code to set up the transfer, then the 8-bit or 10-bit address code, and finally the data. Each byte has a start and acknowledgebit, and each byte must be acknowledged before the next is sent, to improve reliability.

master Slave 1 Slave 2

scl

sda

5 volt

How to use arduino IDE

Select tool Select Board Tool

Select serial port

cotrol panel -> device manager -> unknown serial port->right click on unknown serial port->update dreiver from computer ->

Give the path of pin drive then next-> see your port no is showing or not if not repeat the process.

Arduino and FTDI driver installation

Structure of program in arduino IDE

Q-: Make a program using pin D11, D12 and D13 blink LED in the manner of aeroplane light you see in night.

Starting of programming

int sen1=11;int sen2=12;int sen13=13;

void setup() { // initialize the digital pin as an output. // Pin 13 has an LED connected on most Arduino boards: pinMode(11, OUTPUT); pinMode(12, OUTPUT); pinMode(13, OUTPUT); }

void loop() { digitalWrite(11, HIGH);digitalWrite(12, LOW); digitalWrite(13, LOW); delay(1000);

digitalWrite(12, HIGH); digitalWrite(13, LOW); digitalWrite(11,LOW); delay(1000); digitalWrite(11, LOW);digitalWrite(12, LOW); digitalWrite(13, HIGH); delay(1000); digitalWrite(11, HIGH);digitalWrite(12, HIGH); digitalWrite(13, HIGH); delay(1000); digitalWrite(11, LOW);digitalWrite(12, LOW); digitalWrite(13, LOW); delay(1000); }

Program

Make a program using bit D11,D12 and D13 to show binary counting by blinking led.

Today’s project

Any question???????????

top related