Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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

“Performance” gorvernor doesn't change cpu frequency

When i tried to change the default governor of my Raspberry Pi 2 (currently at Powersave mode) to Performance mode which is expected to push my Pi's CPU freq up to its maximum number (900Mhz) by using ...
0
votes
0answers
118 views

Building PyQt5 on one raspberry pi 2 succeeds, but fails on another

I am building a solution for which I need a reproducible process for installing everything necessary. When its time to build and install PyQt5 I am succeeding on one device, but failing on another. ...
0
votes
0answers
532 views

Can't build DKMS kernel module

I'm on Raspian Stretch and an RPi2. I'm trying to install xtables-addons-dkms. This was the output of apt-get on my first attempt: Setting up xtables-addons-dkms (2.12-0.1) ... Loading new xtables-...
0
votes
1answer
274 views

Transfer files from computer to raspberry pi using python script (Wifi connection - SSH setup)

I want to transfer text files or a complete folder containing text files from my computer to raspberry pi using a python script. I am accessing my raspberry from the same computer (Using Putty) from ...
0
votes
0answers
416 views

Changing bluetooth class to act as a hands free device and car audio

Good morning folks, I have been using this tool to quickly configure my Pi2 as a bluetooth audio link to my camper van, it works brilliantly. My question is regarding changing the class of the ...
0
votes
0answers
58 views

Hosting a webserver with ngrok

I recently got a Raspberry Pi and want to host a small API to use with a Slack app. My question is if it is OK to host it on my RPi and expose with ngrok only. Is that something that people do? ...
0
votes
0answers
33 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
100 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
69 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
212 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
604 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
86 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
63 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
57 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
67 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
82 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
166 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
229 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
414 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
75 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
27 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
73 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
551 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
55 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
137 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
57 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
89 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
71 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
49 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
307 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
76 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
51 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
78 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
578 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
70 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
208 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
78 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
793 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
2k 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
532 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 ...