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
0
votes
0answers
116 views

listen for sensor continuously when using django as a server

I have developed a smart bulb using relay to switch the bulb on and off when I clap. This works with a simple python script but that i want to use django as a server for handling this use case. I ...
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
80 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
266 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
0answers
85 views

Raspberry Pi 2 B V1.1 NOOBS 2.8.2 and raspberrypi-kernel (1.20180619-1 => 1.20180703-1)

Is there a known problem with the title hardware and software combination? I installed NOOBS 2.8.2 to build the base system. When I run apt-get clean, update and upgrade, the raspberrypi-kernel ...
1
vote
2answers
273 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
254 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
861 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
213 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
380 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
193 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
86 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
88 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
768 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
106 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
923 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
63 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
75 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
444 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
267 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
37 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
79 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
23 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
179 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
565 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
55 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
47 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
92 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 ...
1
vote
1answer
101 views

Missing L4 chip near HDMI port, not boot up and usb port no power output

My rpi work perfectly until I touch it, It not boot up then I found the L4 chip HDMI port is missing(I have touched HDMI port I think my fingernail pull it off...). I found that tiny chip in the box ...
0
votes
2answers
309 views

Raspberry Pi UPS - Thoughts for off shelf items

I've been looking at off the shelf raspberry pi UPS/shutdown controllers. I've come up with 4 and wanted somebody to weigh in on the choices. My use case is pretty strait forward. I want the pi to ...
0
votes
0answers
21 views

Raspberry pi not powering

I have a raspberry that I want to power with a battery (12V 7A) through a tension reducer (5V, max 3A). When I attach the board to the charger nothing happens. When I attach the same charger to a ...
0
votes
0answers
40 views

sd card write on Windows 10 Pro 64 failed

I try to write my RaspI SD Card on win10 using Etcher-Setup-1.4.4-x64.exe and 2018-04-18-raspbian-stretch-lite.img image. Write and verify looks good, but Raspi 2 Model B don't boot. I get no error. ...
0
votes
1answer
38 views

Three sites - three nginx conf files - all resolve to same directory

I recently tried one too many things and had to re-flash the SDCard in my Raspberry Pi. Started over with Raspbian Stretch Lite. Added nginx, PHP7.0-fpm and a self-hosted social media service (Pleroma)...
0
votes
3answers
2k views

Arduino-Raspberry Pi fast data communication through serial

I am trying to sample from two analog sensors at highest frequency possible (using and Arduino Uno, MPC3002 ADC), then send the data to raspberry pi to save them as binary file. Arduino and MCP3002 ...
0
votes
0answers
66 views

Pi not booting: Error on SD and only flashing cursor when booting

One day I started my Raspberry Pi and it crashed, so I flicked the power off. I restarted it and it booted like normal but I noticed an error avahi (SD issue). When it came to the desktop part it ...
-1
votes
1answer
516 views

How can capture many images using picamera and loop and different name? [closed]

Here's my current Python code: import picamera with picamera.piCamera() as camera: for i in range (10): camera.capture("/home/pi/Desktop/newfile/newimage.jpg")
1
vote
1answer
29 views

How do I get camera to connect to anyone's phone and let the phone take picture using the camera and get that picture back?

I have an idea but not sure if I can Raspberry Pi to do this. So I have this camera in public that anyone can use. Anyone can connect to the camera using their phone and take picture with it, and get ...
1
vote
2answers
554 views

Check relay module state

I found a few good answers and guides about how to control a relay module from the pi, however, I want to find a way to check its state/status from the pi, is there a way to determine if the relay is ...
0
votes
1answer
37 views

How do I connect my Debian 9 computer to my Raspberry pi 2 using the ethernet connection to share the pi2 wireless?

I have the recent version of Debian in my computer and a recent version of raspbian in my PI2. I want to connect Debian to Raspberry pi 2 using an ethernet cable, connecting my Debian to share ...
0
votes
1answer
826 views

How to wake and sleep pi using microcontroller

I am looking to put a raspberry pi to sleep using a uC to save power and to also wake it back up when the uC needs to unload processing requests. Unfortunately, I need an SBC of some sort with this ...
3
votes
2answers
851 views

How to format a corrupted SD Card

I was writing something to the SD card at one point and I disconnected. Unfortunately I am unable to boot into Raspbian now as it will simply boot loop and when I tried to use the tools Gparted ...
1
vote
1answer
220 views

How to prevent raspberry to connect with open wifi?

Actually i am working on a project. I want my raspberry to stay connected with my DSL wifi. But raspberry connect with a open wifi automatically . Thats why i lose connection. Please help me that how ...
0
votes
0answers
47 views

How do we connect a camera using a Raspberry Pi 2 to an iPhone?

How do we connect a camera to a raspberry pi 2 that connects to an iPhone over live video? We are willing to buy any camera that is necessary.
0
votes
0answers
24 views

How to convert Images from database(cloud) to timelapse video via raspberry pi?

hye, my project is about timelapse but we are not using the rpi camera to capture the images instead we are using DSLR camera for some reasons. once it captures, the images would be saved into the ...
3
votes
1answer
238 views

My PIR sensor seems alittle keen to sense things

Before you tell me answers for my issue already exist I'd like to mention that I have checked previous answers and where similar issues have occurred I have tried to use their approved answer. So far ...
0
votes
0answers
140 views

Cannot install libextutils-cbuilder-perl - “Unable to correct problems, you have held broken packages.”

I am trying to install sli3er engine on a Raspberry Pi using this document. However, when I install the dependencies, I got an error here; INSTALL COMMAND: sudo apt-get install libextutils-cbuilder-...
2
votes
0answers
93 views

Moonlight (Wifi): Dropped Frames, Multiple Errors, Crash

Casting any media from a PC to the RPi, other than on a Ethernet connection, results in a large number of errors, and an eventual crash. Streams are very responsive, and smooth at 720p at 30fps, but ...
1
vote
0answers
218 views

Error running headless jackd

I'm following the instructions here to run jackd on my headless Raspberry Pi 2 Model B. The only difference is that I'm using the standard packaged jackd instead of the autostatic ones mentioned ...
1
vote
0answers
616 views

Cannot connect to raspberry Pi through windows 10 file explorer network

I'm trying to use my Raspberry Pi to set up a print server. I've been following this:, and I got to the point where I had to access the Pi on another computer. When I went to do said step, I couldn'...