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.

404 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
1answer
898 views

Thermal printer with Raspberry Pi 2 outputs only Chinese chars

Following thermal printer + raspi2 tutorial for printing images (https://learn.adafruit.com/networked-thermal-printer-using-cups-and-raspberry-pi/connect-and-configure-printer), I've already connected ...
6
votes
0answers
11k views

How Can I Emulate An x86 CPU on a Raspberry Pi with Qemu?

!!DISCLAIMER!! I am aware that this question has been asked before HERE, but after having followed that question step by step, troubleshooted on my own and having done plenty of research on the ...
6
votes
2answers
4k views

Why does the Sense Hat / Astro Pi show the wrong temperature and humidity?

I recently bought the sense-hat, previously called astro-pi. Unfortunately the temperature shows 28 to 31 degrees Celsius from both temperature sensors on the board. They often show around 30 degrees ...
3
votes
1answer
2k views

VPN Passthrough two ethernet interface

I'm a quite new in the network my internet acces have a proxy so to by-pass it I use a VPN hosted on my VPS. I use the OpenVPN Client software for all my devices. (Windows, Android, Linux) I got a ...
3
votes
0answers
477 views

Disable Screensaver of XServer on Raspbian Jessie Lite

I setup a Raspberry Pi 2 with Raspbian Jessie Lite in read only mode. To run a Qt application I installed the packages "xserver-xorg" and "xinit". I am starting the application automatically after ...
3
votes
1answer
186 views

Can't find out why my program won't read analog values (Using MCP3004)

I am using wiringPi and C. I have a flame sensor and a MCP3004 ADC. Here is the program that I wrote, but I can't figure out why it won't read the analog values from the flame sensor. #include <...
3
votes
1answer
323 views

How to use MATLAB at host PC with Raspberry Pi

I'm trying to connect MATLAB with raspberry pi 2 b+. have already instlled the raspberry pi addon on MATLAB at the host LAPTOP. The configuration - Matlab(Host LAPTOP)-<---->ETHERNET<---->...
3
votes
0answers
2k views

Pi 2 Windows IoT support for onboard CSI camera port

I am working on IoT technology, in one of my project I want to connect to on-board camera with Raspberry Pi 2 having Windows 10 IoT core. Two months back I found Windows IoT on the Raspberry Pi 2 ...
3
votes
0answers
2k views

Arecord not working with USB Microphone anymore

Before I start, I'd like to tell you that I've used arecord in the past with the Raspberry Pi 2 using the same USB Microphone and it has worked just fine. For some reason, it doesn't seem to work ...
3
votes
1answer
467 views

How to use PI4J with a brushless motor?

I have a Raspberry Pi 2 model B. I would like to be able to control a motor with a regulator and PI4J. I put the black cable to a ground pin and the PWM pin to pin 26. I've worked with servos before, ...
3
votes
0answers
199 views

How Can I Properly Ground My RPI To Avoid Static Interference?

I have researched every where for this problem and cannot find a direct answer. I am currently working on a project which involves a large 20ft conveyor belt transferring product into a Plexiglas box ...
3
votes
0answers
2k views

Pi 2, keyboard/mouse not recognized through USB hub

I am trying to get the keyboard and mouse control from a Startech crash cart adapter working smoothly on a Pi 2. The adapter has an internal USB hub (Alcor, 058F:6254) and behind that a virtual ...
3
votes
0answers
531 views

Modbus on Raspberry Pi

I am quite new to Raspberry Pi and Modbus. I am going to implement a Modbus RTU on Raspberry Pi using libmodbus. I followed this totorial as a simple Modbus test, but when I compile the bandwidth-...
3
votes
0answers
257 views

External HDD stopped mounting automatically in Raspbian

In Raspbian I used to be able to just plug in my external HDDs and they would be detected I could then find them in /media/ using WinSCP and transfer files to them. I haven't used Raspbian in a ...
3
votes
0answers
515 views

Raspberry Pi 2 and JavaFX8: Can't render small images without more GPU RAM

I'm trying to write a simple FX8 image display program on the Raspberry Pi2 without increasing the GPU memory beyond the default 64MB. I seem to get me a NullPointer Exception at com.sun.prism.impl....
3
votes
0answers
783 views

How to boot Ubuntu 14.04 for Raspberry Pi 2 under qemu?

There's an Ubuntu image for the Raspberry Pi 2 here: https://wiki.ubuntu.com/ARM/RaspberryPi I'd like to boot this image under qemu. I'd like to do it so that I can have some virtual build systems as ...
2
votes
0answers
464 views

hostapd.service not found

I am trying to make a Raspberry Pi 2 as a wifi access point in a standalone network. I followed this tutorial: https://docs.google.com/document/d/16hJS7fnPyKUwbvR33_nMku_b6XcYaBJXVpeCIMoJzcQ/pub At ...
2
votes
0answers
213 views

PI4J + Adafruit LCD with MCP23017

Got this device. Python example char_lcd_plate.py is working perfect. But I would like to manage it with Pi4J. I copied bits from python example LCD_PLATE_RS = 15 LCD_PLATE_RW ...
2
votes
0answers
110 views

Moonlight (Wifi): Dropped Frames, Multiple Errors, Crash

Casting any media from a PC to the RPi, other than on a Ethernet connection, results in a large number of errors, and an eventual crash. Streams are very responsive, and smooth at 720p at 30fps, but ...
2
votes
0answers
205 views

Raspberry Pi + Windows 10 IoT Core + RS485

Has somebody ever worked with windows 10 IoT Core and used RS485? I would like to receive some signals from the RS485 device. I would like to do this with Windows universal app.
2
votes
0answers
7k views

How to check whether SPI working or not?

I am totally new to Raspberry Pi. I am trying to simulate a sensor with raspberry pi where my - Devices Sensor: ANALOG DVICES ADIS16227-CMLZ iSensor (ADIS1622x/PCBZ) Device: ...
2
votes
1answer
678 views

Huawei E3372 force me to show a webpage on my raspberry pi 2

I have some Raspberry Pi 2 that launch a webpage on Epiphany at startup. I get internet connection with some 4g Modem Huawei E3372. Those modems are setup to launch 192.168.8.1/html/home.html at ...
2
votes
0answers
318 views

Install libfreenect (Kinect 360) on a Raspberry Pi Make error

I am trying to install libfreenect on a Raspberry Pi using the instructions found here: http://blog.bitcollectors.com/adam/2016/01/kinect-support-for-raspberry-pi-using-libfreenect/ On step 4, line 8 ...
2
votes
1answer
3k views

Huawei E3531 and Raspberry Pi 2

I want to connect a Pi 2 to the web using a 3G Dongle (Huawei e3531). But for some reason I can't get it to work. It is a freshly installed Jessie with update & upgrade done. Modeswitch was ...
2
votes
1answer
146 views

Create disposable software container

I'm about to start a project where I have to test a number of software solutions on a RPi2 running Raspbian without X. It would be too much effort to reinstall raspbian on the SD card or to cleanse ...
2
votes
0answers
187 views

RPI 2 B died, PP9 test point should throw 1.8v and throws only 0.02v, how do I fix this?

Last night I unplugged it "unsafely" and today it doesn't start. What I get is a solid red light along with a solid green light. I have tried every possible combination (SD cards, Power supplies, OS) ...
2
votes
0answers
449 views

Understanding the memory map in QA7 document on the official website

The description of the first row says "GPU access". That looks confusing. Isn't the memory split for CPU and GPU usage? From most other sources the peripheral base is 0x3f000000. Why does it say ...
2
votes
0answers
518 views

Raspi CPU is not working?

My Raspi 2B is not booting properly now and it is hanged with instruction cpu1/2/3 is stopped during boot. Is my raspi getting damage or not? I used 5V 700mA power adaptor and some time I used 5V 2A ...
2
votes
0answers
334 views

How to register new devices with the Azure IoT Hub/How can I send new sensors' data to my IoT Hub without editing my code?

I am working on IoT Technology. I have doubt as I developed an IoT Project which is sending different sensors data to the Azure IoT Hub. Next I bought one more Raspberry Pi 2 device and deployed my ...
2
votes
1answer
601 views

How do I get the 74HC165 shift register to work with my Raspberry Pi and Java

I have been using the following link for reference... http://robsraspberrypi.blogspot.co.za/2016/01/raspberry-pi-adding-more-inputs-using.html // setup SPI for communication int fd = Spi....
2
votes
0answers
570 views

Random IO errors on i2c

I connected a raspberry to a i2c bus that holds two devices: an i2c io expander pcf8574A at 0x20, and a lcd controller pcf8576 on address 0x38. Both show up fine when running i2cdetect -y 1. When ...
2
votes
0answers
184 views

MCP3008 inconsistent reading

Okay, I've written a small piece of code for reading analog values from MCP3008 and it all works good I would say. But the problem is, the value changes depending on a frequency of which I'm reading ...
2
votes
0answers
329 views

Sending Message to Arduino From Raspberry Pi with NRF240l1

I'm trying to send string from Raspberry Pi from Arduino. I can pong out and pong back. But can't send string. I changed main code. I can't send. Here is my Raspberry Code.. #include <cstdlib> #...
2
votes
0answers
279 views

Unexpected voltage drop on GPIO 16

I have written a sprinkler timer system (Python) for the Raspberry Pi 2B+. The Pi is connected to a 2 line LCD, 4 switch circuits, and an 8-way relay board with all 8 relays being used, and the 5V and ...
2
votes
0answers
321 views

USB devices gets new ttyU* while still attached raspberry pi 2

Conditions: I use RP2 for data collection purposes and i am testing its limits. I use it next to diesel engine and its alternator.(I know pi is not for industrial use and this is a prototype.) There ...
2
votes
0answers
26 views

Raspberry Pi 2 Audio vs Video Clash

So, I'm having an interesting issue. Those of you who have seen me around know that I don't usually use a GUI of any sort with my Pi. However, I recently got another one and decided to make an ...
2
votes
0answers
131 views

Problems with Kali on raspberry pi, plus some mac issues

Just yesterday I was able to boot Kali on my raspberry pi without much of a problem. The following day, however I tried booting it as usual. It showed the boot screen and everything with the four ...
2
votes
0answers
473 views

Why can't I set my app to run on startup with Windows IoT?

I have an app that I would like to have run automatically when my Raspberry Pi 2 starts up. The Raspberry Pi 2 is running Windows 10 IoT. I am able to deploy my app and run it with the Visual ...
2
votes
0answers
86 views

Game Server Lag Every 2 Minutes or So on Raspi 2

I run a DarkPlaces Quake server on my Raspberry Pi 2. Every 2 minutes or so, there is a massive lag spike in game play, but it's fine when it's not doing that. I have checked crontab, but neither my ...
2
votes
0answers
3k views

How to Configure OSMC to output composite video on Raspberry Pi 2?

I have an http://osmc.tv (a Kodi distribution) setup on my Raspberry Pi 2. It works fine when plugging in the HDMI cable for video output. However, the composite video through the combined a/v jack ...
2
votes
1answer
203 views

Stepper Motor Not Responding. Wiring Issue?

I am following the tutorial: But I am using a pi t-cobbler and a Pi 2. I am also using the ULN2803 driver. When plugging a button into the appropriate gpio spots on the breadboard, I am able to run a ...
2
votes
0answers
1k views

Raspberry Pi 2 low volume on headphone socket

I'm using a Raspberry Pi 2 as an AirPlay receiver connected into an external amp via the headphone socket, and running shairport-sync. I am seeing a low volume on the headphone output socket, such ...
2
votes
0answers
236 views

RF transmission on 314.88mhz

I've been playing around with transmission of RF signals with my pi for a home automation system. So far it has been working great. However, this was just for the 433.92mhz devices. I've managed to ...
2
votes
0answers
873 views

how to install netctl on lastest raspbian pi2

I have install lasted raspbian on my raspberry pi2. Unfortunally, it seem that netctl isn't installed, so I did: sudo apt-get update sudo apt-get install netctl Reading package lists... Done ...
2
votes
0answers
803 views

Pluging an Adafruit touchscreen on a HifiBerry DAC+

I'm trying to connect a Adafruit PiTFT 2.8" TFT 320x240+ touchscreen and a HifiBerry DAC+ on a Raspberry Pi 2 B. Is it possible? Do I need to solder the touchscreen card on the DAC+?
2
votes
1answer
350 views

Windows 10 IOT Core, Fails to connect using powershell (Objectnotfound measure-object:string)

I followed the steps provided by microsoft to flash windows 10 on a SD card. inserted this into the raspberry pi 2. It boots just fine showing me the defaultApp. I am able to connect trough ssh and ...
2
votes
0answers
1k views

Problems in getting two camera feeds via an OpenCV python program

I'm running a Ubuntu 14.04 LTS on my RPi 2. I've OpenCV 2.4.9 installed on it. While running a simple camera capture program works fine. Here is a code for it. import numpy as np import cv2 from ...
2
votes
0answers
775 views

Raspberry Pi 2 Windows Emulation

I'm aware of various QEmu Guides for emulating the Raspberry Pi but is anyone aware of the settings for running the Pi 2 correctly. I imagine the move from ArmV6 to V7 borked most of the guides. ...
2
votes
1answer
416 views

Sending microphone input on laptop to Raspberry Pi

My Raspberry Pi 3 is connected to an access point and has a speaker connected to it. How can I send the microphone input from my laptop to the RPi and get it played through the speaker?
1
vote
0answers
58 views

cannot update after adding new source

I am running a raspberry Pi 2B (with GUI disabled) and I added deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi to my sources.list. After this, I ran sudo apt-get update ...