Questions tagged [raspberry-pi3]

GENERAL RPI QUESTIONS ARE OFF-TOPIC. General questions may be asked on https://raspberrypi.stackexchange.com Use the tag for questions that apply specifically to the Raspberry Pi Model 3, NOT other models.

RPI QUESTIONS MUST BE PROGRAMMING RELATED. Raspberry Pi 3 with BCM2837 1.2 GHz 64-bit quad processor based on the ARMv8 Cortex A53, with builtin Wi-Fi BCM43438 802.11n 2.4 GHz and Bluetooth 4.1 Low Energy (BLE).

Raspberry Pi 3 model B layout (top)

This tag is intended for questions that are applicable to the Raspberry Pi Model 3B ONLY rather than other Raspberry Pi models.

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.

Useful links:

Official description

Official downloads

GPIO interactive pinout

If the question is not programming related then it may be on-topic at Raspberry Pi Stack Exchange, Internet of Things Stack Exchange or Unix & Linux Stack Exchange.

4094 questions
4
votes
0 answers

How to show the live preview from picamera in a GUI Window made by PyQt5?

I am designing a GUI to capture an image from picamera, I am using PyQt5 to develop the GUI. I used camera.start_preview() function to see the live preview. After that I used a button named "Take" to capture the image and after capturing the image I…
4
votes
2 answers

Python/Docker: How to use python logging module with docker?

I have a simple setup with python's logging module set up in a python application like so: app_logger = logging.getLogger('main_thread') file_handler = RotatingFileHandler('/home/pi/FaunderGateway_Log.log', maxBytes=10000000,…
AbdurRehman Khan
  • 830
  • 9
  • 20
4
votes
1 answer

SPI_IOC_MESSAGE(N) on Raspberry Pi 3

I am working on a project on a Raspberry Pi 3, and I saw this code line : ioctl(sSpiObj.spiFd, SPI_IOC_MESSAGE(1), &sSpiTransfer); I don't know what SPI_IOC_MESSAGE(1) does, and I tried to find on the internet its explanation, but I…
hasan bucak
  • 75
  • 1
  • 1
  • 8
4
votes
3 answers

Capturing a SINGLE image from an rtsp H.264 video stream

I'm trying to capture a single image on demand from an RTSP H.264 video frame. I'm using OpenCV with Python running on a Raspberry Pi. My understanding is that you can't simply capture an image, but rather must constantly read the stream of…
FarNorth
  • 289
  • 1
  • 7
  • 16
4
votes
2 answers

Extracting Data from OrderedDict

So i have a firebase database and this is my code to get specific data db = firebase.database() test = db.child("Users").order_by_child("IDNumber").equal_to(222333123).get().val() print(test) then the result returns as an…
4
votes
2 answers

Wifi direct connection disconnects automatically after a few seconds in Raspberry Pi

I am using this configuration for wifi direct connection in Raspberry PI 2 B+…
Sony
  • 7,136
  • 5
  • 45
  • 68
4
votes
2 answers

javamail AuthenticationFailedException: EOF on socket

I wrote a program to check mails with JavaMail. Here is the code: private static Folder getFolder(String popHost, int openPort, MailAuthenticator auth) throws MessagingException{ try{ store.close(); }catch(Exception e){ …
Ozelot
  • 105
  • 1
  • 9
4
votes
2 answers

RPI3B BME280 AttributeError: 'module' object has no attribute 'load_calibration_params'

I'm trying to get the following code working after battling with an smbus2 error i now find i have the following error and can't find how to fix it. I know the sensor is working because if I run bme280.py from http://www.raspberrypi-spy.co.uk/ that…
Adrian
  • 1,089
  • 24
  • 51
4
votes
1 answer

Raspberry Pi, Socket Error "socket.gaierror: [Errno -3] Temporary failure in name resolution"

I have been working on a simple sensor logger for my mini hydroponics setup, using the Google IOT Arm sample code (original code https://github.com/ARM-software/Cloud-IoT-Core-Kit-Examples/blob/master/CPUTemp/pi_cpu_temp_mqtt.py). It has been…
4
votes
1 answer

Pip installation of .whl file only generates *.dist-info folder

I have an application that I am trying to build and install as system-wide executable. The odd thing is that the build is fine, but when I call: python3.5 -m pip install --upgrade some-name.whl All is successful, the executable is system-wide…
AlexK
  • 1,380
  • 10
  • 17
4
votes
3 answers

Importing openCV in python idle error: shared object file

I have been trying to use the cv2 library in python (in IDLE on raspberry pi 3) but I can't manage to import it successfully. when I type import cv2, I get this: Traceback (most recent call last): File "/home/pi/Desktop/python/test.py", line 2, in…
wilson wilson
  • 113
  • 1
  • 6
4
votes
2 answers

Not able to run my JavaFX jar file on Raspberry Pi 3(Raspbian)

I am trying to run my JavaFX program (Aiish_GUI.jar) on Raspberry Pi 3 B+, And I get an error which looks like this: When i run command with sudo: When i run command without sudo As can be seen in the first image, my JavaFX project includes…
Vrushank V
  • 41
  • 5
4
votes
2 answers

How to capture output of subprocess.call

I have made a script that tells me the temperature of my Raspberry Pi 3, but there is a problem with the script. The result output is the bot saying "Your RPI3 temp is currently 0". What is wrong with my code? @bot.command(pass_context=True) async…
botbotbotty
  • 183
  • 1
  • 2
  • 11
4
votes
1 answer

Printf not printing immediately, although buffering is disabled

I'm having problem with the printf function in C. It's just not printing the output, although buffering is disabled: setbuf(stdout, NULL); and setvbuf(stdout, NULL, _IONBF, 0); also I'm using fflush(stdout);, but it still doesn't work. This…
itzFlubby
  • 2,269
  • 1
  • 9
  • 31
4
votes
3 answers

Actions on Google not showing device registration option

I am trying to use google assistant in a raspberry pi project. I have created my developer project. However, there is no option to register the device model as instructed in Google Assistant SDK for Devices ->…