Go to advanced search

by Eirikur
Mon Mar 23, 2020 6:27 pm
Forum: General discussion
Topic: Raspberry Pi submarine
Replies: 7
Views: 292

Re: Raspberry Pi submarine

I'd use Ethernet cable. You could power over it or use batteries for ballast.
by Eirikur
Tue Mar 10, 2020 12:25 am
Forum: General discussion
Topic: hashcat on pi?
Replies: 8
Views: 6563

Re: hashcat on pi?

I am rather amused. Don't do much research do you? So, it's not going to find a GPU that it knows about. Does it actually do anything at all? Maybe it can fall back to some generic operations, but I don't think so. There is no hardware there that it knows anything about. I expect that it would simpl...
by Eirikur
Tue Mar 10, 2020 12:20 am
Forum: General discussion
Topic: Rpi 4 as NAS and Print Server?
Replies: 6
Views: 282

Re: Rpi 4 as NAS and Print Server?

A Raspberry Pi running Raspian or most any Linux distribution is a full-blown Unix timesharing system. You can install all the bells and whistles and run literally dozens of different services at the same time. I always recommend a book about Linux servers for beginners.
by Eirikur
Sun Mar 01, 2020 2:08 am
Forum: General discussion
Topic: Weather widget
Replies: 7
Views: 361

Re: Weather widget

The conky monitor package has many different weather monitors to choose from. It should be in the software repositories.
by Eirikur
Wed Feb 26, 2020 4:45 am
Forum: General discussion
Topic: Sensor information available for Raspberry Pi
Replies: 4
Views: 181

Re: Sensor information available for Raspberry Pi

A Raspberry Pi can use any sensor that is correctly connected. If that involves connecting a raw sensor device, not designed for the pi, to the GPIO pins, some basic electronics knowledge is needed because otherwise you won't know what you are building and cannot recognize errors. If you aren't goin...
by Eirikur
Fri Feb 21, 2020 6:05 am
Forum: Networking and servers
Topic: Headless Mode without a network
Replies: 4
Views: 224

Re: Headless Mode without a network

You want to configure the Pi as an access point, (AP). there are recipes for that, but I haven't done it recently.
Do that and back up your card. Put your Pi in the great outdoors and now you can go near it and connect.
by Eirikur
Thu Feb 20, 2020 7:54 pm
Forum: General discussion
Topic: usb camera vs PI camera with OpenCv and raspberry pi 4
Replies: 7
Views: 289

Re: usb camera vs PI camera with OpenCv and raspberry pi 4

I don't have a direct comparison, but I can point out some things to be aware of USB2 will limit frame rate at larger image sizes. That might not be important to you, but check the specs if the camera is USB2 only, or if you are using a Pi3, which only has USB2. If you are using a Pi Camera, the rib...
by Eirikur
Thu Feb 20, 2020 7:46 pm
Forum: General discussion
Topic: USB disk name error
Replies: 3
Views: 159

Re: USB disk name error

This will have to be changed by the (or a, doesn't need to be the original) developer. I agree with Stan's solution. Use the UUID or PARTUUID for mounting.
by Eirikur
Thu Feb 20, 2020 7:42 pm
Forum: General discussion
Topic: How close can a neo magnet safely be to a Raspberry Pi?
Replies: 9
Views: 509

Re: How close can a neo magnet safely be to a Raspberry Pi?

KKSB has a case like the Flirc with no plastic insulating panels. It costs more, though. I have not compared them.

Make sure you have the new firmware with the better heat management. My pi 4's are a lot cooler now.
by Eirikur
Thu Feb 20, 2020 7:38 pm
Forum: General discussion
Topic: file permissions
Replies: 1
Views: 94

Re: file permissions

I assume that you are logged in as the default user, which is "pi". So, the only place you can create files normally is anywhere under pi's home directory which is /home/pi. Anything under that is normally owned by pi so you could create files and directories freely. pi has superuser permission so y...
by Eirikur
Thu Feb 20, 2020 7:21 pm
Forum: General discussion
Topic: PI Power - Commercial battery source
Replies: 28
Views: 1150

Re: PI Power - Commercial battery source

As someone else suggested earlier, if you can use a 3A+, that will give you extra battery life. I investigated this. It's the lowest power pi other than the zero. You might even try a zero, but the 3A+ is a powerful machine with low power draw.
by Eirikur
Wed Feb 19, 2020 4:03 am
Forum: General discussion
Topic: Project Pi-GI
Replies: 6
Views: 303

Re: Project Pi-GI

I have an Ice Tower and I understand computer hardware. Your application does not need anything like the Ice tower. You have a very simple industrial control application that's displaying some data on a screen and opening/closing a hatch based on a sensor (or something). The processors will sit idle...
by Eirikur
Mon Feb 17, 2020 5:28 am
Forum: General discussion
Topic: error installing docker
Replies: 7
Views: 477

Re: error installing docker

I believe this is how I installed a working docker on Buster on Pi 4: https://dev.to/rohansawant/installing-docker-and-docker-compose-on-the-raspberry-pi-in-5-simple-steps-3mgl BTW: Docker does not work on a Zero. They forgot to compile one of the binaries for that CPU. I can dig up the work-around ...
by Eirikur
Sun Feb 16, 2020 6:39 am
Forum: General discussion
Topic: SD card copier: homebrew version
Replies: 4
Views: 285

Re: SD card copier: homebrew version

The two lines below are my solution in this space. I find it intellectually and practically easier to just think and act in terms of copying the all the bits on the card to a file or from a file to a card or from card to card. The linux dd command is the way to do that and if I just told you that yo...
by Eirikur
Sun Feb 16, 2020 6:20 am
Forum: General discussion
Topic: GPIO programing
Replies: 9
Views: 429

Re: GPIO programing

Well, in the code you show, after you reverse your list, your program just ends. Python's list.reverse() function does reverse the list in--place, that is to say it modifies the list rather than returning a new list. Your usage is probably correct, but the control flow of your program never makes us...
by Eirikur
Thu Feb 13, 2020 11:19 pm
Forum: General discussion
Topic: Measuring energy consumption with a Pi
Replies: 2
Views: 200

Re: Measuring energy consumption with a Pi

You could do something like a simple write to a one-column CSV file, and then later calculate the total with a program or a spreadsheet. Or do you want to do this without an addtional step? I think this would not be hard using the rpi_backlight module if your monitor is an Official Touchscreen. What...
by Eirikur
Mon Feb 10, 2020 12:20 am
Forum: General discussion
Topic: Local only WiFi AP for RPi4 - how?
Replies: 8
Views: 326

Re: Local only WiFi AP for RPi4 - how?

I was impressed by the Balena wifi-connect solution. I adopted it in a retail-of-digital-goods system. You might find parts of it useful.
https://github.com/balena-io/wifi-connect
by Eirikur
Thu Feb 06, 2020 9:12 pm
Forum: General discussion
Topic: RPi 4 audio bit rate and sample rate
Replies: 13
Views: 650

Re: RPi 4 audio bit rate and sample rate

What reason do you have for such overkill data size/rate for audio? That's so very far beyond what's required to exceed the best human hearing in perfect anechoic environments. This is an area where specs become a sort of fantasy thing. Inside professional audio mixers, you might need 24 or 32 bit i...
by Eirikur
Wed Jan 29, 2020 10:29 pm
Forum: Python
Topic: How to combine two codes together
Replies: 1
Views: 288

Re: How to combine two codes together

It appears that you are trying to combine snippets of Python. I very strongly advise you to read a chapter or two about the Python language, or at least an online tutorial. Your sensor snippet is an infinite loop, so it's never going to execute anything that comes after it. You don't appear to know ...
by Eirikur
Thu Jan 09, 2020 9:02 pm
Forum: General discussion
Topic: PCIe over cable standard. I didn't know that was a thing.
Replies: 22
Views: 1250

PCIe over cable standard. I didn't know that was a thing.

People have been talking about that PCIe interface that is not exposed on Pi4B. The Foundation may be far ahead of me here, but I want to make sure that you know about this idea. It might be worth adding a low-cost connector compatible with the PCIe over cable scheme. This might be possible where a ...
by Eirikur
Wed Jan 08, 2020 12:54 am
Forum: General discussion
Topic: Latest Version of Thunderbird on a Raspberry Pi
Replies: 5
Views: 401

Re: Latest Version of Thunderbird on a Raspberry Pi

Actually, those versions of Thunderbird are all for Intel CPUs. For Raspbian you require 32-bit ARM which is ARMF. You could build from source, of course. I don't think that Mozilla builds ARM versions for you. My personal solution for running both Firefox and Thunderbird is to run Ubuntu Server on ...
by Eirikur
Thu Jan 02, 2020 2:30 am
Forum: General discussion
Topic: Camera gestures
Replies: 1
Views: 197

Re: Camera gestures

OpenCV is one place to start.
by Eirikur
Fri Dec 20, 2019 3:57 am
Forum: General discussion
Topic: PiHole perforamance effect on non-PiHole Pi.
Replies: 10
Views: 543

Re: PiHole perforamance effect on non-PiHole Pi.

Pi-hole is blazing fast. It's a simple, optimized, program. Because it works as a DNS server, your requests and the web page that comes back don't go through it. You are quite right. Your browsing will go faster. It doesn't need a fast machine. Mine is a 3B+, which is overkill.
by Eirikur
Fri Dec 20, 2019 3:50 am
Forum: General discussion
Topic: Steer multi raspberry pis with 1
Replies: 8
Views: 509

Re: Steer multi raspberry pis with 1

You really have to define what you mean by "steer." Docker, for example, doesn't provide any resource sharing, at all. You still have to tell docker what to run where, and install docker and your software on every pi. The result is pretty much the same as installing the MPI library and your program ...
by Eirikur
Mon Dec 16, 2019 9:26 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Sending MIDI over TX
Replies: 12
Views: 757

Re: Sending MIDI over TX

This is really the hard way to do MIDI and you have to make your own cables. MIDI is not a standard computer serial port. It uses a current loop, and optical isolators. You might be able to kludge it, but you'd need electronics knowledge. A USB-to-MIDI adapter will save you a lot of trouble. Look up...

Go to advanced search