Raspberry Pi

167

Solutions

287

Contributors

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

My son has set up a Raspberry Pi in the home to display images. He enabled FTP and told me to connect via WinSCP. I have done this, and I see all the folders on the Raspberry Pi. However, I cannot upload images or do anymodifications on the raspberry pi due to a permissions problem.

Any ideas what could be the cause of this?

I am logging in with his username and password, which has full rights to the Pi.

Thank you.
1
How do I embed VideoLan VLC player in a HTML webpage on Raspbian on RPi3?
0
I would like a script to change audio output from HDMI to Bluetooth (and vice versa) for a Raspberry Pi 3. Not knowing scripting on linux (Raspbian). I have the bluetooth enabled.

Also would like to run this script from a remote computer.

Any assistance appreciated.
0
Which is the best handheld device for learning programming and later also developing programs on the go anywhere?

So that I can write a few lines of code on the metro, bus, when waiting for a flight etc.

I was thinking of this Raspberry Pi, but some don't recommend it for learning programming.

Is there any other alternative, something with long battery life in the size of a big smartphone (or maybe 9 inches display)?
0
Hello,

Recently I used the Retropie emulation software for Raspberry Pi. It is a really cool software and is very handy and attractive. So, I was wondering whether I could replicate these softwares on sd cards, install them on pis and start selling them for some small scale business. I would like to know, if doing such a thing would be legal. Actually, there are quite few ideas about using pis as portable media centers, portable game consoles, a simple portable desktops or just a cheap monitoring cameras. It can be customized to the very end for users and can be an attention grabber in certain circles. But what would be my legal position and what, if any, licensing would it require to start such a business?

Thanks in advance.
0
I have FreeRadius installed on a Raspberry Pi and would like to know how to enable Accounting.

Thanks
0
I have FreeRadius installed on a Raspberry Pi and everything seems to be working fine.

I would like to implement a limit on the number of logins per identity and was hoping someone could share with me how to achieve this.

My only goal is to provide some control of people sharing access credentials among those that shouldn't have them.

Thanks.
0
I have an analog door opener system in my building, this is the phone which opens the door: http://pasteboard.co/4JgctXi4x.jpg
I have a raspberri pi 3 model b, and a Pcf8591 ADC/DAC converter: http://articulo.mercadolibre.com.ar/MLA-641278286-modulo-pcf8591-conversor-4-ad-da-i2c-arduino-raspberry-_JM

What I want to do, is to connect the wires that goes to the analog door opener phone system into Raspberri PI, so I can hear/speak from a sip softphone installed in the raspberry pi.

Is this possible? I measured the voltage in the mic phone/speaker, it's shown in the picture. Not sure how to proceed with this.

Anyone? Thank you!!
0
hi everyone,
i'm trying to start a project for a box storage facility, i know thing allready have been done but i would like to do mine :)

the code is not the problem but the electronics yes. The problem is not U = Ri :) but how can i mux the doors sensors ? If some one open the door very fast and then close what would happen ... is important not to miss the change of state ...

So any idea is really welcome

Thanks very much
0
Hello,

I have been trying to set up I2C communication between my Raspberry Pi and two arduino pro minis using this tutorial:
https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c

I have done all the steps correctly, installed all the required dependencies and modified all the required files, yet "sudo i2cdetect -y 1" does not detect the arduinos. I have two PCF8591 AD/DA converter modules, and when I connect them to the RPi using the SCL and SDA ports, they are detected and shown by "sudo i2cdetect -y 1". But the arduinos do not show up. This is How I have connected the RPi and the Arduino Minis:
RPi                -> Arduino
3.3V               -> Vin
GND               -> GND
SDA(GPIO2)  -> SDA(A4)
SCL(GPIO3)   -> SCL(A5)

I would like to know what is going wrong here. Please suggest.
0
Hi EE,

I have attached multiple sensors with my Raspberry Pi. I want to power off couple of those sensors from my mobile. I can now only start / stop sensor data reading from my application, but it do not power off / on those sensors. However I can reboot my Pi which power off all of the attached sensors.

My question is, "is there any way to power on/off selected sensors which are attached with my Pi"?

Regards,
Roy
0
Dear experts,

I am a novice in raspberry pi. I want to make a door lock which should be unlocked only when it detects presence of myself within a range not for others.

Is it possible? What type of sensors need to be used for that? Any tutorial or advice?

With regards,
Roy
0
I am designing my first Raspberry Pi app .... It tracks a volley ball game ... I have found a lot of motion tracking ... I need a tutorial teaches me how to map the court ... the court has white lines ... when the ball goes beyond the white line an LED will light up ... how can I get raspberry to map the court ?
0
It looks like Java 8 with Swing runs fine on the Raspberry Pi, even the least powerful version of the RPi:
Raspberry Pi Zero.

As I found out jfxswt.jar required to run JavaFX is not included in the JDK normally any more.

How would I find the folder to place it so that JavaFX can be run on the RPi?

( I got it downloaded as part of Gluon)

If this file is included can I also compile JavaFX on the RPi or just run it?
(Does it need to be compiled on a separate desktop computer?)
0
I got the default Raspbian OS on a RaspBerry Pi Zero with Oracle Java 1.8.0_65 installed, along with BlueJ IDE, which is also installed by default in the Raspbian OS.

JavaFX is supposed to be run  on a Raspberry Pi, provided it is not a newer version than Oracle Java 1.8.0_65 which was the last version Oracle came out for the ARM processors in the Raspberry Pi, before
they 'axed' ARM support in Java.

In BlueJ there is no choice in what kind of project you would want to run. (Java, JavaFX, etc.) I can only see hardware-specific Raspberry Pi libraries installed if I look at the 'User Libraries' tab of the created project.

If I try to run a simple JavaFX app just to test, it crashes on the first import, which refers to the package:
javafx.application  the basic package that lets you run JavaFX apps.

See screen shots of my problem described above:  
javafx.application does not exist: correct version of Java installedUser Libraries Installed in the Project Preferences
What's happening here? How can I compile and run JavaFX applications on a Raspberry Pi?
0
I have seen lots of people use a small LED strip plugged in the USB and controlled by a script, and I have seen a lot of people have a big LED Strip plugged into the wall and controlled via a Remoted provided by the manufacture.

I am looking for a way to have the long/big LED strip plugged into the wall and controlled via script, either via USB/PowerShell etc. or Raspberry Pie. I need to know what kind of stuff I need to pull this off and if possible what kind of LEDs to buy. I presume I will need a bread board and some solder wires etc.… but given that I’m using power from the wall what additional equipment will I need so I can use the power from the wall and the controls from the PI to get what I need?
0
Hello,

I have created a bash script on my Raspberry Pi that clicks pictures, mails them to an email address and uploads them to an FTP. It does a few other things like communicate with an external server and look for certain checks and commands.
Now, all these actions require 2 to 3 minutes time to execute and what I require, is a way to rerun the script again and again as soon as all the actions in the current execution are completed.
But as for now, I have to login to the pi and run the command every time to make it work. I want something like this:
_____________________________________________________
#!/bin/bash
#example.sh

//some jobs

sudo sh example.sh
_____________________________________________________
Now my questions are:
1) How to make the script run as soon as the pi is powered on, without requiring the user to login?
2)  Is it safe to execute a script like this from within itself? Or are there better ways to do it?
3) In case of such infinite loops, there may be a crunch of resources and memory. How to clean up the memory or put an auto-restart feature?

Help is much welcome.

Thanks in advance.
0
Hello Everyone,

I am working to set up a raspberry pi as a vpn through my pfsense router. I have the pi configured and I am now having issues getting it to pass through the firewall to a public ip. If that won't work I'm looking for a username/password based vpn akin to pptp to add simplicity for my users (they don't want to use another client like open vpn) I'm fairly new to configuring vpns and I'm looking for a little guidance.
0
Is there a script available to backup a raspberry pi device over the network to a Windows share ? I know there is an a local SD backup method but these systems are 100 of miles away from my office

I need to start patching but if something goes wrong I need to know I can get the full working system back.

thanks
0
On Raspberry Pi 3 using Libre Office Calc 5.  Autosave isn't a usable feature of CALC.    I want to be able to use CRON to save a copy of an open file called attend.ods to Documents every 5 minutes.  Then I want to use CRON to write this file to a USB every day at 2.55pm.  I am using GNOME Schedule that specifies | instead of %.
0
I had this question after viewing Have a file from a raspberry pi automatically copied to a usb.

The above worked once.  I changed the time and day to Sunday and ten minutes ahead of the current time but it didn't write it to the USB.  I tried this several times but it didn't work at all.  
I have an open Libre office Calc file on a Raspberry Pi.   RFID tags are read to this file over a day.  As a tag is read it shows a name and time in the adjacent columns.  I have set the file to auto save every two minutes.  I want the auto saved file written to a USB stick using cron.
0
I had this question after viewing Have a file from a raspberry pi automatically copied to a usb.
After writing a file to USB I want to unmount the USB at precisely 3,00pm on a Friday using CRON.
0
How would you set up a pi to copy a file automatically to a usb stick?
0
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?
0
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?
0

Raspberry Pi

167

Solutions

287

Contributors

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.