element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • Store
    Store
    • Visit Your Store
    • Choose Another Store
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Project Videos
  • Challenges & Projects
  • element14 presents
  • Project Videos
  • More
  • Cancel
Project Videos
Documents Episode 438: Smartphone Controlled DIY Rover Using Websockets
  • Blog
  • Forum
  • Documents
  • Events
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Project Videos requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Engagement
Author: kellyhensen
Date Created: 18 Mar 2020 3:14 PM
Last Updated: 8 Mar 2022 4:21 PM
Views: 416
Likes: 6
Comments: 12
Related
Recommended

Episode 438: Smartphone Controlled DIY Rover Using Websockets

You don't have permission to edit metadata of this video.
Edit media
x
Upload Preview
 

Who doesn't love robots? In this episode, I build a hardware kit and program the software to drive a small, wheeled, non-autonomous robot. The hardware is based around a Raspberry Pi 4 and a Motor HAT used to drive a couple of DC motors. The software is based on Python, using the Flask module to run a web server, the socket io module for sending and receiving commands, and HTML and JavaScript to build a simple Graphical User Interface (GUI) for driving the rover..

Bill of Material:

Product Name Manufacturer Quantity Buy Kit
Development Kit, STS-Pi Roving Robot Kit For Raspberry Pi Pimoroni 1 Buy Now
Raspberry Pi DC Stepper Motor Hat Development Board Adafruit 1 Buy Now
Single Board Computer, Raspberry Pi 4 Model B Adafruit 1 Buy Now

 

Supplemental Content:

 

  • Smartphone Controlled DIY Rover Using Websockets: SSH Setup
  • Getting Started with Flask and Websockets
Smartphone Controlled DIY Rover Using Websockets

element14 presents  |  About Cisco |  Project Videos

  • visualization
  • webserver
  • cisco
  • webapp
  • ide
  • python
  • fusion 360
  • rc
  • e14presents_makerbro
  • project
  • internet of things
  • web
  • sensors
  • build
  • developer
  • robotics
  • robots
  • pimoroni
  • robot
  • os x
  • 3D Printing
  • diy
  • programming
  • cad
  • weather
  • stepper motor
  • embedded
  • micropython
  • sparkfun
  • raspberry pi
  • windows
  • tutorials
  • nodemcu
  • friday release
  • app
  • iot
  • engineering
  • wireless
  • datalogger
  • c++
  • data
  • server
  • arduino
  • introduction
  • friday_release
  • sensor
  • communication
  • linux
  • beginner
  • Share
  • History
  • More
  • Cancel
Anonymous

Top Comments

  • tariq.ahmad
    tariq.ahmad over 2 years ago in reply to dougw +4

    Hi dougw , thanks for the heads up.  Its fixed.

  • dougw
    dougw over 2 years ago +3

    Great project.

    tariq.ahmad I think these element14 Presents postings should include the name of the presenter somewhere on the page.

    Even the link to Maker Bro is confusing - it goes to AirborneSurfer.

  • DAB
    DAB over 2 years ago +3

    Very good episode.

     

    My dog would quickly destroy both the toy and the rover if it moved like prey.

     

    DAB

  • acrobotic
    acrobotic over 2 years ago in reply to celcius1

    Hey, Paul. Yes you can drive 1 stepper motor. There's a limit into how much current the board can handle, but it should be fine for a NEMA-17 or even a NEMA-23. The HaTs are stackable as they use i2c so you can connect more motors if needed. HTH!

    • Cancel
    • Up +2 Down
    • Reply
    • More
    • Cancel
  • celcius1
    celcius1 over 2 years ago

    Can you drive Stepper motors with that Pi Hat

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
  • acrobotic
    acrobotic over 2 years ago in reply to dubbie

    Heya. I'm glad you liked it. We all started from scratch, so don't be discouraged. I agree that the info at times is terse, and assumes some experience instead of breaking down each step. By all means shoot me any questions you have, and keep at it!

     

    Cheers,

    -Cisco (ACROBOTIC)

    • Cancel
    • Up +2 Down
    • Reply
    • More
    • Cancel
  • dubbie
    dubbie over 2 years ago

    I liked the mobile robot chassis construction, especially the two batteries/power banks and the custom made 'wings' for holding them. That's a great approach that I will have to think about using in some way. However, while I followed the beginning of the software design I was soon lost. I guess it all depends on how much background in the subjects you have.

     

    Dubbie

    • Cancel
    • Up +2 Down
    • Reply
    • More
    • Cancel
  • acrobotic
    acrobotic over 2 years ago in reply to DAB

    Still getting used to the site so trying this again. I'm glad you enjoyed the episode!

     

    I had the same thoughts about my youngest dog (featured in the vid) so I recorded those scenes last. I was surprised she completely ignored it—probably due to the noise of the motors. Nonetheless, poor little Yoda was promptly skinned as soon as it was taken off the rover.

     

     

     

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
  • acrobotic
    acrobotic over 2 years ago in reply to photojames

    Thanks! Here's the direct link to the code repo.

     

    By all means let me know if you have any questions!

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
  • DAB
    DAB over 2 years ago

    Very good episode.

     

    My dog would quickly destroy both the toy and the rover if it moved like prey.

     

    DAB

    • Cancel
    • Up +3 Down
    • Reply
    • More
    • Cancel
  • photojames
    photojames over 2 years ago

    Great project!

    Since I'm going to have a little bit of time off I'd like to try to build one. Am I missing something? Is there a place to find the python code? Thanks in advance

    • Cancel
    • Up +2 Down
    • Reply
    • More
    • Cancel
  • tariq.ahmad
    tariq.ahmad over 2 years ago in reply to dougw

    Hi dougw , thanks for the heads up.  Its fixed.

    • Cancel
    • Up +4 Down
    • Reply
    • More
    • Cancel
  • dougw
    dougw over 2 years ago

    Great project.

    tariq.ahmad I think these element14 Presents postings should include the name of the presenter somewhere on the page.

    Even the link to Maker Bro is confusing - it goes to AirborneSurfer.

    • Cancel
    • Up +3 Down
    • Reply
    • More
    • Cancel
>
Element14

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2022 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • Facebook
  • Twitter
  • linkedin
  • YouTube