raspberry-pi3

Trouble installing Adafruit's DHT11 Python library

喜你入骨 提交于 2019-12-13 20:22:17
问题 I followed these instructions to install the Adafruit DHT11 library (https://github.com/adafruit/Adafruit_Python_DHT): git clone https://github.com/adafruit/Adafruit_Python_DHT.git cd Adafruit_Python_DHT sudo apt-get install build-essential python-dev sudo python setup.py install And I found the library installed under /home/pi (I'm working with a Raspberry Pi 3 ). The file I want to fun is in /home/pi/Desktop so I move the library into that directory. However, I still can't run my python

Amazon Dash Button stopped ARPing?

二次信任 提交于 2019-12-13 12:20:17
问题 I have implemented a home automation solution to track my childrens chores using two Amazon Dash buttons, a raspberry pi, and python code similar to what's been done here. This solution has worked for the past several months. Yesterday, the buttons appear to have ceased ARPing. That is, I can no longer detect an ARP from them, nor do I appear to be able to detect their MAC address by sniffing it. I'm wondering if anyone else has had this problem? In addition to the python mechanism using

Access Network Share from Windows 10 IoT for Raspberry Pi

。_饼干妹妹 提交于 2019-12-13 10:40:27
问题 I am new to Windows 10 IoT for Raspberry Pi. I try to access a Network Share and save a file but so far i had no luck. I tried hours and was searching the web but could not find a solution. Maybe someone did it already Would be very happy for help Thomas 回答1: As far as I know, this is not natively supported by Windows IoT. The closest term I can think of is KnownFolders, but network shared folders don't seem to be included. However, the workaround you can try is using FilePicker, when

Can't use Serial debug console on Raspberry pi 3B Android Things

被刻印的时光 ゝ 提交于 2019-12-13 10:24:02
问题 I am trying to connect my Raspberry pi 3B which has Android Things installed to my PC using the Serial debug cable. I connected it as instructed Here and followed the below steps using PUTTY on Windows 10. N.B: Same issue is with the Android Emteria version for Raspberry pi 3B. All I get is an empty console window, which I can't even type into. The device is not seen either in Android studio or using the ADB tool I am not sure about which Com to use, here's my device manager: Note I am able

SPIDEV on raspberry pi for TI DAC8568 not behaving as expected

徘徊边缘 提交于 2019-12-13 08:39:45
问题 I have a Texas Instruments DAC8568 in their BOOST breakout board package. The DAC8568 is an 8 channel, 16bit DAC with SPI interface. The BOOST package has headers to connect it to my raspberry pi, and it has LEDs connected to the output voltage so you can easily check to see if your code is doing what you think it does. Links to the BOOST package and datasheet of the DAC8568 are in my python code below. I have the package wired to the raspberry Pi with the 3.3V supply, the 5V supply (needed

Analyzing Audio Level In Real Time using Python

让人想犯罪 __ 提交于 2019-12-13 07:28:15
问题 Im trying to get my Raspberry do stuff, based on the audio level of a played song (sound output). The song shouldn't neccessarily be a local mp3 file on the Raspberry. Let me explain it like this: If (audio level above threshold): do something.. I've found this http://freshfoo.com/posts/pulseaudio_monitoring/ which is pretty much what im looking for i guess, but i have to be able, reading single samples in order to compare it with thresholds ill be using. Analyze audio using Fast Fourier

Cannot deploy UWP app to raspberry pi 3

混江龙づ霸主 提交于 2019-12-13 05:34:10
问题 I'm getting an error : Error: Unable to connect to the Microsoft Visual Studio Remote Debugger named 'minwinpc'. The Visual Studio 2017 Remote Debugger (MSVSMON.EXE) does not appear to be running on the remote computer. This may be because a firewall is preventing communication to the remote computer. Please see Help for assistance on configuring remote debugging. I'm trying to deploy an app to my RPI 3 running Windows 10 IoT Core v.10.0.16299.15. I've tried: Reinstalling Visual Studio 2017

Failed to install CAB file as device is in the middle of an update

我的未来我决定 提交于 2019-12-13 03:57:06
问题 I try to install .cab file via Windows Device Portal running on Raspberry Pi 3 with Windows IoT Core 10. How ever there is eternal update process. I get error: Failure reason: Failed to install CAB file as device is in the middle of an update. Some other error I get via Power Shell: Windows IoT error on driver install: Could not start update, (0x8024A10F) I stopped the update service as described here: https://developers.de/blogs/indraneel/archive/2016/04/22/how-to-disable-the-auto-update-on

How to suspend the main-loop in a signal-driven demon?

心不动则不痛 提交于 2019-12-13 03:45:26
问题 I'm working on an electronic phone-line emulation for a raspberry pi. For this, I’m in need of a function, which is called each 20 ms (=50Hz, half of the ringing voltage-frequency), checks the electrical current and updates the duty-cycle of a HW PWM. To get there, I set up a signal-handler on an according timer (as I’d hang it into the scheduler in a pure embedded environment) and let it do its work. Note, that the code below is shortened just in order to kfocus on the issue. This already

OMXplayer-wrapper and Python - jump to a specific point in video

痞子三分冷 提交于 2019-12-13 03:41:30
问题 **It's my first time posting on Stack Overflow so please excuse any formatting issues - I'll try to improve as I go! ** I am building an artwork that uses looped videos on multiple screens, and I need the video to jump to a specific point when a trigger is activated (in the end via a motion sensor). I would like the program to make the video jump to a specific point in a video using OMXplayer on Raspberry Pi. In the end, I hope to do this with a signal coming from a PIR motion sensor wired