Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. 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
24 views

cannot update after adding new source

I am running a raspberry Pi 2B (with GUI disabled) and I added deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi to my sources.list. After this, I ran sudo apt-get update ...
0
votes
1answer
22 views

Remotely Connect to Pi through VNC Outside of LAN Network

I want to be able to remotely access the desktop of my Raspberry Pi 2, running Rasbian Full, from outside of my LAN network. I've been able to easily connect on my network, but I want to be able to ...
0
votes
2answers
57 views
+50

Pi-Hole: How to change DNS via command

I use Pi-Hole on my Raspberry Pi 2. It's very easy to change the Pi-Hole DNS using the Web Interface Settings. But how can I change my Pi-Hole DNS via command in my raspberry pi console? (Raspbian) ...
1
vote
1answer
32 views

Sites unavailable ('Network unreachable') but pings work fine [closed]

I have a Raspberry Pi 2 Model B running Raspbian Buster (upgraded from Stretch). I don't use it very often, but recently I noticed that I can't do apt update because all the repos are unreachable (...
0
votes
0answers
34 views

Can't Install Raspbian Because SD Card Shrunk

I have an 8 GB Kingston SD card that I'm using. I formatted the card with the formatter from sdcard.org and it kept its file size after format. I downloaded the NOOBS 3.2.1 file from RaspberryPi's ...
0
votes
2answers
30 views

How to run a raspberry pi program without connected to a desktop screen

I want to be able to run a raspberry pi program without being connected to a desktop screen so the whole idea is to make an object tracking robot using raspberry pi and a camera. This should be able ...
0
votes
0answers
32 views

Running a mongodb server on Raspberry pi 4 [duplicate]

I am trying to run a MongoDB server with a node.js server and express on a Raspberry Pi 4. I have installed the MongoDB server using sudo apt-get install mongodb. When I try to start the node server I ...
0
votes
1answer
25 views

Possible to stream live-video with (almost) zero-lag using RPi 2B accessible via browser?

I'm an apprentice for becoming an IT specialist. My colleagues and me are trying to set up a Raspberry Pi in order to stream live video in 720p with (near to) zero-lag which has to be accessible via ...
0
votes
1answer
29 views

DHCP configuration in systemd

Currently, I have configured access point using hostapd and using systemd for configure the network ap0 (access point device). the access point configured automatically to use DHCP server. my ...
3
votes
3answers
177 views

PiHole not resolving local DNS entries

I have a piHole set up on my network with address 192.168.2.10 My router is 192.168.2.1 and the DNS settings on the router point to 192.168.2.10 meaning all traffic that goes via the router (which is ...
0
votes
0answers
15 views

Can PiVPN ping the client first to establish VPN connection?

I am trying to setup a PiVPN on my home network. I installed it on my Raspberry Pi 2B and the server seems to be working fine on the Pi. But if I try to login from my phone, I get the 'Server Poll ...
1
vote
1answer
21 views

Does a hat designed for RPi 2 B still work on Rpi4 (GPIO compatbility)?

I'm now continuing the design of a PCB (Pi Hat) that I started with a RPi 2 Model B. Will a RPi4 accept this hat? TL;DR: Does a RPi4 accept a Pi Hat designed for RPi 2 B? Or is there a break in ...
1
vote
1answer
41 views

Routing traffic with 2 VPN Gateways on RaspberryPi

I'm using Raspberry Pi to run OpenVPN client. I have 2 client connectios set up, using interfaces tun0 tun1 The raspberry pi uses interface eth0 to connect to the internet. Then I have USB ...
0
votes
0answers
33 views

Raspbi spi CS line won't drive low

Raspberry pi 2 Model B V1.1 Not sure what's happening here, everything should work. Tried different cables, different pins on the analyzer, different laptop... the CE0 line won't go low. Currently ...
0
votes
0answers
23 views

Resistor breakdown - Raspberry pi 2 Model B Version 1.1

on my raspberry pi 2 model b v 1.1 there is a shorted resistor with a name tag R37. I cannot find a circuit diagram for this particular version of raspberry, so I do not know which SM resistor to buy. ...
2
votes
3answers
59 views

SSH Connection refused, even though the openssh-server daemon is running

I did a fresh installation of Ubuntu Mate on my Raspberry Pi 2. Installed openssh-server (in fact it was already installed), and changed the port to be 10022. However, I cannot access the Pi, from ...
0
votes
2answers
30 views

Connections to my Raspberry PI SSH hang after a while

I have a Raspberry Pi 2 B connected on the network with a static IP. After a fresh reboot, I can connect to it smoothly and it just works: ssh -A <ip> -p <port>. But after, let's say one ...
1
vote
2answers
272 views

Is the 3.5mm audio jack tied to a GPIO pin?

I have a Raspberry Pi 2 B+ and I would like to confirm that the 3.5mm jack isn't tied to a GPIO pin. I could not find any information on this and thought this may be the case but I wanted to double ...
0
votes
0answers
22 views

Rasberry Pi 2b won't produce hdmi output, both LED's on

I have a rasberry pi 2b running raspian. It was previously working, however whenever I try to turn it on both LEDs come on prmenantly but nothing is outputted on HDMI. My TV does change from saying ...
2
votes
2answers
124 views

What are the differences in architecture of Model 2 and Model 3B+? (SD card not working in model 3B+)

I have two raspberries (model 2 and model 3B+) and two sd cards. I wanted to swap the cards. The card from model 2 is not recognised in model 3B+. There is no green LED which indicates that the ...
0
votes
1answer
32 views

Pigpio on callback get value

I currently have some code that I found that constantly outputs a value from a digital caliper. However, I want to modify this so that it is inside a function that can return that is returned from ...
1
vote
0answers
59 views

Video lags in VLC (Raspbian Buster) in Raspberry Pi 2

I installed a fresh image of Raspbian Buster in my Raspberry Pi 2. When I run the Big Buck Bunny video in VLC (both in full screen and window mode), the video lags.As far as I can remember, this did ...
1
vote
3answers
68 views

How can I clear space on my Raspberry Pi?

I am not able to get enough space on my Pi — I am only getting 1.3GB free even after deleting all the contents which have a total of 8GB. How can I make more space on my Pi?
1
vote
1answer
41 views

Recover Minecraft Pi world after Accidental system shutdown

While playing the Minecraft Pi on my Raspberry Pi 2B, accidentally the system went off, and when I log on again I'm only able to see the "create world" button. I can't find my last saved world. Is ...
0
votes
0answers
54 views

Pi B 2 Segmentation fault result from airmon-ng - Why?

This is my first post here and I'm a major noob to this RPi stuff. I'm experimenting with aircrack-ng on my own network to test it's weaknesses and want to use my Pi to do it. I installed a fresh and ...
1
vote
0answers
33 views

Take data from raspberry [closed]

I want to sample in the raspberry pi, since I am reading the analog values, the detail is that I need a time function which allows me to have the time in a vector of what I am sampling. there are a ...
0
votes
1answer
172 views

Troubleshooting Ethernet: Network is unreachable

I have a Raspberry Pi 2 Model B V1.1 running Raspbian (I'm not a confident Linux user, but I understand this is the "Jessie" distribution) and have been using it to install matplotlib and other MATLAB-...
1
vote
0answers
17 views

LED Strip on Raspberry Pi Check if its On - Neopixel

How can I check if the one pixel is on or not? Is there any function for that. I've googled but couldn't find anything helpful. import board import neopixel pixels = neopixel.NeoPixel(board.D18, 17) ...
0
votes
1answer
55 views

Detect multiple button presses on circuit

I am totally new to using the Raspberry Pi. Right now I am trying to determine if a Pi could be used to solve my problem or not. I am trying to detect multiple buttons pressed. With this I also want ...
1
vote
1answer
75 views

Speed up SPI transfer

So I need to transfer a byte on the spi interface on raspberry pi. Here's my code in python import spidev import time import binimp fhandle=open("white.txt") initial=binimp.extract(fhandle,'192','...
0
votes
0answers
17 views

Which screen size in Pygame for an 3.5 inch LCD?

i try to fill out my whole LCD screen in Pygame with the best sharp resolution possible. So there is a difference between computer screen and the LCD. My LCD has resolution is 480×320. So choosing ...
-1
votes
2answers
144 views

Reading analog sensor value of 0-10Vdc with 12/16bit resolution

Dear all, I am using below model for reading analog value. I wanted to measure 0-10VDc &0-30Vdc .i wanted use it application where accuracy important. if i wanted to 12/16bit resolution of value ...
1
vote
1answer
28 views

ALPR on Raspberry Pi [closed]

I'm looking to do a quickie - that is, a simple project for ALPR on the Raspberry Pi. I would prefer to have the ALPR engine on the Raspberry Pi so that I don't have to send images over to the cloud. ...
0
votes
1answer
43 views

L298N H-Bridge motor control code issue

I am learning how to build a basic robot using a raspberry pi and an L298N h-bridge. I have followed this tutorial successfully i:e the single DC motor I have connected does work in response to the ...
0
votes
1answer
165 views

Using GPIO between two radio programs

So I have two programs that are meant to talk to radio's via GPIO pins but need them to talk to each other via GPIO Eg.. Program 1 PTT = 12 COS = 16 Program 2 PTT = 16 COS = 12 So basicly when ...
1
vote
0answers
97 views

JSch / Java SDK 1.8 - getting Auth Fail from working key file

I'm having an issue with JSch using the ARM variant of Java 8. Using SSH works fine with the key: pi@raspberrypi:~ $ ssh -i .ssh/Pi2Desktop2 -p 22 astump@192.168.1.2 Welcome to Ubuntu 18.04.2 LTS (...
1
vote
0answers
28 views

efficiency of python sleep function to set a raspi pin HIGH and pause the script

I am continuously measuring some parameters using Raspberry Pi. I am using Python. When the measured value is higher than a particular value, I want to set a GPIO pin high (for some LED indicator) and ...
1
vote
1answer
23 views

how to implement a video stream unto a webpage using a Raspberry Pi and being able to see the terminal without connecting HDMI cables

i am quite conversant with Raspberry Pi and python language which i love very much that i was looking at videos on Youtube about Raspberry pi and i came cross this video which got me really intrigued ...
1
vote
0answers
49 views

How to connect to the pi with xrdp installed using Microsoft Remote Desktop on another network

Hello I have a raspberry pi 2b with xrdp installed. At home I can connect to it in rdp and ssh without any problems. The pi has the ssh and rdp ports forwarded. From another network, I can connect to ...
1
vote
1answer
32 views

How to stream music from pi to computer through browser interface?

I have a Raspi with connected USB drive that contains my mp3 collection. It is currently set up as a NAS using Samba. Is there a package that allows me to stream the music from the RasPi to my ...
0
votes
0answers
19 views

PI3 b+ - NOOBS 2.7/2.8/3.0

I have a problem with my new Raspberry. I have 3 devices to play a video from a website 24/7. One of them freezes many times after hours. Temperature is about 50°C, I use Chromium v65, use VNC, no ...
0
votes
0answers
274 views

Prevent Raspberry Pi From Sleeping

want to prevent Raspberry Pi from going to sleep I tried below mentioned Solution but my pi is going to sleep every 10 min. I am using Raspbian OS with Raspberry Pi 2 1.I installed xscreensaver and ...
0
votes
0answers
309 views

ffmpeg for h264 encoding on raspberry pi2

I'm working on my Rasperry pi 2B, with Raspbian 2019-04 and I have compiled ffmpeg as described here: https://www.reddit.com/r/raspberry_pi/comments/5677qw/...
0
votes
1answer
130 views

ADC with Raspberry pi to record sound

I am trying to record sound through sound sensor module and I found that raspberry pi does not have analog input system. I bought an ADC chip (MCP3008) to convert analog to digital signal so that ...
1
vote
0answers
28 views

can low power be the cause of low WiFi speed?

I'm using a raspberry pi 2 model b running Ubuntu core, and a TP-Link TL-WN821Nv3 USB WiFi adapter, which has a maximum speed of 300mbps/37.5mBps, and a Samsung charger which supplies 2A (lower than ...
1
vote
2answers
60 views

Connecting RPi to a motion sensor

I'm new to working with RPi GPIOs, and I never studied electronics so bear with me on this newbie question. I have an RPi 2 Model B, and I'm tasked with detecting a motion detector alarm going off. ...
0
votes
0answers
52 views

No login prompt on HDMI console

I have a minimalistic buildroot build on RPi2 and I was using the serial on PuTTY (UART pins connected via USB) to log in as root. However, I don't see an login prompt on my monitor when I connect ...
1
vote
2answers
30 views

Two WiFi adapters; one ad-hoc, the other normal DHCP

I've trawled the forums but not found an up to date answer to this. My apologies if I have missed it. Basic Setup I have a rPi 2B+ with two wifi adapters connected. wlan0 & wlan1 both show in ...
1
vote
2answers
187 views

Raspberry PI black screens on reboot after updating

Good Day All, I recently experienced an issue with my Raspberry-Pi 2B that caused it to boot into a black screen after using the following commands: sudo apt-get update && sudo apt-get ...
0
votes
0answers
89 views

MQ135 Sensor - Output ppm

So I am making a Mq135 sensor and the wiring can be found on: circuit.io/app?components=9443,200000,398790 It isn't shown but the AO is connected to channel0 via the breadboard the code is : #!/usr/...