New answers tagged

2

I assume Tkinter requires a “window manager” from an OS that has a desktop environment. To clarify a few terms that have a specific technical meaning in GNU/Linux based operating systems: Window(ing) system: Software that provides the basis of a desktop GUI, which is mostly about relationships with the kernel and hardware. The predominant windowing system ...


0

I can't comment as I haven't got the reputation points yet. But I noticed you're running Python 2.7 and most of the Adafruit libraries require Python 3. check with sudo python --version then sudo apt-get install -y python3 git python3-pip sudo update-alternatives --install /usr/bin/python python $(which python2) 1 sudo update-alternatives --install /usr/bin/...


1

The issue is not normally the destruction of the card (I've used normal ones in -16C) but the actually data or OS file system being corrupted by not being written to the card as the machine dies due to the environment. I used to handle over 70 different bits of kit in the field that where mission critical and had to handle temperatures of +40C down to -35C (...


0

I solved it! In case anyone had the same problem, the goodtft driver adds console=ttyAMA0,115200 to the /boot/cmdline.txt file. Just remove it and you are done!


0

Quite often when pairing has happened but there are issues connecting it is because there is a mismatch between the services offered at both ends of the connection. With info you have shown what services are available on the remote device. If you do show then that will let you know what is available on the RPi. I would expect the following to be included on ...


3

Driving the coil of a relay requires power. Power (P) - in direct-current electrical form - may be calculated as the product of voltage (V) and current (I): P = V * I Knowing even a little bit about the GPIO specifications, and then looking at the numbers in your table, it is clear that the RPi Zero is simply incapable of supplying sufficient power to ...


-1

This is a common issue (3.3v pin cannot reliable control a relay). The Pi does have a couple of 5v pins -- but those are always on (basically a pass-through of the 5v power supply). Typically a circuit is needed where you use the 3.3v pin to control the flow of the otherwise always-on 5v power. The 5v power throws the relay. That's the basic idea but there ...


0

This is a board from a company called Waveshare. I just bought the same one. Here is the documentation I found about it https://www.waveshare.com/w/upload/4/4a/GSM_GPRS_GNSS_HAT_User_Manual_EN.pdf I also spent quite some time trying to make it run. The solution is really simple though :) You have to use stable source of voltage, not the usb port from your ...


0

Try running sudo apt purge pulseaudio and rebooting. It can sometimes cause problems with audio output. If it's not installed, try running sudo apt install pulseaudio which ironically can also fix things.


3

The Pi Zero has only ONE USB port. The power connector might use a microUSB connector but it has no data pins, only power pins. You can power the Pi via either port (this is not true of normal Pi).


0

MiniDLNA is hardly maintained (last release ~3 years ago) and the solution is just switching the Server Software.


1

I suspect the answer is to have events rather than a while loop. Not sure on the logic on this project... Is it: when the button is pressed, check for the phone being connected (or nearby)? This would mean you could use when_pressed https://gpiozero.readthedocs.io/en/stable/recipes.html?highlight=when_pressed#button For reading the phone connection, you ...


Top 50 recent answers are included