# data[].attributes.attachment_link.readable_text
(Image credit: Benjamin Bezine)

The versatility of the Raspberry Pi never ceases to amaze us--today's project reaches into the field of photography. Maker Benjamin Bezine's project, RoboScan uses a Raspberry Pi to automatically scan old rolls of analog film to develop them into individual digital photos.

According to Bezine, this Pi creation was developed as a lockdown project. In addition to the Raspberry Pi, it uses a DSLR camera to capture individual photos on the roll. The frame is constructed using every developer's foundational tool, Lego.

Bezine integrated machine learning with the help of Google's Coral Tensor Processing Unit to help determine when a photo is within the proper frame boundaries. He also added a web interface that can be used to both control and monitor the system while it scans.

Photos are automatically saved to the Pi as they are scanned. Users can then use Samba to sync the photo data to a remote PC or other storage device. Bezine reported a performance output of around 6 frames per minute, including the time it takes to sync the photo to his PC.

You can check out this project in action and read more in the full post on . If you want to recreate it at home, check out the source code on . Visit our list of Best Raspberry Pi Projects for more cool creations from the Pi community.

# data[].attributes.attachment_link.title
Raspberry Pi RoboScan Automatically Digitizes Vintage Images

# data[].attributes.attachment_link.description
(Image credit: Benjamin Bezine) The versatility of the Raspberry Pi never ceases to amaze us--today's project reaches into the field of photography. Maker Benjamin Bezine's project, RoboScan uses a Raspberry Pi to automatically scan old rolls of analog film to develop them into individual digital photos.

# data[].attributes.attachment_link.title
Teach, learn, and make with the Raspberry Pi Foundation

# data[].attributes.attachment_link.description
We are a charity with the mission to enable young people to realise their full potential through the power of computing and digital technologies.

# data[].attributes.attachment_link.readable_text
If you want a home security system to tell you if someone is lurking around your property, you don't need an expensive, proprietary solution from a third-party vendor. You can set up your own system using a Raspberry Pi, a passive infrared (PIR) motion sensor, and an LTE modem that will send SMS messages whenever it detects movement.

Prerequisites

You will need:

A Raspberry Pi with Ethernet connection and Raspberry Pi OS

An HC-SR501 PIR motion sensor

1 red LED

1 green LED

An LTE modem (I used the Teltonika TRM240)

A SIM card

The PIR motion sensor

The PIR motion sensor will sense motion when something that emits infrared rays (e.g., a human, animal, or anything that emits heat) moves in the range of the sensor's field or reach. PIR motion sensors are low power and inexpensive, so they're used in many products that detect motion. They can't say how many people are in the area and how close they are to the sensor; they just detect motion.

A PIR sensor has two potentiometers, one for setting the delay time and another for sensitivity. The delay time adjustment sets how long the output should remain high after detecting motion; it can be anywhere from five seconds to five minutes. The sensitivity adjustment sets the detection range, which can be anywhere from three to seven meters.

The LTE modem

Long-term evolution (LTE) is a standard for wireless broadband communication based on the GSM/EDGE and UMTS/HSPA technologies. The LTE modem I'm using is a USB device that can add 3G or 4G (LTE) cellular connectivity to a Raspberry PI computer. In this project, I'm not using the modem for cellular connectivity, but to send messages to my phone when motion is detected. I can control the modem with serial communication and AT commands; the latter send messages from the modem to my phone number.

How to set up your home security system

Step 1: Install the software

First, install the necessary software on your Raspberry Pi. In the Raspberry Pi's terminal, enter:

Step 2: Set up the modem

Insert your SIM card into your LTE modem by following these instructions for the TRM240. Make sure to mount the antenna on the modem for a better signal.

Step 3: Connect the modem to the Raspberry Pi

Connect the LTE modem to one of the Raspberry Pi's USB ports, then wait for the device to boot up. You should see four new USB ports in the /dev directory. You can check them by executing this command in the terminal:

You should now see these devices:

You will use the ttyUSB2 port to communicate with the device by sending AT commands.

Step 4: Connect the sensors to the Raspberry Pi

1. Connect the PIR sensor:
Connect the VCC and GND pins to the respective pins on the Raspberry Pi, and connect the motion sensor's output pin to the 8 pin on the Raspberry Pi. See below for a schematic on these connections, and you can learn more about Raspberry Pi pin numbering in the GPIO Zero docs.

2. Connect the LED lights:
If you want indicator LEDs to light up when motion is detected, connect the cathode (short leg, flat side) of the LED to a ground pin; connect the anode (longer leg) to a current-limiting resistor; and connect the other side of the resistor to a GPIO pin (the limiting resistor can be placed either side of the LED). Connect the red LED to the 38 pin on the board and the green LED to the 40 pin.

Note that this step is optional. If you don't want indicator LEDs when motion is detected, delete the LED sections from the example code below.

Step 5: Launch the program

Using the terminal (or any text editor), create a file named motion_sensor.py, and paste in the example code below.

Find and change these fields:

If you used different pins to connect the sensors, make sure to change the code accordingly.

When everything is set and ready to go, start the program from the terminal by entering:

python3 motion_sensor.py

If you don't have the required privileges to start the program, try this command:

Example code

# data[].attributes.attachment_link.title
Build a motion detection system with a Raspberry Pi

# data[].attributes.attachment_link.description
If you want a home security system to tell you if someone is lurking around your property, you don't need an expensive, proprietary solution from a third-party vendor. You can set up your own system using a Raspberry Pi, a passive infrared (PIR) motion sensor, and an LTE modem that will send SMS messages whenever it detects movement.

# data[].attributes.attachment_link.keywords[]
pir (motion) sensor id: 189 tools gift certificates arduino cables sensors leds books breakout boards power el wire/tape/panel components & parts lcds & displays wearables prototyping raspberry pi wireless young engineers 3d printing neopixels kits & projects robotics & cnc accessories cosplay/costuming halloween reseller and school packs internet of things - iot development boards batteries gift ideas feather circuitpython circuit playground crickit - creative robotics particle stemma machine learning micro:bit add-ons & accessories bluetooth ppe microchip ecommerce

# data[].attributes.attachment_link.description
Adafruit Industries, Unique & fun DIY electronics and kits PIR (motion) sensor ID: 189 - PIR sensors are used to detect motion from pets/humanoids from about 20 feet away (possibly works on zombies, not guaranteed).

# data[].attributes.attachment_link.readable_text
The HoneyPi app gives you the best overview of the measured data of your HoneyPi beehive scale. Monitor valuable data from your hives to increase efficiency in your daily work with the beehives.

HoneyPi is a measuring system for your hives based on the Raspberry Pi. It can measure values such as temperature, humidity, air pressure, air quality and weight. The hardware and sensors for your HoneyPi beehive scale can be combined as you wish.You can find more information on our website https://www.honey-pi.de/en/.

The counterpart to your HoneyPi measuring system is the HoneyPi app, which clearly visualizes your measured data. The measurement data is obtained from the IoT platform ThingSpeak, which is why a user account must be created at ThingSpeak. If you don't have a ThingSpeak account yet, you can register for free here: https://thingspeak.com/login.

Possible usage scenarios of the HoneyPi app are the detection of a flying swarm of bees by a rapid weight loss. The brood chamber temperature can also be monitored to check whether the hive is kept warm enough in the winter and whether the colony still has brood.

Main functions of the HoneyPi app:
- Login: Simply log in with your User API key from your ThingSpeak account and any username.
- Customizable switchable dashboard: Switch between your hives and create a dashboard with the latest data.
- Specialized detail pages: There are predefined detail pages for temperature, humidity, air pressure, air quality and weight measurements. These are named using the ThingSpeak field name of the respective ThingSpeak channel. On the detail pages the measured values are displayed in clear diagrams. In addition, maximum, minimum and average values are calculated and displayed for the selected time periods.
- Calculation of the honey yield: With the help of the measuring data of the weight sensor the daily honey yield is calculated and represented as bar chart. Also a summed up honey yield from several days is displayed.
- Predefined and user-defined periods: For the presentation of the diagrams on the detail pages, you can choose between the predefined periods "Today", "3 days", "7 days" and "30 days". You can also select a user-defined period.
- Extensive settings: On the settings page you have access to various settings. For example, you can turn your ThingSpeak fields on or off or change their assignment to the detail pages.
- Login-Logout possibility: You can log in and out of the HoneyPi app at any time.

# data[].attributes.attachment_link.title
HoneyPi: The smart beehive scale - Apps on Google Play

# data[].attributes.attachment_link.description
The HoneyPi app gives you the best overview of the measured data of your HoneyPi beehive scale. Monitor valuable data from your hives to increase efficiency in your daily work with the beehives. HoneyPi is a measuring system for your hives based on the Raspberry Pi.

# data[].attributes.attachment_link.description
Hackaday.io is home to thousands of art, design, science, and technology projects. Share your work with the largest hardware and software projects community.

# data[].attributes.attachment_link.readable_text
Whether you are a budding programmer or a hobbyist geek with a penchant for tinkering and DIY tech projects, a single board computer is one of the best things you can get for yourself. And even though there are many of them to choose from, the Raspberry Pi series of single board PCs remains the most popular choice. If you're looking forward to buying your first Raspberry Pi, the ridiculously cheap Raspberry Pi Zero is easily the best choice. Retailing for a paltry $5, it comes with a 1 GHz single core CPU, along with 512 MB RAM. In fact, chances are really high that you've already got one for yourself. You might be wondering, what amazing things can you do with this small board? The answer is, a lot. Here are the 20 best Raspberry Pi Zero projects you can build in 2020.

Note: If any project requires wireless connectivity you will have to buy wireless modules. A better way is to buy the Raspberry Pi Zero W instead of the original Raspberry Pi Zero as it comes with built-in wireless LAN and Bluetooth connectivity.

Best Raspberry Pi Zero projects to Build in 2020

1.Self Driving Car with Raspberry Pi Zero

Self driving cars are all the rage right now, and one of the best projects you can create with a Raspberry Pi Zero is actually a self-driving car. You'll require quite a lot of components to make this, including wheels (obviously), cameras, LiPo batteries, and a bunch of other stuff. The project uses Python to code things out, so a basic knowledge of Python should help, but even if you have no idea what Python is, the instructions are pretty detailed and you can simply follow them to complete the build on your own. It's definitely one of the most exciting things to do with a Raspberry Pi Zero, not just to learn about machine learning and camera vision, but even just for bragging rights.

2. Pi Zero Powered AirPlay Speaker

Apple's AirPlay protocol offers a nifty little way of wirelessly streaming all sorts of media (audio, video, and photos) from iOS devices to other gadgets that are AirPlay compatible. So if you've got an iPhone or an iPad, how about building a Raspberry Pi Zero powered AirPlay speaker for enjoying your music? However, for this project, you'll need some extra peripherals, such as the pHAT DAC audio board, as well as a speaker and Wi-Fi dongle, since the Pi Zero lacks wireless connectivity. On the software side, nothing else than the Shairport AirTunes emulator and the Raspbian distro is required.

Full Tutorial

3. Pi Zero Internet Connected Information Display

Quite a lot of our daily time is spent gazing at our gadgets' displays, checking different types of information. And if you've got a Raspberry Pi Zero, you can create your very own programmable information display, and use it to show information like time/date, weather conditions,and social media notifications. This project also requires some extra stuff, including the Adafruit 128×64 OLED display, and two push buttons, which will be used for cycling between the data that's shown on the display. A little patience, and your mini information console will be up and running in no time.

Full Tutorial

4. Pi Zero Retro Gaming System

Xbox and PlayStation might rule today's gaming world, but they are nowhere as fun as the retro gaming consoles (e.g. SNES) of the older days. So if the gamer in you is feeling nostalgic, you can use the Raspberry Pi Zero to create a gaming system that can play everything that you could play on a Sega Genesis or an Amiga. In addition to a classic old CRT TV, you'll also need to install the RetroPie gaming console emulator on the Pi Zero. What's more, the awesome folks behind this project have confirmed that the gaming system works perfectly with the Xbox 360 controller ($89). Isn't that great?

Full Tutorial

5. A Raspberry Pi Zero Drone

Their usage (in both civilian and military environments) might still be a controversial issue, but there's little doubting the fact that drones can prove to be extremely useful, and even fun. And what better way to use your Raspberry Pi Zero than to make it the driving force behind a smart drone? Apart from a drone and the Raspberry Pi Zero (obviously), this project requires a PXFMini autopilot board, and a special Linux OS image. Once done, the autopilot board can create its own Wi-Fi using a USB dongle, and use a common game path to control the drone through a ground control station. Not just that, you can also use the Robot Operating System to visualize the flight mode and state of the drone.

Full Tutorial

6. Raspberry Pi Zero USB Hub

While the compact form factor makes it instantly convenient, it also means that the Zero has less connectivity options, as compared to the Pi 2 and Pi 3. Notably, the Raspberry Pi Zero has only one USB slot, which makes connecting peripherals like keyboards and Wi-Fi dongles a chore. But thanks to this little project, you can easily combine a four port USB hub with the Pi Zero. Although it's quite a basic do-it-yourself project, it can come in really handy if you intend to interface the Raspberry Pi Zero with multiple peripherals.

Full Tutorial

7. Pocket Projector

Pocket Projector is one of the ingenious projects that has come out of Raspberry Pi Zero. You can actually build a pocket projector using two additional components and it's a very low-powered setup. You can even run this project using a battery pack. It uses a tiny LED bulb that passes through the light filter. After that, the light goes through the DMD (Digital Micromirror Device) which finally projects the light on a surface. Keep in mind, as the components are quite cheap, you won't get the best quality, but it's surely usable. Overall, the whole setup including Pi Zero, light filter, and DMD will have a footprint of the standard Raspberry Pi.

Full Tutorial

8. Smart Security Camera

As the name suggests, you can build a security camera system using Raspberry Pi Zero. Not only that, but the camera system is also smart which means you will get email alerts whenever a person or object comes closer to the camera. It uses the OpenCV algorithm to detect objects in real-time and sends the image automatically to your email account. Apart from that, you will need the Raspberry Pi camera module, MDF board, and a couple of screws and nuts. I would say, if you have the expertise to deal with both software and hardware then you can definitely do this project.

Full Tutorial

9. USB Dongle

If you want to build a USB dongle with memory support and internet access then you can make it possible with Raspberry Pi Zero. You will just need a male USB connector which you can get from Amazon and a few serial cables. After that, just solder the USB male connector to VCC, Ground, and data ports on Raspberry Pi Zero. Next, install Raspbian Lite and configure a few settings. You can even enable the SSH feature so you can access the files on the USB dongle via the internet. Of course, you need to connect the dongle to your computer for it to work. All in all, USB Dongle is one of the easiest Raspberry Pi Zero projects out there and you should definitely try it once.

Full Tutorial

10. VPN Server

Yes, you can create a VPN server on your Raspberry Pi Zero and re-route all the traffic through a private tunnel for better security and privacy. The project uses the dedicated piVPN program to set up and configure the tunnel. You have the option to use either OpenVPN or WireGuard protocol. Other than that, you will have to enable SSH on Raspbian and forward the ports to the router, in case you are routing the traffic wirelessly. However, I would suggest you to use an Ethernet port for faster performance. To sum up, building a personal VPN server with Raspberry Pi Zero is a great way to leverage its potential.

Full Tutorial

11. Cryptocurrency Hardware Wallet

Among the many things that you can do with the credit-card-sized Raspberry Pi Zero, creating your own hardware wallet is akin to living by its name. With Pi Zero, you can create bitcoin and other cryptocurrency wallets by using the special hardware developed by Trezor. The best part about this wallet is that the private key to sign a transaction never leaves the device which makes it secure and foolproof. You can send money to anyone in the cryptocurrency network and authenticate transactions with this wallet. So if you deal in bitcoin and other cryptocurrencies then you can create your own wallet using Pi Zero for an additional layer of security.

Full Tutorial

12. Smart Environment Monitor

If you care for the environment (and for our planet), this is one project you'll love. Its basic idea is to use the Raspberry Pi Zero to power a device that can monitor multiple parameters like temperature, humidity levels, atmospheric pressure etc., and send the data to the AWS IoT platform for processing and analysis. This can be extremely useful for tasks like finding out less/more polluted areas in a city at a given time, or triggering alarms in case the pollution reaches a harmful level. In addition to a bit of software configuration, you'll also need a bunch of sensors for the project, such as the Temperature and Humidity Sensor. From region, to the measurement interval, everything can be configured.

Full Tutorial

13. Electric Skateboard

Electric Skateboards are a fun way to get around. But most of the electric skateboards, as we all know, are a little expensive. Well, what if we said you could make your very own electric skateboard with a Raspberry Pie Zero? Yes, you read that right, you can make your very own electric skateboard with the help of a Raspberry Pie.

The components required for this particular project are pretty simple. Besides a skateboard, you'll need a battery to power the whole setup, a motor and a mount to hold it in place, and a motor controller. You'll also need a Wiimote to control the skateboard and the Raspberry Pie Zero that will act as the "brains" of the whole contraption. Yes, it might look like a complicated process, but the " RaspberryPieGuy " has put together a neat tutorial video to help you out. Check it out, it could be a fun weekend project.

14. PIX-E GIF Camera

Have you ever wanted a camera that automatically shoots GIFs? Well, with the Raspberry Pi Zero, you can build your own GIF camera. The project does require access to a 3D printer, and apart from that you'll need things like an RPi camera, a microSD card, a push-button and other components. The best part about this is that you can fully customise the camera to get a different looking body, change the GIF lengths, or even make the camera directly upload your GIFs instead of saving them to the microSD card. It definitely looks like a fun project that you should definitely check out.

Full Tutorial
15. Xbox Controller Mod

We've already discussed (see 3rd point) how you can use Raspberry Pi Zero to make a CRT TV into a retro gaming system. But what if you could fit an entire Raspberry Pi Zero inside an original Xbox controller ($30)? That's right, you can, thanks to this amazing quirky project. Among the stuff that you'll need to do this, is a mini HDMI cable/adapter and a USB OTG cable. When everything is done, you just have to flash the pre-built RetroPie image having the necessary emulators, config files etc., to the MicroSD card. So what's the wait? Get gaming.

Full Tutorial

16. MatchBot Line Following Robot

One of the more "fun" projects utilizing the Raspberry Pi Zero, the MatchBot is a line following robot with proximity sensing capabilities. It's built in the form of a two-wheeled toy, with everything stuffed inside a matchbox (yes, you read that right!). The project requires quite some things, such as a buck converter, and motors for powering the wheels. The MatchBot can perform multiple actions, based upon how you interact with the proximity sensor.

Full Tutorial

17. Tempus Fugit Raspberry Pi Zero WordClock

Another uniquely impressive project based upon the Raspberry Pi Zero, the Tempus Fugit WordClock uses an 8×8 letter matrix to spell out the current time. In addition, the accuracy of the time is maintained by a real-time clock chip, powered by an on-board battery. It might not seem much, but the small project has been successfully funded on Kickstarter, and is already at the working stage. The clock will also come in Dutch and Latin language variants.

Check Details
18. Raspberry Pi Zero Powered Pirate Radio

If you've ever wanted to be a Radio Jockey, this is the time for it. The Pirate Radio project lets you turn Raspberry Pi Zero into a powerful FM transmitter. You'll need a couple of things for this, such as an antenna, and a battery pack. The standard Raspbian Linux image works perfectly for this. You can use this to transmit all kinds of audio files (e.g. MP3, FLAC, WMA) over your pirate radio.

Full Tutorial

19. NES Controller Mod

The classic Xbox controller isn't the only console controller that can house the Pi Zero. If you're feeling some more retro-gaming nostalgia, you can put the Raspberry Pi Zero inside an NES controller. As you might be knowing by now, this also involves flashing the RetroPie pre-built image on to the MicroSD card you'll be using with the Raspberry Pi Zero. After that, you'll also need to setup additional components, such as HDMI monitor, and Wi-Fi dongle.

Full Tutorial

20. Powering Raspberry Pi From an AA Battery Pack

As portable as the Raspberry Pi Zero is, it still needs a power source to run. But it's not that much of a problem, as you can easily use a regular AA battery pack to power the Raspberry Pi Zero. Like all mods, this fun little project will also require some extra things, such as a Voltage Booster Module, and a Switched Battery Box. This can come in extremely handy when you want to power up the Raspberry Pi Zero on the go.

Full Tutorial

Make the Raspberry Pi Zero even better

The Raspberry Pi Zero brings hobbyist computing within everyone's reach thanks to its low price. Plus given the loads of cool things that you can do with this $5 computer, it'll only get better. So try out these projects on your Raspberry Pi Zero, and if you've got some of your own, don't forget to mention them in the comments below.

# data[].attributes.attachment_link.title
20 Best Raspberry Pi Zero Projects You Can Build (2020) | Beebom

# data[].attributes.attachment_link.description
Whether you are a budding programmer or a hobbyist geek with a penchant for tinkering and DIY tech projects, a single board computer is one of the best things you can get for yourself. And even though there are many of them to choose from, the Raspberry Pi series of single board PCs remains the most popular choice.

# data[].attributes.attachment_link.description
Raspberry Pi Projects: Raspberry Pi is a dynamic microcontroller that is capable of just about anything a computer is. It runs with the Python programming language, and is a great way to learn about hardware hacking and coding. Check out these awesome Instructables to ins...

# data[].attributes.attachment_link.readable_text
One of the many advantages of the Raspberry Pi is that it is possible to connect almost all standard Arduino and Raspberry Pi sensors and components to the dhtvarious GPIOs. Moreover you can evaluate and / or process the values with programs and other software. This accessory can be used in projects such as Smart Home (home automation), robot kits or weather stations, etc.

This article describes and summarizes over 50 of the most important sensors and components for Raspberry Pi's as well as Arduinos and provides you with a full Raspberry Pi sensor list.

Menu

The described Raspberry Pi sensors, modules and components are divided into the following categories:

These Raspberry Pi sensors can be used to detect motion, but not all of them are "real" motion sensors.

Power / Current Supply

Displays

If you think there are still important Raspberry Pi sensors missing, I would be happy about a comment and I will add it to the list.

# data[].attributes.attachment_link.title
50 of the most important Raspberry Pi Sensors and Components

# data[].attributes.attachment_link.description
One of the many advantages of the Raspberry Pi is that it is possible to connect almost all standard Arduino and Raspberry Pi sensors and components to the dhtvarious GPIOs. Moreover you can evaluate and / or process the values with programs and other software.

# data[].attributes.attachment_link.readable_text
Raspberry pi is a powerful palm sized pocket computer based on the ARM cortex architecture. Because of its high operating speed, memory and wireless capabilities it is used by electronics engineers and makers for a variety of applications like Home Automation, Internet of Things (IoT), Machine learning, Computer vision etc.. The below list consist of a list of popular and useful Raspberry Pi projects using Raspberry pi 2, Raspberry pi 3 or Raspberry pi 4, ranging from basic projects for beginners to advanced industrial projects. All projects are explained with circuit diagram and a hardware working video. The python code for Raspberry pi is also provided for a complete do-it-yourself tutorial.

# data[].attributes.attachment_link.title
75+ Simple Raspberry Pi Projects for Beginners with Code and Schematics

# data[].attributes.attachment_link.description
Raspberry pi is a powerful palm sized pocket computer based on the ARM cortex architecture. Because of its high operating speed, memory and wireless capabilities it is used by electronics engineers and makers for a variety of applications like Home Automation, Internet of Things (IoT), Machine learning, Computer vision etc..

# data[].attributes.attachment_link.readable_text
The Raspberry Pi is a great little machine---it's affordable, highly portable, and user-friendly. But when you first get one, it can be tricky to figure out which projects you should take on first.

These Raspberry Pi projects for beginners are a great introduction to the hardware and software capabilities of the Pi. Start with one of these and you'll be up and running in no time!

Beginner Raspberry Pi Projects to Try

Don't be put off by the barebones appearance of the Raspberry Pi. The projects you can build can be as complex or simple as you like. For this guide, we're looking at 11 straightforward, basic Raspberry Pi projects for beginners:

1. Add a button to your Pi

2. Control LED lights

3. Build an alarmed motion sensor

4. Create a digital picture frame

5. Control your Pi via the web

6. Build a personal cloud

7. Make an old printer wireless

8. Code a game with Scratch

9. Make music with Sonic Pi

10. Build a network game server

11. Play music automatically when you enter a room

The following projects can be run (with varying levels of power) with any Raspberry Pi model.

If you're new to the Raspberry Pi, there's something you'll need to do before you start. Here's the all-important guide to installing a Raspberry Pi operating system.

One of the few things missing on a Raspberry Pi is a button. You basically plug it in to power up, boot the operating system, and start using the computer.

In short, the computer is crying out for a button of some sort, making this a great Raspberry Pi project for beginners. This is best done using a breadboard and additional wiring, resistor, and the RPi.GPIO library. New to electronics? This project is ideal.

Programmed in Python, this is a great project for any beginner to understand the importance of the Raspberry Pi's GPIO.

Another simple project for Raspberry Pi beginners is to learn how to control an LED light via the GPIO.

This involves building a simple LED circuit using a breadboard, two LEDs, two resistors, and some suitable wires. Once set up, the circuit can be controlled using Python. You'll gain knowledge of Python, using breadboards, and how to safely connect components like LEDs and resistors.

Sensors and alarms are often considered to be tricky, but your Raspberry Pi can work with hardware via the GPIO.

Creating a simple motion sensor and piezo buzzer alarm will teach you the basics of working with external hardware with the Pi, and this project uses Python, so you'll start learning a bit of that, too.

All you'll need is any Pi model, a passive infrared sensor, a piezo buzzer, a single resistor, and some wires. A breadboard may be useful, too. An alternative take on this is to create an alarm system with an Arduino board.

While the components for this project might be more expensive than others it results in a tasteful digital picture frame. It might look good on your mantlepiece, on the wall, or even next to your bed.

A Raspberry Pi, an LCD screen and controller, and a frame are all you need to get it up and running. If you have an old monitor lying around or can scavenge one from somewhere, you're all set! Our take on this uses the official Raspberry Pi Touchscreen display, an affordable component available on Amazon.

Setting up your Raspberry Pi to be controlled remotely is a great way to start learning some of the code that's required for your Pi to interact with the outside world.

This demo shows you how to turn LEDs on and off from your mobile phone through a simple user interface. Scripts are provided, so you won't need to stumble your way through a lot of complicated coding. Looking through those scripts will teach you a lot about how to set up web-based apps for your Pi.

The Raspberry Pi comes with a bunch of great features, designed for a wide selection of uses. One by-product of this is that it doesn't have a way to easily reset the device. Instead, the Pi is rebooted using a terminal command or the desktop menu.

To get around this, you can add your own switch. This is a simple Raspberry Pi project, requiring either a pin jumper or a push-push switch and wires. A few terminal commands must be entered, but when you're finished resetting the Pi will be easy.

Wireless printers are great and these days they're affordable. But if you have an old USB printer knocking around, don't send it to landfill just yet.

A Raspberry Pi can make an old printer wireless with a few simple commands. If your Pi model doesn't have built-in Wi-Fi, you can buy a $10 Wi-Fi dongle. Simply insert the Wi-Fi dongle, plug in your printer, enter some commands, and remote printing will be enabled in minutes.

This is an easy Raspberry Pi project with a really useful purpose, so if you've got an old printer, try it out!

One of the key aspects of the Raspberry Pi is to promote computing and programming skills. Thanks to the software included with the Raspbian operating system, you can program a game without coding skills.

Raspbian includes Scratch, a visual programming language aimed at children. With just a few mouse-clicks you can create a basic game using block-based programming. Our guide to creating a basic game in Scratch will get you started on the road to programming.

https://vimeo.com/107897082

Sonic Pi turns your Raspberry Pi into a music-coding machine, letting you use basic programming skills to make music. This can be anything from sound effects and short samples to full-length songs.

Although Sonic Pi uses its own programming language, the principles you'll learn while making songs translate into more traditional languages. Leave yourself plenty of time to play around with this one---it can be quite addicting!

Particularly suited to more recent Raspberry Pi models, game server projects are remarkably straightforward. All you need to do is make sure the Pi is connected to your network, then install the server software for your preferred game from the command line.

Various games have servers that will run on the Pi, including Minecraft, Quake, FreeCiv, Terrarria, and OpenTTD. If you have any compatible games running on another device, you can set up network play sessions on your Pi.

If you're looking for easy Raspberry Pi projects without any wiring requirements, this is a great option.

We'll finish with this slightly self-indulgent build. This is a beginner's Raspberry Pi project that plays a tune when you enter the room. It requires some additional hardware, however, including resistors and a reed switch.

To play the music or sound effect when the door opens, the reed switch is attached to the door. Wiring, code, and a connection to the Pi's GPIO is required for this build. While this might appear complicated, the project is in fact one of the simplest Raspberry Pi projects you'll find.

The project tutorial video above will explain this in more depth.

Basic Raspberry Pi Projects You Can Try Today

With all these great Raspberry Pi projects for beginners, you're sure to come across something you're interested in. The best way to get started is to just pick a project and get going; you'll learn the basics of how to use a Pi, and might even get some ideas for your own Raspberry Pi project!

Want more simple project ideas for your Pi? How about these Raspberry Pi Christmas projects that you can make in a day?

Apple Closes Loophole Letting Users Run Almost Any iOS App on M1 Macs

Side-loading loophole meant that users could install nearly any iOS and iPadOS apps on their Apple Silicon Macs.

About The Author

Christian Cawley (1435 Articles Published)

More From Christian Cawley

# data[].attributes.attachment_link.title
The 11 Best Raspberry Pi Projects for Beginners

# data[].attributes.attachment_link.description
The Raspberry Pi is a great little machine---it's affordable, highly portable, and user-friendly. But when you first get one, it can be tricky to figure out which projects you should take on first. These Raspberry Pi projects for beginners are a great introduction to the hardware and software capabilities of the Pi.

# data[].attributes.attachment_link.readable_text
The small Raspberry Pi Zero has a big advantage: its size
You can install it anywhere, to make slightly the same thing than a Raspberry Pi 3
Today, I'll show you a list of projects ideas where the size of the Pi Zero is an advantage

Which projects best fit the Pi Zero?
The Raspberry Pi Zero size allows you to put it in a limited space, or to stay discreet
For example, you can insert it inside a game controller or keep it almost invisible as a security camera
There are a lot of projects where you can use this small size to build better things

In this post I'll show you 16 projects with a Raspberry Pi zero, where the small size is an advantage compared to other Raspberry Pi models

The story of this post

Why do you need to read this post?

I bought a Raspberry Pi Zero to do more things: more projects, more articles for this blog, etc ...
But I had issues to find specific projects for the Raspberry Pi Zero
It's easy to find projects ideas for Raspberry Pi, but often the model doesn't matter and you can use any Raspberry Pi

I didn't buy my Raspberry Pi Zero to build the same things, and I wanted to know which kind of projects you can build to take advantage of its characteristics
And that's the goal of this post: to have a list of good projects ideas to follow for the Raspberry Pi Zero specifically

Month after month, I took notes of interesting ideas to try with my Raspberry Pi Zero
And I will share all of these with you today

What are the Raspberry Pi advantages?

As you can see on my photo above, the main advantage of the Raspberry Pi Zero is its mini size
This can help you in various situations:

In a restricted space: in a car, a frame, a small box, ...

To stay discreet: security camera, weather station sensor, ...

To have a final project fitting in your hand: phone, game controller, ...

The 16 projects ideas I'll present you today are all using this main advantage to have a better final render
They are not just the projects that you can do with any Raspberry including the Zero, but projects that exist thanks to the Raspberry Pi zero size

To learn more about the Raspberry Pi Zero device, I encourage you to read the specs on the Amazon website.
By the way, I have this kit for my Raspberry Pi, and it's just the perfect pack for it. You will get everything you need, even the adapters that are mandatory on Raspberry Pi Zero (USB and HDMI).

I'll let you discover the list and you will tell me at the end what you think about them
I try to put links and illustrations when it's possible/useful, but all the projects are not well documented so take these as ideas

16 projects ideas for the Raspberry Pi Zero

Gameboy return

The first project idea is to push retro gaming to the maximum while using old controllers directly
For example, you can insert a Raspberry Pi Zero in a Gameboy, a SNES controller or an old Atari computer
Then install Retropie on it and configure it to play your favorite games on the original controller

It must be awesome to play the old games on the same Game Boy controller
And you gain quality with the color screen (the original had a bad white and black screen if you don't remember)

To build this, you need a Game Boy, a Raspberry Pi zero and a 3.5″ LCD screen ( it's the one I recommend on Amazon).
It's not the official one, it's smaller, but exactly the size you need for this projet. You can even use the stylus to turn your classic looking console into a modern device 🙂

You can follow this tutorial here with a step-by-step explanation of what you need to do to build the hardware.
And I have a step-by-step guide for Retropie if you need help with the software part.

Zero drone

Drones are taking more and more space in our lives
Whether as a hobby or for work, they are more and more used
Unfortunately, they are always too expensive for many people

The goal of this project is to build a cheaper drone, with smart abilities
And the cheaper way to do this is to use a Raspberry Pi Zero for the drone's brain
Here is the result:

This project is maybe a little more complex, but all the pieces are available for buying
So you can order them and after that follow the tutorial on Hackster to build the same drone at home

Bee keeper helper

The Raspberry Pi Zero can also be useful to observe small things, in a small confined place
And there is a perfect example: a bee monitoring computer inside the hive
I don't know if you can do this at home (even if you have bees which is not common in my readers), but it's to give you an idea of what you can build with the Raspberry Pi Zero

The Amy's Buzz Hive project was lead by a 12 years old girl for the Coolest Projects 2017 event
The goal was to put a Raspberry Pi Zero inside a hive, with many sensors, to observe the bees

The number of bees in the world has been steadily declining for years, and this might become a danger to the planet
Without bees, there are no plants reproduction, and therefore many species could disappear
As a result, this can impact human lives, including a decrease of the available fruits and vegetables

Some causes about this decline are known.
For example, diseases or various threats coming from pesticides and varroa
But most of them are unknown

And the Amy's project was exactly to help scientists find other explanations about this issue
The idea was to live monitor the bees in their home, checking various sensors, and try to find other reasons for their extinction.

The story doesn't say if they found results, but no doubt that this will give ideas to other scientists
The entire story is available on CoderDojo

Old school phone

This one is much more accessible. The goal is to use your skills to build an old school phone with a Raspberry Pi Zero 🙂

Here is what it looks like:

Yes, maybe you can improve the look by 3D printing a dedicated case, but it looks awesome in terms of the features they built on it
The system base runs on Raspberry Pi Zero with Raspbian, and they add various HATs and extensions to add more capabilities: camera, GPS, screen, keyboard, etc ...
You can even use it as a desktop computer if you plug it to an external screen and keyboard

Yes, we are far from a Samsung DeX in a term of design, but it's cheaper and homemade ^^
If you don't know, a Samsung DeX Station is a way to turn your Samsung smartphone into a desktop computer, with all the ports you need ( more details on Amazon)

They start a crowdfunding project on CrowdSupply if you want to help them
They also give a lot of information about the needed pieces, so you can try to make it on your side

GPS tracker

A GPS tracker is typically the kind of thing you need to keep small
And the Raspberry Pi Zero can help you with that

For example, you can track your pets position with a GPS tracker and use the Raspberry Pi Zero to process it (inside the pet collar or not depending on the pet I guess ^^)
In the MagPi 42 magazine, they talk about a dog collar with a GPS tracker inside
This tracker communicates with the Raspberry Pi in the office

But you can adapt this idea to a lot of other situations I think: track your car position after a theft, in the bag of your kids or maybe in some companies to locate precisely where are all the vehicles in real time

I found no step-by-step tutorial on how to build this
But there is a course on Udemy to learn how to build a GPS tracker with a Raspberry Pi zero
Here is the link: Build your own GPS tracking system-Raspberry Pi Zero W 2019
I hope it can help you if you are interested in this project

Zero security camera

I already talked a little about this idea, but you can take advantage of the Raspberry Pi Zero size to build a discreet security camera
A security camera project doesn't need the Raspberry Pi 3 power to work correctly, so the Zero may be the best option

You can insert it easily in any camera case, or even better, buy a fake camera. This way, the case looks real and is cheap ( check the price on Amazon).
Then turn it into a real camera by inserting your Raspberry Pi zero inside

You can also play spies by turning an everyday object in a spy camera (hidden in a tissue box or a fake book for example)

You can follow this tutorial on Instructables for the camera build to put it inside a CCTV camera
And then use Motion or RPI-Cam for the software part (it's easy to find help about this and configure it with a movement detector)
You have the link under the picture if you prefer the spy one 🙂

PiCo projector

You've probably already seen them. Pico video projectors hold in your hand and project pretty good quality images on a screen, to watch a movie or anything else
They are convenient, but they stay expensive for personal uses ( check this one on Amazon to get an example). It depends on how intensively you'll use it (a normal video projector is almost the same price for the same quality)

But there is a way to build it with a Raspberry Pi and MickMake did this really well
Here is the presentation video he made about it:

If you want to try building the same, he shares the project details on this link
You must buy a projector hat, but it seems worthy compared to commercial projector
As he says in the video, the image is not top quality, but it should be correct anyway (resolution is limited to 640x320 if I remember well)

FireStick alternative

The original Fire TV stick is a best-seller on the Amazon website
It allows you to watch Netflix, Prime video and others streaming providers on any TV with an HDMI port ( all details on Amazon).
And this is available for a price much lower than replacing your TV!

Does this remember you something?
I remember a Raspberry Pi running Kodi for the same price ^^
If you don't know Kodi, it's a software to use a Raspberry Pi as a media center device
You can watch your files and add other applications to watch their contents on your TV

If you need help to install this, I have a complete guide for Kodi beginners available
And you can also follow this post to learn how to watch Netflix, Prime Video or YouTube on Kodi

You don't necessarily need to take a Raspberry Pi Zero for this project, any Raspberry Pi will do the job
But if you want to fix it on your TV, or hide it inside, the Raspberry Pi Zero will take less space for the same final render

A last thing I want to add is that you can turn your Raspberry Pi into a classic TV by using the new TV HAT
This allows you to receive classic TV channels on your Raspberry Pi, so you can turn any screen into a TV for less than $25

Portable terminal

The Raspberry Pi Zero size can also be an advantage to build a small laptop (if we can call this a laptop)
The goal is to have a computer power in less than 8″
There are various forms and cases because the only thing you need is a screen that fits in the original case
For example, you can use an old smartphone, a photo frame or a dedicated kit ( like this one for example, the best prices are on eBay)

To be more concrete, I found this video about the PuterPi project:

The PuterPi project (available on Etsy) is the perfect example of what you can make on your own
You need to assemble a few parts to build this and then you get a complete computer that fits in your hand
It's up to you to find out how useful it will be, but everything is possible

In my case I prefer frames like Magic Mirror or simple photo frames to display specific informations or statistics
But maybe it can be useful with a low budget or to use it as a controller for a bigger project

If you need help to find the steps you have to follow to build this, there is a complete tutorial on Hackster.io
Not for the same model, but the steps don't depend too much on the case you choose

Cheap Cluster

I recently wrote about clusters on my blog, you can check this article for example on how to build your first cluster with any Raspberry Pi model
And often, to make a cluster, people are using four Raspberry Pi 3B+ in a crystal case
But we are talking about Raspberry Pi zero today, what could a Raspberry Pi Zero cluster look like?

Here is the answer:

Cluster Hat provides a HAT for the Raspberry Pi 3B+, allowing it to hold four Raspberry Pi Zero on his back
This allows you to build a cluster of 5 computers in the space taken by 2 Raspberry Pi 3

All that's missing is a well-ventilated 3D printed box, to make the perfect assembly 🙂

Plants watering

I know you love plants at home
I know you sometimes let them die because you do not think about taking care of them
But from now on, it will be different;)

The goal of this project is to automate the plant gardening task with a Raspberry Pi Zero
Here is an introduction video:

As you can see the idea is brilliant and the project is simple
All you need is a Raspberry Pi Zero and a pump

Then you can use Python scripts to schedule to send the quantity of water you want, at the frequency you want
And I'm pretty sure it should be possible to use a humidity sensor or to use a weather API, to give water to the plant only when it's necessary

Source: Hackster.io

Monitor things with camera

We already talked previously about security cameras that you can hide in your house
But there is another usage where the Raspberry Pi Zero will help
It's monitoring something, take a picture every hour and use a code to compare them and do something if the change needs to make an action

In the example below, guys are monitoring the coffee level and passing an order on Amazon if the remaining quantity is under their threshold

The hardware part is easy, with only a Raspberry Pi and a camera
But the software part is harder. You need to interpret the image, estimate the remaining quantity and use the Amazon web services to order a new coffee pack

Thanks to Terren Peterson you have a step-by-step tutorial on how to do all of this, including the source code to use (in Java)
You can obviously use a Raspberry Pi 3 B+ to make this project, but I think you'll like to save space in your kitchen by rather using a Raspberry Pi Zero

Weather station

When you buy a new weather station, you have generally at least 2 parts : a central monitor to display the data and a remote sensor to measure the temperature for example
When you follow a weather station tutorial, there is always everything at the same place: a Raspberry Pi connected to all accessories and a web interface to check the data

I think that, by using a Raspberry Pi Zero, you can improve the second method, by placing it remotely to take the temperature outside
You can use a battery and/or a solar panel to manage power issues

I didn't find exactly a tutorial about this idea, but it should be close to this experience:

And with the Raspberry Pi Zero you can build a smaller box (built-in wireless and low power consumption)

This will be a good improvement if you already have a weather station somewhere

Pen testing

I often write about pen testing and security projects on this blog.
Maybe I should write a tutorial about this one day
But once again in this post, pen testing is the perfect project for a Raspberry Pi Zero

For those who don't know, a pen test is a simulated cyber attack, allowed and financed by the target company, to check its current security level
The attacker will try by all means to enter the company network, including connecting a Raspberry Pi physically on the network

And you know the rest, the Raspberry Pi Zero is the perfect device to stay discreet in this kind of test
If you watched the Mr. Robot series, you have seen Elliot installing the Raspberry Pi behind a security pad in the toilet (and if not I just spoiled you ^^)

Smart car

Yes, the next idea is to bring a computer to your car
And I don't think you want to use your desktop computer to do this
We need to keep it small, to hide the Raspberry Pi inside the existing dashboard

Auto Pi is a company that provides an all in one solution, based on a Raspberry Pi Zero, to add new features like GPS, temperature sensor or even video recording

Yes, it's a solution you need to buy, and they don't explain you how to built it yourself
But this is an inspirational project, I'm sure you'll find ideas on what to bring to your car to make it look like a luxurious one 🙂

House alarm

And the last one I was thinking about is an alarm for your house
What do you get when you buy an alarm? Security pad on a screen, sensors, maybe camera and a speaker to play this sweet music
You can find all of that for your Raspberry Pi and plug it together to build your own house alarm

Here is what it looks like:

You can find the basic tutorial on Hackster and I'm sure you can improve it to connect several projects you have seen in this post to this central computer

Once again, a Raspberry Pi Zero is not mandatory for this project, but if you don't want to use a 24″ screen to hide all components inside, a small Pi model is better

Related Questions

Do I really need to buy a Raspberry Pi Zero to build these projects? No. And I don't encourage you to buy a Pi Zero if you already have another one. Choose the project that interests you, try it with your current model and if the result doesn't satisfy you, only then consider buying a zero

What's the power difference between a Raspberry Pi Zero and others? I talk about the Zero advantages, but not about the cons. In fact, the Raspberry Pi Zero is something around twice slower than the Raspberry Pi 3B+. So if you need power, it's not a good choice. But for all this projects, there is absolutely no speed need

Conclusion

That's it, I hope your enjoy this post as much I enjoyed writing it
This should give you some good projects ideas to start now
And probably you are now thinking about other projects where the Raspberry Pi Zero will be a good choice
And that was the goal 🙂

If you have other projects ideas for a Raspberry Pi Zero, feel free to share them in the comments, so we can keep here a reference as complete as possible

# data[].attributes.attachment_link.title
16 cool projects ideas for the small Raspberry Pi Zero | Raspberry tips

# data[].attributes.attachment_link.description
The small Raspberry Pi Zero has a big advantage: its sizeYou can install it anywhere, to make slightly the same thing than a Raspberry Pi 3Today, I'll show you a list of projects ideas where the size of the Pi Zero is an advantage Which projects best fit the Pi Zero?

# data[].attributes.attachment_link.readable_text
Network-wide protection

Instead of browser plugins or other software on each computer, install Pi-hole in one place and your entire network is protected.

Block in-app advertisements

Network-level blocking allows you to block ads in non-traditional places such as mobile apps and smart TVs, regardless of hardware or OS.

Improve network performance

Since advertisements are blocked before they are downloaded, network performance is improved and will feel faster.

Monitor statistics

Our Web interface offers control of your Pi-hole and a central place to view statistics. We also include an API for extending these stats.

# data[].attributes.attachment_link.description
Network-wide protection Instead of browser plugins or other software on each computer, install Pi-hole in one place and your entire network is protected. Block in-app advertisements Network-level blocking allows you to block ads in non-traditional places such as mobile apps and smart TVs, regardless of hardware or OS.

# data[].attributes.attachment_link.readable_text
A WiFi repeater built around Raspberry Pi under 10 US$ and fully customizable

Team (1)
Join this project's team Contest Entry Videos raspberrypi wifi Related lists This project is submitted for
This project was created on 04/30/2020 and last updated 6 months ago.

A WiFi repeater built around Raspberry Pi under 10 US$

Introduction

Truly WiFi Extender is a WiFi repeater based on Raspberry Pi Zero W. It makes a nice alternative to a commercial WiFi repeater combining low-cost (under 10USD) and highly customizable software. It can also run some ad-blocking solutions such as pi- hole as well. This project is one of a kind because most of the projects on GitHub demonstrate how to create a wireless AP to share Internet access obtained using Ethernet.

Hardware

This will run on any version of Raspberry Pi. But make sure to have two wifi adapters. Nowadays, Raspberry Pi comes with onboard WiFi. In case you have an older version, you might have to use two USB WiFi adapters. I will be using a single USB WiFi adapter since I am using Raspberry Pi Zero W.

Software

For this project, I will be using Raspbian Stretch Lite. You can download it on the official Raspberry Pi website. You can use the newer version of Raspbian as well.

The main packages on which this project is wpa_supplicant. Since Raspbian is Linux based and uses wpa_supplicant to manage WiFi cards, we can easily set up this computer as a WiFi access point. You even don't need hostapd, just wpa_supplicant and systemd-networkd

x-zip-compressed - 68.20 kB - 07/03/2020 at 15:17

Download

1 × Raspberry Pi Zero W The Raspberry Pi is a popular Single Board Computer (SBC) in that it is a full computer packed into a single board.

1 × USB WiFi Adapter

This webUI is specifically designed to dynamically connect to a WiFi AP using the browser.

Usage

1. Connect to Access point created by the Raspberry Pi.

2. Open up a browser and navigate to http://raspberrypi.local:5000

3. Fill up the SSID and the psk

4. Click the connect button. Wait for some time(2-3 minutes). Pi will restart itself and now it is good to go!

Dependencies

How to use

Navigate to the webui directory using cd webui

Run the command sudo python app.py

You can set the server to auto-start on boot using systemd

S o, for simplicity of naive users, i will be running a web server(flask, to be precise) in which we need to input the SSID and psk of to AP to which we want to connect. Server still in development. systemd service is ready

Create a file called server.service using cd sudo nano /lib/systemd/system/server.service

Add the following contents to the file

[Unit]
Description=WiFi conf server
After=multi-user.target

[Service]
Type=idle
ExecStart=/usr/bin/python3 /home/pi/webui/app.py

[Install]
WantedBy=multi-user.target

Enable the service using sudo systemctl enable server

Start the service using sudo systemctl start server

Used responsive framework to desgn the captive portal

I noticed that it will not be feasible to change the wifi-supplicant file every time when you want to connect to a new wireless AP, so i am developing a method to connect right through the browser. Started out late with this idea. Just finished the UI

View all 4 project logs

Prerequisites

For flashing the image onto the SD card I have used BalenaEtcher

Replace the mywifissid with the name of the WiFi and mywifipassword with the wifi password.

Power on the Raspberry pi. To find its IP, you can use a tool like Angry IP Scanner and scan the subnet,

Once you find the IP, SSH to your Pi using a tool like PuTTY or just ssh pi@raspberrypi.local, enter the password raspberry and you are good to go.

Finally, update the package list and upgrade the packages and reboot Pi.

sudo apt update -y
sudo apt upgrade -y
sudo reboot

Setting up systemd-networkd

From ArchWiki

systemd-networkd is a system daemon that manages network configurations. It detects and configures network devices as they appear; it can also create virtual network devices.

To minimize the need for additional packages, networkd is used since it is already built into the init system, therefore, no need for dhcpcd.

sudo systemctl mask networking.service dhcpcd.service
sudo mv /etc/network/interfaces /etc/network/interfaces~
sed -i '1i resolvconf=NO' /etc/resolvconf.conf

Use the inbuilt systemd-networkd

sudo systemctl enable systemd-networkd.service systemd-resolved.service
sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf

Configuring wpa-supplicant

wlan0 as AP

Create a new file using the command.

sudo nano /etc/wpa_supplicant/wpa_supplicant-wlan0.conf

Add the following content and save the file by pressing Ctrl X, Y and Enter

country=IN
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="TestAP-plus"
mode=2
key_mgmt=WPA-PSK
psk="12345678"
frequency=2412
}

Replace the TestAP-plus and 12345678 with your desired values.

This configuration file is to be used for the onboard wifi Adapter wlan0 which will be used to create a wireless access point.

Give the user read, write permissions to the file

sudo chmod 600 /etc/wpa_supplicant/wpa_supplicant-wlan0.conf

Restart wpa_supplicant service

sudo systemctl disable wpa_supplicant .service
sudo systemctl enable wpa_supplicant@wlan0.service

View all 5 instructions

Discussions

Become a member to follow this project and never miss any updates

# data[].attributes.attachment_link.description
A WiFi repeater built around Raspberry Pi under 10 US$ and fully customizable Join this project's team Contest Entry Videos raspberrypi wifi Related lists This project is submitted for This project was created on 04/30/2020 and last updated 6 months ago.

# data[].attributes.attachment_link.title
Teach, learn, and make with the Raspberry Pi Foundation

# data[].attributes.attachment_link.description
We are a charity with the mission to enable young people to realise their full potential through the power of computing and digital technologies.

# data[].attributes.attachment_link.readable_text
The materials of this station are very simple. You will need all the appropriate materials, sensor and a housing.
Materials
The type doesn't matter much, you can even use the Raspberry Pi Zero W but make sure not to take the first revision because you will need a network connection for the webserver. In this Instructable I will use the Raspberry Pi 3.
https://www.amazon.com/Raspberry-Model-A1-2GHz-64-...
You will need some cables to connect all the sensors and chip with your Raspberry Pi. There are three types of jumper cables: the male to female, the male to male and the female to female. You will need around 15 of the male to female and the male to male type. Either way it wouldn't hurt to get all three of them.
https://www.amazon.com/Elegoo-120pcs-Multicolored-...
Doing electronics without a breadboard is unwieldy. If you plan to do more DIY electronics this will always come in handy.
https://www.amazon.com/dp/B072FC35GT/ref=sxr_pa_cl... Sensors
Temperature and humidity: Grove Temp&Hum v1.0
https://www.seeedstudio.com/Grove-Temperature%26Hu..
Barometric pressure: Grove - Barometer Sensor BMP280 (this sensor also captures temperature)
https://www.seeedstudio.com/Grove-Barometer-Sensor...
Wind speed: Infrared Sensor Module (FC-03) LM393
https://www.amazon.com/LM393-Measuring-Sensor-Phot...
Light: Grove light sensor (note: this is an analog sensor, an analog to digital converter such as a MCP3008 is necessarily).
https://www.seeedstudio.com/Grove-Light-Sensor-v1.... Housing
The housing is a very important part of you project. Here you will place all of your electronics and sensors. The housing doesn't need to be pretty but it sure can be. In this Instructable I will make a birdhouse with a compartment in the bottom where I can store my Raspberry Pi.

You can always chose for a less laborious housing such as a white electronics box. The only condition is that there has to be vent holes so wind and air can breeze past the sensors, otherwise you will not get accurate samples.

# data[].attributes.attachment_link.description
Complete Raspberry Pi Weather Station: Hello everyone,This is my very first Instructable! In this tutorial I will guide you to make a Raspberry Pi weather station with its own database and website. I made this weather station in context of a school assignment, I got my inspiration on Ins...

# data[].attributes.attachment_link.readable_text
Today is Raspberry Pi's fifth birthday: it's five years since we launched the original Raspberry Pi, selling a hundred thousand units in the first day, and setting us on the road to a lifetime total (so far) of over twelve million units. To celebrate, we're announcing a new product: meet Raspberry Pi Zero W, a new variant of Raspberry Pi Zero with wireless LAN and Bluetooth, priced at only $10.

So what's the story?

In November 2015, we launched Raspberry Pi Zero, the diminutive $5 entry-level Raspberry Pi. This represented a fivefold reduction in cost over the original Model A: it was cheap enough that we could even stick it on the front cover of The MagPi, risking civil insurrection in newsagents throughout the land.

Over the ensuing fifteen months, Zero grew a camera connector and found its way into everything from miniature arcade cabinets to electric skateboards. Many of these use cases need wireless connectivity. The homebrew " People in Space " indicator in the lobby at Pi Towers is a typical example, with an official wireless dongle hanging off the single USB port: users often end up adding a USB hub to allow them to connect a keyboard, a mouse and a network adapter, and this hub can easily cost more than the Zero itself.

Zero W fixes this problem by integrating more functionality into the core product. It uses the same Cypress CYW43438 wireless chip as Raspberry Pi 3 Model B to provide 802.11n wireless LAN and Bluetooth 4.0 connectivity.

After the successful launch of the Raspberry Pi Zero in 2015, today we launch the new Zero W with wireless LAN and Bluetooth. For more information on the Zero W, including stockists and specs, check out our blog: https://www.raspberrypi.org/blog/raspberry-pi-zero-w-joins-family/

To recap, here's the full feature list for Zero W:

1GHz, single-core CPU

512MB RAM

Mini-HDMI port

Micro-USB On-The-Go port

Micro-USB power

HAT-compatible 40-pin header

Composite video and reset headers

CSI camera connector

802.11n wireless LAN

Bluetooth 4.0

We imagine you'll find all sorts of uses for Zero W. It makes a better general-purpose computer because you're less likely to need a hub: if you're using Bluetooth peripherals you might well end up with nothing at all plugged into the USB port. And of course it's a great platform for experimenting with IoT applications.
Official case
To accompany Raspberry Pi Zero W, we've been working with our friends at Kinneir Dufort and T-Zero to create an official injection-moulded case. This shares the same design language as the official case for the Raspberry Pi 3, and features three interchangeable lids:

A blank one

One with an aperture to let you access the GPIOs

One with an aperture and mounting point for a camera

The case set also includes a short camera adapter flexi, and a set of rubber feet to make sure your cased Zero or Zero W doesn't slide off the desk.
New distributors
You may have noticed that we've added several new Zero distributors recently: ModMyPi in the UK, pi3g in Germany, Samm Teknoloji in Turkey, Kubii in France, Spain, Italy and Portugal, and Kiwi Electronics in the Netherlands, Belgium and Luxembourg.

Raspberry Pi Zero W is available from all Zero distributors today, with the exception of Micro Center, who should have stock in stores by the end of this week. Check the icons below to find the stockist that's best for you!

UK, Ireland

United States

Canada

Germany, Austria, Switzerland

France, Spain, Italy, Portugal

Netherlands, Belgium, Luxembourg

Turkey

Global
Edit: Since the release of the Zero W we've announced 13 new distributors for Raspberry Pi across the globe. Find out more here.

# data[].attributes.attachment_link.title
New product! Raspberry Pi Zero W joins the family - Raspberry Pi

# data[].attributes.attachment_link.description
Today is Raspberry Pi's fifth birthday: it's five years since we launched the original Raspberry Pi, selling a hundred thousand units in the first day, and setting us on the road to a lifetime total (so far) of over twelve million units.

# data[].attributes.attachment_link.readable_text
Of all the things we do at Raspberry Pi, driving down the cost of computer hardware remains one of the most important. Even in the developed world, a programmable computer is a luxury item for a lot of people, and every extra dollar that we ask someone to spend decreases the chance that they'll choose to get involved.

Join the web's most supportive community of creators and get high-quality tools for hosting, sharing, and streaming videos in gorgeous HD with no ads.

The original Raspberry Pi Model B and its successors put a programmable computer within reach of anyone with $20-35 to spend. Since 2012, millions of people have used a Raspberry Pi to get their first experience of programming, but we still meet people for whom cost remains a barrier to entry. At the start of this year, we began work on an even cheaper Raspberry Pi to help these people take the plunge.

Today, I'm pleased to be able to announce the immediate availability of Raspberry Pi Zero, made in Wales and priced at just $5. Zero is a full-fledged member of the Raspberry Pi family, featuring:

A Broadcom BCM2835 application processor
1GHz ARM11 core (40% faster than Raspberry Pi 1)

512MB of LPDDR2 SDRAM

A micro-SD card slot

A mini-HDMI socket for 1080p60 video output

Micro-USB sockets for data and power

An unpopulated 40-pin GPIO header
Identical pinout to Model A+/B+/2B

An unpopulated composite video header

Our smallest ever form factor, at 65mm x 30mm x 5mm

Raspberry Pi Zero runs Raspbian and all your favourite applications, including Scratch, Minecraft and Sonic Pi. It is available today in the UK from our friends at The Pi Hut and Pimoroni, and in the US from Adafruit and in-store at your local branch of Micro Center. We've built several tens of thousands of units so far, and are building more, but we expect demand to outstrip supply for the next little while.

One more thing: because the only thing better than a $5 computer is a free computer, we are giving away a free Raspberry Pi Zero on the front of each copy of the December issue of The MagPi, which arrives in UK stores today. Russell, Rob and the team have been killing themselves putting this together, and we're very pleased with how it's turned out. The issue is jam-packed with everything you need to know about Zero, including a heap of project ideas, and an interview with Mike Stimson, who designed the board.

If you're looking for cables to go with your free Zero, head over to the newly revamped Swag Store, where we're offering a bundle comprising a mini-HDMI and a micro-USB adapter for just £4, or alternatively subscribe and we'll send you them for free.

Happy hacking!​

# data[].attributes.attachment_link.title
Raspberry Pi Zero: the $5 computer - Raspberry Pi

# data[].attributes.attachment_link.description
Of all the things we do at Raspberry Pi, driving down the cost of computer hardware remains one of the most important. Even in the developed world, a programmable computer is a luxury item for a lot of people, and every extra dollar that we ask someone to spend decreases the chance that they'll choose ...

# data[].attributes.attachment_link.keywords[]
glade sense & spray automatic air freshener refill

# data[].attributes.attachment_link.title
Glade Sense & Spray Automatic Air Freshener Refill, Hawaiian Breeze (2 ct, 0.86 oz)

# data[].attributes.attachment_link.description
Buy Glade Sense & Spray Automatic Air Freshener Refill, Hawaiian Breeze (2 ct, 0.86 oz) on Amazon.com ✓ FREE SHIPPING on qualified orders

# data[].attributes.attachment_link.keywords[]
diymall hc-sr501 pir sensor infrared sensor body motion ir sensor module for arduino (pack of 5pcs)

# data[].attributes.attachment_link.title
DIYmall HC-SR501 PIR Sensor Infrared Sensor Body Motion IR Sensor Module for Arduino (Pack of 5pcs)

# data[].attributes.attachment_link.description
Buy DIYmall HC-SR501 PIR Sensor Infrared Sensor Body Motion IR Sensor Module for Arduino (Pack of 5pcs): Motion Detectors - Amazon.com ✓ FREE DELIVERY possible on eligible purchases

# data[].attributes.attachment_link.keywords[]
geekstory hc-sr505 mini pir infrared human motion sensor detector module dc4.5v-20v for arduino (pack of 5pcs)

# data[].attributes.attachment_link.title
Geekstory HC-SR505 Mini PIR Infrared Human Motion Sensor Detector Module DC4.5V-20V for Arduino (Pack of 5pcs)

# data[].attributes.attachment_link.description
Amazon.com : Geekstory HC-SR505 Mini PIR Infrared Human Motion Sensor Detector Module DC4.5V-20V for Arduino (Pack of 5pcs) : Camera & Photo

# data[].attributes.attachment_link.keywords[]
gowoops 2 pcs dht22 temperature humidity sensor module for arduino raspberry pi | digital measure dht sensors

# data[].attributes.attachment_link.title
Gowoops 2 pcs DHT22 Temperature Humidity Sensor Module for Arduino Raspberry Pi | Digital Measure DHT Sensors

# data[].attributes.attachment_link.description
Amazon.com: Gowoops 2 pcs DHT22 Temperature Humidity Sensor Module for Arduino Raspberry Pi | Digital Measure DHT Sensors: Computers & Accessories

# data[].attributes.attachment_link.readable_text
Please click here if you are not redirected within a few seconds.

May 1, 2016 · So I decided to switch from Ortho bug spray to Raid Max with Auto Trigger. Here's a little ...Duration: 1:28 Posted: May 1, 2016

# data[].attributes.attachment_link.description
Please click here if you are not redirected within a few seconds. May 1, 2016 · So I decided to switch from Ortho bug spray to Raid Max with Auto Trigger. Here's a little ...Duration: 1:28 Posted: May 1, 2016

# data[].attributes.attachment_link.readable_text
[vc_row][vc_column width="2/3″][vc_separator][venera_framed_image content_type="video" css_animation="appear" frame_type="browser" slider_engine="flexslider" video_link="https://www.youtube.com/watch?v=bSz4FQPsir8″ browser_url="https://www.youtube.com/watch?v=bSz4FQPsir8″][vc_separator][/vc_column][vc_column width="1/3″][/vc_column][/vc_row][vc_row][vc_column width="2/3″][vc_tabs][vc_tab title="About This Project" tab_id="1402713028-1-39e9a4-2f8846d9-0fc4″][vc_column_text]

In case you want a nerdier way to make a cheap motion detecting squirt gun, Here's how you can build your own with an Arduino and a PIR sensor!

[/vc_column_text][/vc_tab][vc_tab title="Parts and Downloads" tab_id="1402713028-2-39e9a4-2f8846d9-0fc4″][vc_column_text]

TOTAL COST: ~$45.00

[/vc_column_text][/vc_tab][vc_tab title="Assembly" tab_id="1402753910272-3-846d9-0fc4″][vc_column_text]

Disassemble the Automatic Sprayer

Wire Up The Arduino
Here is a schematic of the Arduino. You can download the Fritzing files by clicking on this link.
[tabby title="Step 3″]

Add The Code
Here is a copy of the Arduino code to upload to your arduino. You can also download it by clicking on this link. const int pirPower = 13; const int pirIn = 12; int motorPin1 = 3; void setup(){ pinMode(pirPower, OUTPUT); pinMode(pirIn, INPUT); pinMode(motorPin1, OUTPUT); digitalWrite(motorPin1, LOW); digitalWrite(pirPower, HIGH); } void loop(){ int value= digitalRead(pirIn); if (value == HIGH){ digitalWrite(motorPin1, HIGH); delay(500); digitalWrite(motorPin1, LOW); } } [/vc_column_text][/vc_tab][vc_tab title="Important Links" tab_id="1402753981900-3-1046d9-0fc4″][vc_column_text] Help support my channel: http://www.patreon.com/tinkernut Follow Tinkernut! Google + Facebook Twitter [/vc_column_text][/vc_tab][/vc_tabs][/vc_column][vc_column width="1/3″][/vc_column][/vc_row]

# data[].attributes.attachment_link.title
Get started with Raspberry Pi | Raspberry Pi Projects

# data[].attributes.attachment_link.readable_text
Learn #howto set up your Raspberry Pi for the first time, from plugging in peripherals to setting up #Raspbian.

From community events and magazines to online learning and space exploration - there are so many ways to get involved with the Raspberry Pi Foundation.

How to update to the latest version of Raspbian on your Raspberry Pi.

Made by Saladhouse. Sound Design by Marcus Alexander. Voiced by Amy Mather. A VERY big thank you to Sam Alder, and the whole team at Saladhouse!

Learn about physical computing with Raspberry Pi. Narration by Eben Upton, children voiced by Arthur and Maia.

# data[].attributes.attachment_link.description
Setting up your Raspberry Pi How to set up your Raspberry Pi || Getting started with #RaspberryPi Learn #howto set up your Raspberry Pi for the first time, from plugging in peripherals to setting up #Raspbian. Get involved with the Raspberry Pi Foundation Get involved with the Raspberry Pi Foundation From community events and magazines ...

# data[].attributes.attachment_link.readable_text
Learn basic commands for Linux, a free and open-source operating system that you can make changes to and redistribute.

Linux is an operating system's kernel. You might have heard of UNIX. Well, Linux is a UNIX clone. But it was actually created by Linus Torvalds from Scratch. Linux is free and open-source, that means that you can simply change anything in Linux and redistribute it in your own name! There are several Linux Distributions, commonly called "distros".

Linux is Mainly used in servers. About 90% of the internet is powered by Linux servers. This is because Linux is fast, secure, and free! The main problem of using Windows servers are their cost. This is solved by using Linux servers. The OS that runs in about 80% of the smartphones in the world, Android, is also made from the Linux kernel. Most of the viruses in the world run on Windows, but not on Linux!

Linux Shell or "Terminal"

So, basically, a shell is a program that receives commands from the user and gives it to the OS to process, and it shows the output. Linux's shell is its main part. Its distros come in GUI (graphical user interface), but basically, Linux has a CLI (command line interface). In this tutorial, we are going to cover the basic commands that we use in the shell of Linux.

To open the terminal, press Ctrl+Alt+T in Ubuntu, or press Alt+F2, type in gnome-terminal, and press enter. In Raspberry Pi, type in lxterminal. There is also a GUI way of taking it, but this is better!

Linux Commands

Basic Commands
1. pwd - When you first open the terminal, you are in the home directory of your user. To know which directory you are in, you can use the "pwd" command. It gives us the absolute path, which means the path that starts from the root. The root is the base of the Linux file system. It is denoted by a forward slash( / ). The user directory is usually something like "/home/username".

2. ls - Use the "ls" command to know what files are in the directory you are in. You can see all the hidden files by using the command "ls -a".

3. cd - Use the "cd" command to go to a directory. For example, if you are in the home folder, and you want to go to the downloads folder, then you can type in "cd Downloads". Remember, this command is case sensitive, and you have to type in the name of the folder exactly as it is. But there is a problem with these commands. Imagine you have a folder named "Raspberry Pi". In this case, when you type in "cd Raspberry Pi", the shell will take the second argument of the command as a different one, so you will get an error saying that the directory does not exist. Here, you can use a backward slash. That is, you can use "cd Raspberry\ Pi" in this case. Spaces are denoted like this: If you just type "cd" and press enter, it takes you to the home directory. To go back from a folder to the folder before that, you can type " cd .." . The two dots represent back.

4. mkdir & rmdir - Use the mkdir command when you need to create a folder or a directory. For example, if you want to make a directory called "DIY", then you can type "mkdir DIY". Remember, as told before, if you want to create a directory named "DIY Hacking", then you can type "mkdir DIY\ Hacking". Use rmdir to delete a directory. But rmdir can only be used to delete an empty directory. To delete a directory containing files, use rm.

5. rm - Use the rm command to delete files and directories. Use " rm -r" to delete just the directory. It deletes both the folder and the files it contains when using only the rm command.

6. touch - The touch command is used to create a file. It can be anything, from an empty txt file to an empty zip file. For example, " touch new.txt ".

7. man & --help - To know more about a command and how to use it, use the man command. It shows the manual pages of the command. For example, " man cd" shows the manual pages of the cd command. Typing in the command name and the argument helps it show which ways the command can be used (e.g., cd -help).

8. cp - Use the cp command to copy files through the command line. It takes two arguments: The first is the location of the file to be copied, the second is where to copy.

9. mv - Use the mv command to move files through the command line. We can also use the mv command to rename a file. For example, if we want to rename the file " text" to " new", we can use " mv text new". It takes the two arguments, just like the cp command.

Intermediate Commands
1. echo - The " echo" command helps us move some data, usually text into a file. For example, if you want to create a new text file or add to an already made text file, you just need to type in, " echo hello, my name is alok >> new.txt ". You do not need to separate the spaces by using the backward slash here, because we put in two triangular brackets when we finish what we need to write.

2. cat - Use the cat command to display the contents of a file. It is usually used to easily view programs.

3. nano, vi, jed - nano and vi are already installed text editors in the Linux command line. The nano command is a good text editor that denotes keywords with color and can recognize most languages. And vi is simpler than nano. You can create a new file or modify a file using this editor. For example, if you need to make a new file named "check.txt", you can create it by using the command " nano check.txt". You can save your files after editing by using the sequence Ctrl+X, then Y (or N for no). In my experience, using nano for HTML editing doesn't seem as good, because of its color, so I recommend jed text editor. We will come to installing packages soon.

4. sudo - A widely used command in the Linux command line, sudo stands for "SuperUser Do". So, if you want any command to be done with administrative or root privileges, you can use the sudo command. For example, if you want to edit a file like viz. alsa-base.conf, which needs root permissions, you can use the command - sudo nano alsa-base.conf. You can enter the root command line using the command " sudo bash", then type in your user password. You can also use the command " su" to do this, but you need to set a root password before that. For that, you can use the command " sudo passwd"(not misspelled, it is passwd). Then type in the new root password.

6. du - Use du to know the disk usage of a file in your system. If you want to know the disk usage for a particular folder or file in Linux, you can type in the command df and the name of the folder or file. For example, if you want to know the disk space used by the documents folder in Linux, you can use the command " du Documents". You can also use the command " ls -lah " to view the file sizes of all the files in a folder.

7. tar - Use tar to work with tarballs (or files compressed in a tarball archive) in the Linux command line. It has a long list of uses. It can be used to compress and uncompress different types of tar archives like .tar, .tar.gz, .tar.bz2,etc. It works on the basis of the arguments given to it. For example, " tar -cvf" for creating a .tar archive, - xvf to untar a tar archive, - tvf to list the contents of the archive, etc. Since it is a wide topic, here are some examples of tar commands.

8. zip, unzip - Use zip to compress files into a zip archive, and unzip to extract files from a zip archive.

9. uname - Use uname to show the information about the system your Linux distro is running. Using the command " uname -a " prints most of the information about the system. This prints the kernel release date, version, processor type, etc.

10. apt-get - Use apt to work with packages in the Linux command line. Use apt-get to install packages. This requires root privileges, so use the sudo command with it. For example, if you want to install the text editor jed (as I mentioned earlier), we can type in the command " sudo apt-get install jed". Similarly, any packages can be installed like this. It is good to update your repository each time you try to install a new package. You can do that by typing " sudo apt-get update". You can upgrade the system by typing " sudo apt-get upgrade". We can also upgrade the distro by typing " sudo apt-get dist-upgrade". The command " apt-cache search" is used to search for a package. If you want to search for one, you can type in " apt-cache search jed "(this doesn't require root).

11. chmod - Use chmod to make a file executable and to change the permissions granted to it in Linux. Imagine you have a python code named numbers.py in your computer. You'll need to run " python numbers.py" every time you need to run it. Instead of that, when you make it executable, you'll just need to run " numbers.py" in the terminal to run the file. To make a file executable, you can use the command " chmod +x numbers.py" in this case. You can use " chmod 755 numbers.py" to give it root permissions or " sudo chmod +x numbers.py" for root executable. Here is some more information about the chmod command.

Tips and Tricks for Using Linux Command Line

You can use the clear command to clear the terminal if it gets filled up with too many commands.

TAB can be used to fill up in terminal. For example, You just need to type "cd Doc" and then TAB and the terminal fills the rest up and makes it "cd Documents".

Ctrl+C can be used to stop any command in terminal safely. If it doesn't stop with that, then Ctrl+Z can be used to force stop it.

You can exit from the terminal by using the exit command.

You can power off or reboot the computer by using the command sudo halt and sudo reboot.

Once you've mastered the Linux commands for beginners, you can move onto these Useful Intermediate Linux Commands.

# data[].attributes.attachment_link.title
Basic Linux Commands for Beginners | Linux

# data[].attributes.attachment_link.description
Learn basic commands for Linux, a free and open-source operating system that you can make changes to and redistribute. Linux is an operating system's kernel. You might have heard of UNIX. Well, Linux is a UNIX clone. But it was actually created by Linus Torvalds from Scratch.

# data[].attributes.attachment_link.readable_text
In previous tutorials, we outlined the basics behind physical computing and the Raspberry Pi by activating LEDs and scripts using a simple one button circuit. If you haven't read the previous tutorials please do so, as they include a few points (such as basic Python programming and Board/BCM GPIO numbering) that will be skipped in this tutorial.

In this tutorial, we'll expand on previous lessons by transplanting a button with a PIR sensor (to sense motion). This tutorial will outline how to assemble the circuit with a PIR sensor, and devise a simple script to print a message when the sensor detects movement. In the next tutorial we'll add a buzzer and LEDs to our sensing circuit to raise an alarm when an intruder is detected!
PIR Sensors
PIR sensors, often referred to as, "Passive Infrared" or "IR motion" sensors, enable you to sense motion. Everything emits a small amount of infrared radiation, and the hotter something is, the more radiation is emitted. PIR sensors are able to detect a change in IR levels of their detection zone (e.g. when a human enters a room) and hence sense motion.

The PIR sensors we'll be using in this tutorial have three pins: ground, digital out and 3-5VDC in. At idle, when no motion has been detected, the digital out will remain low, however when motion is detected, the digital out will pulse high (3.3V) and we'll use our Raspberry Pi to sense this! The PIR sensors we'll be using in this tutorial have a range of approximately 7 meters, and a 110° x 70° detection range, so it's great for monitoring a door or the corner of a room.

For this exercise you will require:

Breadboard

6 x Male to Female Jumper Wires

PIR Sensor

Assemble the Circuit
Note. We could hook the PIR directly to the Pi's GPIO pins (and it would work well!) however, as we're going to add extra features later, we'll construct it on a breadboard.

1. Plug three of your male to female jumper wires into the three pins on the PIR sensor. The three pins are labelled as the following: Red; PIR-VCC (3-5VDC in), Brown; PIR-OUT (digital out) and Black; PIR-GND (ground).

2. Plug PIR-VCC into the positive rail of your breadboard, plug PIR-GND into your negative rail, and plug PIR-OUT into any other blank rail.

3. Use a black jumper wire to connect GPIO GND [Pin 6] on the Pi to the negative rail of your breadboard. This is the same rail that we've added out PIR-GND wire.

4. Use a red jumper wire to connect GPIO 5V [Pin 2] on the Pi to the positive rail of your breadboard. This is the same rail that we've added our PIR-VCC and will power our PIR sensor.

5. We'll be using GPIO 7 [Pin 26] as an input to sense when our PIR detects motion. Therefore the final step is to connect GPIO 7 [Pin 26] to the same rail as our PIR-OUT.
Sensing with Python
Now that we've hooked our PIR up to our Pi, we need to program a Python script to register when the PIR senses movement!

In our switch tutorial, we had to tie our input high and then have our Python programme define the difference between whether the input was high or low. The PIR on the other hand will always output low (0V) unless movement is detected, in which case it will output high (3.3V). We can therefore simply set our PIR-OUT GPIO pin as an input, and use Python to detect any voltage change.

First, import the Python GPIO library, import our time library (so we make our Pi wait between steps) and set our GPIO pin numbering.

Next, we need to give our input pin a name, so that we can refer to it later in our Python code. Naming it "PIR_PIN" will enable us to read if the PIR is outputting a signal (e.g. movement has been detected). You can name a pin variable almost anything, so try playing around to see what you can get away with.

We then need to define our GPIO pin that we just named PIR_PIN as an input.
GPIO.setup(PIR_PIN, GPIO.IN)
The next step is to add some cool text so that we know our PIR, Pi and Python programme are ready to detect movement. You can leave this out, or change it to anything you want! The following will print two lines of text with a two second gap between them.

To check the input status of PIR_PI we're going to use a True statement running on an infinite loop.

The code will then continuously check the PIR_PIN input, and will print a line of text if the input goes high. The time limit between each loop means that you should only have one output when movement is detected, as the PIR_PIN will switch low once the movement has stabilised.

That's it! We can wrap our programme in a short piece of clean-up code to ensure that it exits cleanly. This isn't compulsory, but it's good practice.

That's it, a very simple method of connecting and coding a low cost movement sensor with the Raspberry Pi.

If you message just keep looping and looping you might have your PIR's sensitivity set too high. Our PIRs have potentiometers on board which can adjust this. Clockwise increases sensitivity, so work backwards until you get the sensitivity you require!
Interrupt Driven Sensing
The code above utilises GPIO "polling" to detect the state of the pin. Polling consists of an infinite loop, which continually checks the status of the pin until we see the high signal. Polling utilises a lot of CPU power unfortunately, and you will most likely see some system slowdown whilst performing other tasks.

Adding the "time.sleep" line in our code means that our Pi checks the pin less frequently which should reduce performance problems. The issue with using a time break in your code is that you could miss a pin event (during the sleep cycle), so it's not ideal, and we're still looping the function rapidly! There is another way. . .

GPIO interrupts allow a program to wait for GPIO events. Instead of repeatedly checking a pin, the code waits for a pin to be triggered, essentially using zero CPU power. Interrupts are known as "edge detection"; an edge defining the transition from high to low "falling edge" or low to high "rising edge". A change in state, or transition between low and high, is known as an "event".

Interrupts are single event functions, so we need some way to loop it. Obviously looping our interrupt code would defeat the point of using it, e.g. we'd be "polling" the interrupt function instead of the GPIO pin. We're therefore going to loop some low resource code instead, and link our interrupt to a "call-back" function. Call-backs are functions that are only started when an event takes place.

If you envisage waiting for a letter: polling is the act of you waiting at home all day, holding open the letter box and peering out waiting for the postman to arrive. An interrupt in this scenario would be a camera that watches the street for the postman. When it spies the postman it calls your mobile phone (the call-back) to let you know the postman is 10 minutes from your doorstep. This would free you up, allowing you to get on with other things and even leave the house!

PLEASE NOTE. RPi.GPIO version 0.5.1 (or greater) is required for this code to work. "sudo apt-get update" and "sudo apt-get dist-upgrade" will upgrade everything!

The first step is to define (def) our call-back function. We're going to name our call-back "MOTION" and link it to our PIR_PIN. As before, we want this function to print some text when we detect motion.

Adding the following line enables interrupts on the pin, and tells the code to wait until an event occurs e.g. when our PIR_PIN detects a signal. The pin can be configured to wake when shifting low to high (GPIO.RISING), high to low (GPIO.FALLING) or either one (GPIO.BOTH). We then tell it which call-back to use!
GPIO.add_event_detect(PIR_PIN, GPIO.RISING, callback=MOTION)
As mentioned previously we need to add a simple and non-intensive looping function to ensure our event detection stays live. We can therefore loop a sleep function! We could use the "while True" function here; however due to the ability to redefine "True" to a different value it increase the code load slightly (whilst it looks up the variable). Using an integer "while 1" skips that variable check.

That's it! We've coded a low resource program with integrated interrupt and call-back function that senses the output from a Motion Detector!
Final Code

# data[].attributes.attachment_link.title
Raspberry Pi GPIO Sensing: Motion Detection

# data[].attributes.attachment_link.description
In previous tutorials, we outlined the basics behind physical computing and the Raspberry Pi by activating LEDs and scripts using a simple one button circuit.

# data[].attributes.attachment_link.title
How to Use a PIR Motion Sensor with Raspberry Pi

# data[].attributes.attachment_link.title
Raspberry Pi DHT11 DHT22 Temperature and Humidity Sensor

# data[].attributes.attachment_link.description
Quick project to interface PIR sensor to Raspberry Pi. . Find this and other hardware projects on Hackster.io.

# data[].attributes.attachment_link.title
How to Use a PIR Motion Sensor with Raspberry Pi

# data[].attributes.attachment_link.readable_text
Introduction: Complete DIY Raspberry Pi Weather Station With Software

Back in late February I saw this post on the Raspberry Pi site.
http://www.raspberrypi.org/school-weather-station-...
They had created Raspberry Pi Weather Stations for Schools. I totally wanted one! But at that time (and I believe still as of writing this) they are not publicly available (you need to be in a select group of testers). Well, I wanted on and I didn't feel like shelling out hundreds of dollars for an existing 3rd party system.

So, like a good Instructable user, I decided to make my own!!!

I did a little research and found some good commercial systems I could base mine off. I found some good Instructables to help with some of the Sensor or Raspberry PI concepts. I even found this site, which was pay dirt, they had tore down an existing Maplin system:
http://www.philpot.me/weatherinsider.html
Fast forward about a month and I have a basic working system. This is a complete Raspberry Pi Weather system with just the base Raspberry Pi hardware, camera, and some assorted analog and digital sensors to make our measurements. No buying pre-made anemometers or rain gauges, we are making our own! Here's it's features:

Records info to RRD and CSV, so can be manipulated or exported/imported to other formats.

Uses the Weather Underground API to get cool info like historical highs and lows, moon phases, and sunrise/sunset.

Uses the Raspberry Pi Camera to take a picture once a minute (you can then use them to make timelapses).

Has webpages that display the data for the current conditions and some historical (last hour, day, 7 days, month, year). The website theme changes with the time of day (4 options: sunrise, sunset, day and night).

All of the software for record and displaying the information is in a Github, I've even done some bug tracking, feature requests in there as well:
https://github.com/kmkingsbury/raspberrypi-weather...
This project was a great learning experience for me, I got to really dive into the capabilities of the Raspberry Pi especially with the GPIO, and I hit some learning pain points as well. I hope you, the reader, can learn from some of my trials and tribulations.

Step 1: Materials

Electronics:

Hardware

Materials:

2 Thrust Bearings (or skateboard or roller-skate bearings will work too), I got these on Amazon: https://amzn.to/2siMwra

2 Waterproof Enclosures (I used an electrical enclosure from the local big box store), doesn't matter much, just need to find a good size enclosure that's going to have enough space and protect everything).

Some PVC Pipe and End Caps (various sizes).

PVC mount brackets

Couple sheets of thin Plexiglass (nothing too fancy).

plastic standoffs

mini screws (I used #4 bolts and nuts).

2 Plastic Christmas Tree Ornament - used for the anemometer, I got mine at the local Hobby Lobby.

Small dowel

Small piece of plywood.

Tools:

Dremel

Glue Gun

Soldering Iron

Multimeter

Drill

Step 2: Main Enclosure - Pi, GPS, Camera, Light

The main enclosure houses the PI, the Camera, the GPS and the light sensor. It is designed to be waterproof since it houses all the critical components, the measurements are taking from the remote enclosure and that one is designed to be exposed/open to the elements.

Steps:

Pick an enclosure, I used an electrical junction box, various project boxes and waterproof cases will work just as well. Key point is it has enough space to hold everything.

My Enclosure contains:

The raspberry pi (on standoffs) - Needs a WIFI chip, don't want to be running Cat5e into the backyard!

The Camera (also on standoffs)

The GPS chip, connected via USB (using a sparkfun FTDI cable: https://www.sparkfun.com/products/9718) - The GPS provides latitude and longitude, which is nice, but more importantly, I can get accurate time from the GPS!

two ethernet/cat 5 jacks to connect the Main enclosure to the other enclosure that houses the other sensors. This was just a convenient way of having cables going between the two boxes, I have roughly 12 wires, and the two cat5 provide 16 possible connections, so I have room to expand/change things around.

There is a window in the front of my enclosure for the Camera to see out of. The case with this window protects the camera, but I did have issues where the red led on the camera (when it's taking a photo) reflects off the plexiglass and shows up in the photo. I used some black tape to mitigate this and try and block it (and other LEDs from the Pi and GPS), but it's not 100% yet.

Step 3: 'Remote Enclosure' for Temperature, Humidity, Pressure

This is where I stored the Temperature, Humidity, and Pressure sensors as well as the "hook ups" for the rain gauge, wind direction and wind speed sensors.

It's all very straightforward, pins here connect via the ethernet cables to the required pins on the Raspberry Pi.

I tried to use Digital sensors where I could and then any Analog are added on to the MCP 3008 it takes up to 8 analog which was more than enough for my needs, but gives room to improve / expand.

This enclosure is open to the air (it has to be for accurate temperature, humidity and pressure). The bottom holes are popped out, so I gave some of the circuits a spray of a Silicone Conformal Coating spray (you can get it online or a place like Fry's Electronics). Hopefully it should protect the metal from any moisture, though you have to be careful and not use it on some of the sensors.

The top of the enclosure is also where the wind speed sensor fits. It was a toss up, I could have put the wind speed or wind direction on top, I didn't see any major advantages of one over the other. Overall you want both sensors (wind dir and speed) high enough where buildings, fences, obstacles don't interfere with the measurements.

Step 4: Rain Gauge

I mostly followed this instructable to make the actual gauge:
https://www.instructables.com/id/Arduino-Weather-St...
I made this out of plexiglass so I could see what was going on and I thought it would be cool. Overall the plexiglass worked ok, but combined with the Gluegun, rubber sealant and overall cutting and drilling it doesn't stay looking that pristine, even with the protective film.

Key points:

The sensor is a simple reed switch and magnet treated like a button press in the RaspberryPi code, I simple count buckets over time and then make the conversion later to "inches of rain".

Make it big enough to hold enough water to tip, but not so much that it needs a lot in order to tip. My first pass I made each tray not large enough so it would fill and start draining over the edge before it tipped.

I also found that residual water could add some error to the measurement. Meaning, completely dry it took X drops to fill a side and tip it, once wet it took Y drops (which is less than X) to fill and tip. Not a huge amount but came into affect when trying to calibrate and get a good "1 load equals how much" measurement.

Balance it, you can cheat by adding gluegun glue to the underneath ends if one side is vastly heavier then the other, but you need it as close to balanced as you can.

You can see in the photo I setup a little testing rig using some sponges and a wood holder to test and get it balanced properly before installing.

Step 5: Wind Direction

This was a simple weather vane. I based the electronics off the Maplin system:
http://www.philpot.me/weatherinsider.html
Key Points:

This is an analog sensor. The eight reed switches combined with various resistors divide up the output into chunks so I can identify which coordinate the sensor is in by the value. (The concept is explained out in this instructable: https://www.instructables.com/id/Accessing-5-button...

After screwing on the weather vane part you do need to calibrate it so that "this direction is what points north".

I made a test rig with wood so that I could switch in and out resistors easily that covered the full range of values for me, that was super helpful!

I used a thrust bearing, it did fine, I'm sure a regular skateboard or rollerskate bearing would have been just as fine.

Step 6: Wind Speed

This one I once again turned to the Instructable community and found and followed this instructable:
https://www.instructables.com/id/Data-Logging-Anemo...
Key points:

You can use the hall sensor or switch to a reed sensor as well. The hall sensor is more of an analog sensor so if you are using it in a digital way, like a button press, you need to make sure the reading/voltage is high enough that it acts like a true button press, rather than not enough.

Size of the cup is crucial, so is the length of the stick! Originally I used ping pong balls and they were way too small. I also put them on long sticks which didn't work either. I got very frustrated and then came across that instructable, Ptorelli did a great job explaining and it helped me out when my original design didn't work as well.

Step 7: Software

Software is written in Python to record the data from the sensors. I used some other 3rd party Git libraries from Adafruit and others to get the information from the sensors and GPS. There are also some cron jobs that pull some of the API information as well. Most is explained/outlined in the Git documentation at docs/install_notes.txt

The web software is in PHP to display it on the webpage while also utilizing YAML for the config files and of course the RRD tool to store and graph the data.

It utilizes the Weather Underground API to get some of the interesting data that sensors can't pull: Record Hi's and Lows, Phase of the Moon, Sunset and Sunrise times, there's also Tides available on their API, which I thought was really neat, but I live in Austin TX which is very far from water.

All of it is available on Github and is actively maintained and currently being used as I further refine and calibrate my own system, so you can submit feature requests and bug reports as well.

The software goes through a theme change depending on the time of day, there are 4 stages. If the current time is + or - 2 hrs from sunrise or sunset then you will get the sunrise and sunset themes, respectively (right now just a different background, I will probably do different font/border colors in the future). Likewise outside those ranges gives the day or night theme.

Thanks for reading, If you'd like to see more photos and videos of my projects than check out my Instagram and YouTube Channel.

# data[].attributes.attachment_link.title
Complete DIY Raspberry Pi Weather Station With Software

# data[].attributes.attachment_link.description
Complete DIY Raspberry Pi Weather Station With Software: Back in late February I saw this post on the Raspberry Pi site. http://www.raspberrypi.org/school-weather-station-... They had created Raspberry Pi Weather Stations for Schools. I totally wanted one! But at that time (and I believe still as of writ...

# data[].attributes.attachment_link.readable_text
The Weather Station kit is a HAT for the Raspberry Pi which allows it to collect weather data using a variety of sensors. It is designed to be used in schools to enable students to create their own weather station, and has a range of resources to support its use.

As well as logging data locally, schools that received a free Weather Station can log their data in a central Oracle database, so they can share information and collaborate with schools around the world.

How to set up your Weather Station

1. Registering your Weather Station

2. Building your Weather Station Part I

3. Set up the software

4. Building your Weather Station Part II

5. Testing your Weather Station

6. Install the Weather Station outside

7. Outdoors Installation guide 1: Wind sensors

8. Outdoors Installation guide 2: Wifi

Resources

Sensing the Weather: a series of cross-curricular lessons exploring measuring, collecting, and analysing weather data in order to predict the weather.

Weather Station web page

Get support (or show off your Weather Station!) by emailing weather@raspberrypi.org or posting on our forum.

# data[].attributes.attachment_link.description
The Weather Station kit is a HAT for the Raspberry Pi which allows it to collect weather data using a variety of sensors. It is designed to be used in schools to enable students to create their own weather station, and has a range of resources to support its use.

# data[].attributes.attachment_link.readable_text
The Raspberry Pi has become an iconic machine in the world of tiny computers. This pocket sized board is so cool-and I know I sound biased. But it's true! You can use them for so many projects.

Finding the best Pi model can sometimes be tricky. That's why we took the time to break down each Raspberry Pi into this list. Compare specs and learn a little about the history of how the Raspberry Pi has evolved over the last few years.

Raspberry Pi specs

# data[].attributes.attachment_link.title
Raspberry Pi Models and Specs: A Comprehensive Guide

# data[].attributes.attachment_link.description
The Raspberry Pi has become an iconic machine in the world of tiny computers. This pocket sized board is so cool-and I know I sound biased. But it's true! You can use them for so many projects. Finding the best Pi model can sometimes be tricky.

# data[].attributes.attachment_link.description
Learn how to use the GPIO pins on your Raspberry Pi to interface with electronic components, such as LEDs and PIRs.