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.

0
votes
1answer
21 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 ...
0
votes
0answers
20 views

Log in password [on hold]

So I accidentally logged out of the raspberry pi and I didn't change the default password though, so I decided to check this website, I saw answers and I used all the answers but it's not still ...
-1
votes
0answers
26 views

Cant access Raspberry pi by name after new nighthawk router

I have a couple of Raspberry PIs that I used to be able to access via a web browser or ssh using the hostname of the raspberry pi. I recently got a new Nighhawk R7000 router and I have it all setup ...
1
vote
1answer
36 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
16 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
36 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
13 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
26 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
63 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
22 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
26 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
20 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
44 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
29 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
15 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
56 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
55 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
38 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
24 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
41 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
28 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
25 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
28 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
46 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/...
1
vote
0answers
72 views

illegal instruction when importing opencv in python 3.5

illegal instruction when importing opencv into python compiled opencv3 for python 3 by using these commands $ cd ~/opencv-3.3.0/ $ mkdir build $ cd build $ cmake -D CMAKE_BUILD_TYPE=RELEASE \ -D ...
0
votes
2answers
166 views

raspi-config network option not working

I am trying to turn on the network option in raspi-config, but when I do, I get this error: could not communicate with wpa_supplicant Then I hit enter to continue and I get this message There was ...
0
votes
1answer
54 views

Why is bme/bmp280 temperature and humidity sensor returning 0 value?

I'm having problems with bme/bmp280 temperature and humidity sensor on my raspberry pi 2. It does not give me feed back information. i have my ARM i2c protocols on and i wired it correctly but it ...
1
vote
1answer
25 views

IncrediblePBX will not boot on newer versions of Raspberry Pi

I have been running IncrediblePBX on an older version of Raspberry PI. I have made an image and copied to new micro SD card, but cannot get it to boot on newer versions of Raspberry Pi. I have ...
0
votes
1answer
53 views

Watchdog configuration Raspberry pi 3

My plan is to configure the file /etc/watchdog.conf to detect if the process that I want is down and reboot the system to run again. For example, I work on a Raspberry Pi 3 in Debian 9. I would like ...
3
votes
2answers
103 views

How to install updates without internet on Raspberry? [duplicate]

I want to calibrate my LCD screen, but i have no internet connection to my Raspberry Pi 2B. The terminal commands I would use with internet on the Raspberry Pi is cp LCD-show/xinput-calibrator_0.7.5-...
0
votes
1answer
99 views

Serial Communication from Raspbian using Python to Arduino

In Terminal its working but not working using python code. My Code: import serial from time import sleep ser = serial.Serial ("/dev/ttyS0") while True: received_data = ser.read() ...
0
votes
0answers
20 views

How to read voltage data from arduino nano (slave) using i2c communication

python code: import smbus import time bus = smbus.SMBus(1) SLAVE_ADDRESS = 0x10 def requestreading(): # try: # # b1 = data[0] # b2 = data[1] # b3 = data[2] # ...
0
votes
1answer
101 views

Connecting 4 HX711 to one Raspberry Pi

I have four individual scales that are each connected to a HX711, those HX711s are each connected to the Raspberry Pi. I'm a beginner in python as well as this Rasberry Pi. how do i properly code this ...
0
votes
0answers
31 views

Daily Deviation Picture Frame on RPi

This guide, Raspberry Pi - Daily Deviations Picture Frame, seems to be not working anymore. I tried different methods and it seems that the code in getting images from Deviantart daily deviations ...
2
votes
1answer
97 views

Android Things Wear in Raspberry Pi Zero

Can I install Android Things Wear OS in Raspberry Pi Zero? if not, what will be the microprocessor I can use?
1
vote
2answers
58 views

how can i start my project when Pi is Turn On or Plugged In -Raspberry pi 3b+

need to run my python file when raspberry PI is turned on or plugged in. I'm using Raspberry Pi 3B+ sudo nano /etc/rc.local this is not Working # rc.local # # This script is executed at the ...
0
votes
1answer
71 views

Raspberry Pi 2 B “No wireless interfaces found” error

i set up raspian os with recommended apps version on sdcard via noobs. it works on rpi successfully but without wireless connection. in rpi configuration window, set wifi country button is disabled. ...
0
votes
1answer
44 views

Cannot find wlan0 wifi dongle

I have tried multiple tutorials on how to setup wifi on my Raspberry Pi 2 but none have worked. New to Linux, hoping someone can help. When I highlight my network connection in the toolbar I see ...
1
vote
1answer
95 views

UFW Enabled, but not starting upon Pi reboot

I am running servers on several Pi's for VPN, OpenTTD, etc. I have installed ufw on all of them to try and keep them a little more secure. The server running the VPN is causing some issues as ufw ...
0
votes
1answer
57 views

How to transmit hand gesture data from a laptop to Raspberry-pi

I am making a hand gesture bot. In this hand gestures are detected from a laptop using image processing (used OpenCV & Python). I don't know how to transmit real-time output wirelessly of image ...
0
votes
0answers
44 views

PI2 and Ubuntu Core 18 kind of stuck

I just conect my PI2 that I purchased a few years ago. I could not install any of the Raspbian or what was on the micro sd card. So, I downloaded and installed ubuntu-core-18-armhf+raspi2.img.xz. ...
2
votes
2answers
65 views

Why would there be voltage on a GPIO Pin configured as Input

I have a Model 3 Pi, with a SIM800 GSM card attached. The GSM card needs to be powered up by applying a High pulse to a pin pin on the card for 1.2 seconds. I attached one of the Pi Pins to this pin, ...
0
votes
3answers
80 views

unable to ssh into raspberry pi

My raspberry pi 2 is connected to my home Wi-Fi. While I'm able to ssh pi@<ip address> into raspberry pi at home, I'm unable to do so from my office in school. When I connect my raspberry pi 2 ...
0
votes
3answers
48 views

Full backup of server [duplicate]

I am building a web server od Raspberry Pi 3. The system and the data will be on microSD card and I am curious if there's any way to automaticaly backup the whole card with data? I mean - if anything ...
1
vote
0answers
31 views

Running Opengl application on pi 2b, frame issues. Pi issues, or optimization problems?

Here is my application that I have managed to get running on my pi. import pygame import random from pygame.locals import * from OpenGL.GL import * from OpenGL.GLU import * vertices = ( ( 1, -1,...
1
vote
0answers
74 views

Why is my raspberry pi crashing? Reading DHT11 - Logging to text file with python

So, I'm pretty new to this. Want to play around with temperature & humidity sensors. I have a pi with 4x DHT11 sensors, on wires of ranging lengths hosted in different situations. I've written a ...
3
votes
1answer
70 views

Pi 2: External HDD Randomly goes into Read Only File System Mode

I've a raspberry pi 2bplus and I've installed the latest Raspbian strectch on it. I've connected External HardDrive to the pi. I'm running into a really weird problem that doesn't make sense to me ...
1
vote
2answers
58 views

Adduser command missing

I use rkhunter on all of my RPis, since some are used as dedicated servers, to try and ensure no rootkits or other malware are installed on them. When I did the check as usual today, I got the ...
0
votes
0answers
12 views

Is overclock a good thing to set to full, my sources say there is a risk of card damage

I love making things work on the Pi, I have a lot of things that involve overclock on full, VLCplayer, minetest, and some other apps. But i have heard there is a risk to what I am doing, can someone ...
0
votes
1answer
91 views

Illegal instruction when trying to update package on Raspbian-Lite

On Raspbian Lite I'm trying to run apt-get upgrade but running into following issue: Setting up libssl1.0.2:armhf (1.0.2r-1~deb9u1) ... dpkg: error processing package libssl1.0.2:armhf (--configure): ...