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

GPIO.cleanup() did not work after continous cleanup process

I have one doubt, I'm using raspberry pi 3 b+. When I playing Raspberrypi with a 5v relay, I have used the continuous cleanup() process. After few minutes my raspberry pi was not cleanup(). It's not ...
0
votes
1answer
47 views

12V Switch advice

I’m new to RPI and have a project. Please take a look at the fire switch on the diagram. I would like to add a RPI on that loop and see when the fire button is depressed. This is a 12V system so any ...
0
votes
0answers
20 views

RPi 2B - Ubuntu Server 20.04 LTS fails to boot, but Raspbian works. How to further troubleshoot?

I'm trying to flash Ubuntu Server 20.04 LTS using the Raspberry Pi Imager for my Raspberry Pi 2B, but boot fails on the blended colors / rainbow screen and blinks the green LED seven times. As I ...
-1
votes
3answers
35 views

Cannot run a script after reboot using Cron

I'm trying to start a script containing cgminer for mining when the raspberry pi reboots however it doesn't. My crontab contains the following. @reboot sleep 120 && sudo /home/pi/StartVPN.sh @...
0
votes
0answers
53 views

Is it impossible to boot from SD card once USB/SSD boot is enabled in Raspberry Pi 2?

Based on this documentation: To enable USB host boot mode, the Raspberry Pi needs to be booted from an SD card with a special option to set the USB host boot mode bit in the one-time programmable (...
0
votes
1answer
24 views

Broken Image icon instead video on raspberry pi motion [closed]

I fresh installed Rasbian and Motion on my Raspberry and can see the Motion HTML interface in the browser via http.
 But instead of the video there is a broken image icon. Update: I try the command ...
2
votes
1answer
21 views

Installing Edimax 7611 Wifi Dongle?

I have an Edimax 7611 wifi dongle I'm trying to install. All the instructions I've found seem to require an existing internet connection to download updates and drivers. Is there a way to put the ...
0
votes
2answers
22 views

Is Raspberry Pi 3 B+ power supplier compatible also with Raspberry Pi 2?

It seems that my Raspberry Pi 2 power supplier stopped working (the power led switchs on and off periodically). Due to this I was wondering if my current Pi 3 B+ power supplier can be used also with ...
0
votes
1answer
36 views

share ethernet connexion to ethernet usb adaptor thanks to raspberry pi

I try to connect my ps4 with my vpn connexion without using the computer. I install the vpn on a raspberry pi 2 and i connect my raspberry to internet by the ethernet connexion. I use the raspberry ...
1
vote
2answers
85 views

My RPi2 became very slow suddenly

I am running Raspbian on my RPi2 and on top of that a Node.js server. This morning the Node.js server went down, but I still have access to the SSH terminal. I ran top but couldn't see any processes ...
0
votes
0answers
32 views

Omxplayer set_alpha not working

I’m using python wrapper of omxplayer, and seems if I try to set an alpha value the player does not set anything. This just work if I try to launch the player in -win mode. I’d like to do a cross ...
0
votes
0answers
25 views

Raspberry Pi 2 Model B v1.1 alsa & jackd Headphone Jack Configuration

My end goal is to do headless remote audio streaming with jacktrip on some older Pi 2 boards using the built-in headphone jack (I know the quality of it is lacking but I don't really care). To narrow ...
0
votes
1answer
24 views

Can only initiate ssh ethernet connection to Pi when PC is off WiFi

I can seemingly only connect to my Pi via an ethernet cable if I have temporarily disconnected from WiFi. Once I login, I can reconnect to Wifi, and I can talk to both my Pi and use the internet. ...
1
vote
2answers
94 views

SenseAir S8 LP not transmitting data

I bought a SenseAir S8 LP to connect to a Raspberry Pi 2. The specification[1] shows the pins and how I should connect them. I have verified that the pins are connected properly (see image below). As ...
0
votes
1answer
29 views

Broadcasting With PiFm Isn't Working on My Pi 3A+

I am trying to broadcast audio from my raspberry pi with pifm. However, it isn't working. When I run 'sudo ./pifm sound.wav 100.0' nothing comes through on my fm radio, and also, afer about 2 or 3 ...
0
votes
1answer
34 views

Broadcasting From An USB Sound Card With PiFmRds Isn't Working

I am using PiFmRds on my raspberry pi 3a+ (https://github.com/ChristopheJacquet/PiFmRds), and I am trying to live broadcast with a mic and a USB sound card. The command is: sudo arecord -fS16_LE -r ...
0
votes
0answers
49 views

Raspberry Pi I2S duplex audio setup

I'm using a Raspberry pi 2b+ for an audio project where I need stereo in and out at the same time. I've had success with cheap USB interfaces but they have a lot of noise and are prone to dropouts. My ...
0
votes
0answers
20 views

Pi2 as an USB-Switch to share his eth-connection

I want to share my thoughts and questions about using a Raspberry Pi as an alternate Switch/Router or whatever. First my problem is, I have 3 stationary PCs, all of them are connected to a switch (eth)...
0
votes
0answers
22 views

RaspberryPi 2 can not be restarted (sdhost-bcm2835 timeouts, print_req_error)

I have a relatively simple setup: One Raspberry Pi 2 is directly connected to my home router, running Debian 10 and PiHole with an Unbound rDNS service. That's it. I have set this system up two times ...
1
vote
0answers
13 views

kiosk mode buster lite Pi Br2

I am trying to view my Octopi PiCam on a PiB2. I followed the guide here: https://die-antwort.eu/techblog/2017-12-setup-raspberry-pi-for-kiosk-mode/ Everything has went fine, no errors, no crashes. ...
0
votes
1answer
45 views

Raspberry cannot install anything via sudo apt-get install <x> [closed]

yesterday i bought a new Raspberry Pi 4 Model B. Im trying to install java & other packages but when i try to install via command: sudo apt-get install <x> i get the error: i tried to with ...
0
votes
0answers
390 views

Error while Starting Raspbian

Enviroment: Device: Rasberry Pi 2 OS: Raspbian Last sign of life: 8.March 2021 Problem Since 8th of march I've got no message of my raspberry pi, so I get them and try to boot with a connected monitor....
1
vote
2answers
69 views

How do I debug these spontaneous crashes?

My headless Pi 2 (running stock raspbian) sometimes crashes out of the blue. It happened again today, and I had a monitor attached so I was able to get a photo of its final words. I just don't know ...
1
vote
1answer
87 views

Are the ARM Mailbox and Doorbell interrupts ever triggered?

I'm writing some very bare metal multi-tasking code that manipulates the hardware on a Pi3. Part of that is to initialise a frame buffer, and I'd like to avoid polling loops, where possible. (e.g. ...
0
votes
1answer
72 views

Energy consumption raspberry pi 2B

I would like to calculate the energy consumption of a given process in a Raspberry Pi 2B Rev.1.1 BCM2836. It is fed using the microusb port through a laptop docker via USB. I'm using atop to get the ...
0
votes
0answers
25 views

Pi 2B with docker loose connection after some time

I have a Raspberry Pi 2B, I installed first Raspberry OS lite and then Ubuntu Server. The behavior I will descript was the same in both systems. So, I wanted to use Docker to run a web server (1 ...
1
vote
1answer
169 views

Problem copying Micropython from Rpi2 to Pico

I am following this page for instructions: https://www.raspberrypi.org/documentation/pico/getting-started/ I see the pico added as a drive when I hold sel button, and apply power with the usb cable. ...
0
votes
0answers
37 views

Configuring Rasberry Pi 2b for WiFi adapter monitoring fails upon reboot

I've been using this guide to configure my Raspberry Pi model 2b and turn my WiFi usb adapter into monitor mode. To note I used this github repo to get my WiFi usb adapter working on my Raspberry Pi ...
0
votes
2answers
76 views

Prevent automatic connection to open wifi

I am using a Raspberry Pi 2 with a USB wifi adapter (headless setup). The wpa_supplicant.conf file contains authentication information only for my wifi access point, and the pi connects to it as ...
0
votes
0answers
43 views

Raspberry Pi Water Level Sensor doesn't work

I got a question. I'm trying to make a water level sensor to check the water level with Raspberry Pi and a water level sensor using this tutorial. https://kookye.com/2017/06/01/design-a-water-level-...
0
votes
0answers
19 views

Raspberry pi 2B is stuck on rainbow screen and the 7" official screen is white

My Raspberry pi 2B works perfectly fine when it is connected to my TV via HDMI. But when I connect it to the touchscreen at the same time, the touchscreen is just a white screen and on the HDMI, it is ...
2
votes
3answers
692 views

RPi fails to get DHCP-assigned IP address

tl;dr: After my local network addressing scheme changed from 192.168.1.X to 192.168.21.X, my RPi failed to adapt and was still accessible via 192.168.1.2. When I added iface eth0 inet dhcp as the last ...
-1
votes
1answer
190 views

Fail to install alpine linux in sysmode

I have a raspberry pi 2B and I wanted to install alpine linux in sys mode. I use a 64gb microsd samsung evo plus. I followed the wiki of alpine here formatting like in troubleshot the boot partition ...
1
vote
2answers
3k views

PiHole Not Resolving Local DNS Entries for clients with static IPs

I have a Raspberry Pi 2 running Pi Hole 5.2.2 and Cisco Linksys E2000 router running DD-WRT v24-sp2 (08/12/10) std-usb-ftp I want to be able to have PiHole resolve a DNS entry such as MyDevice to an ...
0
votes
1answer
250 views

Python script not playing audio when run through systemd

After trying every possible solution online I am posting this question. I have a python script that runs on boot with the help of systemd. Everything worked fine till I installed a fresh raspian ...
0
votes
1answer
40 views

voltage issues with GPIO raspberry pi 2

Need some assistance here. I am trying to setup some high voltage SSRs to my Raspi for an eventual lightshowpi project. Trying to start small first. I have a bunch of LEDs I have been playing around ...
1
vote
0answers
75 views

Raspberry Pi 2B External HDD not detected

I'm trying to connect my external hard drive to my Raspberry Pi 2B, but I am not able to get it to show up. I am running the latest Raspbian, and I have updated my software. Running lsblk --fs, I only ...
0
votes
1answer
525 views

firmware bug bootloader left irq enabled bank 1 irq 9 and boot fails

I updated the packages on my Raspberry Pi 2 (running Ubuntu Mate 20.04) by using apt update and apt dist-upgrade. Everything went smoothly. Then I restarted, and got the following error during the ...
0
votes
1answer
276 views

QEMU 5.1, rpi2b, (Arch) and ssh. SSH fails

EDIT: I significantly updated this after applying @Nikita Kipriyanov's answer. As of version 5.1 or 5.01 QEMU now supports RPI2 & 3 and USB. As the network on the RPI is behind USB, I should now ...
0
votes
0answers
122 views

RPi 2B slower internet speed via ethernet connection

I have a RPi2 B and been noticing I am not getting the full internet speed via the ethernet connection. My setup: 1TB HDD via USB 16gb Sandisk MicroSD RPi2 B connected directly to modem Plex, RClone, ...
0
votes
2answers
38 views

Best way to detect a small portable device in the range of 5-6 meters [closed]

I have a couple of things automated in my room (fan, lights etc) using a server running on Rapsberry Pi 2 and relays. Now I would like to implement a system to automatically detect when I am in the ...
0
votes
0answers
25 views

Raspi 2 v1.1 freezes randomly

I set up my old Raspi2 v1.1 a few days ago, but its behaving strange. It freezes / hangs up after some time. Things I've tried so far: Swapped out my sdcard for a different one Copied the os to an ...
0
votes
0answers
50 views

Raspberry PI and 8 module relay board

I have a raspberry pi 2 and an 8 module relay board (http://nettop.gr/index.php/en/hlektronika/relay/8-channel-5v-relay-module-with-light-coupling-5v.html). Between the relay board and the raspberry I ...
0
votes
0answers
45 views

VPN working? or not? How do I know?

I have what appears to be a working VPN on my Pi2 with Raspbian which I can access from an Android mobile phone and a Nexus 7 using PureVPN What I cannot determine is whether it is actually working ...
0
votes
1answer
50 views

Why here capacitors of 0.1uf and 100uf are used?

What is the use of these two capacitors here. The circuit is working just fine without them also.
0
votes
0answers
19 views

Yocto linux on rpi 3b+, bootup issue. mmc1 is not getting hardware interrupt

I tried to bootup rpi 3b+ with yocto-linux(kernel v4.19)(console image) but its not booting up. I suspect its something related to i2c or interrupt. Note : I have taken care of device tree and overlay....
-1
votes
2answers
2k views

DHT 11 sensor not found, check wiring

I am using raspberry pi 4 model b and sensor DHT 11 for checking the humidity and temperature. When I am using the code DHT.py, the result is: 1604263139.922 4 3 0.0 0.0 1604263142.192 4 3 0.0 0.0 ...
0
votes
1answer
61 views

Using pi as router

What is the minimal config needed, to be able to specify some static route for network subset (eg 10.199.0.0/16), so that my raspberry redirects to internal PC? LAPTOP (pink) is connecting via VPN to ...
0
votes
0answers
21 views

Is there an Arch derivative for Raspberry Pi 2 that has desktop environment preinstalled?

I have a Raspberry Pi 2B, and want to install an Arch based distro on it. Is there a derivative of Arch that supports Pi 2B and also comes with desktop environment preinstalled? Arch Linux Arm ...
0
votes
1answer
175 views

Installing OpenCV fails for missing header files

I am trying to install opencv 3.0.0 on my raspberry pi 2b but I keep running into erros... currently, it complains about the following missing header files when I run the following cmake command: ...

1
2 3 4 5
32