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
3
votes
2answers
424 views

Issue with multi-user NAS setup

I want to build a NAS server with multiple users. To test this I created 2 users, pi and pi2. The external drive is mounted in /media/pi. Here is the ls -al output: drwxrwx--x 4 pi nasusers 4096 ...
0
votes
0answers
62 views

My Rasberry Pi do not let me install software because I don't have permission to write

When I want to install a package or do an apt-get update, the system returns an error like (read-only file system) can you help me please. I have Raspbian Stretch Lite. I did not download other ...
1
vote
0answers
604 views

How to Read LDR Input with Raspberry Pi's GPIO Pins in C? [closed]

Using an LDR and the below circuit diagram, I am trying to read the amount of light that the LDR is receiving. My primary goal is to detect a change when an object passes over the LDR to trigger an ...
0
votes
0answers
207 views

Can't connect to Nginx webserver on LAN

I cant connect to my Nginx web server when on my LAN, I have tried using both the internal and external IP's to do this I keep getting told connection refused. By this I mean that if I try to connect ...
0
votes
1answer
24 views

Connecting a Compaq CQ56 screen to a raspberry Pi

I've got this laptop in pieces, a Compaq CQ56. I want to take the screen and connect it to a raspberry Pi to make a interactive mirror like so many tutorials show. On the back of the screen it has ...
0
votes
0answers
363 views

bridge wlan0 to wlan1 to act as repeater

I know, this has been asked many times, but I can't find any satisfying answer given. This is the idea, the circles around the devices are the wifi range: I have a raspberry pi 2 model B with 2 ...
1
vote
1answer
2k views

Windows 10 IoT for Raspberry Pi on Hyper-V - black screen

I want to run Windows 10 IoT Core for Raspberry Pi on virtual machine to check how it works before I will buy my first Raspberry Pi. To start I used this tutorial: https://github.com/agaboduarte/...
3
votes
3answers
748 views

How to make Raspberry shutdown when internet/lan disconnected

I've already seen this link How to make Raspberry shutdown when I unplug the ethernet cable, but this solution does not work on Raspbian stretch since its network interface file/folder structure is ...
0
votes
0answers
43 views

script not working when on reboot, but when I power off/on it's working fine

I wrote a script which is scheduled for a cron job at reboot. This script changes the wlan1 from Managed to Monitor mode. but when I reboot the pi, this script doesn't work and writes the error ...
0
votes
0answers
86 views

Using Ethereum puppeth in raspberry pi

I have installed geth(go ethereum) client on a Raspberry Pi 2 using the below steps. wget https://gethstore.blob.core.windows.net/builds/geth-linux-arm7-1.8.2-b8b9f7f4.tar.gz tar -xvf geth-linux-...
3
votes
1answer
640 views

Does Turning The GPIO Pins On/Off Without Any Circuits Connected Harm the Raspberry Pi?

So, i'm just getting into raspberry pi and I am yet to have my order of circuit parts such as LEDs and resistors arrive. My question is that if I turn the GPIO pins on without any circuits attached ...
0
votes
0answers
147 views

is there any way to fix this issue?

pi@raspberrypi:~ $ raspistill -o image.jpg mmal: mmal_vc_component_enable: failed to enable component: ENOSPC mmal: camera component couldn't be enabled mmal: main: Failed to create camera component ...
-2
votes
1answer
50 views

how to setup micro phone to raspberry pi [closed]

i want to setup a microphone to raspberry pi and record a audio signal for 5 sec when baby starts cry. how the setup should be done? the microphone should record when baby starts crying.
0
votes
0answers
48 views

Power supply or pi card?

I have a pi sd card with raspbian on it. The version of the Raspberry Pi I am using is the Pi B 2 When I tried to boot it up with a normal power supply (micro-usb) it started to boot fine, but it got ...
0
votes
1answer
54 views

Raspberry Pi boot and work perfectly as server with Rainbow screen

I searched for an hour and every problem about the rainbow screen is related to a boot problem. Not for me, I have no boot problem! In my case, my raspberry pi 2 is working perfectly as a server, ...
2
votes
2answers
6k views

RabbitMQ Server Installation

I would like easy installation instructions for RabbitMQ Server on my Pi. I tried a lot of things from various sources and they just don't work. One source even said RabbitMQ Server is pre-installed ...
0
votes
1answer
2k views

Green image with rpi picamera

The following code generates a green image in raspberry pi with picamera. import picamera with picamera.PiCamera() as camera: camera.resolution = (1280,960) camera.exposure_mode = '...
0
votes
1answer
725 views

RPi as VPN Gateway

I have been trying to setup a Raspberry Pi as a "Gateway" to my VPN server, even though I am not a sysadmin, I am usually fine with setting up software such as NGiNX however this has taken a lot of ...
1
vote
0answers
2k views

Raspberry Pi SMBv2

I'm trying to setup an SMB folder share from a Raspberry Pi 2 Model B that I can access from Windows 10. When trying to connect from Windows, I'm getting the below. Obviously I could just enable SMB1 ...
4
votes
4answers
17k views

Accessing the system log on Raspbian

How do I access the system logs in current versions of Raspbian? Where are these logs stored?
0
votes
1answer
466 views

create exact number of pulses in raspberry pi with DMA library to control industrial Delta Servo Motor angel and rotation [closed]

i want to control exactly how mush my servo rotate through DMA like pigpio with raspberry pi so i need to create exact number of pulses for servo . is there anyway to create exact number of pulses ...
0
votes
1answer
92 views

Software for compressing files in Raspbian [closed]

I am trying to compress a folder of many files into a tar.xz format. Does anyone know of some good software that does this job in Raspbian on a Raspberry Pi 2 B?
0
votes
2answers
286 views

Connecting a USB to mSATA

I have recently purchased the Raspberry Pi Desktop kit which has an mSATA interface... However, as SSD's are quite expensive these days and it only operates with USB 2.0 speeds, it occured to me I'd ...
1
vote
2answers
239 views

Is pinMode necessary in wiringPi programming?

Why we need to mention the pin is for input or output via pinMode. Can I simply use digitalRead or digitalWrite without setup the pinMode in before? In other words, if I set a pin as the output, can I ...
0
votes
1answer
479 views

LIRC won't recognise IR commands

I want to control my RaspberryPi B+ 1.2 using a remote control. I did the steps according to several tutorials but I can't get mode2 -d /dev/lirc0 to output any pulses. /boot/config.txt [pi1] kernel=...
0
votes
1answer
74 views

Turn on display after reboot

I have a monitor connect to a Raspberry Pi via HDMI. When I turn on the Raspberry Pi with the monitor off, and then turn the monitor on, I don't get any output. The HDMI only comes on if the monitor ...
1
vote
0answers
404 views

Install rtl8192cu WLAN driver on android

I have a RPi2 and have installed Lineage OS 14.1 (Android 7.1.2) However my wifi adapter(0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter) which worked on Raspbian, doesn't seem ...
1
vote
1answer
717 views

Cannot connect to Pi VNC server configured with proxy

VNC Viewer cannot connect to a Pi 2 configured with a proxy address. I've modified /etc/environment to add my college's proxy so that I can access the Internet after connecting to my college's ...
0
votes
1answer
70 views

What is the meaning of this errors?

I downloaded the driver for LCD touch display (KeDei 3.5 inch SPI TFTLCD version 3.0 20015/12/1) from http://kedei.net/raspberry/v6_1/LCD_show_v6_1_3.tar.gz. Afterward I unpacked it tar -xzvf ...
1
vote
2answers
118 views

Turning motor on and off from webserver

I have Apache server running on my pi. I send a httprequest from my Java app to the server to turn the motor on and off by executing a pyhton script. PHP code on the server: <?php if(isset($_POST[...
0
votes
1answer
25 views

2.4G keyboard with rasbain on v pi 2 model b

I have a raspberry pi model b. I installed rasbain form here. it was the minimal option. when it booted everything was ok. I plugged in my normal USB cord keyboard and it did not see it. Also my 2.4G ...
0
votes
1answer
333 views

How can I configures my raspbian to show console in it's display?

I have a touch display (KeDei 3.5 inch SPI TFTLCD version 3.0 20015/12/1) and a raspberry pi 2 model B v 1.1. I downloaded the last Raspbian Stretch Lite image (https://www.raspberrypi.org/...
0
votes
1answer
326 views

Unable to connect wifi in Raspberry Pi 3 and os design for navio

The link below shows the images of the output error, i`ve been working this for hours I follow instructions from here but still doesnt work . Hoping that someone would help me figure out the problem , ...
3
votes
1answer
216 views

Is it dead? - Raspberry Pi 2 B

I was connecting the UART connections onto my Pi to try crack a Cisco Merkai. Unfortunately, the ground connection hit a 5 V GPIO (hit GPIO2 or 4). My Raspberry Pi 2 boots however it does not do ...
0
votes
1answer
178 views

Detecting Button Press and Lighting LED [closed]

Using the pigpio library, I wanted to detect when a button is pressed and turn on/off an LED. I am trying to use the gpioSetAlertFunc function to trigger the LED when the button is detected as pressed....
-2
votes
1answer
318 views

Can I connect more than one breakout board to the Raspberry pi? [closed]

I want to use Magstripe Reader, Fingerprint sensor and the NFC reader all together, Is it possible and if so it would be nice if you can reffer me where I can read how to do it, Thank you.
5
votes
2answers
3k views

Not able to detect camera on Raspberry Pi 3

I have installed the "RASPBIAN STRETCH WITH DESKTOP" from https://www.raspberrypi.org/downloads/raspbian/ I have plugged in my camera module correctly (blue stripe facing towards the Ethernet port) ...
3
votes
3answers
2k views

How to generate accurate PWM signals

I've ran into a bit of an issue with the Raspberry Pi's ability to generate accurate PWM signals for servos. My problem with this is that the servos jitter because of this lack of accuracy. Is there ...
0
votes
1answer
532 views

Raspberry 2B multiple static wifi connections

I have a problem cofiguring Raspberry's 2B wifi connection. I have a usb wifi adapter that is detected by raspberry. What I want to achive is to connect to wifi immediately after boot. I need only to ...
1
vote
1answer
2k views

Headless pi SSH not working [closed]

So I tried setting up my headless pi with Raspbian like I usually do: Flash Raspbian to µSD (using Etcher) add zeroconf address to cmdline.txt (ip=169.254.10.1) add empty file 'ssh' to boot partition ...
1
vote
1answer
737 views

How to read two rotary encoder data using pigpio c++ library in raspberry pi?

#include <iostream> #include <pigpio.h> #include "rotary_encoder.hpp" void callback(int way) { static int pos = 0; pos += way; std::cout << "pos=" << pos << ...
4
votes
1answer
395 views

SMS API via Raspberry PI

I want to calculate the temperature and humidity via sense hat integrated with Raspberry Pi 3. Is there any free API for SMS available currently?
-1
votes
1answer
261 views

How can I move my normal c++ main() function code to qt main function?

I have created small normal c++ code to test in raspberry pi which is working perfectly fine on the terminal.Now I want to write it down in qt, the problem here I am facing is I can able to move my ...
1
vote
1answer
2k views

How can I install php5-pgsql on a Raspberry Pi 2?

I tried these commands to install php5-pgsql but I got an error: pi@raspberrypi:~ $ sudo apt-get install php5-pgsql php-pear Reading package lists... Done Building dependency tree Reading state ...
1
vote
0answers
1k views

Very slow serial port reading

I have the following code, used on an RPi2: import serial import time # Set up serial port ser = serial.Serial( port='/dev/ttyAMA0', baudrate=921600, parity=serial.PARITY_NONE, ...
-1
votes
1answer
146 views

Why does my Python scripts fail to run at boot? [duplicate]

I have a number of sensors connected to my pi 3 and i put the python scripts (7 of them) that starts the sensors at boot in the /etc/profile/ folder.. Of the 7 scripts, i noticed that only the scripts ...
1
vote
2answers
2k views

Setting up RaspAP

I have just downloaded RaspAP onto my Pi 2 Model B. Upon rebooting, I am now able to see the "raspi-webgui" network on my mobile phone. However, when I enter the default password ChangeMe, it does not ...
0
votes
1answer
503 views

Rotary encoder is giving less PPR reading

I am testing 400 PPR(Pulses Per Revolution) rotary encoder using code.I am rotating it by using the hand. I have connected Phase A and Phase B and also, ground and Vcc properly. The code is giving ...
1
vote
1answer
62 views

Using Pi Model B as an access point [closed]

I want to connect my Model B to my university network, which I can do using the ethernet connection; this should be simple to do. What I am unsure of is how I can then use the Pi to act as an access ...
0
votes
3answers
42 views

Raspberry Pi or Similar to Go [closed]

This question might be too broad, but I need a starting Point. I'm trying to find a little computer that can run with a battery for at least 24h, just using the cpu + wifi. Is raspberry suited for ...