Questions tagged [raspberry-pi2]

RPI QUESTIONS MUST BE PROGRAMMING RELATED. The Raspberry Pi 2 is a quad-core, ARMv7 instruction set CPU with 1GB of RAM. See the related StackExchange site at https://raspberrypi.stackexchange.com. Also see the first edition's tag at https://stackoverflow.com/questions/tagged/raspberry-pi .

Filter by
Sorted by
Tagged with
-2 votes
0 answers
50 views

Nginx Proxy Manger cannot connect to another server on the network

Hej, I have the following problem the Nginx Proxy Manager (NPM) cannot redirect to another server. (Network structure: See picture) Network This is not a problem in the same Docker Desktop system. The ...
0 votes
1 answer
21 views

Missing headerfiles running SWUpdate on Raspberrypi 2

I'm trying SWUpdate out on my RaspberryPi 2 by following this guide but I'm getting stuck when trying to 'make' as it from core/swupdat.c loads include/flash.h which in turn depends on libmtd.h and ...
0 votes
0 answers
21 views

PWM problem with importing motor module in python

I am having problems with a module that I am trying to import in python. It is being run through a RPi 4b, driving 4 motors through 2 L298N h bridges. When I run this code (FourMotorClassWithTurn) ...
0 votes
0 answers
84 views

Is it possible to run yolov5 on raspberry pi 2 (32 bit) in real time?

The main issue i get is that pytorch cannot be compatible with 32 bit raspberry pi 2 I've seen some pytorch implementations for ARMv7 and failed to compile/run it
  • 1
0 votes
1 answer
143 views

nvm install nodejs onto raspberry pi via ssh erroring

I am trying to download ARM version of node 14 for a Raspberry Pi via NVM and SSH (from my mac). My Raspberry Pi is Raspberry Pi 2 Model B+ V1.2 2014 I have a 64GB SD card. Architecture returns: ...
  • 2,935
0 votes
1 answer
48 views

Nodejs is not fully functional when running on autostart

I am currently trying to change the volume of my Raspberry Pi with two html buttons (volume up and volume down), using nodeJS. The volume change is done by calling a bash script when clicking on one ...
0 votes
0 answers
230 views

Trying to get a Pi (with Volumio) to connect to my wifi hotspot

So I know this is involved with the Volumio OS, but I was hoping to reach any proficient Linux/Pi users that know how to mess with the supplicant.conf file and things I should look for when connecting ...
  • 1
0 votes
0 answers
42 views

Terrarium Sun Sim Led Strip - Need smooth brightness transitions between leds

Life had something different in store for me and so I haven't written a program in over 5 years: I'm a tad rusty. I'm building a new vivarium/terrarium for some frogs who require strict climate ...
0 votes
0 answers
129 views

Raspberry Pi 2 B Tkinter performance problem

I am trying to write a simple python program for a Rasperry Pi 2 Model B. When finished it should be able to get a few values via uart and display one out of 200 images based on that. Additionally, it ...
-1 votes
1 answer
30 views

search for python libary to build display with images and videos

I am trying to write a program for a Raspberry 2B. The Job of the program is to show some images and a video based on a variable. I can't really find a good library to build my visual output. It ...
1 vote
1 answer
443 views

Add a dependency from a maven project to a non-maven project

I'm in the process of writing a java program for a Raspberry Pi where I want to access the GPIO. For this I use the Pi4J-Library Version 2 (https://pi4j.com). As IDE I use Visual Studio Code - as they ...
  • 33
0 votes
0 answers
384 views

Errors starting Electron on Raspberry pi2

When I make my electron app start, the web app is going to open in the right way, but the serial comunication (with PSoC) that is supposed to work, because on my window's pc is working, on the ...
1 vote
1 answer
1k views

serial.serialutil.SerialException: read failed

I'm doing a project with a Ublox NEO 6m gps and a Raspberry Pi 4 model B and I'm stuck on the following error: File "gps3.py", line 23, in <module> newdata=ser.readline() File &...
  • 33
0 votes
1 answer
204 views

Raspberry pi 2 B + Selenium Java = WebDriverException: java.net.ConnectException: Failed to connect

I've tried to use Selenium for Java, it's works perfect on Windows 10, but not on my Raspberry Pi 2 B, I've got an error. Code line in error: driver = new FirefoxDriver(firefoxOptions); Error: org....
  • 1
4 votes
6 answers
23k views

VNC on Raspberry Pi shows Cannot Currently Show the Desktop

I am trying to use VNC in a headless install on my Raspberry Pi 4, running Raspberry Pi OS, installed via Raspberry Imager. The install is more or less vanilla, as the only changes I have made are for ...
3 votes
1 answer
119 views

How do I load CSVs into tables in MariaDB running on a Raspberry Pi2?

I've installed MariaDB on my Pi2, which is connected to my network. I can access the Pi directly, through ssh or even VNC. I can also connect to it using MySQL Workbench. I have CSVs (Fantasy Football ...
-1 votes
1 answer
94 views

Displaying PPT into RPI

I need to slideshow a PPT(slide by slide) in a RPI, can anyone suggest any python program to display the PPT. Note: Tried using "soffice --show ~/sample.pptx --norestore" command - Opens in ...
-2 votes
1 answer
25 views

Can i run a second web server?

So i own a raspberry pi server which runs a python web server i want to run a second web server on the pi but im not sure if it can handle it. Raspberry pi 2 model B, Python 3, Ubuntu Software,
1 vote
0 answers
451 views

control GPIO pins of Raspberry pi from webpage

I am controlling Raspberry Pi GPIO pins with a python web app. Its work fine in my tests with flask-test-server but its not working from another network or from internet. Raspberry Pi is in a local ...
  • 31
0 votes
1 answer
29 views

A Talking Seat - Script Help (Raspberry Pi)

Project Aim: Create a seat that when you sit on it, audio starts. When you leave, the audio stops. Next time someone sits down, the audio begins again. Each time it is a random track, different from ...
0 votes
0 answers
145 views

How to start Google-Assistant-Demo on boot in /etc/rc.local on a Raspberry Pi

I'm struggling with al the answers I have found till now, but nothing seems to work on my RPi. I want to start google-assistant-demo on boot. In created script named google_start.sh with: #!/bin/bash ...
0 votes
0 answers
70 views

Nextcloud error while setting up on raspberry pi 2

I successfully installed the latest Raspberry pi OS aka Raspbian on my old pi (server edition) connected it via SSH using my laptop (headless setup) I am semi NOOB in Linux and followed this https://...
1 vote
1 answer
64 views

What steps are needed to detect a GPU interrupt on a Raspberry Pi3?

I am writing a bare-metal kernel, but an interrupt doesn't seem to be triggered when the EMMC INTERRUPT register becomes non-zero. I have two cores idling, and one at EL3 with no data caches enabled ...
0 votes
1 answer
51 views

No audio in SonicPi using Raspi 2B

Just starting with SonicPi but getting no audio from analogue out (headphone socket). .WAV's placed on Pi play fine using both 'phones and powered speakers but when I launch Sonic Pi and run the very ...
1 vote
0 answers
1k views

Docker daemon cannot reach public docker registry that can be reached using curl

I'm trying to use docker on my raspberry pi 2B running archlinux arm, but the docker daemon cannot contact the docker registry. docker pull hello-world results in docker daemon output: DEBU[2020-07-...
  • 1,033
0 votes
0 answers
1k views

voicecommand: /usr/lib/arm-linux-gnueabihf/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by voicecommand) on raspberry pi

I tried setting up voicecommand on my raspberry pi running the latest version of raspbian buster, but everytime I try to run a voicecommand command I get this error: voicecommand: /usr/lib/arm-linux-...
user avatar
0 votes
1 answer
830 views

PySerial Attribute Error with 'read_until'

I need some help troubleshooting an Attribute Error in my Python code. I am working with a serial device connected by a /dev/ttyUSB0 to a Raspberry Pi 2B. My goal for this code is to read live serial ...
2 votes
2 answers
992 views

How to pass I2C addresses to Adafruit CircuitPython code? (Running ADS1115)

I'm trying to run two Adafruit ADS1115s off of one Raspberry Pi, using two I2C addresses (0x48, 0x49). The address for each device can be set by tying the ADDR pin high (0x49) or leaving it floating (...
0 votes
1 answer
999 views

Pygame audio won't start properly unless run as root

So I am working on an alarm clock project to run as part of a homebridge automation project, and I am writing the python script that will do the actual audible alarm. This script will be started by ...
0 votes
1 answer
166 views

Shortening python code for shining LEDs in a sequence

I'm writing python 3.7 code to turn on LEDs one at a time for a certain period of time. 8 LEDs are wired to Raspberry Pi 2 Model B V1.1 through a circuit. I would like users to be able to shine the ...
3 votes
1 answer
320 views

get variable from python script into php page

my Python script returns: python /home/pi/sht/sht31.py False True False Temperature: 8.10668945312 Humidity: 83.49609375 I need to print humidity and Temperature into an index.php I tried: exec('...
0 votes
1 answer
1k views

PiCamera not detected

I started working with a fresh Raspi. Enabled the camera module from raspi-config, rebooted my RPi. When I then ran this simple code: from picamera import PiCamera import time camera=PiCamera() ...
0 votes
0 answers
1k views

Minimum FFMPEG configure options for H264 decoding

I'm working on a project using an LS1021A board, which has a Cortex-A7, NEON, FPU, etc, which seems to be very similar to a Raspberry Pi 2. We are streaming in H264 via RTP (UDP) with VLC to simulate ...
  • 31
1 vote
1 answer
798 views

Disable CPU cores on Yocto

Why in my Yocto rpi-basic-image, the online files in each CPU folder doesnt exist?, I cant disable the CPU cores with "echo 0 > /sys/devices/system/cpu/cpu1/online", because de online file doesnt ...
0 votes
1 answer
145 views

How can I use a physical button to print something to my thermal printer?

I recently purchased an AdaFruit thermal printer. (https://learn.adafruit.com/pi-thermal-printer/overview) I just started programming for a class I am in and using a raspberry pi. I loved how ...
0 votes
0 answers
1k views

ffmpeg error: Too large number of skipped frames xxxxx > 60000

I try to record on RasperryPI from usb Cam (/dev/video0) using segments to obtain sliced video. The command I'm using is: ffmpeg -input_format mjpeg -video_size 640x480 -i /dev/video0 -y -y -f v4l2 -...
  • 1,013
-1 votes
2 answers
800 views

Do I have to install `libbitcoin-server` to be able to include `bitcoin.hpp`?

I am reading the book "Mastering Bitcoin" from Antonopoulos and want to compile an example from that book. It does not tell which C++ library needs to be installed for #include <bitcoin/...
  • 590
1 vote
1 answer
951 views

dotnet core slow on Raspberry Pi 2

Dotnet core runtime is slow to start on Raspberry Pi 2 Raspberry Pi 2 was set up using the Lite (Raspbian 10, Buster) tar file from Raspbian site. I installed openssh, php7.1, dotnet runtime and ...
1 vote
2 answers
582 views

how can I use gpiozero robot library to change speeds of motors via L298N

In my raspberry pi, i need to run two motors with a L298N. I can pwm on enable pins to change speeds. But i saw that gpiozero robot library can make things a lot easier. But When using gpiozero robot ...
0 votes
1 answer
91 views

Can't update images changing GPIO pins

I am trying to create a program, that simply reads 2 pins in this case pin 17 and pin 27 using the BCM setmode. Depending inthe value of each pin ( 0 or 1 ) the program will show on a screen a ...
0 votes
1 answer
32 views

Is there a way to get new Data on HTML without restarting the server?

I have a problem with my node.js express Server. I got an audio file. Every 5 seconds my raspberry pi records another audio file with the same name. This audio file should run on my website. My ...
1 vote
1 answer
4k views

Reading tags UID with RC522 and USB SERIAL in Python with RPi2

I have a RPi2 (Python 2.7) with two RFID readers. One reader is an USB SERIAL hex Gigatek MF7 (connected to a serial port) and the other is the RFID-RC522 (connected to GPIO pins). The RC522 is wired ...
  • 333
0 votes
1 answer
4k views

Raspian wont boot into GUI

I don’t know what happened but my raspberry pi won’t boot up to a GUI anymore. All I get is a command line with a picture that says welcome to the raspberry pi desktop. Any idea what went wrong? This ...
  • 552
0 votes
2 answers
87 views

Bash script behaves unexpected / Strange

First I want to apologize for being an absolute noob at programming, writing scripts, etc. I'm running a FreeNAS Server and a Raspberry Pi which I'd like to include a sh-Script which should check if 8 ...
0 votes
0 answers
15 views

Same binary on raspberry pi 2 and 3?

I'm building an app on a raspberry pi 3. I'm using Qt. Will the generated binary work on raspberry pi 2? Thanks
  • 796
2 votes
1 answer
276 views

Is there a lightweight Python module to load pre-fitted ML modules and perform prediction?

I am implementing a Machine Learning module that should run in a Raspberry Pi that at the moment is shared among different services. My idea is to store in the device only the code in charge of ...
3 votes
0 answers
205 views

Letsencrypt / certbot "could not be properly decoded in UTF-8" warning message when issuing a certificate

I have a Raspberry Pi webserver on which i have installed certbot to use ssl. Since a few days the renew function has a warning in it. /usr/lib/python3/dist-packages/pkg_resources/__init__.py:1869: ...
1 vote
1 answer
123 views

How to get the gmpy2 module in RPI2 Buildroot

I am unable to get the gmpy2 Python module working in a Buildroot build for Raspberry Pi2. Buildroot does not include the gmpy2 module by default. Buildroot does not include the GCC as well, so I ...
  • 97
0 votes
1 answer
1k views

Display camera preview on Raspberry Pi Android things

I was working on an app that runs on a Raspberry Pi with Android Things and is supposed to show a Camera preview onto an external display and there's a push button attached to the demo which on being ...
0 votes
0 answers
752 views

How do I solve Raspberry Pi 2 / Tensorflow Allocation of 5031936 exceeds 10% of system memory error?

I am trying to detect humans in a video frame using tensorflow object detection api and raspberry pi 2.The video input is from an ip camera. I get the following error when I run my code. 2019-04-07 ...

1
2 3 4 5
25