SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Simple Telepresence Rover 
With the RaspberryPi
Objective 
Simple 
Uses RaspberryPi 
Fun
Hardware 
RaspberryPi 
Motor 
Controller 
Motor (Left) 
Motor (Right) 
PC 
(skype and 
browser) 
Tablet 
(skype)
RaspberryPi 
RaspberryPi
Motor Controller 
Motor Controller
Connectors and Power 
Connectors and Power
Output to Motors 
Output To 
Motors
Software High Level 
Website 
and 
Route Manager 
Static Page 
Dual Motor 
Controller 
Single Motor 
Control
Website 
Python Website using 
FLASK 
http://flask.pocoo.org/
Static Responsive Page 
● Display motor controls 
● Select routes 
Bootstrap 
JQuery 
<!DOCTYPE html> 
<html> 
<head> 
<title>Robot Control</title> 
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css"> 
<script src="jquery-2.1.1.min.js"></script> 
<script> 
$("*").keyup(function() { 
$('#controlFrame')[0].src="/clear"; 
}); 
$( "*" ).keydown(function( event ) { 
if (event.which==65) $('#controlFrame')[0].src="/rotateleft"; 
if (event.which==83) $('#controlFrame')[0].src="/left"; 
...
Dual Motor Controller 
Python 
import motor 
…. 
def movement(action): 
print "MotorAction ",motoractionname(action) 
if action == MotorsAction.Left: 
moveleft() 
if action == MotorsAction.Right: 
moveright() 
if action == MotorsAction.Reverse: 
movereverse() 
….
Single Motor Control 
Python 
import RPi.GPIO as GPIO 
…. 
def motormovementname(movement): 
if movement == MotorMovement.Forward: 
return "Forward" 
if movement == MotorMovement.Reverse: 
return "Reverse" 
if movement == MotorMovement.Stop: 
return "Stop" 
if movement == MotorMovement.Clear: 
return "Clear" 
class MotorPins: 
EnL = 4 
IAL = 17 
IBL = 18 
EnR = 21 
IAR = 22 
IBR = 23 
def setup(): 
GPIO.setmode(GPIO.BCM) 
GPIO.setup(MotorPins.EnL, GPIO.OUT) 
GPIO.setup(MotorPins.IAL, GPIO.OUT) 
….
Putting it Together 
● Launch website on PI 
● Start Skype on tablet 
● Start Skype on PC 
● Load website in Browser 
● See where you’re going with Skype 
● Control the rover with the website
Useful Links and Parts 
Flask 
http://flask.pocoo.org/ 
Banana Robotics - Motor Controller 
Banana Robots - Motor Controllerhttps://www.bananarobotics.com/shop/L298N-Dual-H-Bridge-Motor-Driver?search=L298%20Dual%20H-Bridge 
Actobotics / ServoCity - wheel parts 
http://www.servocity.com/html/actobotics.html 
Amazon - motors 
dc motor 12v 
and stuff from around the house, the hardware 
store, radio shack and sparkfun….
GitHub 
https://github.com/jcicilio/SimpleRover

Weitere ähnliche Inhalte

Andere mochten auch

A2 media further evaluation
A2 media further evaluationA2 media further evaluation
A2 media further evaluationGeooajw
 
Nota faraid iss2033 minggu kedua
Nota faraid iss2033 minggu keduaNota faraid iss2033 minggu kedua
Nota faraid iss2033 minggu keduaMohd Ali Mohd Yusuf
 
Вычисление площади территории методом триангуляции
Вычисление площади территории методом триангуляцииВычисление площади территории методом триангуляции
Вычисление площади территории методом триангуляцииСветлана Петреченко
 
A Model for Assessing Relative Interest in E-books Compared to Print
A Model for Assessing Relative Interest in E-books Compared to PrintA Model for Assessing Relative Interest in E-books Compared to Print
A Model for Assessing Relative Interest in E-books Compared to Printsknwlton
 
Key Sequence: Kongen av Bastøy
Key Sequence: Kongen av BastøyKey Sequence: Kongen av Bastøy
Key Sequence: Kongen av Bastøytalitha-roberts
 
Cлайд шоу моя малая родина
Cлайд шоу моя малая родинаCлайд шоу моя малая родина
Cлайд шоу моя малая родинаkekemeke12
 
Legislative Mandates & Government Regulations
Legislative Mandates & Government RegulationsLegislative Mandates & Government Regulations
Legislative Mandates & Government RegulationsNorman Wright
 
Diaporama revue de presse solid'agri 2008 2016
Diaporama revue de presse solid'agri 2008 2016Diaporama revue de presse solid'agri 2008 2016
Diaporama revue de presse solid'agri 2008 2016Solene ESPITALIE
 
Pragmatic Unity and Visual Synecdoche in Tennessee Flag Culture
Pragmatic Unity and Visual Synecdoche in Tennessee Flag CulturePragmatic Unity and Visual Synecdoche in Tennessee Flag Culture
Pragmatic Unity and Visual Synecdoche in Tennessee Flag Culturesknwlton
 
Cómo publicar en netvibes para facebook 1
Cómo publicar en netvibes para facebook 1Cómo publicar en netvibes para facebook 1
Cómo publicar en netvibes para facebook 1Rosaura Hernández
 
Earthquake copy
Earthquake   copyEarthquake   copy
Earthquake copyaldrinJ12
 
Web Sitesi Geliştirme Adımları
Web Sitesi Geliştirme AdımlarıWeb Sitesi Geliştirme Adımları
Web Sitesi Geliştirme Adımlarıcmkandemir
 
Cmr institute of technology mob
Cmr institute of technology mobCmr institute of technology mob
Cmr institute of technology mobKunal Ðärlíñg
 

Andere mochten auch (15)

A2 media further evaluation
A2 media further evaluationA2 media further evaluation
A2 media further evaluation
 
Nota faraid iss2033 minggu kedua
Nota faraid iss2033 minggu keduaNota faraid iss2033 minggu kedua
Nota faraid iss2033 minggu kedua
 
Вычисление площади территории методом триангуляции
Вычисление площади территории методом триангуляцииВычисление площади территории методом триангуляции
Вычисление площади территории методом триангуляции
 
A Model for Assessing Relative Interest in E-books Compared to Print
A Model for Assessing Relative Interest in E-books Compared to PrintA Model for Assessing Relative Interest in E-books Compared to Print
A Model for Assessing Relative Interest in E-books Compared to Print
 
Key Sequence: Kongen av Bastøy
Key Sequence: Kongen av BastøyKey Sequence: Kongen av Bastøy
Key Sequence: Kongen av Bastøy
 
Cлайд шоу моя малая родина
Cлайд шоу моя малая родинаCлайд шоу моя малая родина
Cлайд шоу моя малая родина
 
Representation Theory
Representation TheoryRepresentation Theory
Representation Theory
 
賴又瑋
賴又瑋賴又瑋
賴又瑋
 
Legislative Mandates & Government Regulations
Legislative Mandates & Government RegulationsLegislative Mandates & Government Regulations
Legislative Mandates & Government Regulations
 
Diaporama revue de presse solid'agri 2008 2016
Diaporama revue de presse solid'agri 2008 2016Diaporama revue de presse solid'agri 2008 2016
Diaporama revue de presse solid'agri 2008 2016
 
Pragmatic Unity and Visual Synecdoche in Tennessee Flag Culture
Pragmatic Unity and Visual Synecdoche in Tennessee Flag CulturePragmatic Unity and Visual Synecdoche in Tennessee Flag Culture
Pragmatic Unity and Visual Synecdoche in Tennessee Flag Culture
 
Cómo publicar en netvibes para facebook 1
Cómo publicar en netvibes para facebook 1Cómo publicar en netvibes para facebook 1
Cómo publicar en netvibes para facebook 1
 
Earthquake copy
Earthquake   copyEarthquake   copy
Earthquake copy
 
Web Sitesi Geliştirme Adımları
Web Sitesi Geliştirme AdımlarıWeb Sitesi Geliştirme Adımları
Web Sitesi Geliştirme Adımları
 
Cmr institute of technology mob
Cmr institute of technology mobCmr institute of technology mob
Cmr institute of technology mob
 

Ähnlich wie Vermont Code Camp 2014 Simple Rover with RaspberryPi

Plack perl superglue for web frameworks and servers
Plack perl superglue for web frameworks and serversPlack perl superglue for web frameworks and servers
Plack perl superglue for web frameworks and serversTatsuhiko Miyagawa
 
Psgi Plack Sfpm
Psgi Plack SfpmPsgi Plack Sfpm
Psgi Plack Sfpmsom_nangia
 
Psgi Plack Sfpm
Psgi Plack SfpmPsgi Plack Sfpm
Psgi Plack Sfpmwilburlo
 
Mojolicious - A new hope
Mojolicious - A new hopeMojolicious - A new hope
Mojolicious - A new hopeMarcus Ramberg
 
Google I/O 2021 Recap
Google I/O 2021 RecapGoogle I/O 2021 Recap
Google I/O 2021 Recapfurusin
 
AFUP Lorraine - Symfony Webpack Encore
AFUP Lorraine - Symfony Webpack EncoreAFUP Lorraine - Symfony Webpack Encore
AFUP Lorraine - Symfony Webpack EncoreEngineor
 
iOS Bluetooth Low Energy (BLE) Remote Robot Interface
iOS Bluetooth Low Energy (BLE) Remote Robot InterfaceiOS Bluetooth Low Energy (BLE) Remote Robot Interface
iOS Bluetooth Low Energy (BLE) Remote Robot InterfaceSteve Knodl
 
파이썬 웹 서비스 구성과 이해
파이썬 웹 서비스 구성과 이해파이썬 웹 서비스 구성과 이해
파이썬 웹 서비스 구성과 이해Selo Lee
 
Pyramid Lighter/Faster/Better web apps
Pyramid Lighter/Faster/Better web appsPyramid Lighter/Faster/Better web apps
Pyramid Lighter/Faster/Better web appsDylan Jay
 
Google I/O 2012 - Protecting your user experience while integrating 3rd party...
Google I/O 2012 - Protecting your user experience while integrating 3rd party...Google I/O 2012 - Protecting your user experience while integrating 3rd party...
Google I/O 2012 - Protecting your user experience while integrating 3rd party...Patrick Meenan
 
Firefox OS, une plateforme à découvrir - IO Saglac - 2014-09-09
Firefox OS, une plateforme à découvrir - IO Saglac - 2014-09-09Firefox OS, une plateforme à découvrir - IO Saglac - 2014-09-09
Firefox OS, une plateforme à découvrir - IO Saglac - 2014-09-09Frédéric Harper
 
Alexander Mostovenko "'Devide at impera' with GraphQL and SSR"
Alexander Mostovenko "'Devide at impera' with GraphQL and SSR"Alexander Mostovenko "'Devide at impera' with GraphQL and SSR"
Alexander Mostovenko "'Devide at impera' with GraphQL and SSR"Fwdays
 
Bfg Ploneconf Oct2008
Bfg Ploneconf Oct2008Bfg Ploneconf Oct2008
Bfg Ploneconf Oct2008Jeffrey Clark
 
HTML pour le web mobile, Firefox OS - Devfest Nantes - 2014-11-07
HTML pour le web mobile, Firefox OS - Devfest Nantes - 2014-11-07HTML pour le web mobile, Firefox OS - Devfest Nantes - 2014-11-07
HTML pour le web mobile, Firefox OS - Devfest Nantes - 2014-11-07Frédéric Harper
 
Testing of javacript
Testing of javacriptTesting of javacript
Testing of javacriptLei Kang
 
Future of Web Apps: Google Gears
Future of Web Apps: Google GearsFuture of Web Apps: Google Gears
Future of Web Apps: Google Gearsdion
 
Complex Made Simple: Sleep Better with TorqueBox
Complex Made Simple: Sleep Better with TorqueBoxComplex Made Simple: Sleep Better with TorqueBox
Complex Made Simple: Sleep Better with TorqueBoxbobmcwhirter
 

Ähnlich wie Vermont Code Camp 2014 Simple Rover with RaspberryPi (20)

Plack perl superglue for web frameworks and servers
Plack perl superglue for web frameworks and serversPlack perl superglue for web frameworks and servers
Plack perl superglue for web frameworks and servers
 
Psgi Plack Sfpm
Psgi Plack SfpmPsgi Plack Sfpm
Psgi Plack Sfpm
 
Psgi Plack Sfpm
Psgi Plack SfpmPsgi Plack Sfpm
Psgi Plack Sfpm
 
Mojolicious - A new hope
Mojolicious - A new hopeMojolicious - A new hope
Mojolicious - A new hope
 
Intro to PSGI and Plack
Intro to PSGI and PlackIntro to PSGI and Plack
Intro to PSGI and Plack
 
PSGI/Plack OSDC.TW
PSGI/Plack OSDC.TWPSGI/Plack OSDC.TW
PSGI/Plack OSDC.TW
 
Google I/O 2021 Recap
Google I/O 2021 RecapGoogle I/O 2021 Recap
Google I/O 2021 Recap
 
AFUP Lorraine - Symfony Webpack Encore
AFUP Lorraine - Symfony Webpack EncoreAFUP Lorraine - Symfony Webpack Encore
AFUP Lorraine - Symfony Webpack Encore
 
iOS Bluetooth Low Energy (BLE) Remote Robot Interface
iOS Bluetooth Low Energy (BLE) Remote Robot InterfaceiOS Bluetooth Low Energy (BLE) Remote Robot Interface
iOS Bluetooth Low Energy (BLE) Remote Robot Interface
 
Plack - LPW 2009
Plack - LPW 2009Plack - LPW 2009
Plack - LPW 2009
 
파이썬 웹 서비스 구성과 이해
파이썬 웹 서비스 구성과 이해파이썬 웹 서비스 구성과 이해
파이썬 웹 서비스 구성과 이해
 
Pyramid Lighter/Faster/Better web apps
Pyramid Lighter/Faster/Better web appsPyramid Lighter/Faster/Better web apps
Pyramid Lighter/Faster/Better web apps
 
Google I/O 2012 - Protecting your user experience while integrating 3rd party...
Google I/O 2012 - Protecting your user experience while integrating 3rd party...Google I/O 2012 - Protecting your user experience while integrating 3rd party...
Google I/O 2012 - Protecting your user experience while integrating 3rd party...
 
Firefox OS, une plateforme à découvrir - IO Saglac - 2014-09-09
Firefox OS, une plateforme à découvrir - IO Saglac - 2014-09-09Firefox OS, une plateforme à découvrir - IO Saglac - 2014-09-09
Firefox OS, une plateforme à découvrir - IO Saglac - 2014-09-09
 
Alexander Mostovenko "'Devide at impera' with GraphQL and SSR"
Alexander Mostovenko "'Devide at impera' with GraphQL and SSR"Alexander Mostovenko "'Devide at impera' with GraphQL and SSR"
Alexander Mostovenko "'Devide at impera' with GraphQL and SSR"
 
Bfg Ploneconf Oct2008
Bfg Ploneconf Oct2008Bfg Ploneconf Oct2008
Bfg Ploneconf Oct2008
 
HTML pour le web mobile, Firefox OS - Devfest Nantes - 2014-11-07
HTML pour le web mobile, Firefox OS - Devfest Nantes - 2014-11-07HTML pour le web mobile, Firefox OS - Devfest Nantes - 2014-11-07
HTML pour le web mobile, Firefox OS - Devfest Nantes - 2014-11-07
 
Testing of javacript
Testing of javacriptTesting of javacript
Testing of javacript
 
Future of Web Apps: Google Gears
Future of Web Apps: Google GearsFuture of Web Apps: Google Gears
Future of Web Apps: Google Gears
 
Complex Made Simple: Sleep Better with TorqueBox
Complex Made Simple: Sleep Better with TorqueBoxComplex Made Simple: Sleep Better with TorqueBox
Complex Made Simple: Sleep Better with TorqueBox
 

Kürzlich hochgeladen

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
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.pdfsudhanshuwaghmare1
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
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 Takeoffsammart93
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
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, ...apidays
 
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 FresherRemote DBA Services
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
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 businesspanagenda
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 

Kürzlich hochgeladen (20)

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
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
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
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
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
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, ...
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
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
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

Vermont Code Camp 2014 Simple Rover with RaspberryPi

  • 1. Simple Telepresence Rover With the RaspberryPi
  • 2. Objective Simple Uses RaspberryPi Fun
  • 3. Hardware RaspberryPi Motor Controller Motor (Left) Motor (Right) PC (skype and browser) Tablet (skype)
  • 6. Connectors and Power Connectors and Power
  • 7. Output to Motors Output To Motors
  • 8. Software High Level Website and Route Manager Static Page Dual Motor Controller Single Motor Control
  • 9. Website Python Website using FLASK http://flask.pocoo.org/
  • 10. Static Responsive Page ● Display motor controls ● Select routes Bootstrap JQuery <!DOCTYPE html> <html> <head> <title>Robot Control</title> <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css"> <script src="jquery-2.1.1.min.js"></script> <script> $("*").keyup(function() { $('#controlFrame')[0].src="/clear"; }); $( "*" ).keydown(function( event ) { if (event.which==65) $('#controlFrame')[0].src="/rotateleft"; if (event.which==83) $('#controlFrame')[0].src="/left"; ...
  • 11. Dual Motor Controller Python import motor …. def movement(action): print "MotorAction ",motoractionname(action) if action == MotorsAction.Left: moveleft() if action == MotorsAction.Right: moveright() if action == MotorsAction.Reverse: movereverse() ….
  • 12. Single Motor Control Python import RPi.GPIO as GPIO …. def motormovementname(movement): if movement == MotorMovement.Forward: return "Forward" if movement == MotorMovement.Reverse: return "Reverse" if movement == MotorMovement.Stop: return "Stop" if movement == MotorMovement.Clear: return "Clear" class MotorPins: EnL = 4 IAL = 17 IBL = 18 EnR = 21 IAR = 22 IBR = 23 def setup(): GPIO.setmode(GPIO.BCM) GPIO.setup(MotorPins.EnL, GPIO.OUT) GPIO.setup(MotorPins.IAL, GPIO.OUT) ….
  • 13. Putting it Together ● Launch website on PI ● Start Skype on tablet ● Start Skype on PC ● Load website in Browser ● See where you’re going with Skype ● Control the rover with the website
  • 14. Useful Links and Parts Flask http://flask.pocoo.org/ Banana Robotics - Motor Controller Banana Robots - Motor Controllerhttps://www.bananarobotics.com/shop/L298N-Dual-H-Bridge-Motor-Driver?search=L298%20Dual%20H-Bridge Actobotics / ServoCity - wheel parts http://www.servocity.com/html/actobotics.html Amazon - motors dc motor 12v and stuff from around the house, the hardware store, radio shack and sparkfun….