New answers tagged

-1

I realize this is an old post, but most of these answers are either unhelpful or flat out wrong. If you are in an industrial environment that uses DIN rail then you definitely want a DIN rail mounted DC/DC converter. They are very commonly available building blocks for industrial systems. And 24v is just about the most standard industrial DC voltage so just ...


1

GPIO 2 and GPIO 3 have hard-wired external pulls of 1k8 to 3V3. Those pins will read high while the Pi is powered (unless they are driven low by software or an external circuit).


1

The radio module on a Pi4 is connected via SDIO: $ ls /sys/bus/sdio/devices/mmc1\:0001\:1/net/ wlan0


1

The Raspberry Pi 3 has multiple cores that all share the same bus and peripherals. So when some other core uses the bus or locks things down for exclusive access your code will be blocked for short times and that's probably what you see. To verify try disabling the other cores before you start big banging.


2

You're less likely to get a good answer without providing relevant information in your question. As it's written now - your question is only gibberish. There are a variety of tools available for reporting the status of drives and filesystems - drives that are mounted, and drives that are connected-but-unmounted. There is also your /etc/fstab - which you say &...


1

Sounds like you want to read cpu temp. On raspberry pi os, this is as simple as reading the contents of /sys/class/thermal/thermal_zone0/temp Whether it's C or C#, you should be able to find a way to open a "file" for read only and read in the contents. Contents are a (human readable) base 10 string. The units are milli deg C. In other words, ...


1

Operating system aside, I'm inclined to believe the C# code you link to is .Net Framework which does not exist in Linux. There is .net core, but a quick glance seems to suggest the API is different. The cool thing is .net core works wonders on Raspberry Pi OS. In the last few versions, you don't even need to install anything. Just copy your executables and ...


Top 50 recent answers are included