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
4 views

Audio output is changing after I exit the ssh session

My RPi2 has both HDMI and jack output audios. I would like to use always only the jack output. If I connect via SSH to the pi and select the output in alsamixer (using F6), I can activate the audio ...
2
votes
3answers
68 views

Cannot reach Internet after assigning fixed IP address in dhcpcd.conf

Hardware: Pi 2 OS: Raspberry Pi OS 32-bit No firewall. Running over ethernet (no WiFi card) I am following a tutorial to set up a Pi as a file server for home. For this, I need to install Samba. ...
0
votes
1answer
20 views

JAVA development environment for Raspberry Pi 2 or perhaps from the command line?

Hi I'm new to Raspberry (Pi 2) and would like to know (1) if it's feasible to develop simple JAVA apps in a development environment (Eclipse? Others?) or failing that from the command line. (2) a ...
0
votes
1answer
23 views

Change the read-only to write

I don't know why suddenly the following message has started to appear. -bash: cannot create temp file for here-document: Read-only file system I can't write files, only read, can't use tab to end ...
0
votes
1answer
18 views

playing music from stream [closed]

I have a raspberry pi 2 model B and a raspberry pi 1 (I think, it doesn't have any version number on it and I have had it for a long time and I don't quite remember exactly the version). I think the ...
0
votes
1answer
41 views

Installing fresh image of operating system on Raspberry Pi 2

I have an older Raspberry Pi 2 that I'd like to put the latest compatible OS on. The specs of my Raspberry Pi: Raspberry Pi 2 Model B 1 GB from Canakit.com It came with a 8 GB SD card. I bought it ...
0
votes
1answer
31 views

Raspberry Piv2 Camera NoIR displays pink colors in video feed!

I want to ask that I have a piv2 NoIR camera that gives pink colors in a camera stream running live on my Jetson Nano, So I want my piv2 camera to display normal colors then what can I do? Do i need ...
1
vote
1answer
39 views

Raspberry Pi 2B missing RAM

weird thing here. I noticed my Pi model 2B is reporting a smaller amount of available RAM than before (~700Mb vs 1Gb). [root@raspberry ~]# free -m total used free ...
-1
votes
1answer
48 views

Raspberry Pi & Motor Control [closed]

I am looking to use raspberry pi to control a motor that has multiple speeds but want all speed and timing to be controlled on the pi. Would the proper setup be a breadboard with a servo motor ...
0
votes
2answers
39 views

Using PWM with RPi.GPIO in Python

Scenario: I want to control a PC fan using the Raspberry Pi. The 4-wire-fan (MGT9212UR-W25) has its own power supply (12V) and can be controled via PWM. I would like to control it with a Python script ...
0
votes
2answers
26 views

Unable to upgrade my model 2B Pi running Jessie

I am trying to update all of the software on my model b pi. I have cleared as much space as possible - then did df -h Filesystem Size Used Avail Use% Mounted on /dev/root 6.0G 5.2G 450M ...
1
vote
1answer
32 views

Can Rpi GPIO pins be used to drive a DC motor? [closed]

I tried to GPIO pin to high and I cannot see output voltage. I try every solution but no one works for me. import RPi.GPIO as g g.setmode(g.BOARD) g.setup(16, g.OUT) g.output(16, g.HIGH) I look GPIO ...
0
votes
1answer
35 views

Reconfigure pi GPIO default states

The default states (right on boot), on my pi are: +-----+-----+---------+------+---+---Pi 2---+---+------+---------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi ...
1
vote
2answers
129 views

How to turn off relay when RPi shuts down

I have connected a relay to BCM 14 and by setting its output to HIGH I can turn it on, making a 220V bulb to turn on. I use for that the following python instructions: GPIO.setmode(GPIO.BCM) GPIO....
0
votes
0answers
16 views

RPI2 with two WiFis works ok for single requests, browsing is impossible

I want like to create a simple WiFi booster with Raspberry PI. So I have RPI2 with two dongles: Ralink (rt2800usb) and Edimax (rtl8812au). pi@raspberrypi:~ $ lsusb Bus 001 Device 005: ID 148f:5370 ...
0
votes
0answers
45 views

Problem I2C when using BH1750 photoresistor

(Raspberry Pi 2, model B, V1.1 - buster OS - all updated / upgraded - smbus loaded on) Hi, I am quite new to the Raspberry Pi and recently I have hit a brick wall. I am trying to link the Raspberry ...
2
votes
3answers
40 views

connect multiple temperature sensors to rpi

I need to connect multiple temperature sensors to my RPI. can you, please, elaborate whether/how can this be done with this or this unit? or can you suggest other unit? I need to measure temp on the ...
0
votes
1answer
78 views

Can I upgrade my Python version with miniconda on Stretch or do I need to upgrade OS?

Need some advice here. I have an old RPI 2B with ARMv7 Processor rev 5 (v7l) running Raspbian GNU/Linux 9 (stretch). At the moment it's got python 3.4.3 and a lot of other packages installed with ...
1
vote
1answer
29 views

Raspbian Crashing on RPi2 | full screen goes to one (somewhat random) color when web browser loads heavy page

I've had this strange problem with my Raspberry Pi 2 for a long time now. I have it set up as a sort of third monitor for my main computer. I've installed Synergy and Redshift, then set the screen to ...
0
votes
0answers
19 views

lxde with debian 8 on pi-2

On the old wheezy OS, lxde was provided for the desk top. When you were looking through folders, you had a choice of how to view the files in the folder. (list,small icon,large icon,thumbnails, etc.). ...
-2
votes
1answer
15 views

RPi 3B (not +) image on RPI 2

I have OctoPrint running on my Pi 3 Ok withou any issues. Should I be able to boot the same image on a Pi 2? David
1
vote
2answers
99 views

Getting a NRF24L01 module running with Java

I'm currently trying to make a NRF24L01 module work by using Java. I found this library that makes use of the JNI, but I can't get it to work. When I try to run the provided example code the ...
0
votes
0answers
32 views

Connecting 3 ultrasonic sr04 sensors, 4 infrared avoidance module to picon zero mounted on raspberry pi 4

Im begginer to raspberry pi, can you help me please? Im trying to connect 3 ultrasonic sensors + 4 infrared avoidance module to picon zero mounted on raspberry pi 4. Currently I have picon zero ...
0
votes
0answers
33 views

OMV on RaspberryPi 4 or Pi 2B+

Am new with raspberry pi and i try to make a nas with my pi using omv, i have both pi4 and p2b+. This are the step that i follow: Format SD Card with SD Card Formatter Download Raspbian Buster Lite ...
1
vote
1answer
167 views

How to Install TP-Link TL-WN823N V2 on Rasperry Pi 2?

I've got a Raspberry Pi 2 I'm trying to install a TP-Link TL-WN823N V2 onto. pi@raspberrypi:~ $ iwconfig eth0 no wireless extensions. lo no wireless extensions. pi@raspberrypi:~ $ ...
2
votes
1answer
44 views

Creating a network extender

Today I was hoping to setup a network extender. I want it to connect to my router via ethernet, and then share out that connection via WiFi, and stay on the same network. All of the tutorials I looked ...
0
votes
1answer
25 views

RFID and LED Script disables RFID reader until reboot

I have two simple scripts, which work individually. One simply lights an LED, the other reads RFID. Now I want to put them together, but seem to fail. Once this runs, I can't read RFID anymore until ...
2
votes
0answers
35 views

Can powering a DC motor through the USB ports of my Raspberry Pi Damage the Pi?

I'm working on a project that contains two DC motors and a Raspberry Pi, I do not have other components like Relay, Motor Drivers, transistors etc. I am aware that powering a motor directly from an ...
0
votes
1answer
74 views

Minecraft server not working

I want to run a Minecraft server from a Raspberry Pi 2. I already tried the 1.8.9 and the 1.15.2 versions. Both of them started, as expected. On my computer I tried to connect, but after a while, it ...
2
votes
2answers
112 views

is there an equivalent to the dkms tool in raspbian buster?

I am installing a wifi dongle on an RP2B and the only instructions I can find were for Linux Mint using: sudo dkms add ./rtl8188fu I get a command not found. How is this done in Raspian?
1
vote
0answers
26 views

Create website to control RaspberryPi remotely [closed]

I wanted to home automation for a long time. Basically what I want is a website through which I can control my raspberry pi GPIO pins and also read and display data from them on my website. I will ...
-1
votes
1answer
273 views

How do I add a new source to /etc/apt/sources.list?

Doing $ sudo apt-get update gives E: Some index files failed to download. They have been ignored, or old ones used instead.. After doing some digging i found this Cannot connect to mirrordirector....
2
votes
1answer
39 views

Use Raspberry with two devices that require 3.3v pin

I'm planning a project with an RFID reader that connects to the GPIO pins on a RPi2 and will use the 3.3v pin. Additionally I wanted to add an active buzzer, which also would require an 3.3v pin. Is ...
0
votes
0answers
42 views

Connect Raspberry Pi with Official Arduino TFT Screen

I've been owning for a few years now this useful LCD screen from Arduino https://www.arduino.cc/en/Guide/TFT and I wanted to ask if it was possible to connect it to the Raspberry Pi 2. The official ...
1
vote
0answers
8 views

KNN Model, cannot import from Windows. What to do for Raspberry pi with Low RAM

I have a raspberry pi 2b with 1 GB of RAM. I want to train an ML model with about 6k images. I followed https://github.com/kevinzakka/blog-code/blob/master/knn/knn.py and I have a model that works ...
0
votes
0answers
88 views

Hardware PWM on Raspberry Pi 2 using .NET Core 3.1

I would like to use hardware PWM on a GPIO port to generate RC-5 IR codes with an IR LED. I read that .NET Core now has PWM support and that the Pi has at least one PWM-enabled GPIO pin, but I can ...
2
votes
0answers
61 views

Raspberry Pi requirement for water outflow detection from pump and switch off motor if no water coming

I have gone through this answer before i post question here, https://www.hackster.io/ben-eagan/raspberry-pi-automated-plant-watering-with-website-8af2dc https://mtlynch.io/greenpithumb/ https://www....
0
votes
0answers
22 views

Music player for my raspberry pi2

Is there a easy to use music player for a raspberry pi 2? I tried to download one on Google play, but all it did was highlight the install button. going to youtube and searching all the time takes a ...
-1
votes
1answer
154 views

RPi 2: Could not communicate with wpa-supplicant

Like the title, I updated the Raspbian from Jessie to Buster, and when I restarted my Pi 2 Model B, wlan0 suddenly not associated, I noticed that could be my Wifi dongle problem. But when I get to ...
0
votes
0answers
17 views

Printer keeps printing the same document

I have an HP OfficeJet 8710 printer installed on my Raspberry Pi 4b on Ubuntu 19.10.1. Documents sent to the printer keep reprinting until I cancel them with cups on localhost:631. The same networked ...
3
votes
2answers
55 views

Multiple Wifi networks - can't connect with VNC

I'm using a Raspberry Pi 2 Model B with a wireless USB adapter, Raspbian jessie. Until today I only had the raspy connected to my home network, everything was fine. Now I have the necessity to bring ...
2
votes
0answers
55 views

Loopback SPI interface not working

I'm trying to do the loopback test for the SPI interface on my raspberrypi model 2 B V1.1, by following the intruction on this website : https://www.raspberrypi.org/documentation/hardware/raspberrypi/...
0
votes
0answers
175 views

PIVPN with Wireguards - Hide IP

i have a question: i installed PIVPN with Wireguard protocol. From my mobile phone, my endpoint is the my ip public and with a specific port, I reach out my VPN. Perfect! My data are encrypted between ...
1
vote
2answers
171 views

Having problems with ethernet on my PI2 running raspbian buster lite

first of all let me say I'm a beginner so assume I don't know anything. Okay, now my problem. I'm trying to set up my old PI2 to be a terraria server to play with some friends. Everything was working ...
3
votes
2answers
296 views

hostapd AP over both wlan0 and eth1

My hardware setup is currently: Router -> RPi (eth0) -> RPi (wlan0) -> subnet for my devices My desired setup is: Router -> RPi (eth0) -> RPi (wlan0 + eth1) -> subnet for my ...
0
votes
1answer
22 views

Can I run latest NOOBS on a Pi 2?

Can i run the current version of NOOBS on a Raspberry Pi-2? I have tried but it will not boot up.
1
vote
2answers
65 views

Protecting my Pi's GPIO pins when off

I have a Raspberry Pi 2 Model B and I am wondering if there is a pre-made solution, if I have to make it myself, or if it isn't an issue. For my project, the GPIO pins will be in constant use as ...
0
votes
1answer
336 views

Help with setting static ip

/etc/Interfaces auto lo iface lo inet loopback iface eth0 inet static address 192.168.205.159 netmask 255.255.255.0 gateway 192.168.0.1 allow-hotplug wlan0 iface wlan0 inet manual wpa-roam /etc/...
2
votes
2answers
213 views

Is there a conflict between raspbian/raspberrypi versions and python versions?

Can some version of python not run on some version of Raspbian? Is there some thing in the architecture of some version of Raspberry Pi that could make them incompatible with some versions of python?
1
vote
1answer
65 views

Raspberry pi 2b not booting after SD card was ejected while working

So, like the title says: My Raspberry pi 2b is not booting after the card was ejected while working. I was watching some Kodi media, then it froze, I realized that the SD Card was ejected (there is a ...

1
2 3 4 5
31