Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

Raspberry pi with Python for Robotics 5 - Turning our car

42.9K views
•
April 27, 2014
by
sentdex
YouTube video player
Raspberry pi with Python for Robotics 5 - Turning our car

TL;DR

In this tutorial, we learn how to add turning functionality to a Python programmed car using GPIO outputs.

Transcript

what is going on everybody welcome to another python robotics tutorial video in the last video we programmed our little car here to go forward and backwards now we actually want to make the car be able to turn maybe left or right so that's the next thing that we want to do so let's go ahead and do that so uh to start let's do pseudo Nano and I gues... Read More

Key Insights

  • 😨 The tutorial focuses on adding turning functionality to a Python programmed car.
  • 🤸 GPIO outputs are used to control the direction and spinning of the car's wheels.
  • ↩️ Separate functions are defined for turning left and right.
  • ⌛ Time sleep is included to ensure the wheels spin for the desired time frame.
  • 🎮 The need for pivoting functionality is mentioned and will be covered in the next video.
  • 🧑‍🦼 The tutorial emphasizes the importance of proper GPIO output settings for accurate wheel movement.
  • 🫵 The steps provided help viewers implement turning functionality into their Python robotics projects.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: How do we add turning functionality to a Python programmed car?

To add turning functionality, we define separate functions for turning left and right. We set the necessary GPIO outputs, ensuring the correct wheels spin in the desired direction for the specified time frame before using time sleep.

Q: What is the significance of the GPIO outputs in the code?

GPIO outputs determine which wheels of the car spin and in which direction. By manipulating these outputs, we can control the turning of the car.

Q: How do we ensure the wheels spin correctly for turning left?

To make the car turn left, we set GPIO output 7 to true, GPIO output 11 to true, GPIO output 13 to true, and GPIO output 15 to false. We also include the necessary time sleep and GPIO cleanup commands.

Q: How do we ensure the wheels spin correctly for turning right?

To make the car turn right, we set GPIO output 7 to false, GPIO output 11 to false, GPIO output 13 to false, and GPIO output 15 to true. Again, time sleep and GPIO cleanup commands are included.

Summary & Key Takeaways

  • The video demonstrates the process of adding turning functionality to a Python programmed car.

  • The code involves defining functions for turning left and right, setting GPIO outputs accordingly, and using time sleep for the desired time frame.

  • The tutorial also mentions the need for pivoting functionality and mentions it will be covered in the next video.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from sentdex 📚

Python Generator Functions for massive Performance Improvements with Lists thumbnail
Python Generator Functions for massive Performance Improvements with Lists
sentdex
Parsing XML - Go Lang Practical Programming Tutorial p.11 thumbnail
Parsing XML - Go Lang Practical Programming Tutorial p.11
sentdex
Python: How to Program the Chaikin Money Flow Trading Indicator thumbnail
Python: How to Program the Chaikin Money Flow Trading Indicator
sentdex
Python: How to Graph the Chaikin Money Flow Trading Indicator in Matplotlib thumbnail
Python: How to Graph the Chaikin Money Flow Trading Indicator in Matplotlib
sentdex
How to Parse Twitter for Twitter Analysis: Part 1 thumbnail
How to Parse Twitter for Twitter Analysis: Part 1
sentdex
How to Train a Chatbot Using TensorFlow and Python thumbnail
How to Train a Chatbot Using TensorFlow and Python
sentdex

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.