New answers tagged

1

If you have no experience in electronics, the easiest solution is to get a powerbank. There are even powerbanks which accept 18650 cells, such as this one (google "8pcs 18650 powerbank"): Be careful when you put the cells in it: if you plug a cell which has a substantially different charge level it may get damaged, and plugging a cell with reverse ...


0

Yes it can - I tested this example on Pi3 A+ - once opencv/model is loaded image recognition takes ~1.5 seconds. I expect Pi Zero to do the same in ~10-20 seconds. On pi zero you might have a problem with installing opencv - you want to use pip install opencv-contrib-python-headless not sure if the NN stuff might be in the contrib part. But expect it to ...


0

The seller sent me this: https://www.waveshare.net/wiki/1.44inch_LCD_HAT?spm=a2g0s.imconversation.0.0.3d073e5fTM9i7J&file=1.44inch_LCD_HAT I ran the demo in C ( python had an error ) and it worked, but I didn´t have any feedback on the buttons pressed, and now I´m trying to make it mirror the desktop, but I got a "DMA channel assigned by another ...


1

Download matchbox-keyboard and matchbox-keyboard-im packages (link for Raspbian, if you have Buster, you need .deb files version 0.2 dated 28-Jun-2020). Write installation commands in a text file, e.g.: cd /boot sudo dpkg -i matchbox* <- don't forget the newline after the last command Put the packages and the text file on the FAT partition of the SD card ...


1

Updates: I have figured out the cause of this issue, it seems like when the annotator is called several times in the loop it allocates several resources and doesn't release them between loops. The issue was fixed by avoiding to use Annotator and remove it from inside the loop


1

I tried two different ones: matchbox-keyboard and florence. You will need a connected USB keyboard to be able to try them. Otherwise, use an SSH connection. Open a "Terminal" and type sudo apt install matchbox-keyboard. You will find it installed under "Accessories" with the name "Keyboard". In my opinion, florence is better and ...


0

In Linux Mint 18.3, I have to go into Network Connections and edit the entry that shows up when the Zero W is plugged in. Go to the IPv4 Settings tab, and change Link-Local Only. After I do this, and wait about 15 seconds or so, I get a notifcation that Wired Connectiong #2 was made. Wired Connection #1 is my connection to my router; I am not on wifi. Then I ...


2

I found the issue why it was not recognized. Problem was the image file. It did not contain a partition. I found this in the message file of another rasperry pi when I connected the it, and compared it with the messages from the working stick. It showed "sda:" only and not "sda: sda1" as with the working one. Feb 17 11:14:59 raspberrypi ...


0

There are USB adaptor hats (or a cable) for Raspberry Pi zero they allow you to plug in the Raspberry PI into your computer (and be power by) as if the Raspberry PI is a Network adaptor. Which means your host computer can access you RPI0 over network in terms of ssh/NFS/Samba etc. Add the following to your config.txt dtoverlay=dwc2 Add the following to your ...


3

Unless a device actually communicates on USB, there is no way to know whether it is plugged in or not. The Pi has not built-in equipment to measure the power supply current, or current in a given USB port. And, as you rightfully notice, such measurement wouldn't be a reliable indicator of connection, because once the battery is charged, it stops drawing ...


1

If I understand your objectives correctly, it seems that your idea is generally sound. But, the devil is in the details as they say. Reviewing your diagram: It appears that the purpose of the Low Battery Cutoff Switch and the N.O. 12 V Relay is to signal the RPi (via GPIO input) that it should execute a shutdown soon. However, 12.3V seems too high for a low-...


2

You have installed for the default Python (Python 2). You are using Python 3. You need to install PIL for Python 3. sudo apt install python3-pil


1

After debugging with tcpdump I realized that the router was sending an advertisement. I have also realized that an IPv6 address was assigned to the Pi when running tcpdump. After asking on another forum, I found out that my ethernet adapter fails to handle multicast correctly. This is why it has worked when using tcpdump because tcpdump turns promiscuous ...


0

you need something like a dead man switch. I cannot draw schematic, but i would use two relay system. One relay as you said that can pull pin low to shutdown, another (3.3V) that connects power to Rpi throuth COM-NO contact. You need to bypass this COM-NO with pushbutton. As soon as RPi boots, put a script that will turn on 3.3V Relay with some GPIO, after ...


Top 50 recent answers are included