Raspberry Pi





The Raspberry Pi Foundation works to put the power of digital making into the hands of people all over the world, so they are capable of understanding and shaping our increasingly digital world, able to solve the problems that matter to them, and equipped for the jobs of the future.

We provide low-cost, high-performance computers that people use to learn, solve problems and have fun. We provide outreach and education to help more people access computing and digital making. We develop free resources to help people learn about computing and how to make things with computers, and train educators who can guide other people to learn.

Share tech news, updates, or what's on your mind.

Sign up to Post

Today I have one Raspberry PI 1 that acts as a NAT router and gateway to the internet. Sometimes, when one of the internal clients are hogging all the resources, this gateway becomes unresponsive to all other clients.

I can either upgrade to Raspberry PI 3, that has more computing resources, or I can install a second gateway that I want to be used when the first one is not available. I don't want to replace the original gateway, since there is a whole lot of work in recreating the exact same software setup on a new Raspberry. Therefore, I want to go for a second router that offloads the first router when needed.

I have found several articles that describe how to set up one Raspberry to load balance two internet connections, but nothing that describes how to set up two Raspberry's to load  balance requests to one internet connection. Is there anyone here that has knowledge or articles they can share on how to do this?
I am trying to build a Raspberry Pi system which will send me a text message based on a leak detector sensing a leak.  The plan is to do it all in C.

There may be a way to send a text message to myself using a web service that I cannot seem to recall.  Does anyone have a clue where and how to do this?
Hello experts,

I have a Raspberry Pi 3B running with a Pi No IR Camera(with two infrared light sources as comes in the No IR Camera package), and a handful of sensors working on the GPIO Pins. The setup is to be mounted on a base provided with four wheels and two DC motors.. As of now, the Pi and its attachments run from the power socket. However, once it is mounted on the robot base, I will need some kind of portable power source.. Please suggest something that can run the setup for 12 hours at a stretch at least.

I know the question might be vague, please ask for the details that will be needed, and I will provide them..

Thanks in advance..
Hello experts,

I have purchased a Raspberry Pi No IR Camera and streamed it on my home network using vlc media streaming.

What I want to do now is, stream the feed of the pi camera without using vlc or any third party software, generate a link for the feed and host the link on my shared hosting space on cloud such that, when I access the dns of my server space, I get to watch the live stream from the pi camera in case the pi is on, otherwise, show something like "camera feed turned off".

Please explain how to achieve this.

Thanks in advance..

I use the Chromium browser under Raspbian on an Raspberry Pi 3 environment. I have problems with the graphical performance and don’t know why. The graphic effects of JavaScript do not flow smoothly: in case of films, the individual image sequences become visible slowly and partly with a jerky movement.

My test-website is About IVM.

Is there anybody out there who has information about the optimization of the Chromium browser, or the raspberry-cpu/gpu?

Thank you in advance!
I have a  .bashrc script at  /home/pi, but it doesn't get to run if I remotely connect to the Pi with Putty/SSH.
The .bashrc script only automatically run at the teminal, not remotely through SSH Shell. My question is then what is the ssh login script for the remote SSH shell?    I tried, as some suggested,  ~/.ssh/rc,  no luck.



I plan to make a remote device using the raspberry pi and a few cameras that a user can login through the internet. I want the device to be plug and play, such that the user can plug in the cameras to the raspberry pi, power on the device, login to the home internet connection and after this the device can be accessed from the internet.

Most instructions that I have googled, suggest port forwarding, but this is not an option as it requires tweaking the router settings that would be an extra load on the user end.

I came across weaved IoT kit that enables remote connections to networked devices through various ports over the internet. However, this service requires commercial licensing and I want to start off with something free, if possible.

Please suggest some ways.

Thanks in advance.
I was looking for single board computers with more than 2 GB of memory, but can't seem to find any. So was hoping anyone here had any tips?
I installed JIRA om Raspberry PI 2  using the  following guides:

It all seemed to be working fine, I connected it to mysql running on the same Raspberry PI 2 and then attempted to install the Jira license. Then the whole thing crashed and I got a web page saying:

The following plugins are required by JIRA, but have not been started:
Atlassian JIRA - Plugins - Gadgets Plugin (com.atlassian.jira.gadgets)
JIRA Projects Plugin (com.atlassian.jira.jira-projects-plugin)
Atlassian Navigation Links Plugin (com.atlassian.plugins.atlassian-nav-links-plugin)
Atlassian JIRA - Plugins - Issue Search (com.atlassian.jira.jira-issue-nav-plugin)
Atlassian JIRA - Plugins - Quick Edit Plugin (com.atlassian.jira.jira-quick-edit-plugin)
JIRA Project Config Plugin (com.atlassian.jira.jira-project-config-plugin)
Atlassian JIRA - Plugins - REST Plugin (com.atlassian.jira.rest)
Opensocial Plugin (com.atlassian.gadgets.opensocial)
Embedded Gadgets Plugin (com.atlassian.gadgets.embedded)
RPC JIRA Plugin (com.atlassian.jira.ext.rpc)
Gadget Directory Plugin (com.atlassian.gadgets.directory)
Gadget Dashboard Plugin (com.atlassian.gadgets.dashboard)

I then turned off Jira;

Open in new window

 And I then saw this;
Hi Experts,

I have configured a Raspberry Pi in my home.
I can send mail through that with an existing email id.
I created one script named as "build.sh" which collects some info and send those information to a mail id.

Now, my problem is, how to run that script "build.sh" from my office, as my raspberry is in my home.

Please suggest.

Hello experts,

I want my raspberry pi to send me an email notification (on gmail) whenever an user logs in or logs out..

I tried running my script @reboot from crontab -e. The script runs well when tested, but cannot run at reboot or startup..

How do I get it working??

Thanks in advance.
I have spent some time copying movies to an usb disk. Then try to sync Openelec / Kodi with https://www.themoviedb.org the standard way after attaching the USB disk to the Raspberry PI that runs OpenElec. Then I see some movies get missed. I take the USB disk and attach it to my laptop. Rename the movie folders to match a matching movie name, perhaps test manually at www.themoviedb.org and try to sync again at my Raspberry PI with OpenElec.

The point is that this takes time back and forth. I would like to find some tool or app that could check the movie names for me and report a total list of movies that have been resolved and movies that could not be resolved, so I can fix and test again without too much back and forth.

Anyone know any such tool / app?
I setup OpenELEC on Raspberry PI 3 as  a Tethered Access Point. But connecting to this AP is pointless, there is no dhcp server running or anything that lets me communicate. Is this AP just supposed to bridge to the NIC port or can I use it standalone to access OpenElec via the AP?

I have very little knowledge of networking and so I can not seem to figure out what is going wrong here.

My set up includes a laptop running Windows 10 connected to internet through Wi-Fi and a Raspberry Pi connected to my laptop through Ethernet cable. I ping raspberrypi.mshome.net from command prompt to find ip for the current session and login through Putty.

I was using this headless Raspberry Pi setup without any problem till I tried to configure some /etc/network/interfaces file on the Pi while following a tutorial trying to connect to wlan from the terminal. I was confused about some part and so decided to leave the thing unchanged and decided to work on it later. Next time when I tried to login through putty, connection was refused. I pinged raspberrypi.mshome.net from command prompt and found "request timeout" and sometimes it said "destination host unreachable". When I used AdvancedIpScanner.exe to find ip for all devices on the network, it gave some ip like 169.254.x.y. This ip can be used to login to the Pi. But the way I had been working before that, using ping from command prompt to find ip(192.168.x.y), and connecting through Putty using this ip, is not working anymore.

The IPv4 properties for the local area connection of my laptop is set to "obtain ip address automatically".

I formatted the Pi SD Card, reinstalled the Raspbian Jessie OS and it again worked fine. I connected to my Wi-Fi from Remote desktop and surfed the internet, and it …

I don't want to have to download a new image and reinstall because I'm happy with my set up and what I've done the the pi over the last couple of years. I have a Model B. It's running Raspbian Wheezy. Ideally I'd like to be running the latest install which as far as I know is Jessie. Is that right?

I found a couple of sites that claim to show the upgrade path but I have my doubts with them. What's the simplest way to upgrade it to the latest version? Can I just repoint the sources.list to Jessie? If so, what other files do I need to alter? My sources.listfile contains just this:

deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi

# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/ wheezy main contrib non-free rpi

I removed all the other superfluous stuff from it ages ago. Is it just a case of changing wheezy to jessie in that file and then doing an apt-update and an apt-dist-upgrade?

I followed this tutorial http://www.avoiderrors.net/owncloud-raspberry-pi and it works fine.

Meanwhile I want a different configuration in my RPI; I want multiple sites and services running behind NGINX.

<RPI IP>/owncloud
<RPI IP>/othersite (inside folder /var/www)
<RPI IP>/service (reverse proxy to localhost:9090)

Can anyone help with this configuration?
Hello, so I have these Centos Virtual Machine which I'd like to "move" to a Raspberry Pi 3.
Now, the VM has x86 architecture while the RPi3 has Arm architecture, so I won't be able to just clone the system.

So I was thinking, which would be the smartest or at least quickest way to proceed? I'd like to avoid reinstalling all packets and reconfiguring them, most of all because I didn't originally configure the VM and it contains Asterisk, which I have no idea how to setup.

Hope someone can help me, thanks.

I am trying to run following python script in my Raspberry Pi. What I want to do is to extract Public IP Address of my Raspberry. But I am getting NULL. Please advise.

from urllib.request import urlopen
import re

#Setup Where I will get my IP Address
url = 'https://whatismyipaddress.com/'
print ("Our Choosen IP Address Service Is: ", url)

#Open-up the IP url and Take Away the IP Address
request = urlopen(url).read().decode('utf-8')

#Extract the IP Address Only
ourIP=re.findall("\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}", request)
ourIP = str(ourIP)
print ("Our IP Address is: ", ourIP)

Output, what I am getting:

Our Choosen IP Address Service Is:  https://whatismyipaddress.com/
Our IP Address is:  []


I am accessing my Raspberry Pi 3 from my WIndows 10 Laptop through VNC/RDP.
Now, I installed Samba in RPi. I am following a tutorial for that in the following link "https://www.youtube.com/watch?v=MDZzBDL2TTw"
I also followed a link from "http://raspberrypihq.com/how-to-share-a-folder-with-a-windows-computer-from-a-raspberry-pi/"

What I have done till now:

1. I installed Samba in RPi
2. I created a Folder Named PiShare in RPi.
3. I checked the following lines in

workgroup = WORKGROUP
wins support = yes

 comment=Raspberry Pi Share
 only guest=no
 create mask=0777
 directory mask=0777

4. I created a shared folder in RPi with following command
                  mkdir PiShare
                  sudo chmod +777 PiShare/

5. Now when I want to see that folder from Win10 Laptop I am getting the following screen. Neither RPi nor PiShare folder is visible in my network location.

Please help


i am very novice in raspberry pi.

i purchased a raspberry (screen shot attached here) pi 3. i installed raspbian there. i can connect that with my laptop (headless installation). for that i opened command.txt and put an extra parameter as "ip=". until this it worked as through PuTTY i can connect.

problem occurs after this. i needs to use "sudo apt-get update". but without internet in raspderry i can not update. i have an wifi router. how can i use that internet access in raspberry pi? or is there any way to use my laptop internet to raspberry?

i am using windows 10 in my laptop through which i connected raspberry.

I'm writing a program that will pre-installed on some raspberry pi devices and each pi will need a unique device id and some other parameters defined in order to connect to a remote service.

I'd like to create a file with some JSON inside to hold these values and the python code would simply peek into the file to get the values for the device it is running on.  Is this a good approach?  Would you use JSON?  Where would you put the file? (in bin with the code, in etc? somewhere else?)
Hello all,
    I suppose I should start out first with what I am trying to accomplish. We have a TV we setup which will display a real time dashboard of our call center queue information and statistics. I decided to use a Raspberry Pi for this task because, well, it is perfect for that. What I am needing it to do is, when powered on it will login to the intranet call center page and then hit F11 to make it full screen. Here is my current code.


sleep 5
curl -c mycookie "" -d "loginUID=user" -d "loginPWD=password" --referer "" -v -k -l

sleep 5

sleep 10
#xdotool key F11

Open in new window

    Logging in to the site works via bash, but that of course will not carry over to chromium, so I am needing a way to inject a cookie in to chromium with the information bash gathered. If anyone knows any other way to do what I am trying to accomplish as well, I would definitely not mind hearing it!

Thanks all
So I've got this new Raspberry Pi 3 and I want to use the wifi interface.

But when I enter the command, "sudo iwlist wlan0 scan" it comes up with "interface doesnt support scanning". Any ideas?

It seems like the wifi interface isn't even recognized by the Rasperry OS?
Hi dear Experts,

Please tell me using Tomcat as raspberry pi java app server is a good idea ?
I need just run a simple project computing pi on server side by using Leibniz Formula For PI . From the client side on ( PC Win 8.1 Java GUI ) enter input parameters like number iterations and number or threads. And perform computation on server side by using 3 notes ( rpi0 ( master ) rpi1, rpi2 ) . Right now the notes able to compute pi in multi-threading through the MPI.
What should I do in order to connect my laptop to raspberry pi for this purpose ?


Hello dear experts,

As always I again need your help :)

I would like to make a simple project. Let me describe it :
1. I would like to make simple LapTop GUI java app on JavaFX ( client side )
1.0. The app will be calc pi by using Leibniz Formula For PI where count - number iterations  http://www.javacodex.com/Math-Examples/Leibniz-Formula-For-PI
1.1. The app will have few button 1. "Activate worker rpi0 " ; 2. "Activate worker rpi1 " ; 3. "Activate worker rpi2 " ;
where rpi0 - master slave ; rpi1, rpi2 - slave notes. All servers are RaspBerry pi 2b notes with Raspbian OS
In GUI also there will be window where I can write down the number iterations that will be running through the server's notes.
1.2. Of course Button "start" to computation
1.3. So on client side LapTop app (Win 8.1. ) I will enter the number iterations and and choose what workers will be execute this task.

2. After I press " start " button these two imput parameters should go to the server side where:
2.1. the computation will be executed
2.2. return to my LapTop app the answer including time of execution, mistake and actually pi number

What I achieve :
1. I manage to create parallel computation on the RaspBerry pi 2b side. So I can give different Rasp Pi notes the task by using linux terminal through the execution . the line looks like : time mpiexec -H rpi1, rpi0, rpi2, rpi1 calc_pi
The system is working every note has four cores so I can manage to load one , two or three , or four core on…

Raspberry Pi





The Raspberry Pi Foundation works to put the power of digital making into the hands of people all over the world, so they are capable of understanding and shaping our increasingly digital world, able to solve the problems that matter to them, and equipped for the jobs of the future.

We provide low-cost, high-performance computers that people use to learn, solve problems and have fun. We provide outreach and education to help more people access computing and digital making. We develop free resources to help people learn about computing and how to make things with computers, and train educators who can guide other people to learn.