Adafruit’s Raspberry Pi Lesson 9. Controlling a DC Motor @ The Adafruit Learning System

Learn-Raspberry-Pi-2
Overview-10

Adafruit’s Raspberry Pi Lesson 9. Controlling a DC Motor @ The Adafruit Learning System. Drive a DC motor forward and in reverse with variable speed –

This lesson describes how to control both the speed and direction of a DC motor using Python and a L293D chip.  In Lesson 8, we used the Pi to generate pulses to control the position of a servo motor. In this lesson we use pulses to control the speed of a regular DC motor and the L293D motor control chip to reverse the direction of the current through the motor and hence the direction in which it turns.

Learn more!

Overview-9

Adafruit’s Raspberry Pi Lesson 8. Using a Servo Motor @ The Adafruit Learning System.

This lesson describes how to control a single servo motor using Python. Servo motors are controlled by pulses of varying lengths. This requires fairly accurate timing. The Raspberry Pi has one pin that generates pulses in hardware, without having to rely on the operating system. Occidentalis includes an interface to make use of this pin for controlling a servo motor.

Learn more!

Adafruit 932

Adafruit’s Raspberry Pi Lesson 7. Remote Control with VNC @ The Adafruit Learning System.

In this lesson we will explain how to install and use VNC on your raspberry Pi. This will allow you to see your Raspberry Pi’s desktop remotely in a graphical way, using the mouse as if you were sitting in front of your Pi.

Connecting to a Pi like this can save on desktop clutter, and the problem of having multiple keyboards and mice all over the place. It also means you can put your Pi somewhere else on the network, but still control it.

Learn more.


Putty Connected

Tutorial: Adafruit’s Raspberry Pi Lesson 6. Using SSH @ The Adafruit Learning System.

In this lesson you will learn how to remote control your Raspberry Pi over your local network using Secure Shell (SSH). A common reason for remote controlling your Pi from another computer us that you may be using your Pi solely to control some electronics and therefore not need a keyboard, mouse and monitor, other than for setting it up. It also can just save on desktop clutter, and the problem of having multiple keyboards and mice all over the place.

Learn more.


Overview-7

Adafruit’s Raspberry Pi Lesson 5. Using a Console Cable @ The Adafruit Learning System.

In this lesson you will learn how to remote control your Raspberry Pi with a console cable. The great advantage of connecting this way is that it can even supply the power for your Pi and you do not need keyboard, mouse or display attached to the Pi to log into it.

You will need to install terminal emulation software (ZOC) and also USB drivers for the Console Lead. ZOC is available for Mac and Windows and allows you to communicate through a serial port from your Mac or PC to another computer – in this case the Raspberry Pi.

The Raspberry Pi uses its built-in serial port to allow devices to connect to its console and issue commands just as if you were logged in.

In the next lesson, we will look at another way of doing much the same thing but over a local network using something called SSH.

Learn more.


Gpio

Adafruit’s Raspberry Pi Lesson 4. GPIO Setup @ The Adafruit Learning System. Learn how to setup your Pi for Hacking Electronics!

One of the great things about the Raspberry Pi is that it has a GPIO connector to which you can attach external hardware.

Learn more!


Network Leds

Tutorial: Adafruit’s Raspberry Pi Lesson 3. Network Setup @ The Adafruit Learning System.

One of the first things that you will want to do is to get your Raspberry Pi connected up to the Internet.

In this lesson, you will learn how to:

  • Connect using an Ethernet cable
  • Use a WiFi adapter with both Raspbian and Occidentalis
  • Find out the IP address of your Raspberry Pi

Learn more!


Adafruit’s Raspberry Pi Lesson 2. First Time Configuration @ THe Adafruit Learning System. Set up your Raspberry Pi for the first time!

In the first lesson of this series, we showed you how to prepare an SD card containing an operating system for your Raspberry Pi. In this lesson, we will show you how to setup your Raspberry Pi the first time you boot it up.

We do this using a tool called Raspi-Config that runs automatically the first time you boot your Raspberry Pi. This starts before the windowing system and so you have to use the cursor keys and Return key to navigate the menu system.

It is a bit like adjusting the BIOS settings on a PC, once you have things right, you probably won’t need it again.

We will start with the options that are most important and then look at some of the other options that you may wish to configure.

Learn more!


Overview

Adafruit’s Raspberry Pi Lesson 1. Preparing and SD Card for your Raspberry Pi @ The Adafruit Learning System. A new series of of tutorials here at Adafruit by the prolific Simon Monk!

When you buy a Raspberry Pi, it may or may not be sold with an SD card. The SD card is important because this is where the Raspberry Pi keeps its operating system and is also where you will store your documents and programs.  

Even if your Pi came with an SD card with the operating system on, it is a good idea to update it to the latest version, as improvements and bug fixes are going in all the time. Since putting the operating system onto an SD card wipes everything else off the card, it is worth considering using a USB flash drive for your documents, so that when you install a new version of the operating system, you dont’ have the complication of copying them off somewhere self before reformatting the SD card.

If your Pi did not come with an SD card then the minimum size you should get is 4GB, but buy a bigger SD card if you think you will need the space.
This lesson shows you how to create an SD card for your Raspberry Pi.

Learn more!


Halloween season is here!
Halloween season is here! Check out all the posts, gift guides, and more!

Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — NewProducts Featuring Adafruit RP2350 22-pin FPC HSTX to DVI Adapter for HDMI Displays!

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: New Python Releases, an ESP32+MicroPython IDE and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — Garden Lights, Bluetooth 6.0, and more!

Maker Business – Adafruit Daily — A look at Boeing’s supply chain and manufacturing process

Electronics – Adafruit Daily — When do I use X10?

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.