raspberry-pi3

Linux: Setting up node.js on nginx

99封情书 提交于 2020-01-16 07:23:50
问题 I just got myself a new raspberry pi 3 and installed nginx with node onto it. The nginx webserver is up and running. But somehow I don't get the javascripts of my website work. Do I need to enable the javascript for each location of my webserver or is there the possibility to set node up in a way I just works for every site on my server? Here you can see the directory hierarchy of my websites: ######################################### ### Directories ### ######################################

QtQml installation in Raspberry pi

瘦欲@ 提交于 2020-01-15 10:13:11
问题 I am stuck with one error while building PyQt5 for rasberry pi. I was successfully able to run the application which uses QQmlApplicationEngine on Windows Desktop. Now I wanted to run the same application in Raspberry pi 3. I build the PyQt5 (5.4.1v) from the source and tried running the application but I get error: ImportError: No Module Found "PyQt5.QtQml". I realized that, when I build the PyQt5 from the source, I get: Project Error: Unknown module(s) in QT: qml and shows me a list of

android things:Use Speech to text in Raspberry Pi 3 using android things

会有一股神秘感。 提交于 2020-01-14 10:29:42
问题 im using below code for speech to text for Raspberry Pi3 Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM); intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, "en-US"); try { startActivityForResult(intent, RESULT_SPEECH); } catch (ActivityNotFoundException a) { a.printStackTrace(); } But code not works it gives exception as device does not support Speech to text Is there any way

Android Things 0.5.0-devpreview HDMI output isn't available on Raspberry Pi 3

隐身守侯 提交于 2020-01-14 05:24:31
问题 I am using a Samsung monitor and it displays this message "Mode Not Supported. Resolution not supported. Change the resolution of the external device." I had tried to use different monitor but still can not get the right format output signal. Display via HDMI is good on 0.4.1-devpreview 回答1: Try to check Balaji BABU T.R.'s solution from comments to Wayne Piekarski announce on Google's IoT Developers Community: Open config.txt in Notepad ++ paste below things # uncomment this if your display

Google Assistant SDK on Raspberry Pi 3: Audio setup does not work

拜拜、爱过 提交于 2020-01-11 07:35:49
问题 I have been trying to install G assistant in to a Raspberry Pi3. I have question in the following link https://developers.google.com/assistant/sdk/prototype/getting-started-pi-python/configure-audio A partial text from above link # Record a short audio clip. If you get an error, go to step 2. $ arecord --format=S16_LE --duration=5 --rate=16k --file-type=raw out.raw As expected I got error in this step. So I tried the Step2 created a new file (.asoundrc) with all the hardware info. Then I

Android Things: Connect to Raspberry Pi 3

99封情书 提交于 2020-01-09 02:43:07
问题 Total newbie, I have a Raspberry Pi and have put the Android Things disk image on and booted it up, but I can't connect to it from a Windows 10 PC running Android Studio , adb.exe via Ethernet or USB? The Pi screen has a green and grey "androidthings" logo, but says "Not Connected" . If I connect a USB cable and use the adb devices command, nothing is detected. If I connect an Ethernet cable and use adb connect android.local command it says unable to connect to android.local:5555 ? I have

docker running nginx as proxy to another webserver (on pi)

一曲冷凌霜 提交于 2020-01-07 08:25:07
问题 I am kind of in over my head with my current small project. (although it should not be that hard) I am trying to run multiple webpages using docker on my Pi (for testing purposes) wich should all be reachable using the PI's IP. I currently run a minimL LIGHTTPD: (based on the resin/rpi-raspbian image) docker run -d -v <testconfig>:/etc/lighttpd -p <pi-ip>:8080:80 <image name> (this server is reachable using the browser on pi and on other computers in the network) For nginx i run another

Install opencv on Raspberry Pi Raspbian

与世无争的帅哥 提交于 2020-01-05 07:46:11
问题 I am trying to install openCV in my RaspberryPi 3 running Raspbian Jessie OS. I am following this tutorial: http://pklab.net/index.php?lang=EN&id=392 After doing: sudo apt-get update sudo apt-get upgrade Things look fine. But when I try to install cmake to build my opencv libraries, I get the following error after entering the following command: Command entered: sudo apt-get install build-essential cmake cmake-curses-gui pkg-config Result: The following packages have unmet dependencies: cmake

How can I get connection with Raspberry without access of its shell?

守給你的承諾、 提交于 2020-01-05 05:39:12
问题 There are Raspberry Pi 3 model B and MicroSD with NOOBS OS. Unfortunately I have not any display to get a direct access to NOOBS shell. So remote connection could be set via ssh. However my device does not have any IP-address. I read everywhere that the connection options must be set... via shell. But it's impossible for me! How can I resolve this problem and get remote access to shell (or to desktop even)? 回答1: I ran into this a while ago, I started using PiBakery. It will write raspbian to

Fail configuration , when Use Camera2 createCaptureSession on Raspberry pi 3 Android Things

拈花ヽ惹草 提交于 2020-01-05 04:40:07
问题 Current my device Raspberry pi model 3 on Android Things (Oreo 8.1) first I try camera device open, and clicked capture button, get camera preview jpg file. my source private CameraDevice mCameraDevice; private CameraCaptureSession mCaptureSession; private ImageReader mImageReader; private CaptureRequest.Builder captureBuilder; private final TextureView.SurfaceTextureListener mSurfaceTextureListener = new TextureView.SurfaceTextureListener() { @Override public void onSurfaceTextureAvailable