Raspberry Pi

130

Solutions

235

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

I have about 80 desktop users. Each has an APC SmartUPS.  We've never bothered connecting them via USB to the computers because we didn't want to contend with the PowerChute management software.  But this is no good. As it is, the way I usually find out that a battery is no good is when we have a power outage and someone's UPS fails. I need to get a better system than that :-)

Has anyone found a centralized UPS management solution? APC has a business edition of PowerChute, but it's limited to just 25 devices. What's up with that? I need a that could monitor and manage all of our UPS devices.

Someone should build a Raspberry Pi solution for this that connects to the UPS via USB and the network via WiFi.
0
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
Hi everyone,

So I've spent the past week reading and trying to understand the python language and more importantly the CherryPy web framework.
To be honest Im getting no-where quickly...

What I'm trying to do is simply build a frontend to a Raspberry Pi project I've been developing.
The CherryPy web framework seems perfect for this as it is small and contains its own web server that would suite my needs perfectly.

An admin user attaches to the Raspberry PI AP and is immediately directed to a webpage (This I have solved quite easily).
The webpage is presented by the CherryPy web server.

I have an index.html which it returned from my CherryPy script.

import os, os.path, sys
import cherrypy

# Configuration file to access server over network and define ports
cherrypy.config.update("server.conf")

class menu(object):
    @cherrypy.expose
    def index(self):
        return open('index.html')

(Fairly simply until now I know)

What I would like to do is have buttons on my index.html that can be pressed and return os.system('mkdir boom')  (obviously my system commands will be a little more than this.. They will start and stop services.

The buttons will eventually be toggle switches, so going to the page will need to return the current status of the running process. Red if the process is not running and Green if it is running. I think I need to be interacting with jquery on my index.html page to achieve this...

This whole area is new to me and …
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
Is it possible to program the Raspberry PI camera to do OCR?
Need it to recognize a list of characters and when seen, write the info to a file.  
Need the following info with each entry;
Captured data
Date and time (down to the second)
Location (can be GPS or user entry)

And once a day (or at user request) upload data to a online database.
0
I need a code in Embedded C for making call andi sending SMS by using Raspberry pi 3 and GSM SIM 900. Please help me. I am new to Raspberry pi
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 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
https://www.pine64.org/?page_id=3707

Have you worked with a Pinbook for surfing or other?
2
 
LVL 9

Expert Comment

by:Brandon Lyon
I thought about getting one back when they announced it. I decided to wait for reviews mainly because I was unsure how good (or bad) the screen and keyboard might be. That and other options are getting ridiculously cheap.
0
 
LVL 47

Expert Comment

by:Jackie Man
According to its spec, PINEBOOK is similar to a Raspberry Pi 3 and it may be the reason why it can be made so cheaply.
0
Hi experts.

I have been trying to automate some infrared command through my Raspberry Pi, using the IRDroid-Rpi infrared transceiver (http://www.irdroid.com/2016/10/discover-how-to-turn-raspberry-pi-into-a-infrared-remote-control-using-the-irdroid-rpi/). These commands must be first learned from my Set Top Box infrared remote control using irrecord, but it is a commercial remote.

I have followed the documentation and finally got the IRDroid-Rpi to work. However, it will only work if I learn commands from commercial remote controls like a Samsung TV remote control. My STB remote control is non commercial, and I have not been able to make the IRDroid-Rpi learn and send the commands correctly. Here is my procedure and files:

pi@raspberrypi:~ $ sudo irrecord -f -d /dev/lirc0 lircdtp2.conf

Press RETURN now to start recording.
................................................................................
Found const length: 108301
Please keep on pressing buttons like described above.
Creating config file in raw mode.
Now enter the names for the buttons.

Please enter the name for the next button (press <ENTER> to finish recording)
KEY_CHANNELUP

Now hold down button "KEY_CHANNELUP".
Sorry, something went wrong.
Try again.
Got it.
Signal length is 3


# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.9.0-pre1(default) on Tue Apr 25 23:40:23 2017
#
# contributed by 
#
# 

Open in new window

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
4
 

Expert Comment

by:Daniella Barion
Outstanding how people can be creative especially when they bring past memories.
1
 
LVL 7

Author Comment

by:Brian Matis
"Everything old is new again!" ;-)
1
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
3D Printing Technology + Raspberry Pie + Arduino + Garden + San Luis Obispo = Farmbot.io

https://farmbot.io/
6
 
LVL 1

Expert Comment

by:Juana Villa
@JamesBilous I understand your point. However, I don't find very reliable FarmBot's information about sustainability because they state "we will never truly know". Anyway, I believe they should do a study where they compare the CO2 produced for production, transportation, and use of FarmBot vs a traditional household farming.
0
 
LVL 1

Expert Comment

by:Juana Villa
@ScottFell, EarhBox looks interesting. I am thinking about having my own garden and I was looking into vertical garden. I will definitely take a look at EarthBox, it might a good option for me.
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 just found out that Raspberry Pi foundation puts out a magazine. You can subscribe to paper copies, subscribe via app, or download issues for free from the website.

If you subscribe to the paper version for a year then you get a free Pi Zero W, but that's expensive for customers outside of the UK.
7
 
LVL 7

Expert Comment

by:Brian Matis
Nice! Looks like one of the cool things there is the various project ideas. Like this one: Fallout 4 Terminal. You should totally make that one! ;-)
2
 
LVL 9

Expert Comment

by:James Bilous
@Brian "Step 1: 3d print a fallout 4 terminal"

damn.
0
5
 
LVL 18

Expert Comment

by:Lucas Bishop
This is odd, I don't recall putting my link at the beginning of my comment...
0
 
LVL 7

Administrative Comment

by:Brian Matis
@Lucas - Thanks for mentioning that! We've definitely got a display bug there... When you look at your comment on the post's standalone page, it should be correct, but the feed view is currently displaying it in the wrong spot. We'll get a fix out in the near future for that.
0

Raspberry Pi

130

Solutions

235

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.