SlideShare a Scribd company logo
1 of 24
Download to read offline
PROJECT
REPORT
SIXTH SENSING
ROBOT
A Project on Atmel ATMega8
Development Board
Ritesh Dwivedi
Shivarshi Bajpai
Shivam Batra
Sagar Bidani
F
6
Contents
oAcknowledgement
oIntroduction
oHardware Description :
 ATMega8 Development Board
 ATMega8L-PU Microprocessor
 The Bot
 Camera
oWorking
oThe Code
oReferences
Introduction
Sixth sense technology is a revolutionary way to a
physical world directly without using dedicated
electronic chips. Sixth sense is a set of wearable
devices that acts as a gestural interface and
aggrandize the physical world around us with
physical information and lets the users to use
natural hand gestures to interact with the digital
information through it. This technology gaining its
popularity strength because of its usability,
simplicity and ability to work in today’s scenario.
The sixth sense technology makes use of different
image processing techniques .There are binary
images which contain only two logic values 0 or
1.intensity image which is a black and white image
with a varying brightness level between o and 255.
A digital colour image consists of RGB (Red, Green
and Blue) components in different proportions.
A different coloured object contains different pixel
values. When an images is captured the position of
required object is sensed or found by specifying
pixel range of the required object. The coloured
image is converted into binary image, in which the
pixel values whose values lies within the range of
required object pixel values are converted into
binary logic vale 1(white pixels) and the pixels
value coloured image which are out of range of
the pixel values of the specified object are
converted into binary value 0 (black pixel).with the
help of these binary converted image it is very
easy to find the position of the object.
WORKING
PRINCIPAL:
We make use of sixth sense technology for our
project. In which we capture the image using
webcam or using any other camera. The more the
sensitivity of the camera the more resolution we
get and hence we can use it for long distance
sensing of the object. The object captured is
processed through some techniques and then its
location or position is found out. And
corresponding command is given to the robot.
The Sixth Sense robot works as follows:
1. It captures the image of the object in view and
track the user’s hand gestures.
2. There are colour markers placed at the tip of
user’s finger. Marking the user’s fingers with red,
yellow, green and blue coloured tape helps the
webcam to recognize the hand gestures. The
movements and arrangement of these markers are
interpreted into gestures that act as an interaction
instruction for the projected application interfaces.
3. The laptop processes the image and interprets
the hand gestures with the help of the coloured
markers placed at the finger tips.
4. The information that is interpreted through the
laptop is send to bot according which it make
movements.
Hardware Description
ATMega8L-PU:
The Atmega8l-8pu is an 8 bit micro controller
based on the Atmega 8 datasheet. It has a
maximum clock frequency of 8 MHz and 8 bit data
bus width with AVR core. The operating supply
voltage ranges from 2.7 v to 5.5 voIts has a total of
3 timers with 23 number of programmable I/O’s, a
USB connection, a power jack, a Reset button,
on/off button.
It contains everything needed to support the
microcontroller; simply connect it to a computer
with a USB cable or power it with an AC-to-DC
adapter or battery to get started.
Pin Number Description
1 (RESET) PC6
2 (RXD) PD0
3 (TXD) PD1
4 (INT0) PD2
5 (INT1) PD3
6 (XCK/T0) PD4
7 VCC
8 GND
9 (XTAL1/TOSC1) PB6
10 (XTAL2/TOSC2) PB7
11 (T1)PD5
12 (AIN0) PD6
13 (AIN1) PD7
14 (ICP1) PB0
15 (OC1A) PB1
16 (SS/OC1B) PB2
17 (MOSI/OC2) PB3
18 (MISO) PB4
19 (SCK) PB5
20 AVCC
21 AREF
22 GND
23 (ADC0) PC0
24 (ADC1) PC1
25 (ADC2) PC2
26 (ADC3) PC3
27 (ADC4/SDA) PC4
28 (ADC5/SCL) PC5
Features
High-performance, Low-power AVR 8-bit Microcontroller
- 130 Powerful Instructions - Most Single Clock Cycle
Execution
- 32 x 8 General Purpose Working Registers
- Up to 6 MIPS Throughput at 16MHz
- Fully Static Operation
- On-chip 2-cycle Multiplier
Non-volatile Program and Data Memories
- 8k Bytes of In-System Self-Programmable Flash
- Optional Boot Code Section with Independent Lock Bits
- 512K Bytes EEPROM
- Programming Lock for Software Security
- 1K Byte Internal SRAM
Peripheral Features
- On-chip Analog Comparator
- Programmable Watchdog Timer with Separate On-chip
Oscillator
- Master/Slave SPI Serial Interface
- Two 8-bit Timer/Counters with Separate Prescalar,
Compare
- One 16-bit Timer/Counter with Separate Prescaler,
Compare and Capture mode
- Real Time Counter with Separate Oscillator
- Three PWM Channels
- 8-channel ADC in TQFP and MLF package
- 6-channel ADC in PDIP package
- Byte-oriented Two-wire Serial Interface
- Programmable Serial USART
Special Microcontroller Features
- Power-on Reset and Programmable Brown-out Detection
- Internal Calibrated RC Oscillator
- External and Internal Interrupt Sources
- Five Sleep Modes: Idle, ADC Noise Reduction, Power-
save, Power-down and Standby
I/O and Packages
- 23 Programmable I/O Lines
- 28-lead PDIP, 32-lead TQFP, 32-pad MLF
Operating Voltages
- 4.5-5.5V for ATmega8L
Speed Grades
- 0-16 MHz for ATmega8L
Power Consumption
- Active: 3.6mA
- Idle Mode: 10mA
- Power-down Mode: 0.5 µA
ATMega8 Development Board:
The Atmel®
AVR®
ATmega8 is a low-power CMOS
8-bit microcontroller based on the AVR RISC
architecture. By executing powerful instructions in
a single clock cycle, the ATmega8 achieves
throughputs approaching 1MIPS per MHz, allowing
the system designer to optimize power
consumption versus processing speed.
The Bot:
Bot is an autonomous robot made of Atmel
ATMega8L-8PU development board containing
Atmel 8-bit AVR RISC-based microcontroller
which combines 8KB of programmable flash
memory, 1KB of SRAM, 512K EEPROM, and a 6
or 8 channel 10-bit A/D converter. The device
supports throughput of 16 MIPS at 16 MHz and
operates between 2.7-5.5 volts.
H-Bridge Motors:
It is an electronic circuit which enables a
voltage to be applied across a load in either
direction.
It allows a circuit full control over a standard
electric DC motor. That is, with an H-bridge, a
microcontroller, logic chip, or remote control
can electronically command the motor to go
forward, reverse, brake, and coast.
vin S1 S3
S2 S4
S1 S2 S3 S4 Result
1 0 0 1 Motor
rotates in
one
direction
0 1 1 0 Motor
rotates in
opposite
direction
0 0 0 0 Motor free
runs
(coasts)
0 1 0 1 Motor
brakes
1 0 1 0 Motor
brakes
M
Camera:
Camera captures the image of the object in view
and tracks the user’s hand gesture. The camera
recognizes individuals, images, pictures, gestures
that user makes with his hand. The camera then
sends this data to a smartphone for processing.
Basically the camera forms a digital eye which
connects to the world of digital information.
In this project we’ll use laptop’s webcam.
Colour Marker: There are colour markers
placed at the tip of user’s fingers. Marking the
user’s fingers with red, yellow, green and blue
coloured tape helps the webcam to recognize the
hand gestures. The movements and arrangement
of these markers are interpreted into gestures that
act as an interaction instruction for the projected
application interfaces.
The Code
function sixthsense
v=videoinput('winvideo');
preview(v)
snap=getsnapshot(v);
i1=ycbcr2rgb(snap);
[a b c]=size(i1);
x=0;
y=0;
z=0;
for m=1:a
for n=1:b
if((i1(m,n,1)<=150)&&(i1(m,n,1)>=90)&&(i1(m,n,2)
>=230)&&(i1(m,n,2)<=255)&&(i1(m,n,3)>=60)&&
(i1(m,n,3)<=170))
x=x+1;
end
end
end
disp(x);
for m=1:a
for n=1:b
if((i1(m,n,1)<=255)&&(i1(m,n,1)>=250)&&(i1(m,n,
2)>=140)&&(i1(m,n,2)<=220)&&(i1(m,n,3)>=250)
&&(i1(m,n,3)<=255))
y=y+1;
end
end
end
disp(y);
for m=1:a
for n=1:b
if((i1(m,n,1)<=255)&&(i1(m,n,1)>=250)&&(i1(m,n,
2)>=90)&&(i1(m,n,2)<=150)&&(i1(m,n,3)>=85)&
&(i1(m,n,3)<=150))
z=z+1;
end
end
end
if((x>y)&&(x>z))
s=serial('com34');
set(s,'BaudRate',9600);
fopen(s);
fwrite(s,'f');
fclose(s);
else if((y>x)&&(y>z))
s=serial('com34');
set(s,'BaudRate',9600);
fopen(s);
fwrite(s,'b');
fclose(s);
else if((z>x)&&(z>y))
s=serial('com34');
set(s,'BaudRate',9600);
fopen(s);
fwrite(s,'a');
fclose(s);
end
end
else
fopen(s);
fwrite(s,'b');
fclose(s);
msgbox('no color detected');
end
end
end
REFERENCES
 ATMega8 Datasheet
 i3indya sixth sense reference material
 Images are being taken from google images
 http://erdipk-
crazyrobots.blogspot.in/2013/03/robotics-eye-
sixth-sense-technology.html
 http://www.circuitstoday.com/avr-atmega8-
microcontroller-an-introduction
 http://en.wikipedia.org/wiki/h-bridgemotor
 http://www.dailygalaxy.com/my_weblog/2011/06
/evolution-news-creating-robots-a-sixth-
sense.html

More Related Content

What's hot

Smart note taker technology
Smart note taker technologySmart note taker technology
Smart note taker technology
Patel Neel
 
Automatic room-light-controller-visitor-counter
Automatic room-light-controller-visitor-counterAutomatic room-light-controller-visitor-counter
Automatic room-light-controller-visitor-counter
Mohit Awasthi
 
Smart note taker
Smart note takerSmart note taker
Smart note taker
crisane93
 

What's hot (20)

5 pen pc technology
5 pen pc technology5 pen pc technology
5 pen pc technology
 
Smart quill
Smart quillSmart quill
Smart quill
 
Smart note taker technology
Smart note taker technologySmart note taker technology
Smart note taker technology
 
next generation smart sensor
next generation smart sensornext generation smart sensor
next generation smart sensor
 
Smart Card
Smart CardSmart Card
Smart Card
 
Blue Brain
Blue Brain Blue Brain
Blue Brain
 
Authenticated Access Control for Vehicle Ignition System by Smart Card and Fi...
Authenticated Access Control for Vehicle Ignition System by Smart Card and Fi...Authenticated Access Control for Vehicle Ignition System by Smart Card and Fi...
Authenticated Access Control for Vehicle Ignition System by Smart Card and Fi...
 
Smart quill ppt
Smart quill pptSmart quill ppt
Smart quill ppt
 
Parasitic computing
Parasitic computingParasitic computing
Parasitic computing
 
Mine workers protection slides
Mine workers protection slidesMine workers protection slides
Mine workers protection slides
 
Smart note taker
Smart note taker Smart note taker
Smart note taker
 
Blue Eyes Technology PPT
Blue Eyes Technology PPTBlue Eyes Technology PPT
Blue Eyes Technology PPT
 
SMART IRRIGATION BASED ON LORA TECHNOLOGY
SMART IRRIGATION BASED ON LORA TECHNOLOGYSMART IRRIGATION BASED ON LORA TECHNOLOGY
SMART IRRIGATION BASED ON LORA TECHNOLOGY
 
Bio Chip Presentation
Bio Chip PresentationBio Chip Presentation
Bio Chip Presentation
 
E ball technology ppt
E ball technology pptE ball technology ppt
E ball technology ppt
 
Automatic room-light-controller-visitor-counter
Automatic room-light-controller-visitor-counterAutomatic room-light-controller-visitor-counter
Automatic room-light-controller-visitor-counter
 
Smart note taker
Smart note takerSmart note taker
Smart note taker
 
Smatcard documentation
Smatcard documentationSmatcard documentation
Smatcard documentation
 
Internet of Things(IOT)_Seminar_Dr.G.Rajeshkumar
Internet of Things(IOT)_Seminar_Dr.G.RajeshkumarInternet of Things(IOT)_Seminar_Dr.G.Rajeshkumar
Internet of Things(IOT)_Seminar_Dr.G.Rajeshkumar
 
Smart quill ppt
Smart quill pptSmart quill ppt
Smart quill ppt
 

Viewers also liked

Nelly ayala velasquez
Nelly  ayala velasquezNelly  ayala velasquez
Nelly ayala velasquez
Nala Ayala
 
Evaluation of preliminary task
Evaluation of preliminary taskEvaluation of preliminary task
Evaluation of preliminary task
kbageorgehopkins
 
Group 4 sight sound and motion
Group 4 sight sound and motion Group 4 sight sound and motion
Group 4 sight sound and motion
robindai
 

Viewers also liked (20)

The sixth sense technology complete ppt
The sixth sense technology complete pptThe sixth sense technology complete ppt
The sixth sense technology complete ppt
 
Colour sensor vivek
Colour sensor   vivekColour sensor   vivek
Colour sensor vivek
 
Big data
Big dataBig data
Big data
 
Auditoria y PED
Auditoria y PEDAuditoria y PED
Auditoria y PED
 
Apa references (bbs)
Apa references (bbs)Apa references (bbs)
Apa references (bbs)
 
Ajeesh-CV
Ajeesh-CVAjeesh-CV
Ajeesh-CV
 
Nelly ayala velasquez
Nelly  ayala velasquezNelly  ayala velasquez
Nelly ayala velasquez
 
EL FENÓMENO YOUTUBER
EL FENÓMENO YOUTUBEREL FENÓMENO YOUTUBER
EL FENÓMENO YOUTUBER
 
Evaluation Question 3
Evaluation Question 3Evaluation Question 3
Evaluation Question 3
 
Voki
VokiVoki
Voki
 
Fordismo
FordismoFordismo
Fordismo
 
DadehKavan,Mashhad,Oracle ADF,Oracle Business Architectre
DadehKavan,Mashhad,Oracle ADF,Oracle Business ArchitectreDadehKavan,Mashhad,Oracle ADF,Oracle Business Architectre
DadehKavan,Mashhad,Oracle ADF,Oracle Business Architectre
 
The Avalon Media System: An Open Source Audio/Video System for Libraries and ...
The Avalon Media System: An Open Source Audio/Video System for Libraries and ...The Avalon Media System: An Open Source Audio/Video System for Libraries and ...
The Avalon Media System: An Open Source Audio/Video System for Libraries and ...
 
Evaluation of preliminary task
Evaluation of preliminary taskEvaluation of preliminary task
Evaluation of preliminary task
 
My work experience
My work experienceMy work experience
My work experience
 
Njia special school
Njia special schoolNjia special school
Njia special school
 
The Avalon Media System: A Next Generation Hydra Head for Audio and Video Del...
The Avalon Media System: A Next Generation Hydra Head for Audio and Video Del...The Avalon Media System: A Next Generation Hydra Head for Audio and Video Del...
The Avalon Media System: A Next Generation Hydra Head for Audio and Video Del...
 
Avalon Media System Community Update Webinar
Avalon Media System Community Update Webinar Avalon Media System Community Update Webinar
Avalon Media System Community Update Webinar
 
Big data presenation
Big data presenationBig data presenation
Big data presenation
 
Group 4 sight sound and motion
Group 4 sight sound and motion Group 4 sight sound and motion
Group 4 sight sound and motion
 

Similar to Sixth sensing robot

REPORT texto braillefinal
REPORT texto braillefinalREPORT texto braillefinal
REPORT texto braillefinal
ASWATHI K
 
ROBOTIC ARM WITH VOICE CONTROLLED AND IMAGE PROCESSING (1)
ROBOTIC ARM WITH VOICE CONTROLLED AND IMAGE PROCESSING (1)ROBOTIC ARM WITH VOICE CONTROLLED AND IMAGE PROCESSING (1)
ROBOTIC ARM WITH VOICE CONTROLLED AND IMAGE PROCESSING (1)
Jayan Kant Duggal
 

Similar to Sixth sensing robot (20)

REPORT texto braillefinal
REPORT texto braillefinalREPORT texto braillefinal
REPORT texto braillefinal
 
Obstacle observing
Obstacle observingObstacle observing
Obstacle observing
 
Zigbee based metal detecting robot to assist bomb detection and rescue team
Zigbee based metal detecting robot to assist bomb detection and rescue teamZigbee based metal detecting robot to assist bomb detection and rescue team
Zigbee based metal detecting robot to assist bomb detection and rescue team
 
Zigbee based metal detecting robot to assist bomb detection and rescue team
Zigbee based metal detecting robot to assist bomb detection and rescue teamZigbee based metal detecting robot to assist bomb detection and rescue team
Zigbee based metal detecting robot to assist bomb detection and rescue team
 
Boimetric using 8051
Boimetric  using 8051 Boimetric  using 8051
Boimetric using 8051
 
ROBOTIC ARM WITH VOICE CONTROLLED AND IMAGE PROCESSING (1)
ROBOTIC ARM WITH VOICE CONTROLLED AND IMAGE PROCESSING (1)ROBOTIC ARM WITH VOICE CONTROLLED AND IMAGE PROCESSING (1)
ROBOTIC ARM WITH VOICE CONTROLLED AND IMAGE PROCESSING (1)
 
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
 
Microcontroller based digital code lock report 2
Microcontroller based digital code lock report 2Microcontroller based digital code lock report 2
Microcontroller based digital code lock report 2
 
Embedded systems class notes
Embedded systems  class notes Embedded systems  class notes
Embedded systems class notes
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
 
Flexible robotic hand
Flexible robotic hand Flexible robotic hand
Flexible robotic hand
 
TFT LCD Module Display Manufacturer
TFT LCD Module Display ManufacturerTFT LCD Module Display Manufacturer
TFT LCD Module Display Manufacturer
 
Gesture Controlled Car_Project report
Gesture Controlled Car_Project reportGesture Controlled Car_Project report
Gesture Controlled Car_Project report
 
AVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdf
AVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdfAVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdf
AVR Atmega16 based Projects List - ATMega32 AVR _ Atmega16 based Projects.pdf
 
Embedded System for begners and good for seminar
 Embedded System for begners and good for seminar Embedded System for begners and good for seminar
Embedded System for begners and good for seminar
 
Hardware Overview - Controller, Power Supply, Communication, Driver
Hardware Overview - Controller, Power Supply, Communication, DriverHardware Overview - Controller, Power Supply, Communication, Driver
Hardware Overview - Controller, Power Supply, Communication, Driver
 
Lecture 5-Embedde.pdf
Lecture 5-Embedde.pdfLecture 5-Embedde.pdf
Lecture 5-Embedde.pdf
 
Jun 13 ijbi_002
Jun 13 ijbi_002Jun 13 ijbi_002
Jun 13 ijbi_002
 
PERSON ALIVE DETECTION
PERSON ALIVE DETECTIONPERSON ALIVE DETECTION
PERSON ALIVE DETECTION
 
Jun 13 ijbi_002
Jun 13 ijbi_002Jun 13 ijbi_002
Jun 13 ijbi_002
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

Sixth sensing robot

  • 1. PROJECT REPORT SIXTH SENSING ROBOT A Project on Atmel ATMega8 Development Board Ritesh Dwivedi Shivarshi Bajpai Shivam Batra Sagar Bidani F 6
  • 2. Contents oAcknowledgement oIntroduction oHardware Description :  ATMega8 Development Board  ATMega8L-PU Microprocessor  The Bot  Camera oWorking oThe Code oReferences
  • 3. Introduction Sixth sense technology is a revolutionary way to a physical world directly without using dedicated electronic chips. Sixth sense is a set of wearable devices that acts as a gestural interface and aggrandize the physical world around us with physical information and lets the users to use natural hand gestures to interact with the digital information through it. This technology gaining its popularity strength because of its usability, simplicity and ability to work in today’s scenario. The sixth sense technology makes use of different image processing techniques .There are binary images which contain only two logic values 0 or 1.intensity image which is a black and white image with a varying brightness level between o and 255. A digital colour image consists of RGB (Red, Green and Blue) components in different proportions. A different coloured object contains different pixel values. When an images is captured the position of required object is sensed or found by specifying
  • 4. pixel range of the required object. The coloured image is converted into binary image, in which the pixel values whose values lies within the range of required object pixel values are converted into binary logic vale 1(white pixels) and the pixels value coloured image which are out of range of the pixel values of the specified object are converted into binary value 0 (black pixel).with the help of these binary converted image it is very easy to find the position of the object.
  • 5. WORKING PRINCIPAL: We make use of sixth sense technology for our project. In which we capture the image using webcam or using any other camera. The more the sensitivity of the camera the more resolution we get and hence we can use it for long distance sensing of the object. The object captured is processed through some techniques and then its location or position is found out. And corresponding command is given to the robot. The Sixth Sense robot works as follows: 1. It captures the image of the object in view and track the user’s hand gestures. 2. There are colour markers placed at the tip of user’s finger. Marking the user’s fingers with red, yellow, green and blue coloured tape helps the webcam to recognize the hand gestures. The movements and arrangement of these markers are
  • 6. interpreted into gestures that act as an interaction instruction for the projected application interfaces. 3. The laptop processes the image and interprets the hand gestures with the help of the coloured markers placed at the finger tips. 4. The information that is interpreted through the laptop is send to bot according which it make movements.
  • 7. Hardware Description ATMega8L-PU: The Atmega8l-8pu is an 8 bit micro controller based on the Atmega 8 datasheet. It has a maximum clock frequency of 8 MHz and 8 bit data bus width with AVR core. The operating supply voltage ranges from 2.7 v to 5.5 voIts has a total of 3 timers with 23 number of programmable I/O’s, a USB connection, a power jack, a Reset button, on/off button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with an AC-to-DC adapter or battery to get started. Pin Number Description 1 (RESET) PC6 2 (RXD) PD0 3 (TXD) PD1 4 (INT0) PD2 5 (INT1) PD3
  • 8. 6 (XCK/T0) PD4 7 VCC 8 GND 9 (XTAL1/TOSC1) PB6 10 (XTAL2/TOSC2) PB7 11 (T1)PD5 12 (AIN0) PD6 13 (AIN1) PD7 14 (ICP1) PB0 15 (OC1A) PB1 16 (SS/OC1B) PB2 17 (MOSI/OC2) PB3 18 (MISO) PB4 19 (SCK) PB5 20 AVCC 21 AREF 22 GND 23 (ADC0) PC0 24 (ADC1) PC1 25 (ADC2) PC2 26 (ADC3) PC3 27 (ADC4/SDA) PC4 28 (ADC5/SCL) PC5
  • 9. Features High-performance, Low-power AVR 8-bit Microcontroller - 130 Powerful Instructions - Most Single Clock Cycle Execution - 32 x 8 General Purpose Working Registers - Up to 6 MIPS Throughput at 16MHz - Fully Static Operation - On-chip 2-cycle Multiplier Non-volatile Program and Data Memories - 8k Bytes of In-System Self-Programmable Flash - Optional Boot Code Section with Independent Lock Bits - 512K Bytes EEPROM - Programming Lock for Software Security - 1K Byte Internal SRAM Peripheral Features - On-chip Analog Comparator - Programmable Watchdog Timer with Separate On-chip Oscillator - Master/Slave SPI Serial Interface - Two 8-bit Timer/Counters with Separate Prescalar, Compare - One 16-bit Timer/Counter with Separate Prescaler, Compare and Capture mode - Real Time Counter with Separate Oscillator
  • 10. - Three PWM Channels - 8-channel ADC in TQFP and MLF package - 6-channel ADC in PDIP package - Byte-oriented Two-wire Serial Interface - Programmable Serial USART Special Microcontroller Features - Power-on Reset and Programmable Brown-out Detection - Internal Calibrated RC Oscillator - External and Internal Interrupt Sources - Five Sleep Modes: Idle, ADC Noise Reduction, Power- save, Power-down and Standby I/O and Packages - 23 Programmable I/O Lines - 28-lead PDIP, 32-lead TQFP, 32-pad MLF Operating Voltages - 4.5-5.5V for ATmega8L Speed Grades - 0-16 MHz for ATmega8L Power Consumption - Active: 3.6mA - Idle Mode: 10mA - Power-down Mode: 0.5 µA
  • 11.
  • 12. ATMega8 Development Board: The Atmel® AVR® ATmega8 is a low-power CMOS 8-bit microcontroller based on the AVR RISC architecture. By executing powerful instructions in a single clock cycle, the ATmega8 achieves throughputs approaching 1MIPS per MHz, allowing the system designer to optimize power consumption versus processing speed.
  • 13. The Bot: Bot is an autonomous robot made of Atmel ATMega8L-8PU development board containing Atmel 8-bit AVR RISC-based microcontroller which combines 8KB of programmable flash memory, 1KB of SRAM, 512K EEPROM, and a 6 or 8 channel 10-bit A/D converter. The device supports throughput of 16 MIPS at 16 MHz and operates between 2.7-5.5 volts. H-Bridge Motors: It is an electronic circuit which enables a voltage to be applied across a load in either direction. It allows a circuit full control over a standard electric DC motor. That is, with an H-bridge, a microcontroller, logic chip, or remote control can electronically command the motor to go forward, reverse, brake, and coast.
  • 14. vin S1 S3 S2 S4 S1 S2 S3 S4 Result 1 0 0 1 Motor rotates in one direction 0 1 1 0 Motor rotates in opposite direction 0 0 0 0 Motor free runs (coasts) 0 1 0 1 Motor brakes 1 0 1 0 Motor brakes M
  • 15. Camera: Camera captures the image of the object in view and tracks the user’s hand gesture. The camera recognizes individuals, images, pictures, gestures that user makes with his hand. The camera then sends this data to a smartphone for processing. Basically the camera forms a digital eye which connects to the world of digital information. In this project we’ll use laptop’s webcam. Colour Marker: There are colour markers placed at the tip of user’s fingers. Marking the user’s fingers with red, yellow, green and blue coloured tape helps the webcam to recognize the hand gestures. The movements and arrangement of these markers are interpreted into gestures that act as an interaction instruction for the projected application interfaces.
  • 17.
  • 18.
  • 19.
  • 20. function sixthsense v=videoinput('winvideo'); preview(v) snap=getsnapshot(v); i1=ycbcr2rgb(snap); [a b c]=size(i1); x=0; y=0; z=0; for m=1:a for n=1:b if((i1(m,n,1)<=150)&&(i1(m,n,1)>=90)&&(i1(m,n,2) >=230)&&(i1(m,n,2)<=255)&&(i1(m,n,3)>=60)&& (i1(m,n,3)<=170)) x=x+1; end end end
  • 21. disp(x); for m=1:a for n=1:b if((i1(m,n,1)<=255)&&(i1(m,n,1)>=250)&&(i1(m,n, 2)>=140)&&(i1(m,n,2)<=220)&&(i1(m,n,3)>=250) &&(i1(m,n,3)<=255)) y=y+1; end end end disp(y); for m=1:a for n=1:b if((i1(m,n,1)<=255)&&(i1(m,n,1)>=250)&&(i1(m,n, 2)>=90)&&(i1(m,n,2)<=150)&&(i1(m,n,3)>=85)& &(i1(m,n,3)<=150)) z=z+1; end end
  • 24. REFERENCES  ATMega8 Datasheet  i3indya sixth sense reference material  Images are being taken from google images  http://erdipk- crazyrobots.blogspot.in/2013/03/robotics-eye- sixth-sense-technology.html  http://www.circuitstoday.com/avr-atmega8- microcontroller-an-introduction  http://en.wikipedia.org/wiki/h-bridgemotor  http://www.dailygalaxy.com/my_weblog/2011/06 /evolution-news-creating-robots-a-sixth- sense.html