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
2
votes
2answers
104 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
15 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
16 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
54 views

How can i clear my raspberry device

Am not able to get enough space that is am only getting just 1.3GB free even after deleting all the contents which a having a total to 8GB
1
vote
1answer
23 views

Recover MineCraft pi world after Accidental system shutdown

While playing the MineCraft pi in my RPI 2B, Accidentally the system went off, and when i logon again Im only able to see the "create world" button. I cant find my last saved world. Is there any way ...
0
votes
0answers
24 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
41 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
14 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
26 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
47 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
42 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
16 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
30 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
78 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
29 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
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
45 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
31 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
94 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
115 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
46 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
25 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
47 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
32 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
36 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
56 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/...
0
votes
0answers
109 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
289 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
72 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
28 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
74 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
117 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
119 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
158 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
33 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
123 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
59 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
104 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
47 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
136 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
49 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
71 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
85 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 ...