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
-2
votes
1 answer

Locked out, Raspberry Pi

I pulled my Raspberry Pi out from storage and have forgotten my username and password. I don't have access to a microSD reader at the moment. Is there any way I can simple reset the Pi to it's default? I have no important files on there, so I'm fine…
macworthy
  • 95
  • 8
-2
votes
1 answer

Mounting windows share to Rasbian Jessie

I have read a lot of posts on this but nothing i try seems to work. I have a windows 10 machine which has a share on it. The share does not require a username or password to access. I can ping the machine from the pi fine. The share has permission…
pricejt
  • 133
  • 1
  • 12
-2
votes
1 answer

Current on GPIO Raspberry

I'm trying to use a fan on my raspberry. To do that, I connect my fan to a GPIO(General-purpose input/output) output and the ground. It works fine if I connect the fan to VCC +5V (64mA) or +3.3V(46mA) but if i connect my fan to a random GPIO set as…
psyked
  • 81
  • 2
  • 9
-2
votes
1 answer

Getting the first paragraph of Wikipedia, and storing it into a text file

I wanted to make a system in which we give something to be search onto the terminal of a Raspberry Pi and the Pi gives a voice output. I've solved the text-to-speech conversion problem using pico TTS. Now what I wanted to do is go to the Wikipedia…
Souvik Saha
  • 167
  • 1
  • 1
  • 8
-2
votes
1 answer

How to run an executable file in python on Raspbian?

Hello i'm been having some trouble with run a exe file on python. I'm using a Raspberry Pi and have not been able to find an answer that works. I've tried to use subprocess import subprocess subprocess.Popen("/home/pi/Desktop/file.exe") only to get…
John
  • 1
  • 2
-2
votes
2 answers

Raspberry Pi 2 Qt app crash

My application randomly crashes. I have used web view to load some URLs and there is always a warning. qnetworkreplyimplprivate :: error: internal problem, this method must only called ones stack #include "mainwindow.h" #include…
Mugtaba
  • 3
  • 2
-2
votes
1 answer

Trying to cycle through jobs with a button press

Please forgive the beginner question. I only heard the word Python 2 weeks ago. I am trying to write a python 2.7 script that has two jobs which run in the AM and PM. This is a reminder program that reminds me every day at 9am and 9pm. It also…
-2
votes
1 answer

How do I connect my files from Windows 7 laptop to my Raspbian Raspberry Pi 2 (using LAN)?

I have recently bought a Raspberry Pi 2. I am using it to test some python socket server games that I made, but it takes me ages to put the client's .py file on my memory stick, then put it on my Pi every time I update the code. I would like an easy…
-2
votes
1 answer

Query doesn't work on my Raspberry Pi 2B

I'm trying to get my raspberry working like a webserver. It all works, except the queries of my mysql database. The values are correct, the query is correct and my database works fine. But when I want to get information from my database with PHP it…
Bart88
  • 163
  • 1
  • 2
  • 10
-2
votes
1 answer

Raspberry Pi SPI Connection: transition diagram malfunctioning

I am working with the raspberry pi and atmega 32 to use and learn SPI. it should follow a transition diagram but somewhere in the atmega it goes wrong, I don't know where it is going wrong. this is the raspberry code #include…
Georges
  • 3
  • 3
-2
votes
1 answer

running two processes on the PI

Is it possible to run two processes on the raspberry pi simultaneously? I would like to start a MQTT server AND run Home Automation webserver (Home-Automation.io) at the same time. Thanks,
Mercury
  • 1,886
  • 5
  • 25
  • 44
-3
votes
1 answer

How to autostart a c++ program on raspberry pi?

I mean when I power up the pi my c++ file should be automatically executed. Please anyone guide me through steps. Any help would be highly appreciated.
-3
votes
3 answers

Combining two python codes for raspberry pi with a servo and ldr sensor

I have Python code running on my raspberry pi 2b and a light sensor, which measures the amount of time it takes for the capacitor of the light sensor to charge and send the pin high: import RPi.GPIO as GPIO import…
-3
votes
1 answer

Converting C source to ARM assembly

I am trying to convert .c files for ARM (ARMv7l for Raspberry Pi2) but I could not find any online converter or understand how it works. Previously these .c files were executable in Windows platform and thus unable to execute on Pi's arm…
Roy.L
  • 1
  • 1
  • 1
  • 3
-3
votes
2 answers

Continuously read data in real time with Flask + Python

I want to read in a webapp some elements (CPU temperature, CPU usage, state of some sensors...) in real-time from my Raspberry Pi. I know Python instruction to do this, but I want to read these values (let's focus now only on CPU temperature, for…
G. Ianni
  • 13
  • 6
1 2 3
82
83