Raspberry Pi | Circuit Basics http://www.circuitbasics.com Raspberry Pi, Arduino, and DIY Electronics Projects and Tutorials Tue, 17 Apr 2018 06:32:49 +0000 en-US hourly 1 http://www.circuitbasics.com/wp-content/uploads/2017/01/cropped-Circuit-Basics-Image-32x32.png Raspberry Pi | Circuit Basics http://www.circuitbasics.com 32 32 81654705 How to Set Up WiFi on the Raspberry Pi 3 http://www.circuitbasics.com/how-to-set-up-wifi-on-the-raspberry-pi-3/ http://www.circuitbasics.com/how-to-set-up-wifi-on-the-raspberry-pi-3/#comments Wed, 15 Mar 2017 21:23:56 +0000 http://www.circuitbasics.com/?p=423253 The Raspberry Pi 3 comes with an on-board 802.11n Wireless LAN adapter, which means that it’s no longer necessary to purchase a separate WiFi dongle. It’s also quite a bit easier to set up. In this tutorial, I’ll show you how to set up WiFi from the command line or from the Raspbian desktop. You will need […]

The post How to Set Up WiFi on the Raspberry Pi 3 appeared first on Circuit Basics.

]]>
http://www.circuitbasics.com/how-to-set-up-wifi-on-the-raspberry-pi-3/feed/ 7 423253
Raspberry Pi Zero USB/Ethernet Gadget Tutorial http://www.circuitbasics.com/raspberry-pi-zero-ethernet-gadget/ http://www.circuitbasics.com/raspberry-pi-zero-ethernet-gadget/#comments Mon, 25 Jul 2016 17:30:07 +0000 http://www.circuitbasics.com/?p=421535 The Raspberry Pi Zero’s small size isn’t the only thing that makes it an awesome single board computer. Thanks to its ability to be recognized as a USB/Ethernet gadget, you can connect to your Pi from another computer via USB. Power is provided over USB, and your computer’s internet connection is shared over USB too. You […]

The post Raspberry Pi Zero USB/Ethernet Gadget Tutorial appeared first on Circuit Basics.

]]>
http://www.circuitbasics.com/raspberry-pi-zero-ethernet-gadget/feed/ 52 421535
How to Setup an LCD on the Raspberry Pi and Program It With Python http://www.circuitbasics.com/raspberry-pi-lcd-set-up-and-programming-in-python/ http://www.circuitbasics.com/raspberry-pi-lcd-set-up-and-programming-in-python/#comments Fri, 25 Mar 2016 09:59:52 +0000 http://www.circuitbasics.com/?p=839 If you plan on using an LCD with your Raspberry Pi, there’s a good chance you’ll need to program it in Python at some point. Python is probably the most popular programming language for coding on the Raspberry Pi, and many of the projects and examples you’ll find are written in Python. In this tutorial, I’ll show you […]

The post How to Setup an LCD on the Raspberry Pi and Program It With Python appeared first on Circuit Basics.

]]>
http://www.circuitbasics.com/raspberry-pi-lcd-set-up-and-programming-in-python/feed/ 36 839
How to Setup an LCD on the Raspberry Pi and Program it With C http://www.circuitbasics.com/raspberry-pi-lcd-set-up-and-programming-in-c-with-wiringpi/ http://www.circuitbasics.com/raspberry-pi-lcd-set-up-and-programming-in-c-with-wiringpi/#comments Fri, 25 Mar 2016 09:37:11 +0000 http://www.circuitbasics.com/?p=421141 Connecting an LCD display to your Raspberry Pi is sure to take your project up a notch. They’re great for displaying sensor readings, songs or internet radio stations, and stuff from the web like tweets and stock quotes. Whatever you choose to display, LCDs are a simple and inexpensive way to do it. In this tutorial, I’ll show you […]

The post How to Setup an LCD on the Raspberry Pi and Program it With C appeared first on Circuit Basics.

]]>
http://www.circuitbasics.com/raspberry-pi-lcd-set-up-and-programming-in-c-with-wiringpi/feed/ 8 421141
How to Setup an I2C LCD on the Raspberry Pi http://www.circuitbasics.com/raspberry-pi-i2c-lcd-set-up-and-programming/ http://www.circuitbasics.com/raspberry-pi-i2c-lcd-set-up-and-programming/#comments Fri, 25 Mar 2016 08:58:49 +0000 http://www.circuitbasics.com/?p=420790 Connecting an LCD to your Raspberry Pi will spice up almost any project, but what if your pins are tied up with connections to other modules? No problem, just connect your LCD with I2C, it only uses two pins (well, four if you count the ground and power). In this tutorial, I’ll show you everything you need to […]

The post How to Setup an I2C LCD on the Raspberry Pi appeared first on Circuit Basics.

]]>
http://www.circuitbasics.com/raspberry-pi-i2c-lcd-set-up-and-programming/feed/ 71 420790
Raspberry Pi DS18B20 Temperature Sensor Tutorial http://www.circuitbasics.com/raspberry-pi-ds18b20-temperature-sensor-tutorial/ http://www.circuitbasics.com/raspberry-pi-ds18b20-temperature-sensor-tutorial/#comments Fri, 25 Mar 2016 08:14:09 +0000 http://www.circuitbasics.com/?p=421105 The DS18B20 temperature sensor is perfect for projects like weather stations and home automation systems. Few sensors are this easy to set up on the Raspberry Pi. They’re the same size as a transistor and use only one wire for the data signal. They’re also extremely accurate and take measurements quickly. The only other component you […]

The post Raspberry Pi DS18B20 Temperature Sensor Tutorial appeared first on Circuit Basics.

]]>
http://www.circuitbasics.com/raspberry-pi-ds18b20-temperature-sensor-tutorial/feed/ 22 421105
How to Connect to a Raspberry Pi Directly with an Ethernet Cable http://www.circuitbasics.com/how-to-connect-to-a-raspberry-pi-directly-with-an-ethernet-cable/ http://www.circuitbasics.com/how-to-connect-to-a-raspberry-pi-directly-with-an-ethernet-cable/#comments Thu, 31 Dec 2015 16:49:49 +0000 http://www.circuitbasics.com/?p=420635 If you use your Raspberry Pi as a gaming console, media server, or stand-alone computer, WiFi is a great way to get internet access. But if you connect to your Pi with SSH or a remote desktop application a lot, WiFi is actually one of the slowest and least reliable ways to do it. A direct […]

The post How to Connect to a Raspberry Pi Directly with an Ethernet Cable appeared first on Circuit Basics.

]]>
http://www.circuitbasics.com/how-to-connect-to-a-raspberry-pi-directly-with-an-ethernet-cable/feed/ 29 420635
How to Set Up a Static IP on the Raspberry Pi http://www.circuitbasics.com/how-to-set-up-a-static-ip-on-the-raspberry-pi/ http://www.circuitbasics.com/how-to-set-up-a-static-ip-on-the-raspberry-pi/#comments Tue, 29 Dec 2015 11:40:55 +0000 http://www.circuitbasics.com/?p=230925 Have you ever tried logging in to your Raspberry Pi via SSH and were denied because the IP address couldn’t be found? Do you have to scan your network every time you connect to find your local IP address? If the IP address of your Raspberry Pi changes all the time, it’s because you’re using a dynamic IP address. If you […]

The post How to Set Up a Static IP on the Raspberry Pi appeared first on Circuit Basics.

]]>
http://www.circuitbasics.com/how-to-set-up-a-static-ip-on-the-raspberry-pi/feed/ 22 230925
How to Set Up the DHT11 Humidity Sensor on the Raspberry Pi http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-the-raspberry-pi/ http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-the-raspberry-pi/#comments Sun, 13 Dec 2015 10:00:19 +0000 http://www.circuitbasics.com/?p=420643 The DHT11 temperature and humidity sensor is a nice little module that provides digital temperature and humidity readings. It’s really easy to set up, and only requires one wire for the data signal. These sensors are popular for use in remote weather stations, soil monitors, and home automation systems. Programming the DHT11 and connecting it to a Raspberry Pi […]

The post How to Set Up the DHT11 Humidity Sensor on the Raspberry Pi appeared first on Circuit Basics.

]]>
http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-the-raspberry-pi/feed/ 124 420643
How to Write and Run a Python Program on the Raspberry Pi http://www.circuitbasics.com/how-to-write-and-run-a-python-program-on-the-raspberry-pi/ http://www.circuitbasics.com/how-to-write-and-run-a-python-program-on-the-raspberry-pi/#comments Tue, 11 Aug 2015 23:23:32 +0000 http://www.circuitbasics.com/?p=214283 In this post, I’ll give you a quick overview of what a Python program is, what Python programs can be used for, and how to write and run a simple Python program on the Raspberry Pi. What is a Python Program? Python is a very useful programming language that has an easy to read syntax, and allows programmers […]

The post How to Write and Run a Python Program on the Raspberry Pi appeared first on Circuit Basics.

]]>
http://www.circuitbasics.com/how-to-write-and-run-a-python-program-on-the-raspberry-pi/feed/ 27 214283
How to Write and Run a C Program on the Raspberry Pi http://www.circuitbasics.com/how-to-write-and-run-a-c-program-on-the-raspberry-pi/ http://www.circuitbasics.com/how-to-write-and-run-a-c-program-on-the-raspberry-pi/#comments Tue, 11 Aug 2015 23:23:04 +0000 http://www.circuitbasics.com/?p=214287 In this tutorial, I’ll discuss what the C programming language is, what C programming is used for, and how to write and run a C program on the Raspberry Pi. The intent of this article is to give you a very basic introduction to C programming on the Raspberry Pi. If you’re looking for more in-depth information […]

The post How to Write and Run a C Program on the Raspberry Pi appeared first on Circuit Basics.

]]>
http://www.circuitbasics.com/how-to-write-and-run-a-c-program-on-the-raspberry-pi/feed/ 3 214287
How to Write and Run a Shell Script on the Raspberry Pi http://www.circuitbasics.com/how-to-write-and-run-a-shell-script-on-the-raspberry-pi/ http://www.circuitbasics.com/how-to-write-and-run-a-shell-script-on-the-raspberry-pi/#comments Tue, 11 Aug 2015 23:22:30 +0000 http://www.circuitbasics.com/?p=214280 In this tutorial I’ll discuss the basics of shell scripts, what they’re used for, and how to write and run them on the Raspberry Pi. What is a Shell Script? Shell scripts allow you to automate pretty much anything you can do on the Linux command line. A shell script is simply a text file containing a […]

The post How to Write and Run a Shell Script on the Raspberry Pi appeared first on Circuit Basics.

]]>
http://www.circuitbasics.com/how-to-write-and-run-a-shell-script-on-the-raspberry-pi/feed/ 8 214280
Raspberry Pi Touchscreen Calibration and Screen Rotation http://www.circuitbasics.com/raspberry-pi-touchscreen-calibration-screen-rotation/ http://www.circuitbasics.com/raspberry-pi-touchscreen-calibration-screen-rotation/#comments Wed, 04 Feb 2015 12:46:57 +0000 http://www.circuitbasics.com/?p=585 In the previous article, I described the steps needed to install an LCD touchscreen on the Raspberry Pi. In this article, I will show you how to adjust the screen rotation of the LCD to landscape mode, and will show you how to calibrate the touchscreen pointer for optimal accuracy. Just follow the steps below to compete […]

The post Raspberry Pi Touchscreen Calibration and Screen Rotation appeared first on Circuit Basics.

]]>
http://www.circuitbasics.com/raspberry-pi-touchscreen-calibration-screen-rotation/feed/ 62 585
How to Setup an LCD Touchscreen on the Raspberry Pi http://www.circuitbasics.com/setup-lcd-touchscreen-raspberry-pi/ http://www.circuitbasics.com/setup-lcd-touchscreen-raspberry-pi/#comments Wed, 04 Feb 2015 11:45:44 +0000 http://www.circuitbasics.com/?p=494 In this tutorial, I’ll walk you step by step through the process of installing an LCD touchscreen on the Raspberry Pi. Most LCD touchscreens for the Raspberry Pi ship with an OS image file that you can write to your SD card and get up and running pretty quickly. But what if you want to […]

The post How to Setup an LCD Touchscreen on the Raspberry Pi appeared first on Circuit Basics.

]]>
http://www.circuitbasics.com/setup-lcd-touchscreen-raspberry-pi/feed/ 303 494
How to Access the Raspberry Pi Desktop with a Remote Desktop Connection http://www.circuitbasics.com/access-raspberry-pi-desktop-remote-connection/ http://www.circuitbasics.com/access-raspberry-pi-desktop-remote-connection/#comments Thu, 29 Jan 2015 07:17:35 +0000 http://www.circuitbasics.com/?p=461 In a previous post, we saw how to set up WiFi on the Raspberry Pi and how to wirelessly connect to it via an SSH client called PuTTY. PuTTY is a great way to access the command line, but you can’t use it to access the desktop. In this tutorial, I’ll show you how to access your Raspberry […]

The post How to Access the Raspberry Pi Desktop with a Remote Desktop Connection appeared first on Circuit Basics.

]]>
http://www.circuitbasics.com/access-raspberry-pi-desktop-remote-connection/feed/ 46 461
42 of the Most Useful Raspberry Pi Commands http://www.circuitbasics.com/useful-raspberry-pi-commands/ http://www.circuitbasics.com/useful-raspberry-pi-commands/#comments Thu, 22 Jan 2015 04:52:21 +0000 http://www.circuitbasics.com/?p=312 Sometimes it’s hard to keep track of all the Raspberry Pi commands you use, so I created a list of some of the most useful and important ones that will make using Linux on the Raspberry Pi a lot easier. But first a quick note about user privileges… There are two user “modes” you can work with in Linux. One […]

The post 42 of the Most Useful Raspberry Pi Commands appeared first on Circuit Basics.

]]>
http://www.circuitbasics.com/useful-raspberry-pi-commands/feed/ 49 312
How to Set Up WiFi on the Raspberry Pi http://www.circuitbasics.com/raspberry-pi-wifi-installing-wifi-dongle/ http://www.circuitbasics.com/raspberry-pi-wifi-installing-wifi-dongle/#comments Thu, 22 Jan 2015 04:33:04 +0000 http://www.circuitbasics.com/?p=362 Note: This tutorial will show you how to set up WiFi on the Raspberry Pi 2 and earlier versions that need a USB WiFi adapter. To set up WiFi on the Raspberry Pi 3, please see this tutorial. In a previous tutorial, I explained how to establish an SSH connection to your Raspberry Pi over […]

The post How to Set Up WiFi on the Raspberry Pi appeared first on Circuit Basics.

]]>
http://www.circuitbasics.com/raspberry-pi-wifi-installing-wifi-dongle/feed/ 40 362
How to Setup a Raspberry Pi Without a Monitor or Keyboard http://www.circuitbasics.com/raspberry-pi-basics-setup-without-monitor-keyboard-headless-mode/ http://www.circuitbasics.com/raspberry-pi-basics-setup-without-monitor-keyboard-headless-mode/#comments Tue, 20 Jan 2015 08:51:32 +0000 http://www.circuitbasics.com/?p=310 Anyone that’s interested in learning about computers or the internet will love experimenting with a Raspberry Pi. The only issue is that it doesn’t come with a monitor or keyboard. This actually isn’t a problem though, because there’s a way to setup and work on the Pi without ever connecting it to a monitor or keyboard. It’s known as running […]

The post How to Setup a Raspberry Pi Without a Monitor or Keyboard appeared first on Circuit Basics.

]]>
http://www.circuitbasics.com/raspberry-pi-basics-setup-without-monitor-keyboard-headless-mode/feed/ 85 310