Questions tagged [pi-2]

This refers to the quad-core Raspberry Pi 2 (currently only available as a "B" model with Ethernet and four USB ports), with 1 gigabyte of RAM.

Filter by
Sorted by
Tagged with
1
vote
2answers
87 views

Python on Raspberry Pi

For my High School final project I will do a portable retro arcade machine. I think Raspberry Pi is a candidate for this application, and I've done some research on it. However, I've not been able to ...
-1
votes
1answer
149 views

Mobile camera as a webcam for Pi 2 via USB

How can I use a mobile camera as a webcam for my Pi 2 text recognition idea by connecting the camera to the Pi using USB?
1
vote
1answer
23 views

Raspbian 4.13 on Pi2 - Mouse issues

Had model 2. just loaded the latest Raspbian 4.13. attached a wireless HP mouse. it is gliding on the screen, slow and behaving like it is drugged. this mouse works fine on other machines. This is ...
-1
votes
2answers
425 views

Count time between two pulses in nano seconds

How can i count time between two pulses in nano seconds by using raspberry pi?
0
votes
1answer
1k views

Stream Deck Using PI 2

I have a RPi2 1gb. I've recently got a touch screen for it and have decided that I actually should use it for what it was intended for. Programming! So my adventure starts here. I want to make a ...
0
votes
3answers
44 views

Raspberry pi weather station dampness [duplicate]

I am setting up a rpi weather station with several rpi 0's (one for each sensor) and a main rpi 2 (for the data collection and storage). Does anyone have any ideas on how I can go about damp proofing ...
1
vote
1answer
383 views

What is the pixel format for Raspberry Pi framebuffer

Good afternoon, I'm trying to programmatically display an image to a 3.5 inch TFT display mounted on /dev/fb1 using the following code: Using trial and error I determined the pixel width to be 16 ...
0
votes
1answer
46 views

My Raspberry Pi B+ has the Ri 2 B pinmap

I trying out different java programs for my RPi B+ V1.2 and as far I have only tried to blink with a lamp for a few seconds. It works. Now I want to try to blink with a lamp by using a button. In ...
1
vote
1answer
35 views

GPIO.input(24) is coming back True when it shouldn't be (false button presses)

I have a button in a working circuit. Within sys/class/gpio/gpio24, value changes properly (it becomes 1 when pressed down, 0 otherwise). When I use GPIO.setup(24, GPIO.IN) within python, GPIO.input(...
1
vote
1answer
57 views

Can't connect via SSH to RPi2

I have searched for old topics but I can't find anything that could solve my issue. I have installed Ubuntu MATE on SD card and created the ssh file on the boot\ directory. I connect the RPi2 ...
1
vote
1answer
209 views

read-only filesystem after reboot..can't seem to find a straight answer hot to fix?

Im new to rasbery pi.. i would like to get my PI back to normal without having to reinstall everything!(next time ill back up or use puppet.) I ran: sudo fsck -n -f i got the below: Journal ...
0
votes
1answer
194 views

Convert existing Raspbian image to NOOBS image?

I currently have an SD card with a Raspbian (Stretch) install, a whole bunch of files, an OpenVPN server, etc. However, I would like to run Kali Linux and LibreELEC on it as well. Is there any way I ...
1
vote
0answers
317 views

Windows 10 IoT not updating with windows update

Why is my windows update stuck on downloading updates? How do I kick it along? From the apps menu I select Windows Update tile. I then have the following screen which I have left on overnight and ...
0
votes
0answers
70 views

Is there a limit on Raspberry PI's display size?

I have been using Raspberry PI 2 and 3 for the last year and a half with no problem. However, over time I have noticed that different sizes of display connected to the PI effected how my software ran. ...
3
votes
1answer
259 views

Multiple /etc/rc.local?

I run a Python program in a screen session which is started from my /etc/rc.local with this command: su me -c "screen -d -m /usr/bin/python /mnt/usbdrive/pgms/mypgm.py" Recently my program has been ...
0
votes
1answer
488 views

Pi 2B, Under-voltage detected!, no lightening bolt, +5 is rock solid at 5.01VDC

This is a weird one - have had 2B in service for three years, but it crashed last week. Rebuilt with a new Pi 2B+, but saw undervolt errors on the rebuilt system that would have gone unnoticed, so ...
0
votes
2answers
147 views

Is it possible to find the current sampling rate of MCP3008? [closed]

I am using MCP3008 with Raspberrypi Model B. MCP3008 is sampling the analog signal. But is there any way through which I can verify if it is correct or not. For example, I need a sampling rate of 1.5 ...
0
votes
1answer
229 views

.asoundrc file is rewritten on each boot

i read all of the posts here and commentated on one of them but comment was deleted as it was a question i guess, so i mage my own now, sorry for that... Ok the problem: USB sound card mic is not ...
0
votes
2answers
139 views

Raspberry PI convert into a switch

I would like to know if it is possible to make raspberry pi work as an Ethernet switch? @jsotala. Thank you for the advice. Basically I am not considering using the readily made switch from the ...
0
votes
0answers
248 views

Error connecting to Raspberry Pi 2 using xrdp

I have Fedora 28 MATE installed on a Raspberry Pi 2. I have xrdp installed and started/enabled on the pi, and have opened port 3389/tcp in the default firewalld zone. I am trying to connect to the ...
3
votes
1answer
2k views

VPN Passthrough two ethernet interface

I'm a quite new in the network my internet acces have a proxy so to by-pass it I use a VPN hosted on my VPS. I use the OpenVPN Client software for all my devices. (Windows, Android, Linux) I got a ...
0
votes
1answer
551 views

wifi not working in raspberry pi 2

I want to setup multiple network for wifi. One for my home and another for my office. I took the reference from stackoverflow but it did not work in mine. It works if i use the ethernet but not when ...
3
votes
2answers
359 views

why GPIO.LOW is used to turn the switch on?

I am learning raspberry pi and somewhere i found the tutorial of turning the bulb on when clap is heard and off the bulb when clapped again. The following code was written for this to work #!/usr/bin/...
0
votes
1answer
94 views

Is it okay to power the Pi Touchscreen by plugging into the Pi?

I have the official raspberry Pi 7 inch touch screen, and I have mounted to it a Pi 2. Lately I have been using it and I have been plugging the power into the Pi itself. I however recently remember ...
0
votes
1answer
132 views

small sound sensor not detected

The usecase of my project is when I hear the sound of clap then only the relay channel should get triggered. But in my case, the GPIO.input(SOUND_INPUT_PIN) is only giving me value 1(HIGH). The ...
1
vote
2answers
304 views

Raspberry Pi 2 hangs during Windows IoT boot

I've downloaded the Windows 10 IoT Core Dashboard and set up an SD card according to the instructions on that site. When booting my Raspberry Pi 2 from the SD card the Windows logo shows up with the ...
1
vote
2answers
350 views

Raspberry Pi DC Motor Not Working

So, I am attempting to control a DC motor using a RPi Model 2B. I am using a l293d motor driver to try to control the motor and a 4 AA battery holder. The diagram is supposed to look like this ...
1
vote
0answers
27 views

How to create installer files in Raspberry pi

I have created a program in Raspberry pi and I am running it using the command python myprogram.py . Is it possible to create the installer file of this program? that means after installing this ...
1
vote
2answers
330 views

Raspberry Pi Error: AttributeError: module 'l293d.driver' has no attribute to 'motor'

So, I am trying to use my RPi model 2B to control a DC motor with an l293d controller. I have moved onto the python3 script and imported the 'l293d' module. Here is my code... import l293d.driver ...
0
votes
1answer
1k views

Read GPIO pin on web page

I was able to control an led from a web page using the following code. when I call http://myip/pinon.php it will light up the LED and http://myip/pinoff.php will turn off the LED. pinon.php <?php ...
0
votes
1answer
318 views

Can I modify an RPi2 image to boot on an RPi3 B+?

I have a Raspberry Pi 3 B+, and none of the operating systems that usually work on the RPi 3 will boot. I've done a small bit of research, and I think this has something to do with an outdated ...
2
votes
0answers
467 views

hostapd.service not found

I am trying to make a Raspberry Pi 2 as a wifi access point in a standalone network. I followed this tutorial: https://docs.google.com/document/d/16hJS7fnPyKUwbvR33_nMku_b6XcYaBJXVpeCIMoJzcQ/pub At ...
2
votes
0answers
213 views

PI4J + Adafruit LCD with MCP23017

Got this device. Python example char_lcd_plate.py is working perfect. But I would like to manage it with Pi4J. I copied bits from python example LCD_PLATE_RS = 15 LCD_PLATE_RW ...
0
votes
0answers
115 views

Raspberry pi 2 to Windows 10 SFTP/SSH

I am trying to connect my windows 10 pc with raspberry pi 2 using python script. What I want to do: I want to download the file from windows 10 machine with the help of python Script from raspberry pi....
1
vote
1answer
105 views

RaspberryPi 2 GPIO stopped working

I have RaspberryPI with Arch Linux and everything was going well, until this morning when I tried to do my usual work on it, it sounds like nothing happening at all, I have checked with pintest (I use ...
1
vote
1answer
1k views

Raspberry Pi Login Screen Change

I am pretty new to raspberry pi. I was trying to change the login screen of raspbian in my native language. Can anyone please suggest how can I do that? I already installed unicode library, installed ...
0
votes
0answers
142 views

PPS ioctl failure in GPS

I am using U-Blox AG GPS in my Raspberry pi 3. My GPS had a fix and displayed all the data in a right way. After an hour of working, it is not getting a fix. So I checked the gpsd status. It displayed ...
1
vote
1answer
1k views

Reading Multiple bytes in Raspberry Pi over I2C using Wiring Pi library [closed]

0 down vote favorite I am trying to build one sensor interface using Raspberry Pi over I2C. I have installed WiringPi. I am seeing limitations of wiringPi library, that supports only 1 or 2 bytes I2C ...
0
votes
1answer
73 views

At what instances do we use the Board mode and BCN mode in Raspberry Pi?

I know about the two modes of working in Pi using python, Board and BCN. However, I am really confused as to the instances or situations where I should use them. An example demonstrating their use ...
0
votes
3answers
101 views

Raspberry Pi Random Turns Off

So, I was doing a project with PWM (Pulse-width modulation) but something unsual happens, my raspberry pi turns off. I am using a RPi model 2B, and my circuit looks as follows simulate this circuit &...
1
vote
2answers
567 views

Downgrade libc6 to resolve breaks?

I was near the end of the process of upgrading my pi from Wheezy to Stretch (which worked according to cat /etc/os-release, I was trying to clean out old packages after reboot). The following ...
0
votes
2answers
364 views

Will a Raspberry Pi 3 case fit a Raspberry Pi 2 B?

I've gotten a Raspberry Pi 2B as a gift, but without a case. I'm trying to buy me a case, but I mostly find Pi 3 cases being offered. So, I'm asking the opposite of this question: Is the Raspberry Pi ...
0
votes
1answer
39 views

Help using av jack on pi 2

Help please I have a portable DVD player with an audio/video input and it works with all devices except my raspberry pi 2. I also need it to fit in the DVD player case so I soldered the video cable to ...
0
votes
1answer
90 views

Pi screen freezing and board getting warm with LoRa

I have a Raspberry Pi 3 and a RPi 2 for testing these two LoRa modules. I'm having a couple issues... SEE BELOW FOR UPDATED ISSUE RPi screen freezes - Whenever I try to test the modules with example ...
0
votes
0answers
26 views

Problem after updating opencv

I am using raspberry pi 3 jessian I tried to update my opencv using Sudo pip install opencv-contrib -python Now i cant import cv2 in any program . Thanks in advance for any help. I am really in ...
1
vote
1answer
210 views

HDMI projector doesn't detect my PI

I have a Raspberry Pi 2 model B v1.1. I wanted to set It up for the first time. I loaded the Raspbian Lite .img file into my 4Gb micro SDHC class 10. I put It in Its slot. I connected It to an EPSON ...
-2
votes
1answer
749 views

How to upload data from raspberry pi to MySQL, geting errors [closed]

Basically I am trying to upload the data collected from my raspberry pi to MySQL, I have a table called DHT_data with columns 'datetime' using data type timestamp, 'temp' using data type numeric, 'hum'...
0
votes
1answer
60 views

Which OS should I install on an old Raspberry Pi 2b [closed]

I have an old Raspberry Pi 2b. My SD went nuts, so I have to install OS again. I tried raspbian 9, but everything seem soooooo sloooooow. I would love kodi, but I can cope with just a media player (...
0
votes
1answer
51 views

How to send file from Web Application to Raspberry Pi?

I am working on a project which I have to send file from my Web Application(Node.js) to multiple Raspberry Pis. The problem I'm facing is that I don't know how to send file generated by the Web App ...
0
votes
1answer
122 views

Raspberry PI + OpenNI2 + OpenCV

I have opencv installed on RPi. Now I need to install OpenNi2 and I have this error: "error: array subscript is below array bound" I use: PLATFORM=Arm make gcc -v 6.3.0 How to solve the problem ...