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 ...
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.
sudo python --version
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/...
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 (...
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 ...
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 ...
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 ...
This is a board from a company called Waveshare. I just bought the same one. Here is the documentation I found about it
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 ...
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.
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 ...