Questions tagged [raspberry-pi2]

RPI QUESTIONS MUST BE PROGRAMMING RELATED. The Raspberry Pi 2 is a quad-core, ARMv7 instruction set CPU with 1GB of RAM. See the related StackExchange site at https://raspberrypi.stackexchange.com. Also see the first edition's tag at https://stackoverflow.com/questions/tagged/raspberry-pi .

RPI QUESTIONS MUST BE PROGRAMMING RELATED. The Raspberry Pi model 2 is a budget computer that fits in your hand. It has 4 cores, 1GB of RAM, and runs ARMv7-based CPUs.

If the question is not programming related then it may be on-topic at Raspberry Pi Stack Exchange, Internet of Things Stack Exchange or Unix & Linux Stack Exchange.

1237 questions
8
votes
2 answers

eglfs on raspberry2 -- * failed to add service - already in use?

that's is my first post here. I'd like to keep it short... Following problem: i want to run a qt5/qtquickcontrols2 application utilising the eglfs backend on a raspberry-pi 2b, accelerated by vc4, of course. Ideally, it should run in kiosk mode and…
8
votes
1 answer

Windows iot/apps Programmatic Bluetooth Pairing

I'm trying to broadcast a bluetooth signal from a Raspberry Pi 2 running Windows Iot Core so that I can connect to it from smartphones and other devices, but I've been stuck for the last couple days on actually receiving a pairing signal. Using the…
Felipe
  • 10,606
  • 5
  • 40
  • 57
8
votes
3 answers

How to install PHP 5.6 on Raspbian wheezy?

I was wondering about how to install PHP 5.6.x on my Raspberry Pi. Currently version 5.4.41 is installed and because of the new specs i'd like to upgrade to 5.6.10. I've seen this tutorial but the console's output tells me something went…
lenny.myr
  • 903
  • 2
  • 11
  • 20
8
votes
2 answers

ultrasonic sensor raspberry pi 2 c# .net

I'm trying to read the distance from an ultrasonic sensor (HC-SR04) but the only values I get is 0 and 265.xx. I am using an Raspberry Pi 2 with Windows 10 IoT Core installed. I've written the code in C#. This is the ultrasonic sensor class: using…
8
votes
1 answer

GHCi on raspberry pi 2?

I'm working on a few haskell projects that run on a raspberry pi 2 and the version of ghc that you can install with apt-get from raspbian (7.4.1). It has no GHCi though, which prevents some vital packages (like Vector) from compiling. I've seen a…
jhickner
  • 1,043
  • 10
  • 15
8
votes
3 answers

OpenCV Multi Core Support

I was wondering if there is multi core support for the OpenCV library. I am experimenting with Haar cascading and it's pretty slow on my Raspberry 2 which would have four cores, but my application is currently running only on a single one. Any…
salocinx
  • 3,715
  • 8
  • 61
  • 110
7
votes
1 answer

UWP - Streaming WebCam over Socket to MediaElement - Broken Picture?

Background The code I've written records video clips from a webcam, writes them to a memory stream, then transmits the data across a Socket connection where it's re-assembled into video and played back on a Media Element. The ultimate goal is to…
Detail
  • 785
  • 9
  • 23
7
votes
1 answer

changing update rate with gpsd and python

I'm using the adafruit ultimate GPS breakout with my Raspberry Pi 2 using python2.7.9, GPSD, and the python-gps package. I'm successfully getting gps updates at 1Hz over the serial port. This device is supposedly capable of 10Hz updates, which I…
kjgregory
  • 656
  • 2
  • 12
  • 23
7
votes
1 answer

Raspberry Pi Cam with WebRTC & UV4l driver (Sourcecode closed?)

I use the UV4L driver (RasPiCam) from here with the WebRTC extension to get a continuous live view, streaming out from this HTTP server (RaspberryPi). I would like to examine the sourcecode running on the server. Or is it closed source?
andre
  • 71
  • 1
  • 2
7
votes
3 answers

Python GPIO code for DHT 11 temperature sensor fails in PI 2

I am facing issues running DHT 11 temperature sensor in PI 2 with Python2.7 GPIO 0.5.11. I am referring to http://www.uugear.com/portfolio/dht11-humidity-temperature-sensor-module/ sample code. Same code works fine on PI 1 B+. In PI 2 i get…
6
votes
0 answers

chromedriver unexpectedly exited. Status code was: 127

On my raspberry pi I recently got some weird issues with using webdriver.Firefox so I decided to switch to chromedriver, which I am more used to anyway, as I use it when testing stuff on my desktop. I freshly installed chromedriver and made sure…
Treehee
  • 117
  • 1
  • 2
  • 11
6
votes
1 answer

How to access raspberry.local in my android application?

I am running Django on my raspberry-pi, and I am using avahi-daemon to access my rpi on raspberrypi.local . On my Django I have made APIs for my android application to access via HTTP protocol. For example one of my http request url is: …
Aishwary Dhare
  • 509
  • 1
  • 6
  • 18
6
votes
5 answers

LIRC irsend: could not connect to socket irsend: No such file or directory

I am trying to configure LIRC to work with my Raspberry 2B and a circuit I build with a transistor and a IR transmitter as explained in this tutorial After the installation of LIRC, I followed all the steps and I added these two lines in…
muilpp
  • 1,293
  • 4
  • 17
  • 36
6
votes
1 answer

Python logging module - output to text file when running from command line

I have a python program that uses the logging module to output data to a text file, the problem I have is that the output to the text file works fine when I run the script in PyCharm (the 1-10 values are output to both the console screen and written…
AdamDynamic
  • 761
  • 6
  • 15
  • 29
6
votes
3 answers

Auto focus camera without preview

I am running Win10 IoT on a pi 2. I need to be able to take pictures that are focused but cannot get the focus working. The application is a background app so I don't have a way of previewing the camera on a display. Is there any way of doing this?…
Rush Frisby
  • 11,388
  • 19
  • 63
  • 83
1 2
3
82 83