Most Popular
1500 questions
10
votes
3 answers
Boot Zero W from USB device
The older Raspberry Pi's (Pi 1, Pi 2 and Pi Zero) couldn't boot from a USB-device, but the Raspberry Pi 3 has support for it. The Pi and Pi 2 have semi-support for it (using an SD-card with a single bootfile). The Pi Zero W is a remake of their…
Max
- 407
- 1
- 3
- 9
10
votes
6 answers
SD Card Showing as 30 MB on a 32 GB Card. Can't Format, Can't create a partition table
A couple of days ago I received a new 32 GB SD card from Sandisk. Upon arrival, I flashed the Retropie 4.1 image for the Pi Zero onto it. I then put the card into my Pi, and plugged it in. Nothing. It would not boot.
I then took it out, and plugged…
thatoneguy245
- 355
- 2
- 3
- 9
10
votes
5 answers
Using Pi 3 for wireless display/miracast
I would like to connect my Pi 3 to a ceiling mounted projector, and send display content to it wirelessly from a Windows PC. Using something like Miracast. I have found Piracast on github, but that is only for Pi 2, with a specific dongle. Is there…
LC1983
- 163
- 1
- 1
- 13
10
votes
3 answers
Are there any expansion boards available for the GPIO?
Are there any expansion boards available for the Raspberry Pi for use with the GPIO?
FarhadA
- 1,847
- 2
- 16
- 20
10
votes
3 answers
Can't access shared libraries when running with sudo
I'm trying to get a demo working writing PCM to the I2S; I've created a small demo program that gives an error when I run with the following command ./demo stereo_small.wav
can't open /dev/mem
So I run with the this command sudo ./demo…
Dog Ears
- 2,027
- 6
- 19
- 28
10
votes
4 answers
Disable sudo for user Pi (or require root password)
I'm pulling my hair out over this thing.
Using Raspberian here.
So I'm trying to restrict the Pi user from being able to use sudo without the root password. After heavy searching, I gave up on that, and now I'm trying to just disable all access to…
daviddavidson
- 101
- 1
- 1
- 3
10
votes
2 answers
Implement a GPIO function with a callback calling a asyncio method
I am testing a sensor attached to the GPIO in raspberry using python 3.5. The idea is something similar to this link.
My code is:
gpio.add_event_detect(4, gpio.RISING, callback=lambda x: self.motion_sensor(message_manager_f), bouncetime=500)
def…
King Midas
- 208
- 1
- 3
- 14
10
votes
2 answers
What's the right way to run a python script as a daemon (service) in raspbian (or debian)?
I'd like to use my Pi as a home thermostat, with the control loop running in a python script. I want to run it as a daemon on raspbian (debian) at startup.
There's an example bash script in /etc/init.d/skeleton, but it seems unpythonic to mash bash…
hobs
- 203
- 1
- 2
- 7
10
votes
3 answers
SSH over Bluetooth with iOS
Is it possible to connect to a Pi3, over Bluetooth for SSH, for iOS?
I know you can connect to it with BlueZ, and SSH is possible over wifi, but I can't find anything about doing both.
The advantage would be to do it in an area without wifi. Maybe…
D. Clayton
- 213
- 1
- 2
- 6
10
votes
1 answer
Objective C enviroment
Do any of the standard distributions come with an Objective C environment? Is there anywhere to get prebuilt Objective-C compiler and libraries? I would prefer an answer which is based on Clang/LLVM but will settle for something based on gcc.
Maria Zverina
- 5,188
- 5
- 32
- 42
10
votes
2 answers
HTTP Live Streaming
I current have a setup using Motion to stream video from a webcam attached to a raspberry pi. Unfortunately this is quite low quality and has a poor frame rate.
I am looking into using HTTP Live Streaming, but details about this a vague at best…
Eddie
- 201
- 2
- 5
10
votes
2 answers
Game platforms emulators on Xbmc/Openelec
Is it possible to run emulators on Xbmc/Openelec?
I am familiar with an addon "Rom Collection Browser" and as my understanding of this plugin is that it can launch various games with different emulators. However I haven't managed to do anything…
Merstzik
- 103
- 1
- 1
- 6
10
votes
2 answers
How can I build MongoDB?
It seems to me like there's currently two way to go about this:
https://github.com/skrabban/mongo-nonx86
https://github.com/RickP/mongopi
I settled for the mongo-nonx86 fork. I installed the dependencies as described in Install Mongodb in…
Oliver Salzburg
- 1,794
- 1
- 19
- 33
10
votes
1 answer
Raspberry Pi 3: microSD card vs hard drive
In my bachelor's thesis I compared the speed performance of a hard drive connected via USB adapter with a microSD card. I was challenged to answer the question "Why is the difference in speed drives and memory cards especially noticeable in longer…
sunny
- 133
- 1
- 8
10
votes
2 answers
RPi as a Sound Level Meter?
For my daughter's science fair project (Computer Science and Math category), she'd like to use the RPi to go around and measure whether different loud sounds are above the threshold of pain and are damaging our ears. She's a 6th grader, but she has…
user5769
- 109
- 1
- 1
- 3