All Questions

0
votes
0answers
2 views

Control function for a DC servomotor angle

I am using a Raspberry Pi 3B+ with servomotor shields to control multiple servomotors at once with Python. I know that the travel angle of a servomotor is controlled using PWM. So there exists a ...
0
votes
1answer
5 views

gpio command from terminal

I have two simple scripts, one in Python, one in bash to turn on and off a LED. I don't know what I'm doing wrong but if a run the bash script nothing happen, while the Python script It works flawless....
-1
votes
1answer
16 views

Raspberry Pi IO issue (Python)

I am testing my Raspberry Pi IO pin because I realize some of my IO pin is not functioning. So I wrote this python program to test all the IO pin import RPi.GPIO as GPIO import time GPIO.setmode(...
0
votes
0answers
11 views

Can I run Pi-hole and other applications at the same time on one pi?

I never had a Pi before and want to get me a pi-hole for my network. Is it possible to run pi-hole on a pi and some other applications like: That one that emulates chromecast? MiracleCast? Something ...
0
votes
1answer
14 views

Command to see serial port properties

I am looking for RP command to display the serial port properties, in windows this is done using mode command as per this link. https://stackoverflow.com/questions/20690073/serial-com-port-timeout-...
0
votes
0answers
19 views

Controlling LED strip from GPIO Help?

I have a ws2811 LED strip that I was powering using an arduino, but I want to do some more complicated things with it, and figured my old raspberry pi would be perfect. So I followed a tutorial online ...
0
votes
1answer
15 views

Raspberry Pi PIR motion sensor and camera script dies after loop

I have a simple code for PIR sensor to detect a movement, which works as expected. Code: from gpiozero import MotionSensor import time pir = MotionSensor(4) while True: pir.wait_for_motion()...
0
votes
1answer
18 views

I would like to switch on the Raspberry GPIO using an NPN transistor (2n2222)

Hello guys I am currently working on a project. and I would like to turn on a GPIO pin when my LED on the circuit below turns on. I'm lost to where I should tie my input GPIO pin. please help. Thanks!
0
votes
0answers
10 views

Second i2c bus on RPi 3?

Were you ever successful big-banging a second i2c bus on the RPi 3? I've seen different sites showing a 'dtoverlay', but it doesn't seem to work for me. I see a result of a "i2cdetect -y 3" but very ...
0
votes
1answer
11 views

dhcpcd and dnsmasq in same Pi

I have a Pi 3 running stretch which uses dhcpcd to configure its one network interface, eth0. But it also acts as the dhcp server for my LAN, courtesy of dnsmasq. The dhcpcd.conf file spells out ...
0
votes
1answer
13 views

putty network unreachable error help

I am trying to run my raspberry pi by using putty but i keep getting network is unreachable. I have try run it on other device it was working well
1
vote
0answers
8 views

Raspberry Pi Qt toolchain on Ubuntu 16.04

I have issues creating a tool-chain for cross compiling Raspberry Pi 3 Qt applications through Ubuntu. I used directions from this guide, https://wiki.qt.io/Raspberry_Pi_Beginners_Guide, to help me ...
0
votes
0answers
8 views

Hostapd and dnsmasq are set up but i dont get any signal on my devices

i have set up hostapd and dnsmasq and ran into some issues. at first the issue was that hostapd didn't recognized the driver. after i deleted that line it did start up. then dnsmasq told me that there ...
1
vote
0answers
12 views

The first picture I take with a USB webcam as soon as I connect it looks good, but the following ones are dark

I am experiencing the following issue: I connect a USB webcam (Logitech Quickcam Pro 4000) to my Raspberry Pi 3 B+ and take a picture using fswebcam and looks good. Sometimes I take a second picture,...
0
votes
1answer
21 views

Unable to Ping to / from PC to Pi 3 B+

I have similar issue as mentioned in below link Raspberry Pi 3 B - no ping from Windows Computer on LAN The pi model is 3B+ and have installed latest NOOBS from the below https://downloads....
0
votes
0answers
15 views

pureVPN router on pi3 B+ Noobs

I've been trying to setup my pi 3 B+ to be a VPN router, im using pureVPN as the service and have a combination of pureVPN's guidelines and the following two setup guides first the wireless access ...
0
votes
0answers
14 views

Can't get any form of audio working on RPi with Android Things

I'm using a Raspberry Pi 3 Model B running Android Things hooked up to a projector with a built-in speaker. The app is designed to relay a text-to-speech announcement every few minutes, but it just ...
1
vote
0answers
5 views

usb_modeswitch error Huwaei E3372 4g Modem

I tried following this tutorial to change mode of my Huwaei E3372 modem https://blog.unixweb.de/usb-stick-lte-telekom-magenta-eins-huawei-e398-modem-raspberry-pi/ System Raspberry 3B+ OS: Raspbian ...
0
votes
0answers
20 views

How can I distribute my workload among multiple raspberry pi running an OpenCV Application

I have 4 raspberry pis and one picamera. I wish to distribute my OpenCV task among the 4 pis. I haven't been able to find any good resources for how I could this efficiently anywhere. An approach I ...
0
votes
3answers
45 views

Input on GPIO at very Fast Speed

I am getting a signal at 1 GPIO which i need to read at an interval of exactly 10^ (-6) seconds. I am using wiringpi.h in C and the issue is that digitalRead() also takes some time thus i am not able ...
0
votes
1answer
31 views

File transfer between raspberry pis via GPIO pins

I'm trying to send image(3MB) captured by one pi to another pi, external WIFI or setting up one pi as AP is not possible due to strict regulations, all I can use are the two wires. Currently I'm ...
3
votes
1answer
26 views

Keyboard and mouse don't work in GUI

I've tried to include as much information as possible, but if it isn't relevant I will remove it. I purchased a Raspberry Pi 4 months ago, and I've been using it to run some CRON jobs. I have a ...
1
vote
1answer
30 views

HDMI + GPIO Dual Screen

I am running Raspbian 4.19.34 with HDMI monitor (FullHD). I bought 5" LCD which connects to Raspberry using GPIO pins (by rpi rgb lcd and vga board). I am trying to get it to work like 2 screens. ...
3
votes
1answer
37 views

Controlling a High Power 13V DC Motor with in-built Hall Effect sensor

I am a beginner with electronics and RPi. I have a Brushed DC Motor that runs at a constant 13V and draws about 4-5 A while running and about 18-20 A at stall. It also has a single Hall effect sensor ...
0
votes
1answer
17 views

kernelPanic: VFS: can't mount root fs (179,2)

Every time I install 2018-11-13-raspbian-stretch-full.img or 2018-11-13-raspbian-stretch-lite.img on my SD card and plug it in the Raspberry Pi 3 B+ device, they first time it runs fine but I am ...
1
vote
1answer
13 views

My Access Point isn't working, could I get some help?

I went through a tutorial on thepi.io. However, my AP isn't showing up or not working. I ran the: sudo hostapd /etc/hostapd/hostapd.conf then it came back as: failed to create interface ...
0
votes
0answers
8 views

gpxlogger not reading any data unless cgps runs

I have the GPS daemon running as user gpsd: /usr/sbin/gpsd -N /dev/ttyUSB0 /dev/ttyUSB0 I have gpxlogger running as root: gpxlogger -d -f /data/%Y%m%d-%H%M%S.gpx Initially, all what gpxlogger ...
1
vote
1answer
16 views

PIGPIO bit banging UART - SLR to plaintext

I've managed to read UART input by SLRO and SLR commands from pgpiod, however, SLR returns UART bit-banged data in the following format: [number of read bytes] [bytes] http://abyz.me.uk/rpi/pigpio/...
0
votes
0answers
14 views

MQ135 Sensor - Output ppm

So I am making a Mq135 sensor and the wiring can be found on: circuit.io/app?components=9443,200000,398790 It isn't shown but the AO is connected to channel0 via the breadboard the code is : #!/usr/...
0
votes
1answer
19 views

measuring phase difference in 3 phase power

For my ceramics oven I had 3 phase power installed. But power consumption according to the meter is way higher than the nominal 7KW the oven consumes. A friend told me that if the phase (or sinus) is ...
1
vote
1answer
38 views

Configure Caching IPv4/IPv6 DNS Stub Resolver using “systemd-resolved”

"How Do I configure a local caching DNS stub Resolver using "systemd-resolved"?" I've been using BIND to enhance performance by caching name queries on hosts. Since systemd-resolved is part of the ...
0
votes
1answer
32 views

How can I amplify my voice in real time just like a microphone does?

I am planning to make a microphone and speaker system to amplify my voice just like a normal microphone does. I have a sound sensor and a speaker... is there any Python code that I can use?
1
vote
0answers
21 views

illegal instruction when importing opencv in python 3.5

illegal instruction when importing opencv into python compiled opencv3 for python 3 by using these commands $ cd ~/opencv-3.3.0/ $ mkdir build $ cd build $ cmake -D CMAKE_BUILD_TYPE=RELEASE \ -D ...
0
votes
1answer
15 views

Trying To turn Display on and off

I am attempting to turn on/off my display via a webcam motion detector. The module throws the commands vcgencmd display_power 0/1. this works fine except that once the monitor is off.....the pi ...
0
votes
1answer
25 views

Chromium browser kiosk mode

I'm using chromium browser in kiosk mode to display a web page (Raspberry Pi 3b). I'm using this for professional purpose, this means that once I sell it to customer, it is expected to work smoothly (...
4
votes
1answer
100 views

I2C bus hangs in master RPi access to MSP430G uC ~1 in 1000 accesses

What I've done to deal with the problem I reset the MSP430, clearing the hung state. I've slowed down the I2C clock's frequency, beefed up the Power Supply, changed pull-up resistors - no change. ...
1
vote
1answer
19 views

apt aborts while reading package lists

When trying to run sudo apt-get update, I get three lines of output when all is said and done: Hit:1 http://archive.raspberrypi.org/debian stretch InRelease Hit:2 http://raspbian.raspberrypi.org/...
1
vote
0answers
13 views

PiVPN on Mobile Device - Wifi Drops and the Phone Reverts to 4G [on hold]

I recently installed PiVPN. Although it works, I have noticed that after about 20-30 seconds of 'screen off' time, the phone's connection will drop from wifi to 4G. This only happens when I am using ...
0
votes
2answers
31 views

raspi-config network option not working

I am trying to turn on the network option in raspi-config, but when I do, I get this error: could not communicate with wpa_supplicant Then I hit enter to continue and I get this message There was ...
0
votes
1answer
19 views

ssh via USB while wifi is enabled and working (Pi zero W)

Is it possible to connect to the "Pi zero W" via usb-network, while wifi connection is already set up and working? My observation: 1.) initial Pi Zero W setup. Pi is attached to the notebook (OS: ...
-1
votes
0answers
11 views

Trying to deploy my flask web app using lighttpd

I'm trying to deploy my flask web app using lighttpd. I created this hello.fcgi file #!/usr/bin/python from flup.server.fcgi import WSGIServer from hello import app if __name__ == '__main__': ...
0
votes
2answers
38 views

I have a doubt about the Linux distro I should use

I'm not a complete beginner, nor am I a total expert. Which Linux distro will go better than Ubuntu? I want one with which I can handle complex IoT easily and also browse the net and play games and ...
0
votes
1answer
25 views

Raspberry Pi error when connecting to Firebase

When I tried from firebase import firebase running in the Python 3 (IDLE) and Thonny Python IDE, it gives an error likes this at the first line: Traceback (most recent call last): File "/home/pi/...
-2
votes
1answer
19 views

Pin assignments for banggood P1F1 DAC V1.0 with 26 and 8 pin header to connect to RPI 3

OK I bought the Banggood P1F1 DAc v1.0 but can't figure out how to connect it. Any help would be appreciated.
-1
votes
0answers
24 views

Into an old ipad

I have a couple of old IPad 1s' that are sitting around collecting dust. I am considering replacing the internals with an sbcy like the rpi. Has anyone replaced an IPad 1 board with a sbc? ...
0
votes
0answers
38 views

Connecting 4 WiFi USB Adapters to Raspberry Pi 3

I'm trying to get 4 Wifi adapters running off the Pi (overkill I know), the adapter in question is the Alfa Network AWUS036NHA, the Pi runs smoothly and reads the adapters as I plug them in one by one ...
-2
votes
2answers
49 views

Python: how can a delay the repeat of my print command?

My objective is to program a print out a reading, but I want to delay the reprint so that its not spamming me with the reading constantly. try: cpuFile=open("/sys/class/thermal/thermal_zone0/temp","...
-1
votes
0answers
22 views

How to overclock Pi 3B+ on Arch Linux?

I used to overclock my Pi 3B+ on Raspbian by modifying the /boot/config.txt file, but how can I do this on Arch Linux ARM? I can run Arch Linux successfully.
0
votes
1answer
33 views

Ubuntu MATE Pi not connecting to monitor?

I just flashed a MicroSD card with Ubuntu MATE. I booted up my Pi 3 Model B with it and the monitor is just showing a black screen. The monitor looks like it is connected to the Pi, because it is on ...
0
votes
1answer
31 views

Raspberry SD card port problem

I have problem with my Raspberry Pi 3 b+. I think the SD card slot is broken. I don't have a monitor, so I am using VNC viewer to remote my Noobs. I installed Noobs on my SD card, but when I plug it ...

15 30 50 per page