The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
31 views

How to recover from a kernel panic like this?

Getting stuck while boot process, I don't remember installing anything on Kali linux raspberry pi
0
votes
1answer
90 views

Troubleshooting PiVPN connectivity outside of LAN

I've set up pihole w/ cloudflared + pivpn on a raspberry pi 2b+ Everything seems to be working properly when connected to my internal WIFI (cable modem / router combo) on an Android client using the ...
2
votes
2answers
61 views

How can I implement event detection?

I want to implement a function that does not abort my program but wait until I press the button on channel 11. And start the program again. #!/usr/bin/env python import RPi.GPIO as GPIO import time ...
0
votes
0answers
205 views

Microphone Error: arecord: main:722: audio open error: No such file or directory

I am a 100% beginner when it comes to raspberry pi and this is my first project. I am trying to configure a microphone and speaker for an alexa module being integrated into my magic mirror project (...
0
votes
0answers
574 views

How can I recieve data from uhf rfid reader's usb port to my raspberrypi controller

I am new to raspberry pi, currently we want to develop gate control with open/close boom-barrier so we are using an UHF RFID reader and a raspberry pi. I bought a RFID reader that has a USB connector ...
0
votes
0answers
13 views

Mercurial File hgwebdir.cgi is missing

I have installed mercurial with sudo apt-get install mercurial However if I try to do sudo -u www-data cp hgwebdir.cgi /var/hg I get the following error message cp: cannot stat 'hgwebdir.cgi' ...
0
votes
1answer
77 views

Serial read from arduino not working properly

I am trying to read analog read from ardunio connected to my raspberry pi. Following are my raspberry pi and arduino codes. Raspbery pi: import time import serial ser = serial.Serial('/dev/ttyACM0'...
0
votes
0answers
58 views

How To Change FPS on Waveshare35a ILI9486

I have the Waveshare 3.5 inch LCD with retropie on my raspberry pi 2b. It works, but it has lots of screen tearing and about ~5 FPS in non demanding games. Any help would be appreciated!
0
votes
1answer
52 views

Raspberry pi + L298 H bridge motor speed reduced when battery circuit shows 50%

I made a raspberry pi car. The pi is powered by two 18650 (Breewell New Multipurpose Flat Top 18650 Battery 2000 mAh 3.7 Volt Lithium Genuine Rechargeable Battery -Pack of 2 https://www.amazon.in/dp/...
0
votes
0answers
57 views

Stepper motor control using wavechain

I am having a bit of trouble using the PIGPIO wavechain function. I am using wavechain to accelerate and decelerate the stepper motor(NEMA 17 ,A4988 driver).Is it possible to avoid executing the ...
0
votes
0answers
38 views

confusing and oddly specific dns issue

I primarily use the raspberry pi in two locations, at my school and at home, where i connect to the internet using LAN. The school's network seems to enforce the use of a specific dns server, which i ...
0
votes
2answers
77 views

Why is my RTC DS3231 but seems DS1307?

I bought a RTC DS3231 because of the accuraty of time (2ppm, I was searching an accurate RTC). When I received it, I checked that in the encapsulating it is as well marked like DS3231. But, after ...
1
vote
1answer
156 views

Pi 2 won't boot without touchscreen connected

Timeline of events: Installed a stable version of Raspbian, all systems work no real testing with the GPIO but HDMI and SSH work. Tested various GPIO pins for running fans and several pieces of ...
0
votes
0answers
18 views

Frequencies available for wavechaining using PIGPIO library

I am working with the PIGPIO library to run stepper motors. I am using wavechains to the STEP pin of the driver. I need help regarding the possible pulse frequencies available for wavechaining. I ...
0
votes
0answers
174 views

Password Manager for Raspberry (online AND offline access)

I'm searching for a good password manager. And yes, i know, google is full with tutorials for that kind of stuff. But all password managers i found, are only online usable. I need a solution where i ...
0
votes
0answers
39 views

What will be the output when “ifconfig” command is entered after running the 6lbr, installed on RPi?

im having some issues with accessing the 6lbr web server page. I just need to know what is the output you get once you checked your interfaces by entering "ifconfig". In mine, I just get only the ...
0
votes
2answers
377 views

Routing issue - use vpn gateway router

Dear Raspberry community, I am using a raspberry with newest stretch version and facing a routing issue. My network: LAN: 192.168.178.0/24 Subnet mask 255.255.255.0 Default eth0 Gateway 192.168.178....
2
votes
1answer
69 views

Attribute and Type Error using Button class in Tkinter/GPIO Zero combination

I'm new to programming and I'm trying to write a simple program to change the blink rate of an LED using a GUI. When I try to run this on my RaspberryPi 2B running Raspbian, I get the following ...
0
votes
0answers
26 views

PIPE jack_capture on pi_fm

I want to transmit sound over FM with a Raspberry pi. To avoid latency, I would like to use jackd rather than ALSA to process audio. I try this command to route stdout into pifm : jack_capture -ws |...
0
votes
1answer
70 views

Raspberry Pi + NRF24L01 timeout after a period of time

I am using a Raspberry Pi 2 with a NRF24L01 module... to communicate with several Arduinos. It is working very well ... until some point... after days or weeks. Then I get only timeouts. Not even a ...
0
votes
3answers
470 views

Difficulties Miracast iPhone -> Raspberry Pi -> HDMI -> TV

What I want to do? Cast using the miracast icon from my iPhone to RPI which is connected with HDMI to TV. OR Mirror Screen to do the same thing. Problems I have encountered: RaspberryCast 3.0 (...
0
votes
0answers
53 views

Scan search USB port and manipulate the data received from wireless modem

Any example which helps me to search the automatic USB port availability in raspberry pi and sends the information of wireless sensor network, which uses the wireless modem as a gateway receiver. I ...
0
votes
0answers
52 views

Raspberry Pi 3.5 Inch Display Works on Pi 2 B but not 3 B+

The exact screen is this one. http://www.neosecsolutions.com//products.php?28 On a Raspberry Pi 2 B it boots to raspbian. On the 3 B+ it gives a white screen, The Raspberry Pi 2 B has a white screen ...
1
vote
3answers
130 views

Add-on sd card in pi?

I want add-on SD card reader/writer/slot/controller in my raspberry pi so that i can keep OS separate from my program. Primary SD card will load OS and work normally and program & data will remain ...
0
votes
0answers
56 views

Connecting multiple wifi network

I am really new to the pi world, I have a quick question. I am planning to build a small wifi surveillance system with Pi. So basically 4 wifi camera's streaming data. I am planning to use this camera ...
1
vote
1answer
80 views

Configure pi so it doesn't show boot info - splash screen only

I'd like to configure my pi 2 so that I dont see any booting info. I'd like to have a splash screen (or video if thats even possible) and boot into a C++ game I wrote.
1
vote
0answers
65 views

Help - Incorrect reading of magnetic encoder

I am a beginner having trouble to read a magnetic encoder. I have found the following code I found that I am using in order to read the encoder values: #!/usr/bin/env python import pigpio class ...
1
vote
2answers
47 views

Connecting 2 raspberry pi zero to one spi screen

I wanted to know if you can connect 2 pi zero's to 1 spi screen and have a switch to switch between them?
-1
votes
1answer
272 views

RPi 2 B No wireless interfaces found - eth0: Link is down

I tried to setup a new RPi 2 Model B using NOOBS. I followed the steps the "Getting started" guide.. At the "finishing the setup" step, Pi was not able to find any wifi connections to update the ...
0
votes
1answer
74 views

Setting up a wifi dongle

I have a raspberry pi 2 running raspbian, and bought a wifi dongle to use with it. I can't seem to get it connect to the internet. I have tried following the guide given by the seller, but it was ...
0
votes
1answer
50 views

GPIO LED Python

I am not sure what I am doing wrong here. I found this guide on but it's not working for me. The program does not output any errors but the LED doesn't light up. I have and LED with + on GPIO 12 ...
-3
votes
1answer
44 views

what are the some useful resources to learn Raspberry pi?

I am a newbie in IoT, but have a little bit knowledge of programming languages: python, nodejs etc. Can someone point me toward some useful resources to learn Raspberry pi 2?
1
vote
0answers
75 views

Running cockroachdb on a Raspberry pi 2 model b (32-bit) as a docker container

I'm trying to run cockcroachdb on a Raspberry Pi within a docker container, but they only provide 64-bit versions of cockroach as they explained it here . But I do see references of running cockroach ...
0
votes
2answers
503 views

My Raspberry Pi is being shown as a Dead IP Host on Advanced IP Scanner hence I'm not able to connect my Pi to laptop

I am currently working on a project using the Raspberry Pi 2 Model B board. All was working fine until today when I was connecting my Pi to my laptop and the IP host for my Pi was displayed as a dead ...
0
votes
1answer
42 views

connect a 12V device to Raspberry pi

I need to connect a 16mm press Push Button Switch flat round Latching Self-locking 1NO 1NC with 12V rating to Raspberry pi3. (https://www.aliexpress.com/item/16mm-Metal-brass-Push-Button-Switch-flat-...
0
votes
1answer
68 views

Someone changed the pi password on the RP2. Is there a way to undo it?

I was stupid enough to leave the RP2 exposed to the internet with the default password (for the momentary sake of convenience) for a very short time and someone (I am assuming an automated scanning ...
0
votes
2answers
3k views

How to Check SD card is working or not in Raspberry Pi?

If i put sd card in raspberry pi and want check whether it is working or not. Is there any procedure in raspberry pi to check it. I want to check my either my SD card is broken down or corrupted.
0
votes
1answer
175 views

How to know the buffer size of a Raspberry Pi 2 b?

I would like to know the size of my I/O buffer (defined as the queue where the packets arrive, e.g. from internet, and wait to be proccessed). How could I find this size? And if the buffer is too ...
0
votes
1answer
74 views

Raspberry pi 2 model b system clock ppm

I have a Raspberry Pi 2 model B and a RTC (precision 1 ppm) hooked up with, without Internet conneciton. When the RPi is power off is the RTC the responsible to keep the current hour but when the RPi ...
0
votes
1answer
689 views

How can I debug why SFTP is not working while SSH is working?

I have an arcade run on raspberry pi 3 flashed with RetroPie 4.4. I already enabled SSH capability via raspi-config menu Test I can SSH into my Pi perfectly fine, but I can not SFTP into it. ...
0
votes
1answer
1k views

How do I prevent Pi prompt for username and password ? [duplicate]

I have an arcade run on raspberry pi 3 flashed with RetroPie 4.4. Just now, I'm not sure what had happened to my Pi hardware, network, or even SD card when I boot, I kept getting prompt to enter the ...
-1
votes
1answer
42 views

Raspberry Pi 2 model B with sim800 and PIR to detect motion

I am working in the project that idea is to detect the motion using PIR and picamera. will send email alert to include with capture of the movement and SMS in the same time. the component I plan to ...
0
votes
2answers
472 views

Raspberry Pi - Connect and power RS485 device

I am trying to connect a Raspberry Pi to a OSDP card reader. The reader communicates via RS485, and is powered by 9-27V DC. Unfortunately, I have not been able to succeed with a serial connection in ...
0
votes
2answers
59 views

Raspberry Pi for temperature measurement [closed]

I want to start by saying that I’ve never built a raspberry pi, but after doing some reasearch I believe these tiny computers are a good base for my project. However, if anyone has other ideas, I’d be ...
1
vote
2answers
84 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
131 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
22 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
379 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 ...