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.
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.
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.
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.
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.
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
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.
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.
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — Samsung & Batteries
Wearables — Award winning shield
Electronics — Here’s the deal with BJT power
Biohacking — Microbes in the Mansion: US Presidents and their Bacteria
No comments yet.
Sorry, the comment form is closed at this time.