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

Multiple /etc/rc.local?

I run a Python program in a screen session which is started from my /etc/rc.local with this command: su me -c "screen -d -m /usr/bin/python /mnt/usbdrive/pgms/mypgm.py" Recently my program has been ...
3
votes
2answers
821 views

why GPIO.LOW is used to turn the switch on?

I am learning raspberry pi and somewhere i found the tutorial of turning the bulb on when clap is heard and off the bulb when clapped again. The following code was written for this to work #!/usr/bin/...
3
votes
1answer
7k views

Differences in GPIO between Raspberry Pi 2 B and 3 B

Is there any difference in the GPIO layout between Raspberry Pi 2 B and 3 B? If yes, please provide the differences.
3
votes
1answer
2k views

Split screen cloned display

Is it possible to split a Raspberry Pi display so that it shows up twice on one screen? I'm building a costume that covers my face. To be able to see, I've got a Raspberry Pi with Pi Camera and a 7" ...
3
votes
2answers
6k views

Smoke sensor MQ-135

Does Smoke sensor MQ-135 need to be connected to ADC if it has separate pin for analog and digital outputs? I'm about to interface it in raspberry pi.
3
votes
4answers
2k views

How to know when the pi finished shutting down

I wrote a python program that boots with pi, do it's job, and shutdown pi when finished working. It works fine, and when I'm connecting an lcd to the pi, I can know whether the pi finished shutting ...
3
votes
2answers
31k views

Opening Terminal From Kodi (OpenELEC)

Last Christmas I got a RPI2. I have recently started up OpenElec and need to get access to the terminal. The reason I won't use the Rpi's offical os is because I can't enable wifi. There is no exit ...
3
votes
3answers
2k views

Raspbian Wheezy, Raspberry Pi 3 and HC05

I now this is a long shot, but some reasons I was using Raspbian wheezy on Raspberry Pi 2, and I was able to use HC05 bluetooth module with wiringpi. Lately I had switched it to Raspberry Pi 3, yet ...
3
votes
3answers
1k views

Restart Pi if not reachable (3G)

My Pi 2 is uses a USB Modem 3G connection. Sometimes the connection gets stuck and the Pi is no longer reachable via SSH, (Weaved). The Pi itself looks normal, ( the Pi is on and the light on USB ...
3
votes
2answers
2k views

GPIO High Low not switching in Python

I run my python script below using: sudo python3 /path/to/file.py open or sudo python3 /path/to/file.py holdopen. These are supposed to cause a change in GPIO Pin 2 from high to low. For some reason ...
3
votes
2answers
3k views

Why is the L2 cache disabled by default on Raspbian Jessie?

When I ran vcgencmd get_config int to check if max_usb_current was applied, I noticed a peculiar line on the output: pi@srv0 ~ $ vcgencmd get_config int arm_freq=1000 config_hdmi_boost=5 core_freq=...
3
votes
2answers
305 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 ...
3
votes
1answer
2k views

Raspberry Pi 2: Sync clock with local server?

I have 10 Rpi2s with me and I have created a setup like this. My Windows system clock is set to local time once and I expect it to be powered at all times. It is a Workstation class system and it acts ...
3
votes
2answers
9k views

What should I use for wireless communication between an Arduino and a Raspberry Pi

I have several devices like sensor, motor, etc which are connected to the Arduino. I want to transfer my sensor data from the Arduino to the Raspberry Pi wirelessly. Also, all the data from ...
3
votes
2answers
3k views

Using GPIO pins 14 and 15 as general purpose

I understand that in order to use these two pins as general purpose I will need to disable UART. I tried following these instructions but /etc/inittab doesn't exist on raspberry pi 2 as far as I can ...
3
votes
1answer
1k views

Raspberry Pi-2 with mainline Linux kernel

With several nice commits landing into the mainline of Linux Kernel for version 4.5, is it already possible to compile and boot a mainline kernel (e.g. 4.5-rc6) on a Raspberry Pi 2? If yes, then what ...
3
votes
3answers
600 views

Mac Clone SD with dd failing during boot

I am having issues cloning one MicroSD to another using my Mac. I have been working on this for days and have tried several things, all with the same end result. Here is my process: First, I put my ...
3
votes
2answers
373 views

Raspberry Pi B won't recognise DS18B20 sensor

I have wired up my Raspberry Pi (RPI-0007) to the pins as outlined by http://www.modmypi.com/blog/ds18b20-one-wire-digital-temperature-sensor-and-the-raspberry-pi. However, when I change directory to /...
3
votes
1answer
762 views

How can I safely remove a cobbler from a Raspberry Pi?

I recently received a Raspberry Pi 2 B kit from Adafruit, which includes a cobbler. My Pi is also in a clear case, from which I don't want to remove it (I'm somewhat afraid I'll break it in half ...
3
votes
2answers
4k views

SDIO on GPIO 22-27 - what about SD-card-detect?

I followed this thread to enable ALT-3 on GPIO 22-27 to be used with a SDIO device. Using raspbian jessie with kernel 4.1 on a Raspi 2 I enabled the sdio-overlay in the /boot/config.txt. The systems ...
3
votes
1answer
907 views

which ubuntu version to install

I have installed ubuntu snappy but I can't find apt-get which is not a problem but I can't find some packages as vim... Which is the best Ubuntu version to install ? What are the pros and cons ?
3
votes
3answers
1k views

Why is Component not working for Raspberry Pi 2?

Note: It may not be working because of which cable I am using. So I have a Raspberry Pi 2 Model B and I want to connect it to a computer monitor that only takes composite video input. This is what I'...
3
votes
1answer
11k views

What does it mean if both LEDs are lit up? [duplicate]

I recently got a RPi and when I plug it in both LEDs light up solid without flickering. It also does not show up on the monitor. Everywhere I've looked it says they should be flashing but they aren't. ...
3
votes
1answer
8k views

How to automatically mount a samba drive on boot?

I have this in my /etc/fstab //192.168.1.1/S_Drive /mnt/readyshare cifs sec=ntlmv2,username=XXXX,password=XXXXX,uid=1000,gid=1000,iocharset=utf8 0 0 everytime I reboot the pi2, it says [FAILED] ...
3
votes
1answer
400 views

Pi 2: External HDD Randomly goes into Read Only File System Mode

I've a raspberry pi 2bplus and I've installed the latest Raspbian strectch on it. I've connected External HardDrive to the pi. I'm running into a really weird problem that doesn't make sense to me ...
3
votes
1answer
2k views

Wanted - chat script for Huawei E8372

I've just acquired a "Huawei E8372" USB dongle. I'm trying to connect to Tesltra (Australia). I switched off the wifi function of the dongle. I've managed to get the dongle recognised as /dev/USB1 ...
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 ...
3
votes
4answers
2k views

Water level indicator using a transistor

I have a Raspberry Pi that is connected to a breadboard. I'm using a BC548 transistor. I would like to know what to code so that if the green wire touches water a LED turns on. This is the circuit. ...
3
votes
1answer
163 views

OS-less raspberry pi 2 debugging of Assembly language

I have a Raspberry Pi 2 without an OS installed. I have an assignment where I have to create and display some code in assembly language for the Pi 2. The lab that we have set up at school has ...
3
votes
2answers
1k views

Connect DHT11 and Raspberry Pi without a breadboard

I purchased this temperature and humidity sensor online and I want to use it with my Raspberry Pi 2. Specs: https://akizukidenshi.com/download/ds/aosong/DHT11.pdf The tutorials that I find online ...
3
votes
4answers
2k views

DHT22 Raspberry Pi 2/3 questionable humidity accuracy

Background: My project is to have several raspberry pis measuring and record temperature and humidity throughout our factory. DHT22 AM2302 sensor seemed like the best option at the time, do to its ...
3
votes
2answers
3k views

Hostapd No such device

I'm trying to setup a Wireless Access Point with hostapd, however the AP is never visible after starting hostapd service. Raspberry has two wireless interfaces of the same brand and model (RTL8192CU),...
3
votes
1answer
273 views

Pi2 does not power up. Is there anything I can do?

I finally started putting an auto-plant-watering system together, trying to develop the entire system using Win10 IoT, VS 2015, and c#. I'm at the very beginning stages of development but I did get ...
3
votes
1answer
3k views

How to start communication between pi and GSM add-on V2.0

I have mounted on the GSM add-on v2.0(sim 800) on the pi. I have read the AT commands manual but don't know how to initialize the serial connection between both of them till the point AT commands have ...
3
votes
1answer
7k views

Switching a Circuit on/off with a MOSFET

I have have a simple circuit that I want to drive with a raspberry pi GPIO pin and I want to use a MOSFET to control the circuit. My circuit will be using about 3-5v and 2-3a. I'm planning on using ...
3
votes
1answer
144 views

Nothing displaying when connecting Pi 2B to TV

I have a Raspberry Pi 2B and whenever I try to connect to my TV so I can use the Pi, nothing shows up. It is just a black screen... nothing else. I am using HDMI, and one light is green, and one is ...
3
votes
1answer
1k views

How to display a GPU surface on a afafruit TFT screen?

I'm playing with a PiTFT Plus display on a Raspberry Pi 2 using the Adafruit modified version of Raspian Jessie for this screen. The display looks ok for most things, but I'd like to play a video ...
3
votes
1answer
7k views

Can MINIX 3 work on the Raspberry Pi 2?

The MINIX 3 OS has been ported to ARM based CPUs with development focusing on the Beagleboard. The original Raspberry Pi could not run MINIX however the newly released Raspberry Pi 2 uses an ARMv7 ...
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 ...
3
votes
1answer
251 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 ...
3
votes
1answer
448 views

Strange I2C behaviour

First of all: sorry for the title, I don't know how to describe further... Background: I'm working with the RDA5807M FM receiver chip. It worked fine for at least one month now. I just had jumper ...
3
votes
3answers
6k views

Hyperterminal for RPi: data transfer from device to RPi

I have a strength meter device (look at the photo), and I want to transfer data from it to Rpi2 (Raspbian OS). Transferring data to Windows easily accomplished through the Hyperterminal program. ...
3
votes
3answers
815 views

Can PoE ethernet cable damage raspberry pi?

We have a remote site deployed using raspberry pi 2's where 3 out of the 5 have ended up damaged / unresponsive. It is hard to get an exact idea from the client but we suspect that the board may have ...
3
votes
1answer
2k views

Docker on Raspberry Pi 2: Could not reach any registry endpoint

I installed docker on my Raspberry Pi 2 and want to pull some images. But when I try to pull with docker pull nginx, I get Could not reach any registry endpoint. My network connection is ok and even ...
3
votes
7answers
20k views

Raspbian wpa_supplicant problem

My old wpa_supplicant and interfaces config not work! /etc/wpa_supplicant/wpa_supplicant.conf ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ ssid="MySSID" ...
3
votes
1answer
1k views

Wifi adapter found, but disconnected during boot due to link not ready

I recently bought a RPi2 and am currently in the process of installing it, but I can't get my Wifi dongle (link in Dutch) working, even though it is supposed to be working "out of the box" and there ...
3
votes
1answer
583 views

smsc95xx 1-1.1:1.0 eth0: kevent 0 may have been dropped

I DDoS'ed my pi as part of a stress test using 2 laptops, fully saturating the 150 Mbps LAN interface on it. Less than an hour later, I found out that the pi doesn't respond to the ping flood and TCP ...
3
votes
2answers
980 views

What's wrong with this Pi?

I'm going to return and exchange this Raspberry Pi 2, but wanted to know if anyone has seen these errors before: I have one RPi2 (out of 13 I use for my after-school program) which acts up during boot,...
3
votes
1answer
4k views

Raspberry Pi (raspbian) tick rate in HZ

How can I find the Linux tick rate of my Raspberry Pi 2. I have a Raspberry Pi 2 with Raspbian OS. Is it 100 or 1000 HZ ? Can I read it from the command line or a C program ? I want to know this ...
3
votes
1answer
2k views

FFmpeg with x264 NEON support

I was wondering if there any FFmpeg binaries that support NEON on the Raspberry Pi 2? Specifically x264 with NEON support compiled into the FFmpeg binary, x264 supports NEON on Android so it should ...

1 2 3
4
5
31