Raspberry Pi

130

Solutions

231

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

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
Hi,

Configuration Raspberry Pi 3 with camera
QNAP TS-453 Pro

I have a Raspberry Pi 3 up and running with the help of this image: http://ronnyvdbr.github.io/RaspberryIPCamera/
The guy who developed the image has a blog where he describes how to connect the Raspberry to Survellance Station:
https://random-notes-of-a-sysadmin.blogspot.nl/2016/03/howto-set-up-raspberry-ip-camera-on.html

I tried it and can connect to Surveillance Station, using these settings:

Camerabrand:       Generic Model
CameraModel:      Generic RSTP
Cameraname:        Camera 1
HTTP URL:              /
IP address:             192.168.10.10
Port:                        80
RSTP Port:              8554
Username:             <empty>
Password:              <empty>

When I use the rstp url in VLC, it works great: rtsp://192.168.10.10:8554
On Surveillance Station, every now and then the connection works, the camera in connected and I can see what it's filming.
After less than a minute the camera is disconnected.

For now it looks like the only times I had a successful connection when I played the stream in VLC as well....
But I can not reproduce that, because it's not working this way every time....

What could be the cause of this ?
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
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
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
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
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..
0
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..
0
Hello!

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!
config
0
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.

Thanks

ZZ
0
Hello,

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.
0
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?
0
I installed JIRA om Raspberry PI 2  using the  following guides:
https://www.mininodes.com/how-to-install-jira-on-an-ubuntu-arm-server/
https://confluence.atlassian.com/jira061/jira-installation-and-upgrade-guide/connecting-jira-to-a-database/connecting-jira-to-mysql

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;
#atlassian-jira-6.4.2-standalone/bin/stop-jira.sh

Open in new window


 And I then saw this;
0

Raspberry Pi

130

Solutions

231

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.