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
1answer
359 views

Use matplotlib on Raspbberrypi

Using The following Code for saving plot locally on raspberry: from numpy import genfromtxt import matplotlib.pyplot as plt import plotly.io as pio y = range(10) x = range(10) plt.title("Adc data") ...
0
votes
1answer
182 views

How to modularize module in make menuconfig

In the make menuconfig interface, I would like to modularize a module. I can set the module with a star (*). It's meaning the module will be compiled in core. I'm not able to set it with a M . I'm ...
1
vote
0answers
337 views

How to configure duplicate screen on a Pi?

I have a Raspberry Pi 2 connected with a TouchScreen. I also connect another external display via HDMI. Goal I've been trying to make my external display show as duplicate mirror the one on the ...
-1
votes
1answer
1k views

How can I determine which model Raspberry Pi I am running? [duplicate]

I have several RPi's on my network. How do I figure out what model any given RPi is?
1
vote
1answer
680 views

how to use xrandr tool for dual screen

I'm working on Raspberry 2B with Raspbian Strech. I plugged a USB / DVI adaptator which is listed in the lsub command : pi@raspberrypi:~ $ lsusb .../... Bus 001 Device 006: ID 17e9:4301 ...
0
votes
1answer
42 views

Automation Project Relay Connection [closed]

How many Relays we can connect with one Respberry Pi? and can we connect two respberry devices with each other for home automation?
0
votes
0answers
135 views

adding a static route or iptables to block phone home Chromecast Google DNS 8.8.8.8 and 8.8.8.4.4

In my Pi 2 b, I've created a route and tried some masquerading via iptables, and I'm using pi-hole. The Arris cable modem does not have a feature to add any static routes nor CLI for iptables. This ...
0
votes
1answer
35 views

Raspberry pi ds1307 integration

I would like to integrate ds1307 clock module as a part of my 'garden automation project' to raspberry pi. The concept of the project is the servo will rotate in a specific time. So should I ...
1
vote
1answer
99 views

How to enable the mouse cursor when only usb mouse plugged in?

I have configured kiosk in raspberry pi with touch screen. And When I am using the USB mouse then cursor is not showing. I have followed https://medium.com/stories-from-upstatement/how-to-build-...
1
vote
2answers
515 views

How to connect to the internet using an Ethernet cable

I have an Ethernet cable which I use to connect to the internet on a desktop Windows machine. These are the IP settings I gave the Windows machine: IP adr. 172.18.14.19 subnet mask 255.255....
0
votes
1answer
43 views

Raspberry Pi 2 power consumption incorrectly

Before, i'd a problem about changing governor for my Pi (cpu always stays at 600Mhz in every mode), after doing some tweaking, i'd already make it up to 900Mhz. However, now i'm using a power-meter to ...
1
vote
1answer
41 views

Access NextCloud-Files within Host (Raspberry Pi)

When running a NextCloud server on a Raspberry Pi 2 with Raspbian, how do I access the the synchronised files on that Raspberry Pi without using the browser? The data folder of NextCloud returns that ...
0
votes
0answers
67 views

trying to rotate 28BYJ48 and 2 NEMA17 stepper motors simultaneously but the rpi reboots each time

I am trying to control a 28BYJ48 stepper(Driver ULN2003AN) and 2 stepper motors NEMA17(A4998). I wrote the code using python using PIGPIO but the rpi turns off every time I try to run the code. I ...
0
votes
0answers
91 views

“Performance” gorvernor doesn't change cpu frequency

When i tried to change the default governor of my Raspberry Pi 2 (currently at Powersave mode) to Performance mode which is expected to push my Pi's CPU freq up to its maximum number (900Mhz) by using ...
0
votes
0answers
122 views

Building PyQt5 on one raspberry pi 2 succeeds, but fails on another

I am building a solution for which I need a reproducible process for installing everything necessary. When its time to build and install PyQt5 I am succeeding on one device, but failing on another. ...
0
votes
0answers
613 views

Can't build DKMS kernel module

I'm on Raspian Stretch and an RPi2. I'm trying to install xtables-addons-dkms. This was the output of apt-get on my first attempt: Setting up xtables-addons-dkms (2.12-0.1) ... Loading new xtables-...
0
votes
1answer
415 views

Transfer files from computer to raspberry pi using python script (Wifi connection - SSH setup)

I want to transfer text files or a complete folder containing text files from my computer to raspberry pi using a python script. I am accessing my raspberry from the same computer (Using Putty) from ...
0
votes
0answers
521 views

Changing bluetooth class to act as a hands free device and car audio

Good morning folks, I have been using this tool to quickly configure my Pi2 as a bluetooth audio link to my camper van, it works brilliantly. My question is regarding changing the class of the ...
0
votes
0answers
60 views

Hosting a webserver with ngrok

I recently got a Raspberry Pi and want to host a small API to use with a Slack app. My question is if it is OK to host it on my RPi and expose with ngrok only. Is that something that people do? ...
0
votes
0answers
37 views

How to recover from a kernel panic like this?

Getting stuck while boot process, I don't remember installing anything on Kali linux raspberry pi
0
votes
1answer
133 views

Troubleshooting PiVPN connectivity outside of LAN

I've set up pihole w/ cloudflared + pivpn on a raspberry pi 2b+ Everything seems to be working properly when connected to my internal WIFI (cable modem / router combo) on an Android client using the ...
2
votes
2answers
83 views

How can I implement event detection?

I want to implement a function that does not abort my program but wait until I press the button on channel 11. And start the program again. #!/usr/bin/env python import RPi.GPIO as GPIO import time ...
0
votes
0answers
230 views

Microphone Error: arecord: main:722: audio open error: No such file or directory

I am a 100% beginner when it comes to raspberry pi and this is my first project. I am trying to configure a microphone and speaker for an alexa module being integrated into my magic mirror project (...
0
votes
0answers
644 views

How can I recieve data from uhf rfid reader's usb port to my raspberrypi controller

I am new to raspberry pi, currently we want to develop gate control with open/close boom-barrier so we are using an UHF RFID reader and a raspberry pi. I bought a RFID reader that has a USB connector ...
0
votes
0answers
14 views

Mercurial File hgwebdir.cgi is missing

I have installed mercurial with sudo apt-get install mercurial However if I try to do sudo -u www-data cp hgwebdir.cgi /var/hg I get the following error message cp: cannot stat 'hgwebdir.cgi' ...
0
votes
1answer
109 views

Serial read from arduino not working properly

I am trying to read analog read from ardunio connected to my raspberry pi. Following are my raspberry pi and arduino codes. Raspbery pi: import time import serial ser = serial.Serial('/dev/ttyACM0'...
0
votes
0answers
77 views

How To Change FPS on Waveshare35a ILI9486

I have the Waveshare 3.5 inch LCD with retropie on my raspberry pi 2b. It works, but it has lots of screen tearing and about ~5 FPS in non demanding games. Any help would be appreciated!
0
votes
1answer
67 views

Raspberry pi + L298 H bridge motor speed reduced when battery circuit shows 50%

I made a raspberry pi car. The pi is powered by two 18650 (Breewell New Multipurpose Flat Top 18650 Battery 2000 mAh 3.7 Volt Lithium Genuine Rechargeable Battery -Pack of 2 https://www.amazon.in/dp/...
0
votes
0answers
81 views

Stepper motor control using wavechain

I am having a bit of trouble using the PIGPIO wavechain function. I am using wavechain to accelerate and decelerate the stepper motor(NEMA 17 ,A4988 driver).Is it possible to avoid executing the ...
0
votes
0answers
38 views

confusing and oddly specific dns issue

I primarily use the raspberry pi in two locations, at my school and at home, where i connect to the internet using LAN. The school's network seems to enforce the use of a specific dns server, which i ...
0
votes
2answers
98 views

Why is my RTC DS3231 but seems DS1307?

I bought a RTC DS3231 because of the accuraty of time (2ppm, I was searching an accurate RTC). When I received it, I checked that in the encapsulating it is as well marked like DS3231. But, after ...
1
vote
1answer
191 views

Pi 2 won't boot without touchscreen connected

Timeline of events: Installed a stable version of Raspbian, all systems work no real testing with the GPIO but HDMI and SSH work. Tested various GPIO pins for running fans and several pieces of ...
0
votes
0answers
330 views

Password Manager for Raspberry (online AND offline access)

I'm searching for a good password manager. And yes, i know, google is full with tutorials for that kind of stuff. But all password managers i found, are only online usable. I need a solution where i ...
0
votes
0answers
43 views

What will be the output when “ifconfig” command is entered after running the 6lbr, installed on RPi?

im having some issues with accessing the 6lbr web server page. I just need to know what is the output you get once you checked your interfaces by entering "ifconfig". In mine, I just get only the ...
0
votes
2answers
487 views

Routing issue - use vpn gateway router

Dear Raspberry community, I am using a raspberry with newest stretch version and facing a routing issue. My network: LAN: 192.168.178.0/24 Subnet mask 255.255.255.0 Default eth0 Gateway 192.168.178....
2
votes
1answer
110 views

Attribute and Type Error using Button class in Tkinter/GPIO Zero combination

I'm new to programming and I'm trying to write a simple program to change the blink rate of an LED using a GUI. When I try to run this on my RaspberryPi 2B running Raspbian, I get the following ...
0
votes
1answer
73 views

Raspberry Pi + NRF24L01 timeout after a period of time

I am using a Raspberry Pi 2 with a NRF24L01 module... to communicate with several Arduinos. It is working very well ... until some point... after days or weeks. Then I get only timeouts. Not even a ...
0
votes
3answers
718 views

Difficulties Miracast iPhone -> Raspberry Pi -> HDMI -> TV

What I want to do? Cast using the miracast icon from my iPhone to RPI which is connected with HDMI to TV. OR Mirror Screen to do the same thing. Problems I have encountered: RaspberryCast 3.0 (...
0
votes
0answers
55 views

Raspberry Pi 3.5 Inch Display Works on Pi 2 B but not 3 B+

The exact screen is this one. http://www.neosecsolutions.com//products.php?28 On a Raspberry Pi 2 B it boots to raspbian. On the 3 B+ it gives a white screen, The Raspberry Pi 2 B has a white screen ...
1
vote
3answers
157 views

Add-on sd card in pi?

I want add-on SD card reader/writer/slot/controller in my raspberry pi so that i can keep OS separate from my program. Primary SD card will load OS and work normally and program & data will remain ...
0
votes
0answers
60 views

Connecting multiple wifi network

I am really new to the pi world, I have a quick question. I am planning to build a small wifi surveillance system with Pi. So basically 4 wifi camera's streaming data. I am planning to use this camera ...
1
vote
1answer
109 views

Configure pi so it doesn't show boot info - splash screen only

I'd like to configure my pi 2 so that I dont see any booting info. I'd like to have a splash screen (or video if thats even possible) and boot into a C++ game I wrote.
1
vote
0answers
78 views

Help - Incorrect reading of magnetic encoder

I am a beginner having trouble to read a magnetic encoder. I have found the following code I found that I am using in order to read the encoder values: #!/usr/bin/env python import pigpio class ...
1
vote
2answers
50 views

Connecting 2 raspberry pi zero to one spi screen

I wanted to know if you can connect 2 pi zero's to 1 spi screen and have a switch to switch between them?
-1
votes
1answer
381 views

RPi 2 B No wireless interfaces found - eth0: Link is down

I tried to setup a new RPi 2 Model B using NOOBS. I followed the steps the "Getting started" guide.. At the "finishing the setup" step, Pi was not able to find any wifi connections to update the ...
0
votes
1answer
80 views

Setting up a wifi dongle

I have a raspberry pi 2 running raspbian, and bought a wifi dongle to use with it. I can't seem to get it connect to the internet. I have tried following the guide given by the seller, but it was ...
0
votes
1answer
60 views

GPIO LED Python

I am not sure what I am doing wrong here. I found this guide on but it's not working for me. The program does not output any errors but the LED doesn't light up. I have and LED with + on GPIO 12 ...
-3
votes
1answer
44 views

what are the some useful resources to learn Raspberry pi?

I am a newbie in IoT, but have a little bit knowledge of programming languages: python, nodejs etc. Can someone point me toward some useful resources to learn Raspberry pi 2?
1
vote
0answers
89 views

Running cockroachdb on a Raspberry pi 2 model b (32-bit) as a docker container

I'm trying to run cockcroachdb on a Raspberry Pi within a docker container, but they only provide 64-bit versions of cockroach as they explained it here . But I do see references of running cockroach ...
0
votes
2answers
698 views

My Raspberry Pi is being shown as a Dead IP Host on Advanced IP Scanner hence I'm not able to connect my Pi to laptop

I am currently working on a project using the Raspberry Pi 2 Model B board. All was working fine until today when I was connecting my Pi to my laptop and the IP host for my Pi was displayed as a dead ...