SlideShare a Scribd company logo
1 of 15
Peel Training Day
Robots Made Easy
Using the PICAXE Microcontroller
This presentation will show you:
 How to connect the PICAXE on breadboard
 How to hook up sensors
 How to wire up drive motors
 How to download a program
 We will be using the PICAXE 20-X2, however there
are many kinds of PICAXE microcontrollers. They
start as small as 8 pin and all the way to 40 pins.
PICAXE 20-X2
 Made by Revolution Education and uses Microchip PICs
 Has a program loaded on the chip that allows the program
to be written in a form of BASIC and can be downloaded
using a serial port and three wires.
 Each pin can be set up to perform several tasks.
 Can run over a voltage range 2.1V to 5.5V
The Breadboard
Hook up power and ground.
Hook up serial port circuit.
Hook up line following circuit. Hook up servo motor.
Hook up motor driving circuit.
Sensors
 The line following sensors
(OPB703WZ) works by
detecting infra-red light.
The diode emits IR light
which bounces off the
surface. The reflected
light then turns on the
photo transistor relative to
the amount of light
reflected. The circuit then
provides an analog value
which is then read by the
microcontroller and
converted into a digital
value.
Sensor on White Surface
 If the surface the
light is reflecting off
of is white, more IR
light is reflected thus
turning the transistor
on fully. This will
bring the output
close to 0V. (So the
theory goes…)
Sensor on Black Surface
 However, if the IR light is
being reflected of a dark
surface, the amount of IR
reaching the photo
transistor will be greatly
diminished resulting in the
transistor being almost
off and the output from
the circuit being close to
5V.
Motor Control with L293D Half-H Driver
 Make an H-Bridge with
the two drivers.
 External diodes not
required with L293D.
 Ground pins: 4, 5, 12 &
13.
 Pins 1, 8, 9 & 16 to +5V.
 Pins 1 & 7 control motor
connected to pins 3 & 6.
Pins 10 & 15 control
motor connected to pins
11 & 14.
 Motor should have a
0.1uF capacitor across the
terminals (not shown here).
Pin 2 or
15
Pin 7 or
10
Motor
Direction
L L Stop
L H CW
H L CCW
Servo
 Servos is a three wire DC motor that can be
directed to a specific position by sending a
specific pulse width. The standard servo
can travel a max of 180°, whereas a
modified servo can continuously move in a
direction of CW or CCW depending on the
pulse width sent.
 PICAXE has a special command that will let
you set the position of the servo.
 Servo has three wires: Black – negative,
Red – positive and White – signal.
 For sample commands see page 19 of
PICAXE Manual 3. Also page 30 for the
thermistor.
Writing the Program
 There are two
methods of writing
a program.
1) The flowchart
method
and
2) the program
language method.
Simple Line Following Program
Downloading the Program.
Make sure:
 Code is written without any syntax errors.
 Power is on.
 Cable is connected to the serial port and the
PICAXE.
 Correct PICAXE is selected.
 Correct com port (serial port) is selected.
Thanks for coming out!

More Related Content

What's hot

Robot arm control through human hand motion
Robot arm control through human hand motionRobot arm control through human hand motion
Robot arm control through human hand motionvignesh viki
 
Hardware required to build a basic Robot
Hardware required to build a basic RobotHardware required to build a basic Robot
Hardware required to build a basic RobotVarun A M
 
Automatic railway level crossing gate & slurry management.
Automatic railway level crossing gate & slurry management.Automatic railway level crossing gate & slurry management.
Automatic railway level crossing gate & slurry management.Evans Belly
 
Vechicle accident prevention using eye bilnk sensor ppt
Vechicle accident prevention using eye bilnk sensor pptVechicle accident prevention using eye bilnk sensor ppt
Vechicle accident prevention using eye bilnk sensor pptsatish 486
 
Wireless data logger using rf communication
Wireless data logger using rf communicationWireless data logger using rf communication
Wireless data logger using rf communicationPvrtechnologies Nellore
 
Metrofile111111111 150706071159-lva1-app6892
Metrofile111111111 150706071159-lva1-app6892Metrofile111111111 150706071159-lva1-app6892
Metrofile111111111 150706071159-lva1-app6892yogeshingle4
 
Cell phone operated car using bluetooth technology and android application
Cell phone operated car using bluetooth technology and android applicationCell phone operated car using bluetooth technology and android application
Cell phone operated car using bluetooth technology and android applicationeSAT Journals
 
Mini ee 4 motor speed counting rpm display by infrared Electrical engineerin...
Mini ee 4 motor speed counting  rpm display by infrared Electrical engineerin...Mini ee 4 motor speed counting  rpm display by infrared Electrical engineerin...
Mini ee 4 motor speed counting rpm display by infrared Electrical engineerin...1000kv technologies
 
Automatic railway gate control using microcontroller
Automatic railway gate control using microcontrollerAutomatic railway gate control using microcontroller
Automatic railway gate control using microcontrollerpukeshwar harmukh
 
Understanding the Electronics
Understanding the ElectronicsUnderstanding the Electronics
Understanding the ElectronicsJohn Villwock
 
Pwm technique for dc motor Using Arduino
Pwm technique for dc motor Using ArduinoPwm technique for dc motor Using Arduino
Pwm technique for dc motor Using ArduinoKATHANSANJAYSHAH
 
Speed checker for highway
Speed checker for highwaySpeed checker for highway
Speed checker for highwaySumit Sharma
 
Unmanned railway tracking and anti collision system using gsm
Unmanned railway tracking and anti collision  system  using gsmUnmanned railway tracking and anti collision  system  using gsm
Unmanned railway tracking and anti collision system using gsmvmohankumar5
 
Highway alert signal lamp
Highway alert signal lampHighway alert signal lamp
Highway alert signal lampbalaji1986
 

What's hot (20)

Robot arm control through human hand motion
Robot arm control through human hand motionRobot arm control through human hand motion
Robot arm control through human hand motion
 
Hardware required to build a basic Robot
Hardware required to build a basic RobotHardware required to build a basic Robot
Hardware required to build a basic Robot
 
Automatic railway level crossing gate & slurry management.
Automatic railway level crossing gate & slurry management.Automatic railway level crossing gate & slurry management.
Automatic railway level crossing gate & slurry management.
 
Vechicle accident prevention using eye bilnk sensor ppt
Vechicle accident prevention using eye bilnk sensor pptVechicle accident prevention using eye bilnk sensor ppt
Vechicle accident prevention using eye bilnk sensor ppt
 
DLD-LAB-PROPOSAL
DLD-LAB-PROPOSALDLD-LAB-PROPOSAL
DLD-LAB-PROPOSAL
 
Bluetooth controlled robot
Bluetooth controlled robotBluetooth controlled robot
Bluetooth controlled robot
 
Wireless data logger using rf communication
Wireless data logger using rf communicationWireless data logger using rf communication
Wireless data logger using rf communication
 
Gesture controlled vehicle part-1
Gesture controlled vehicle part-1Gesture controlled vehicle part-1
Gesture controlled vehicle part-1
 
k10681
k10681k10681
k10681
 
Metrofile111111111 150706071159-lva1-app6892
Metrofile111111111 150706071159-lva1-app6892Metrofile111111111 150706071159-lva1-app6892
Metrofile111111111 150706071159-lva1-app6892
 
G1(1)
G1(1)G1(1)
G1(1)
 
Cell phone operated car using bluetooth technology and android application
Cell phone operated car using bluetooth technology and android applicationCell phone operated car using bluetooth technology and android application
Cell phone operated car using bluetooth technology and android application
 
Mini ee 4 motor speed counting rpm display by infrared Electrical engineerin...
Mini ee 4 motor speed counting  rpm display by infrared Electrical engineerin...Mini ee 4 motor speed counting  rpm display by infrared Electrical engineerin...
Mini ee 4 motor speed counting rpm display by infrared Electrical engineerin...
 
presentation
presentationpresentation
presentation
 
Automatic railway gate control using microcontroller
Automatic railway gate control using microcontrollerAutomatic railway gate control using microcontroller
Automatic railway gate control using microcontroller
 
Understanding the Electronics
Understanding the ElectronicsUnderstanding the Electronics
Understanding the Electronics
 
Pwm technique for dc motor Using Arduino
Pwm technique for dc motor Using ArduinoPwm technique for dc motor Using Arduino
Pwm technique for dc motor Using Arduino
 
Speed checker for highway
Speed checker for highwaySpeed checker for highway
Speed checker for highway
 
Unmanned railway tracking and anti collision system using gsm
Unmanned railway tracking and anti collision  system  using gsmUnmanned railway tracking and anti collision  system  using gsm
Unmanned railway tracking and anti collision system using gsm
 
Highway alert signal lamp
Highway alert signal lampHighway alert signal lamp
Highway alert signal lamp
 

Viewers also liked (13)

презентация
презентацияпрезентация
презентация
 
Herpetic esophagitis
Herpetic esophagitisHerpetic esophagitis
Herpetic esophagitis
 
история
историяистория
история
 
Hosobaiday
HosobaidayHosobaiday
Hosobaiday
 
Question of the week 2 feb 2017
Question of the week  2 feb 2017Question of the week  2 feb 2017
Question of the week 2 feb 2017
 
انتحار الاطفال
انتحار الاطفالانتحار الاطفال
انتحار الاطفال
 
Giới thiệu dự án
Giới thiệu dự ánGiới thiệu dự án
Giới thiệu dự án
 
Question of the week 1
Question of the week 1Question of the week 1
Question of the week 1
 
Mau san pham hoc sinh
Mau san pham hoc sinhMau san pham hoc sinh
Mau san pham hoc sinh
 
1st Buikwe District Teachers' Forum - 1st Briefing Session
1st Buikwe District Teachers' Forum - 1st Briefing Session1st Buikwe District Teachers' Forum - 1st Briefing Session
1st Buikwe District Teachers' Forum - 1st Briefing Session
 
[ENG] 21st International Symposium on Current Issues and Controversies in Psy...
[ENG] 21st International Symposium on Current Issues and Controversies in Psy...[ENG] 21st International Symposium on Current Issues and Controversies in Psy...
[ENG] 21st International Symposium on Current Issues and Controversies in Psy...
 
Daft Punk
Daft PunkDaft Punk
Daft Punk
 
презентация
презентацияпрезентация
презентация
 

Similar to Robots made easy

Metro Train Automation & display System
Metro Train Automation & display SystemMetro Train Automation & display System
Metro Train Automation & display SystemSudakshinaMeenu
 
LINE FOLLOWER ROBOT
LINE FOLLOWER ROBOTLINE FOLLOWER ROBOT
LINE FOLLOWER ROBOTrehaan ukaye
 
Temperature Controller
Temperature ControllerTemperature Controller
Temperature ControllerSupriya Gorai
 
Grid synchronisation
Grid synchronisationGrid synchronisation
Grid synchronisationmanogna gwen
 
7380969 Line Follower Using At89c51
7380969 Line Follower Using At89c517380969 Line Follower Using At89c51
7380969 Line Follower Using At89c51biharimukund
 
DC MOTOR SPEED CONTROL USING ON-OFF CONTROLLER BY PIC16F877A MICROCONTROLLER
DC MOTOR SPEED CONTROL USING ON-OFF CONTROLLER BY  PIC16F877A MICROCONTROLLERDC MOTOR SPEED CONTROL USING ON-OFF CONTROLLER BY  PIC16F877A MICROCONTROLLER
DC MOTOR SPEED CONTROL USING ON-OFF CONTROLLER BY PIC16F877A MICROCONTROLLERTridib Bose
 
Obstacle detection Robot using Ultrasonic Sensor and Arduino UNO
Obstacle detection Robot using Ultrasonic Sensor and Arduino UNOObstacle detection Robot using Ultrasonic Sensor and Arduino UNO
Obstacle detection Robot using Ultrasonic Sensor and Arduino UNOSanjay Kumar
 
speed control of three phase induction motor using IOT
speed control of three phase induction motor using IOTspeed control of three phase induction motor using IOT
speed control of three phase induction motor using IOTswaroop009
 
Interfacing with Atmega 16
Interfacing with Atmega 16Interfacing with Atmega 16
Interfacing with Atmega 16Ramadan Ramadan
 
Tunnel robot ppt
Tunnel robot pptTunnel robot ppt
Tunnel robot pptshakshi58
 
ppt of automatic room light controller and BI directional counter
ppt of automatic room light controller and BI directional counterppt of automatic room light controller and BI directional counter
ppt of automatic room light controller and BI directional counterMannavapremkumar
 
Personal Handy System Based Online Vehicle Tracking With Mobile Locking
Personal Handy System Based Online Vehicle Tracking With Mobile LockingPersonal Handy System Based Online Vehicle Tracking With Mobile Locking
Personal Handy System Based Online Vehicle Tracking With Mobile LockingIJERA Editor
 
Remotely Secured Device Automation using Infrared
Remotely Secured Device Automation using InfraredRemotely Secured Device Automation using Infrared
Remotely Secured Device Automation using Infraredijsrd.com
 

Similar to Robots made easy (20)

INTELIGENT RAILWAY SYSTEM
INTELIGENT RAILWAY SYSTEMINTELIGENT RAILWAY SYSTEM
INTELIGENT RAILWAY SYSTEM
 
Metro Train Automation & display System
Metro Train Automation & display SystemMetro Train Automation & display System
Metro Train Automation & display System
 
Manual fsr'14
Manual fsr'14Manual fsr'14
Manual fsr'14
 
LINE FOLLOWER ROBOT
LINE FOLLOWER ROBOTLINE FOLLOWER ROBOT
LINE FOLLOWER ROBOT
 
Temperature Controller
Temperature ControllerTemperature Controller
Temperature Controller
 
Grid synchronisation
Grid synchronisationGrid synchronisation
Grid synchronisation
 
7380969 Line Follower Using At89c51
7380969 Line Follower Using At89c517380969 Line Follower Using At89c51
7380969 Line Follower Using At89c51
 
DC MOTOR SPEED CONTROL USING ON-OFF CONTROLLER BY PIC16F877A MICROCONTROLLER
DC MOTOR SPEED CONTROL USING ON-OFF CONTROLLER BY  PIC16F877A MICROCONTROLLERDC MOTOR SPEED CONTROL USING ON-OFF CONTROLLER BY  PIC16F877A MICROCONTROLLER
DC MOTOR SPEED CONTROL USING ON-OFF CONTROLLER BY PIC16F877A MICROCONTROLLER
 
Obstacle avoiding robot(Lab report)
Obstacle  avoiding  robot(Lab report)Obstacle  avoiding  robot(Lab report)
Obstacle avoiding robot(Lab report)
 
Obstacle detection Robot using Ultrasonic Sensor and Arduino UNO
Obstacle detection Robot using Ultrasonic Sensor and Arduino UNOObstacle detection Robot using Ultrasonic Sensor and Arduino UNO
Obstacle detection Robot using Ultrasonic Sensor and Arduino UNO
 
Team7 report
Team7 reportTeam7 report
Team7 report
 
speed control of three phase induction motor using IOT
speed control of three phase induction motor using IOTspeed control of three phase induction motor using IOT
speed control of three phase induction motor using IOT
 
Final report
Final reportFinal report
Final report
 
Interfacing with Atmega 16
Interfacing with Atmega 16Interfacing with Atmega 16
Interfacing with Atmega 16
 
Tunnel robot ppt
Tunnel robot pptTunnel robot ppt
Tunnel robot ppt
 
ppt of automatic room light controller and BI directional counter
ppt of automatic room light controller and BI directional counterppt of automatic room light controller and BI directional counter
ppt of automatic room light controller and BI directional counter
 
Personal Handy System Based Online Vehicle Tracking With Mobile Locking
Personal Handy System Based Online Vehicle Tracking With Mobile LockingPersonal Handy System Based Online Vehicle Tracking With Mobile Locking
Personal Handy System Based Online Vehicle Tracking With Mobile Locking
 
Remotely Secured Device Automation using Infrared
Remotely Secured Device Automation using InfraredRemotely Secured Device Automation using Infrared
Remotely Secured Device Automation using Infrared
 
Metal Detector Robotic Vehicle
Metal Detector Robotic VehicleMetal Detector Robotic Vehicle
Metal Detector Robotic Vehicle
 
Line Follower Robot
Line Follower RobotLine Follower Robot
Line Follower Robot
 

Recently uploaded

Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...lizamodels9
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear RegressionRavindra Nath Shukla
 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...lizamodels9
 
GD Birla and his contribution in management
GD Birla and his contribution in managementGD Birla and his contribution in management
GD Birla and his contribution in managementchhavia330
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableDipal Arora
 
Sales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessSales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessAggregage
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Dipal Arora
 
Marketing Management Business Plan_My Sweet Creations
Marketing Management Business Plan_My Sweet CreationsMarketing Management Business Plan_My Sweet Creations
Marketing Management Business Plan_My Sweet Creationsnakalysalcedo61
 
Catalogue ONG NUOC PPR DE NHAT .pdf
Catalogue ONG NUOC PPR DE NHAT      .pdfCatalogue ONG NUOC PPR DE NHAT      .pdf
Catalogue ONG NUOC PPR DE NHAT .pdfOrient Homes
 
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCRsoniya singh
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation SlidesKeppelCorporation
 
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | DelhiFULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | DelhiMalviyaNagarCallGirl
 
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service PuneVIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service PuneCall girls in Ahmedabad High profile
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...lizamodels9
 
rishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdfrishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdfmuskan1121w
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst SummitHolger Mueller
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth MarketingShawn Pang
 
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfpollardmorgan
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...lizamodels9
 

Recently uploaded (20)

Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear Regression
 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
 
GD Birla and his contribution in management
GD Birla and his contribution in managementGD Birla and his contribution in management
GD Birla and his contribution in management
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
 
Sales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessSales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for Success
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
Marketing Management Business Plan_My Sweet Creations
Marketing Management Business Plan_My Sweet CreationsMarketing Management Business Plan_My Sweet Creations
Marketing Management Business Plan_My Sweet Creations
 
Catalogue ONG NUOC PPR DE NHAT .pdf
Catalogue ONG NUOC PPR DE NHAT      .pdfCatalogue ONG NUOC PPR DE NHAT      .pdf
Catalogue ONG NUOC PPR DE NHAT .pdf
 
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
 
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | DelhiFULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Chhatarpur | Delhi
 
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service PuneVIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
 
rishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdfrishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdf
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst Summit
 
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
 
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Mehrauli Delhi 💯Call Us 🔝8264348440🔝
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
 

Robots made easy

  • 1.
  • 3. Using the PICAXE Microcontroller This presentation will show you:  How to connect the PICAXE on breadboard  How to hook up sensors  How to wire up drive motors  How to download a program
  • 4.  We will be using the PICAXE 20-X2, however there are many kinds of PICAXE microcontrollers. They start as small as 8 pin and all the way to 40 pins.
  • 5. PICAXE 20-X2  Made by Revolution Education and uses Microchip PICs  Has a program loaded on the chip that allows the program to be written in a form of BASIC and can be downloaded using a serial port and three wires.  Each pin can be set up to perform several tasks.  Can run over a voltage range 2.1V to 5.5V
  • 6. The Breadboard Hook up power and ground. Hook up serial port circuit. Hook up line following circuit. Hook up servo motor. Hook up motor driving circuit.
  • 7. Sensors  The line following sensors (OPB703WZ) works by detecting infra-red light. The diode emits IR light which bounces off the surface. The reflected light then turns on the photo transistor relative to the amount of light reflected. The circuit then provides an analog value which is then read by the microcontroller and converted into a digital value.
  • 8. Sensor on White Surface  If the surface the light is reflecting off of is white, more IR light is reflected thus turning the transistor on fully. This will bring the output close to 0V. (So the theory goes…)
  • 9. Sensor on Black Surface  However, if the IR light is being reflected of a dark surface, the amount of IR reaching the photo transistor will be greatly diminished resulting in the transistor being almost off and the output from the circuit being close to 5V.
  • 10. Motor Control with L293D Half-H Driver  Make an H-Bridge with the two drivers.  External diodes not required with L293D.  Ground pins: 4, 5, 12 & 13.  Pins 1, 8, 9 & 16 to +5V.  Pins 1 & 7 control motor connected to pins 3 & 6. Pins 10 & 15 control motor connected to pins 11 & 14.  Motor should have a 0.1uF capacitor across the terminals (not shown here). Pin 2 or 15 Pin 7 or 10 Motor Direction L L Stop L H CW H L CCW
  • 11. Servo  Servos is a three wire DC motor that can be directed to a specific position by sending a specific pulse width. The standard servo can travel a max of 180°, whereas a modified servo can continuously move in a direction of CW or CCW depending on the pulse width sent.  PICAXE has a special command that will let you set the position of the servo.  Servo has three wires: Black – negative, Red – positive and White – signal.  For sample commands see page 19 of PICAXE Manual 3. Also page 30 for the thermistor.
  • 12. Writing the Program  There are two methods of writing a program. 1) The flowchart method and 2) the program language method.
  • 14. Downloading the Program. Make sure:  Code is written without any syntax errors.  Power is on.  Cable is connected to the serial port and the PICAXE.  Correct PICAXE is selected.  Correct com port (serial port) is selected.