Hot answers tagged

6

The ADS7380 has, according to the data sheet 2 address pins. That means you can connect up to 4 of them to the same I2C bus. If you need more, you can either use multiple I2C busses (the Raspberry Pi 4 has up to 6 of them) or use I2C multiplexers. If you use breakout boards, they usually use pull-downs on the address pins, but you can normally still change ...


3

The Bluetooth stack on Linux is BlueZ and they make a series of APIs available using D-Bus to interface with the Bluetooth hardware. The documentation for the various API's is available at: https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc If you have not used D-Bus before it can be a little bit of a learning curve. There are libraries like pydbus ...


1

There is no "standard" - generally PARTUUID depends on the specific image installed. (It can also be changed - which I do routinely.) I use the following code to verify images, as it often gets confused restoring from backups. #! /bin/sh # 2021-02-10 # Check consistency of Disk identifier in cmdline.txt /etc/fstab # Determine Disk identifier ...


1

I have a Raspberry Pi 3. cat /etc/fstab proc /proc proc defaults 0 0 PARTUUID=232c31bf-01 /boot vfat defaults 0 2 PARTUUID=232c31bf-02 / ext4 defaults,noatime 0 1 # a swapfile is not a swap partition, no line here # use dphys-swapfile swap[on|off] for that


1

Typically the IP address is assigned from a DHCP server. The DHCP server looks at your hardware's ethernet address (listed after link/ether in ip addr output and gives each one a (temporary) unique IP address. Each Pi and each network interface should have unique ethernet addresses assigned by the manufacturer. So it is OK for different SD cards to get the ...


1

What you want is possible and quite simple. Include the following in /etc/dhcpcd.conf interface wlan0 request 192.168.1.76 See Setup a Static IP Address in How to set up networking/WiFi for detail. (Most Pi users go to some lengths to ensure that each Pi has a unique address, so this is unusual and I wonder WHY?) NOTE you will get suggestions to use a ...


1

Note that mousepad is just a text editor, which can be substituted with leafpad, gedit, mcedit, nano, or even hardcore stuff like vi or emacs, whichever you happen to have installed and are familiar with. I think leafpad is there by default, and it's yet another MS Notepad clone just like mousepad. If you want to edit HTML regularly, note that gedit, mcedit, ...


Only top voted, non community-wiki answers of a minimum length are eligible