Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

New answers tagged

1

The red LED is the power indicator, it should be on whenever you have your pi plugged in. The green LED is the sd card access indicator; it goes on when the pi is accessing the sd card (which is like its hard drive). When you plug the pi in, the red light should turn on and then the green light should turn on. After that, the green light will flicker and ...


0

It seems like the issue was the specific Android phone I was using: a Samsung Galaxy S7 Edge. The eth1 interface had no MAC address attributed to it; therefore, there was no way for an IP address to be assigned. The final solution is as follows: First, add the following lines code code to /etc/dhcpcd.conf. This is standard: interface eth1 static ip_address=...


1

Seems you want to use USB tethering mode with your Android phone. With a fresh flashed Raspbian image it works out of the box with my Android phone. I don't know what's different to your setup but I will show my setup. First I connect my smartphone to my RPi 3B+ with an USB cord. It is the only device connected to it. Then I enable USB-Tethering in the ...


0

The WiFi device on the Raspberry Pi is a bit complicated and maybe also a bit buggy or its driver. You have to follow exactly a startup sequence to get it to work: create a virtual interface ap0 for the access point start access point daemon hostapd using interface ap0 start wpa_supplicant for wifi client using interface wlan0 This order restricts the ...


1

Pi HAT Waveform Generator for Raspberry Pi 3B+ 300 kHz sine waves at about 8 samples per waveform Sampling rate required is around 2.5 MSps. Have you considered the function generator modules? They are as small as 2.5cm x 5cm, so can piggybacked on to Rpi. References AliExpress AD9850 DDS Signal Generator Module 0-40MHz 2 Sine Wave and 2 Square ...


2

Jeff Geerling has published some test results here, and has measured approx. 224 Mbps using iperf. I can't explain why your results don't match his, but a thorough reading of his results may suggest something to you. Other than cabling issues, two potential limitations could be: The USB bus is not dedicated to Ethernet: i.e. if you are using the USB for ...


0

Ok something weird happend it was saying: attached scsi removable disk I unplugged the usb and added the sd on the sd rider directly without shutting down the RPi and it worked.


0

To add to @Ingo's answer: If your laptop (or desktop for that matter) happens to be a mac, you can use XQuartz as your X11 app. Apple used to include X with macos, but ceased doing so in v 10.5. To fill the void, Apple created the XQuartz project, and development continues through its GitHub site. Installation is easy via the .dmg file available for ...


0

To run graphical X-programs remotely you first need a PC with an X Window system. I use my Laptop with a Debian Stretch installation and a Xfce Desktop. On Wikipedia - X Window System you will find: Unlike most earlier display protocols, X was specifically designed to be used over network connections rather than on an integral or attached display device. ...


2

What worked for me is as follows: I installed uv4l-webrtc-armv6 instead of uv4l-webrtc as given in the tutorial. Above step replaced uv4l-webrtc by uv4l-webrtc-armv6 which I could see by using command apt search uv4l-webrtc before and after installation. I tried changing option to --enable-webrtc to --enable-webrtc-armv6 but that threw errors. So I again ...


1

#Special Case Here (Probably) Use Etcher instead of Win32DiskImager to install OS. Apparently, when you use win32DiskImager for writing the image file to the card, it shows the under-voltage warning and doesn't boot up. I got my B+ model yesterday and faced a similar issue. changed 3 cables. Re-plugged HDMI hit keys and tried everything but the warning ...


0

I connected the USB drive to another RPi3B+, with no other changes to the setup. The WiFi worked out of the box as it should. I'd tend to say that my first RPi3B+ has a hardware issue.


0

You wrote you have a brand new Pi b+ so it's very likely it is a Raspberry Pi 3B+. This need updated firmware and drivers and it is known that other distributions than Raspbian haven't supported it very quick. You can look about this issue at Why am I getting a rainbow screen and flashing red PWR LED with a new Raspberry Pi 3B+?. Please check if the kali ...


1

I had the same issue until I ran this command into the terminal: sudo apt-get install xterm for some reason after the update xterm went missing by itself. Before you run it you might want to delete xterm first if it's already installed by running sudo apt-get delete xterm


1

I think the scanner is TTL RS232 compatible and easily interface with Rpi UART. The picture in the ad seems misleading. I think the CCD camera does not go into Rpi's CSI connector, but integrated into the cheap module. You may like to check out a similar module to see more details of the TTL RS232 interface which is compatible to Arduino (which has no ...


1

With a lot of difficulty I expect. You can't plug it into the CSI connector and expect anything good to happen. There are many such flat cables and their only similarity is they look similar. You need to find some way of connecting wires to flat cable pins 2, 3, 4, and 5. The other end of 2 you can connect to a Pi 5V pin. The other end of 3 you can ...


1

I'M USING THIS SCRIPT SAVED ON /home/runfan.py And the circuit is very simple using only a BD159, connect from GPIO to center of BD159 (connector number 2), and the negative to number 1 connector of BD159, and the negative fan wire to the number 3 connector of BD139. #!/usr/bin/env python3 # Author: Edoardo Paolo Scalafiotti <edoardo849@gmail.com> ...


1

According to the website you linked, the headset supports the following profiles: A2DP: allows multimedia audio to be streamed to a headset AVRCP HFP HSP: for audio communication with a headset In this tutorial it is suggested to use BT USB dongle to bypass the RPi's BCM43438 wireless chip. That way you can use the A2DP and HSP profiles.


1

The problem was in the .wpa_supplicant.conf.swp hidden file stored in the same directory. As I removed this file, everything worked as expected.


3

I used exact the same command than you on my RasPi 3B+ with an SD Card (to be less cryptic I use long options): rpi ~$ grep --recursive --line-number --word-regexp '/' --regexp='The black cat ran across the floor' I get a huge amount of error messages about "Input/Output Error", "Permission denied" and "Operation not permitted" but the search finished ...


1

It is very well possible to repair this. The schematics for the board are available on the raspberry pi website and you can get the one for your model. Depending on your model, you may or may not have a fuse that links the fried components together. If the components did not have fuses, you will have to buy new ICs and solder them on weather thats a whole ...


2

I am afraid the only replaceable item is the Raspberry Pi. It is almost certainly the new Power Management chip - which is custom designed for the Foundation. Even if you could get one, replacement is infeasible.


2

Your grep is searching every file in every directory, including binaries, and special files such as those in /dev. You could try using the -I option, which skips binaries, but I'm not 100% sure this ignores all special files, and I'm unwilling to risk my Pi to test it. :) You could also confine your search to "non-magic" directories. edit: "Magic" in ...


3

Pins 4 and 6 are not GPIO. Pin 4 is connected to the 5V power rail. Pin 6 is connected to the ground rail. As long as the Pi is powered pin 4 has 5V. As to the GPIO they are all switchable between 0V and 3V3. But bear in mind they can only supply a few milliamps (say 16) of current. That would not be enough to power a motor. Furthermore you should ...


0

As shown with iw dev wlan0 info the access point (type AP) is running on the RasPi with SSID xyzruedi using channel 7 in the 2,4 GHz band. So you should be able to connect to it. With the information so far I cannot see a reason why xyzruedi is not visible in the list of available networks you can connect to on your phone. Double check it. Maybe WiFi is ...


0

I don't know if it is reasonable for your situation but by far the easiest way to connect to the RasPi outside is to connect to it with an ethernet cable. This works out of the box and don't need additional configuration. You may have the cable always plugged in the RasPi. For example if you have the RasPi mounted in a tree, the cable is hanging down the ...


0

Your question is unclear, but I think the following would meet your needs Raspberry Pi as an Access Point OR WiFi client This lets my Pi work as a normal WiFi Client when one of my networks is available and as an Access Point otherwise. This would let you use your laptop to connect to the Access Point, but when you bring the Pi indoors it would connect to ...


0

If the Pi is mostly-connected, there's also the option "lsyncd the pictures to a server out there, and webserve it from there."


2

Interprocess (or interthread) communication has two major challenges, concurrency and scheduling. Concurrency deals with the situation where access to the same memory can happen at the same time in multiple places. Scheduling deals with the situation where one thread waits on another because it is waiting for it to provide information or because there is no ...


0

You have decided to use routing instead of a bridge because the bridge does not accept Gadget mode interface usb0. Here I will give you an example to setup routing. To simplify things I will use systemd-networkd. Because I don't have a Pi Zero I couldn't test it but I have emulated it with a wired ethernet connection to my laptop. So I'm confident that it ...


0

I haven't looked at PiServer in detail, so don't know if this is possible, but have you tried the following changes (modified as needed for your chroot'ed config)? This is what raspi-config does, and looks like it should be capable of being performed in your environment. SUDO_USER="autologin-username" # map7 in your case? #(systemctl set-default graphical....


4

The common way of doing this is having two sets of partitions. Initially, they are identical (modulo mount points in their corresponding grub and fstab configs). Call one the active set and the other the standby set. When new versions of anything are available, install them in whatever way you want on the standby set. If it gets corrupted because of a crash, ...


2

To enable Wifi Hotspot, you can look into https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md and https://elinux.org/RPI-Wireless-Hotspot To share file, You can use Apps like ES File Explorer The SFTP option in ES File Explorer lets you share files between Devices. Some Short Notes of its usage Connect Your Android Phone ...


0

The successful pinout was: (+): pin1, 3.3v (dat): pin7, GPIO4 (-): pin6, GND There seemed to be a driver problem as reinstallng the Adafruit library (essentially, updating it) helped acheive feed from the sensor. sudo pip uninstall Adafruit_DHT sudo rm -Rf /{PYTHON2}/dist-packages/Adafruit_* sudo pip install Adafruit_DHT The issue could have a ...


1

The Raspbberry Pi 3B+ has improved boot capabilities. It can boot from any USB drive out of the box. Just flash an Raspbian Image to the USB storage like you do it with a SD Card. Put it into one USB port on the RasPi and boot. The only thing is that there must not be a SD Card in its slot. The RasPi will always first boot from it if it find one.


1

There is nothing wrong with the Pi3B+ power supply - it is an excellent design (which you can find documented on the Foundation site). Some few boards have had failures of the 3.3V rail. The many power problems Pi users have are a combination of poor power supplies and inadequate cables. If you are getting 0.2 drop on half of your cable it is rubbish. ...


1

This looks like the same thing as issue #1816 from graphite-web—your Django version is too new. My suggestion would be to uninstall the package from apt and follow the official instructions to install with Pip: In order to install Graphite-Web and Carbon, you must first install some development headers. In Debian-based distributions, this will ...


1

The issue was tri-fold: wiring of the pull-up resistor should be as follows: 1-wire protocol was OFF. Simplest way to switch that ON is through sudo raspi-config -> interfaces. w1-gpio and thermal driver were missing. As soon as they were installed, sensor surfaced in /sys/bus/w1/devices/ and was producing desired output.


1

It is normal that you lose the ssh connection when you add the interface, you used for ssh, to the bridge. When the interface is added to the bridge it looses all properties to work as normal ip interface. It is only used for the bridge. You have to ensure that the bridge interface br0 itself gets an ip address before adding eth0 to the bridge. Interface br0 ...


0

Yes, as advised by Jan Hans, the use of the ADDR pin is clever.


2

GPIO pins are there for you to interact with other devices. The name/numbers they are given are arbitrary and depend on the system that you're using. As you can see by comparing the Arduino pinout with the Raspberry Pi pinout they have nothing to do with each other. You should (in general) be able to use any digital GPIO pin to do what you want. It doesn't ...


2

The fan is not connected to the GPIO. The GPIO are 3V3 and only supply a few tens of milliamps of current. The fan is connected to the 5V and ground rail. You will need to add circuitry to switch the fan on and off. The simplest is probably to add a transistor. The transistor would sit between the 5V supply and the fan. A GPIO could then be used to ...


1

I was able to solve the issue by adding #Set DPI overlay mode dtoverlay=dpi18 Now both versions of the Pi work the same.


1

This happened to me once, several years ago. I installed on a new 8GiB card, and it failed in a couple of days and was unformattable. I contacted Sandisk, and was advised to return the card, to be replaced under warranty. I gather this is a known, but rare, problem. See Raspberry breaks SD card -> 31 MB RAW


1

Try formatting the SD with the sdformater: https://www.sdcard.org/downloads/formatter_4/


1

A hard disk can be separated into several partitions each appearing as independent drive with its own letter in Windows explorer. This can be done with an SD-card or USB flash drive, too, but it is normally very uncommon, except when an operating system is installed on the drive. There is typically a small drive of just a few 10MB for initial booting (e.g. ...


1

There are many things that can be done to achieve a performance improvement on a Raspberry Pi. You linked an example using the GPU to achieve better processing speeds. Here is another example that you might want to look at, but it is not a simple solution. There are many other ways to optimize code, but I am not familiar enough with JavaScript to make a ...


0

I once built an RC card controlled by a Raspberry Pi. What I did, and might do the trick for you, is to use the power bank to power the Raspberry Pi, and use additional batteries to power the car itself. If you're repurposing a car toy, it should already have a place to store the batteries. There are a couple of things you need to consider when working ...


Top 50 recent answers are included