21
R-tist & I Sky - Technolo gies Project Internship Program on Advanced Robotics & Embedded Systems

Day1

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Day1

R-tist &

I Sky -Technologies

Project Internship Programon Advanced Robotics & Embedded Systems

Page 2: Day1

What is robotics?

Page 3: Day1

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.

Page 4: Day1

Basic block of a robot

feedback system

Input Devices

Embededsystem

OutputDevices

Page 5: Day1

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

Page 6: Day1

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

Page 7: Day1

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

Page 9: Day1

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

Page 10: Day1

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.

Page 11: Day1

master Slave 1 Slave 2

scl

sda

5 volt

Page 12: Day1
Page 13: Day1

How to use arduino IDE

Select tool Select Board Tool

Select serial port

Page 14: Day1

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

Page 15: Day1
Page 16: Day1
Page 17: Day1

Structure of program in arduino IDE

Page 18: Day1

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

Page 19: Day1

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

Page 20: Day1

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

Today’s project

Page 21: Day1

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