raspberry-pi3

How do I connect my Raspberry Pi 3 running Android Things to a wifi network?

流过昼夜 提交于 2019-12-19 10:13:39
问题 I have flashed my Raspberry Pi 3 with the Android Things image, I have not been able to connect it to my wifi network. I have run adb devices but I get no response. 回答1: Take a look at this question: connect to Raspberry Pi 3 using adb The Raspberry Pi isn't a USB device, the USB connection is just for power, so it won't show up in adb devices . You have to connect it to a network first then use adb connect . 回答2: In short, you have to connect it to network using Ethernet and then follow the

Project ERROR: Unknown module(s) in QT: charts

血红的双手。 提交于 2019-12-19 08:52:50
问题 I am building a QT app using QTwidgets to run in a RaspberyPi3 with an image inside the SDcard built with buildroot. I suppose that charts are supported since they are based in QtWidgets and widgets are supported. My problem is, when i integrate Charts in my project and run the project in the computer, there is no problem, however when I try to deploy this to the Raspberry the files and libraries are not included and errors show up. In my .pro file I have: QT += charts But this gives the

Does Android Things support the Raspberry Pi 3 model B+?

限于喜欢 提交于 2019-12-18 12:24:10
问题 Has anyone tested Android Things on the Raspberry Pi 3 model B+ yet? When I attempt to boot the Pi 3 B+ with an Android Things image, it remains on the initial multi-colour boot screen and nothing further happens. Power is fine and same micro SD card works with Raspbian . 回答1: Raspberry Pi 3 model B+ is not yet officially supported by Android Things in contrast to Raspberry Pi 3 model B . 来源: https://stackoverflow.com/questions/49434627/does-android-things-support-the-raspberry-pi-3-model-b

Screen orientation on Raspberry Pi 3 with Android things

风流意气都作罢 提交于 2019-12-17 18:56:09
问题 I've just bought a Raspberry Pi 3 with a 7" Display touch screen and a casing. Unfortunately, the casing can't allow me to rotate manually the screen so my apps are running upside down. I've tried to do it from the console using the following adb commands but with no luck: adb shell content insert --uri content://settings/system --bind name:s:accelerometer_rotation --bind value:i:0 Then adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:1 Or

Android Things: ADB over USB on Raspberry Pi

北城以北 提交于 2019-12-17 16:53:37
问题 I'm playing with Raspberry Pi 3 Model B and Android Things . I was able to configure everything (connect Pi over Ethernet , then reconnect over Wi-Fi with Android.local ) and debug the app. However it's not convenient sometimes to debug over Wi-Fi when I travel and I have to change Wi-Fi networks or don't have Wi-Fi connection at all. I know there is serial debug console, but it seems to be for getting logs and shell commands, not for debugging. Any chance to have direct debugging over USB

How do I rectify this error: “newline” is invalid keyword argument for this function

前提是你 提交于 2019-12-14 04:23:38
问题 I'm currently working with raspberry pi and using DHT11 to read temperature and humidity values every second. I have to save these values into a database in real time. Here's my code that showing sensor data every second. import RPi.GPIO as GPIO import dht11 import time import datetime import csv import os # initialize GPIO GPIO.setwarnings(False) GPIO.setmode(GPIO.BCM) GPIO.cleanup() instance = dht11.DHT11(pin=dht11_pin) with open('file_name.csv', 'w', newline='') as csvfile: field_names = [

How to save sensor data output into Microsoft access using python

余生长醉 提交于 2019-12-14 04:21:42
问题 I'm currently working with raspberry pi and using DHT11 to read temperature and humidity values every second. I have to save these values into a database in real time. Here's my code that showing sensor data every second. I don't know how to save the data/result in Microsoft Access. import RPi.GPIO as GPIO import dht11 import time import datetime import os # initialize GPIO GPIO.setwarnings(False) GPIO.setmode(GPIO.BCM) GPIO.cleanup() instance = dht11.DHT11(pin=dht11_pin) while True: cnt += 1

dns on raspberry coovachilli captive portal

▼魔方 西西 提交于 2019-12-14 03:06:02
问题 I have a captive portal working on a raspberry. My coovachilli is working with an IP and when i connect, i am redirected to login page (http://10.10.10.1:4990...) As i told, it is working fine. But now, i need to put facebook login on this page. To do a facebook login i first need to configure my application on facebook and there i can't set an IP as site URL(facebook don't allow), i must to put a DNS. Then i tried, without success, to configure a internal DNS. I tried those tutorials here:

kube-dns and weave-net not starting

烈酒焚心 提交于 2019-12-14 01:14:21
问题 I am deploying Kubernetes 1.4 on Ubuntu 16 on Raspberry Pi 3 following the instructions at http://kubernetes.io/docs/getting-started-guides/kubeadm/. The master starts and the minion joins no problem but when I add weave kubedns won't start. Here's the pods: k8s@k8s-master:~$ kubectl get pods --all-namespaces NAMESPACE NAME READY STATUS RESTARTS AGE kube-system etcd-k8s-master 1/1 Running 1 23h kube-system kube-apiserver-k8s-master 1/1 Running 3 23h kube-system kube-controller-manager-k8s

Kivy Video Player is not working on Raspberry 3B+

谁说我不能喝 提交于 2019-12-13 23:51:41
问题 I just installed Rasbian Stretch and Kivy on my RPI3+ . My application work properly just videos are not playing. Rasbian, kivy and gstreamer are up to date. My application and video were working on KivyPie 0.9b without any problem. Does kivy has any config for video playing on manual installation of Rasbian? Output logs: [INFO ] [MTD ] rotation set to 0 [WARNING] [Image ] Unable to load image [ERROR ] [Image ] Error loading texture ./data/images/welcome.mp4 [ERROR ] [VideoGstplayer]