SlideShare a Scribd company logo
Let’s make Robots




 Sudar Muthu (@sudarmuthu)
 Research Engineer, Yahoo! Labs
 http://hardwarefun.com
 http://github.com/sudar
Why hardware for a software hacker?




                          Fun!

  #asimijs @hardwarefun
Let me show you how fun it is..




                         Demo
                   http://hardwarefun.com/projects/asimijs




 #asimijs @hardwarefun
Participate in the demo 




                          Visit
                    http://hardwarefun.com:3000




#asimijs @hardwarefun
Control the bot at stage




                    http://hardwarefun.com/projects/asimijs
#asimijs @hardwarefun
Isn’t that fun?


    Now let’s see how you can
            build one




#asimijs @hardwarefun
Anatomy of a Robot




Sensors                                Motors


                           Processor
   #asimijs @hardwarefun
Sensors (Input)




#asimijs @hardwarefun
Motors (Output)




#asimijs @hardwarefun
Processor (Brain)




#asimijs @hardwarefun
Arduino
   Visual Basic for hardware
   Treat it like a computer
   Sensors are inputs
   Motors are output




       #asimijs @hardwarefun   Photo credit Arduino team
Demo




     Let there be LIGHT


#asimijs @hardwarefun
Code

void setup()
{
  pinMode(13, output);
}

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




     #asimijs @hardwarefun
Hardware setup




#asimijs @hardwarefun
Demo 2 - Reading sensor data

                        What you need?



            A Light sensor and a LED



#asimijs @hardwarefun
Reading sensor data
void setup()
{
  pinMode(13, OUTPUT);
}

void loop()
{
  int val = analogRead(A0);
  if (val > 50) {
      digitalWrite(13, HIGH);
  } else {
      digitalWrite(13, LOW);
  }
}
      #asimijs @hardwarefun
Exotic uses of Arduino
 Making YQL (REST) calls
 Parsing JSON
 Interacting with USB devices
 Interacting with Android phones
 … and lot’s more




     #asimijs @hardwarefun
Simple Moving Robot
 2 DC Motors and H-Bridge
 2 wheels and a body frame
 Battery




     #asimijs @hardwarefun
Teaching robot to crawl
Move Forward
    Both motors rotate in the forward direction

Move Backward
    Both motors rotate in the reverse direction

Turn left
      Left motor stops. Only right motor rotates forward

Turn Right
     Left motor moves forward. Right motor stops

      #asimijs @hardwarefun
Teaching robot to avoid strangers
   Two IR LED’s. One receiver, one transmitter
   Both face the same direction
   Keep transmitting IR waves
   If receiver receives waves, then there is a obstacle
   Otherwise keep moving




… same logic applies for Ultra sound as well.


       #asimijs @hardwarefun
Putting everything together


You have your first fully autonomous
           robot ready.

          Now take her for a walk 



 #asimijs @hardwarefun
What’s Next?


                     Do join us upstairs.

We are going to implement Machine
    Learning Alogo to Asimi 



 #asimijs @hardwarefun
BTW, this is how the demo worked

                           Node.js Server




                                            Node Client



 Admin page


                             User page
                              User page
                                User page




   #asimijs @hardwarefun
Links
 Arduino – http://arduino.cc
 AsimiJS – The demo that I showed initially
  http://hardwarefun.com/projects/asimijs
 Asimi – A simple bot using Arduino
  http://hardwarefun.com/project/asimi
 Getting started with hardware programming
  http://hardwarefun.com/tutorials/getting-started-with-
  hardware-programming
 Getting started with Arduino
  http://hardwarefun.com/tutorials/getting-started-with-arduino-
  and-avr




      #asimijs @hardwarefun
Questions

                        Thank You

                        Sudar Muthu (@sudarmuthu)
                          http://hardwarefun.com
                          http://gitbub.com/sudar




#asimijs @hardwarefun

More Related Content

PPTX
Using arduino and raspberry pi for internet of things
Sudar Muthu
 
PDF
Arduino vs Raspberry Pi | Which Board to Choose for IoT Projects | IoT Device...
Edureka!
 
PPTX
Arduino Robotics workshop day2
Sudar Muthu
 
ODP
Robotics and Arduino (Arduino UNO)
Dragos Ionita
 
PPTX
Getting started with arduino workshop
Sudar Muthu
 
PPTX
Robotics with arduino
Swapnil Palande
 
PPT
IoT with Arduino
Arvind Singh
 
PPT
Arduino Introduction by coopermaa
馬 萬圳
 
Using arduino and raspberry pi for internet of things
Sudar Muthu
 
Arduino vs Raspberry Pi | Which Board to Choose for IoT Projects | IoT Device...
Edureka!
 
Arduino Robotics workshop day2
Sudar Muthu
 
Robotics and Arduino (Arduino UNO)
Dragos Ionita
 
Getting started with arduino workshop
Sudar Muthu
 
Robotics with arduino
Swapnil Palande
 
IoT with Arduino
Arvind Singh
 
Arduino Introduction by coopermaa
馬 萬圳
 

What's hot (20)

PPTX
Capabilities of Arduino (including Due)
Sudar Muthu
 
PPTX
Arduino Robotics workshop Day1
Sudar Muthu
 
PDF
Arduino Development For Beginners
FTS seminar
 
PPTX
Arduino as an embedded industrial controller
Jose Luis Poza Luján
 
PDF
Introduction to Arduino and Circuits
Jason Griffey
 
PPTX
Different Arduino Boards
Mitwa Palkhiwala
 
PPTX
What are the different types of arduino boards
elprocus
 
PPT
Arduino technical session 1
Audiomas Soni
 
PDF
Introducing... Arduino
zvikapika
 
PPTX
Introduction to arduino
Mohamed Essam
 
PPT
Getting Started With Arduino How To Build A Twitter Monitoring Alertuino
Adrian McEwen
 
PPT
Arduino presentation by_warishusain
student
 
PPTX
Basics of arduino uno
Rahat Sood
 
PPTX
Arduino uno
creatjet3d labs
 
PDF
Introduction to Arduino Programming
James Lewis
 
PPTX
Introduction to Arduino
vishal kumar
 
PDF
Intro to arduino
José Faria
 
PDF
Arduino: Arduino lcd
SANTIAGO PABLO ALBERTO
 
PPTX
Introduction to Arduino Hardware and Programming
Emmanuel Obot
 
PPTX
PPT ON Arduino
Ravi Phadtare
 
Capabilities of Arduino (including Due)
Sudar Muthu
 
Arduino Robotics workshop Day1
Sudar Muthu
 
Arduino Development For Beginners
FTS seminar
 
Arduino as an embedded industrial controller
Jose Luis Poza Luján
 
Introduction to Arduino and Circuits
Jason Griffey
 
Different Arduino Boards
Mitwa Palkhiwala
 
What are the different types of arduino boards
elprocus
 
Arduino technical session 1
Audiomas Soni
 
Introducing... Arduino
zvikapika
 
Introduction to arduino
Mohamed Essam
 
Getting Started With Arduino How To Build A Twitter Monitoring Alertuino
Adrian McEwen
 
Arduino presentation by_warishusain
student
 
Basics of arduino uno
Rahat Sood
 
Arduino uno
creatjet3d labs
 
Introduction to Arduino Programming
James Lewis
 
Introduction to Arduino
vishal kumar
 
Intro to arduino
José Faria
 
Arduino: Arduino lcd
SANTIAGO PABLO ALBERTO
 
Introduction to Arduino Hardware and Programming
Emmanuel Obot
 
PPT ON Arduino
Ravi Phadtare
 
Ad

Similar to Lets make robots (20)

PPTX
Having fun with hardware
Sudar Muthu
 
PDF
Hardware Hacking
Andrew Brockhurst
 
PDF
Arduino learning
Anil Yadav
 
PPTX
Building a robot with the .Net Micro Framework
Ducas Francis
 
PDF
arduino
murbz
 
PPTX
Controlling robots using javascript
Sudar Muthu
 
PDF
Ardx eg-spar-web-rev10
stemplar
 
PDF
Arduino - Learning.pdf
KhalilSedki1
 
PDF
Building Droids with JavaScript
Andrew Fisher
 
PPT
Intro to the arduino
ayreonmx
 
ODP
Android Based Robots
robotics25
 
PDF
Connecting Hardware to Flex (360MAX)
Justin Mclean
 
KEY
Eating Fruit - Combining Robots & Apps
RobotGrrl
 
PPTX
Gesture control robot using by Ardiuno
Sudhir Kumar
 
PDF
Ardx experimenters-guide-web
Jhonny Wladimir Peñaloza Cabello
 
PDF
Arduino experimenters guide ARDX
Johnny Parrales
 
PPTX
Electronz_Introduction.pptx
Mokete5
 
PDF
Advanced View Arduino Projects List - Use Arduino for Projects-2.pdf
WiseNaeem
 
PDF
Arduino: Libros de proyectos para Arduino
SANTIAGO PABLO ALBERTO
 
ODP
Introduction to programming AVR microcontrollers
Tristan Roddis
 
Having fun with hardware
Sudar Muthu
 
Hardware Hacking
Andrew Brockhurst
 
Arduino learning
Anil Yadav
 
Building a robot with the .Net Micro Framework
Ducas Francis
 
arduino
murbz
 
Controlling robots using javascript
Sudar Muthu
 
Ardx eg-spar-web-rev10
stemplar
 
Arduino - Learning.pdf
KhalilSedki1
 
Building Droids with JavaScript
Andrew Fisher
 
Intro to the arduino
ayreonmx
 
Android Based Robots
robotics25
 
Connecting Hardware to Flex (360MAX)
Justin Mclean
 
Eating Fruit - Combining Robots & Apps
RobotGrrl
 
Gesture control robot using by Ardiuno
Sudhir Kumar
 
Ardx experimenters-guide-web
Jhonny Wladimir Peñaloza Cabello
 
Arduino experimenters guide ARDX
Johnny Parrales
 
Electronz_Introduction.pptx
Mokete5
 
Advanced View Arduino Projects List - Use Arduino for Projects-2.pdf
WiseNaeem
 
Arduino: Libros de proyectos para Arduino
SANTIAGO PABLO ALBERTO
 
Introduction to programming AVR microcontrollers
Tristan Roddis
 
Ad

More from Sudar Muthu (20)

PPTX
A quick preview of WP CLI - Chennai WordPress Meetup
Sudar Muthu
 
PDF
WordPress Developer tools
Sudar Muthu
 
PDF
WordPress Developer Tools to increase productivity
Sudar Muthu
 
PDF
Unit testing for WordPress
Sudar Muthu
 
PDF
Unit testing in php
Sudar Muthu
 
PPTX
How arduino helped me in life
Sudar Muthu
 
PPTX
Python in raspberry pi
Sudar Muthu
 
PPTX
Hack 101 at IIT Kanpur
Sudar Muthu
 
PPTX
PureCSS open hack 2013
Sudar Muthu
 
PPTX
Pig workshop
Sudar Muthu
 
PPTX
Hands on Hadoop and pig
Sudar Muthu
 
PPTX
Picture perfect hacks with flickr API
Sudar Muthu
 
PPTX
Hacking 101
Sudar Muthu
 
PPTX
Capabilities of Arduino
Sudar Muthu
 
PPTX
Introduction to node.js GDD
Sudar Muthu
 
PPTX
Using Javascript in today's world
Sudar Muthu
 
PPTX
Hack u yql-iit-delhi
Sudar Muthu
 
PPTX
A slightly advanced introduction to node.js
Sudar Muthu
 
PPTX
YAP - HackU 2011
Sudar Muthu
 
PPTX
Open hack 2011-hardware-hacks
Sudar Muthu
 
A quick preview of WP CLI - Chennai WordPress Meetup
Sudar Muthu
 
WordPress Developer tools
Sudar Muthu
 
WordPress Developer Tools to increase productivity
Sudar Muthu
 
Unit testing for WordPress
Sudar Muthu
 
Unit testing in php
Sudar Muthu
 
How arduino helped me in life
Sudar Muthu
 
Python in raspberry pi
Sudar Muthu
 
Hack 101 at IIT Kanpur
Sudar Muthu
 
PureCSS open hack 2013
Sudar Muthu
 
Pig workshop
Sudar Muthu
 
Hands on Hadoop and pig
Sudar Muthu
 
Picture perfect hacks with flickr API
Sudar Muthu
 
Hacking 101
Sudar Muthu
 
Capabilities of Arduino
Sudar Muthu
 
Introduction to node.js GDD
Sudar Muthu
 
Using Javascript in today's world
Sudar Muthu
 
Hack u yql-iit-delhi
Sudar Muthu
 
A slightly advanced introduction to node.js
Sudar Muthu
 
YAP - HackU 2011
Sudar Muthu
 
Open hack 2011-hardware-hacks
Sudar Muthu
 

Recently uploaded (20)

PDF
Doc9.....................................
SofiaCollazos
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Software Development Methodologies in 2025
KodekX
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
Doc9.....................................
SofiaCollazos
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
The Future of Artificial Intelligence (AI)
Mukul
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Software Development Methodologies in 2025
KodekX
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 

Lets make robots

  • 1. Let’s make Robots Sudar Muthu (@sudarmuthu) Research Engineer, Yahoo! Labs http://hardwarefun.com http://github.com/sudar
  • 2. Why hardware for a software hacker? Fun! #asimijs @hardwarefun
  • 3. Let me show you how fun it is.. Demo http://hardwarefun.com/projects/asimijs #asimijs @hardwarefun
  • 4. Participate in the demo  Visit http://hardwarefun.com:3000 #asimijs @hardwarefun
  • 5. Control the bot at stage http://hardwarefun.com/projects/asimijs #asimijs @hardwarefun
  • 6. Isn’t that fun? Now let’s see how you can build one #asimijs @hardwarefun
  • 7. Anatomy of a Robot Sensors Motors Processor #asimijs @hardwarefun
  • 11. Arduino  Visual Basic for hardware  Treat it like a computer  Sensors are inputs  Motors are output #asimijs @hardwarefun Photo credit Arduino team
  • 12. Demo Let there be LIGHT #asimijs @hardwarefun
  • 13. Code void setup() { pinMode(13, output); } void loop() { digitalWrite(13,HIGH); delay(1000); digitalWrite(13,LOW); delay(1000); } #asimijs @hardwarefun
  • 15. Demo 2 - Reading sensor data What you need? A Light sensor and a LED #asimijs @hardwarefun
  • 16. Reading sensor data void setup() { pinMode(13, OUTPUT); } void loop() { int val = analogRead(A0); if (val > 50) { digitalWrite(13, HIGH); } else { digitalWrite(13, LOW); } } #asimijs @hardwarefun
  • 17. Exotic uses of Arduino  Making YQL (REST) calls  Parsing JSON  Interacting with USB devices  Interacting with Android phones  … and lot’s more #asimijs @hardwarefun
  • 18. Simple Moving Robot  2 DC Motors and H-Bridge  2 wheels and a body frame  Battery #asimijs @hardwarefun
  • 19. Teaching robot to crawl Move Forward Both motors rotate in the forward direction Move Backward Both motors rotate in the reverse direction Turn left Left motor stops. Only right motor rotates forward Turn Right Left motor moves forward. Right motor stops #asimijs @hardwarefun
  • 20. Teaching robot to avoid strangers  Two IR LED’s. One receiver, one transmitter  Both face the same direction  Keep transmitting IR waves  If receiver receives waves, then there is a obstacle  Otherwise keep moving … same logic applies for Ultra sound as well. #asimijs @hardwarefun
  • 21. Putting everything together You have your first fully autonomous robot ready. Now take her for a walk  #asimijs @hardwarefun
  • 22. What’s Next? Do join us upstairs. We are going to implement Machine Learning Alogo to Asimi  #asimijs @hardwarefun
  • 23. BTW, this is how the demo worked Node.js Server Node Client Admin page User page User page User page #asimijs @hardwarefun
  • 24. Links  Arduino – http://arduino.cc  AsimiJS – The demo that I showed initially http://hardwarefun.com/projects/asimijs  Asimi – A simple bot using Arduino http://hardwarefun.com/project/asimi  Getting started with hardware programming http://hardwarefun.com/tutorials/getting-started-with- hardware-programming  Getting started with Arduino http://hardwarefun.com/tutorials/getting-started-with-arduino- and-avr #asimijs @hardwarefun
  • 25. Questions Thank You Sudar Muthu (@sudarmuthu) http://hardwarefun.com http://gitbub.com/sudar #asimijs @hardwarefun