With two micro HDMI ports replacing one full-sized one, how can there be standardisation? Most of the stuff is in the same place, but many cases make a lot of assumptions such as the clearance around the edges of the board and the heights of various components. Cases that include heatsinking capabil...
Does this help? #!/usr/bin/env python #The standard Python libraries "time" and "signal" are required for this program import time import signal #From the libraries supplied with the GFX HAT, we are going to use the touch, lcd, backlight and fonts libraries from gfxhat import touch, lcd, backlight, ...
(some cables have too much resistance) I would argue that all USB cables have too much resistance. It's difficult to get datasheets for USB cables. One I've just checked uses 28AWG for signals and 24AWG for power. 24AWG copper wires have a resistance of 0.08 ohms/metre. With a 1m cable, that would ...
The thing about USB chargers is that they are not required to provide 5V. At zero current they will provide the rated voltage but as the current goes up, the voltage will go down. The lower end of the voltage range specified for USB (1 & 2) chargers is below the minimum voltage at which a Pi will wo...
It seems to me that it should be fairly simple to make a "standby HAT". At the worst this would involve a microcontroller and a relay. The Pi would have to boot from standby mode, but that is fairly fast and programming could get it back to where it needed to be. So the Raspi programs the HAT "wake ...
I don't think it would be worth a high quality audio out unless it also came with a decent quality audio in. As it is you can just use a cheap USB adapter. I haven't tried it but this would almost certainly work: Amazon: Plugable USB Audio Adapter with 3.5mm Speaker/Headphone and Microphone Jacks (B...
DVI is the same as HDMI (except it does not support sound). So a HDMI to DVI cable will work on many older monitors that do not have HDMI sockets. If the monitor only has a VGA socket, then it may be possible to buy a HDMI to VGA adapter cable but they don't all work, depending on how the monitor su...
About templates.... (a bit offtopic), is there a way to keep dynamic and static IP at same time? I need dynamic to be used in dhcp network while active static IP as default for maintenance. See my second post with "fallback twopi". That should do what you want; it only uses the profile with the sta...
Maybe look into xlwings, albeit I don't know if it works with open-source spreadsheet programs, just Excel. xlwings allows you to write a Python program that either creates or interrogates a spreadsheet. So you can write a program that compiles serial numbers, sends in an order, receives the reply a...
Thats because your samsung charger uses the data pins of the USB to check some things, detect a Samsung phone, and bump the voltage to power a different charge circuit. Yes, but the way to do that is defined by the USB3 specification, all the way up to delivering 100W with 5A at 20V . https://en.wi...
Yeah, split is better than a regular expression. It can be done more neatly with maps, filters and comprehensions though. with open("variables.txt","r") as f: stuff = f.readlines() #remove everything after first # and split at first = stuff = map(lambda x: x[:x.find("#")].split("=",1), stuff) #remov...
I have tested "5V/2.4A" chargers that dipped well below 5V at only a 1A load. Unfortunately, a power supply can be within USB specs and outside Raspberry Pi requirements. It's allowed to drop as low as 4.4V (USB2) or 4.45V (USB3) unless it is a smart USB3 Power Delivery device, which none of these ...
I assume you've checked the standard library and there's nothing there to help. In that case I'd pull in the file with readlines filter out any text after the first # remove leading whitespace filter out blank lines use a regular expression such as "^([^=]+)=([^=]+)$" to split each line in two. That...
Something else to consider about cables. According to the USB specification, power supplies with sockets are required to provide 5V within spec at the socket. However power supplies with fixed cables are required to provide 5V within spec at the end of the cable. Therefore a fixed-cable power supply...
First of all, how good are your grounds? You need a star earth to one point, but I doubt I need to tell you that. The RFI must be coming through wiring and there's a limited amount of that. It wouldn't be a bad idea to put some RF chokes on the Pi power lead. Since you say you had problems with USB ...
I doubt we can say without being qualified electricians able to inspect the lamp. However if you did get such an electrician I imagine they would feel obliged to say it wouldn't be safe. Indoors is indoors and outdoors is outdoors. It isn't just rain you have to contend with. Condensation is an issu...
I've certainly had to change the country to the UK before now. It may be that it is unassigned by default so that, wherever it is used, it uses the minimum legal allocation. (Israel doesn't allow channels 1-4 outdoors.) The config utility might show the UK first on the basis that lots of people want...
If you want an accurate test tap to check traffic, check out the Netgear ProSAFE Plus Switch GS105E. It does port mirroring. Amazon have it for £25. As a solution to your problem in itself, it isn't as cheap but it doesn't slow down a gigabit link either. The v2 version has a web-browser interface, ...
Also make sure that the Pi Zero is configured for the country it is working in. Some of the channels are disabled by default (because they are not available in the USA) and your router may be using one of those. If you've got an Android phone, there's a useful app called WiFi Analyzer that shows you...
If the power supplies were different by a fraction of a volt then there could have been large currents flowing through the power leads and the power tracks on the PCB. That could have made them hot enough to break. The self-resetting "fuse" on the power connector will have seen that current and may ...
The control pins of servo motors do not take a huge amount of current. The current draw specified for the servos is for the motor itself which doesn't come from the GPIO I/O pins and so doesn't count in the 16mA limit. You would probably be able to connect the servos to a Pi3's GPIO pins and power t...
It may not be likely to get you in trouble, but it is clearly a breach of copyright if you don't own the game on ROM and may still be a breach of copyright if you do. This forum is required to not support discussions in support of breaking criminal law and could be placed in a difficult position eve...
On the page before that: https://github.com/DexterInd/GrovePi There is a Clone or Download button. You can download it as a zip, unzip it and then delete the parts you don't want. If you want to work on the project, here's a quick tutorial I wrote on how you might go about it: http://www.soronlin.or...
The -Wl... flag is for gcc -- it specifies a set of options to pass to the linker. It may be that the OP tried to pass that option by specifying it as a library file, hence the -l prefix. I've never used the targeted compilation stuff in VS, so I don't know how it works, but I imagine MS would try t...