Elektronik

Aus Wiki_2020

Elektronik

Datasheets

Diodes

Microchip

NXP

Messtechnik

Projects

To be categorized

Antennen

Hardware

PCB

Joule Thief

Online Design Tools

RGB

LED

RC Modellbau

Messzeugs

Wireless

Unterhaltungselektronik

Wandler RS232 auf 3,3V Logigpegel

FTDI USB-RS232 Kabel 3V3

Alternativer Text

Allgemeines Wissen

Communication

NP2M e*message

I²C

smbuslibrary Bustools

  • ADS1115
 4channel 16bit ADC ADS1115  https://learn.adafruit.com/adafruit-4-channel-adc-breakouts
 Beispiel https://smartypies.com/projects/ads1115-with-raspberrypi-and-python/
 Datasheet https://cdn-shop.adafruit.com/datasheets/ads1115.pdf
  • PCF8591
 AD/DA Wandler 8bit  http://cool-web.de/raspberry/raspi-ad-wandler-pcf8591-ueber-i2c-bus-ansteuern.htm
 AD/DA Wandler 8bit  http://bristolwatch.com/rpi/pcf8591.html

Ethernet

Serial

1-Wire BUS

Neopixel (WS2812)

DMX

Embedded

PIC

PIC- alles zu PIC Microcontrollern

Raspberry Pi

Pi
  • PI Phyton

https://learn.sparkfun.com/tutorials/python-programming-tutorial-getting-started-with-the-raspberry-pi/all
http://www.netzmafia.de/skripten/hardware/RasPi/
https://www.raspberrypi-spy.co.uk/2013/03/raspberry-pi-1-wire-digital-thermometer-sensor/
https://learn.adafruit.com/raspberry-pi-care-and-troubleshooting
https://raspberrypiuser.co.uk/display-system-info-on-your-raspberry-pi-using-conky

Hardware Erweiterungen

https://raspiaudio.com/produit/audio


Befehle
  • Prozessliste: top , htop
  • Systeminformationen ausgeben uname -a
  • Nutzer- und Gruppeninformationen id
Autostart
* funktionierende Variante unter Buster
1. in /home/pi/.config/lxsession/LXDE-pi/ Datei autostart erstellen 2. autostart editieren
@lxpanel --profile LXDE-pi @pcmanfm --desktop --profile LXDE-pi @lxterminal -e "/home/pi/Python/Sensehat_temperature.py" <-- pythonskript in Terminal starten @xscreensaver -no-splash point-rpi
Backup

https://www.linux-tips-and-tricks.de/en/quickstart-rbk/
https://forum.planefinder.net/threads/cloning-booted-rpi’s-microsd-card-if-rpi-is-physically-accessable.1360/#post-9559

1. Install
 git clone https://github.com/billw2/rpi-clone.git 
 cd rpi-clone
 sudo cp rpi-clone rpi-clone-setup /usr/local/sbin
2. Device für Clone ermitteln: pi@raspizeropihole:~ $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdb 8:16 1 14.6G 0 disk ├─sdb1 8:17 1 256M 0 part └─sdb2 8:18 1 14.4G 0 part mmcblk0 179:0 0 14.6G 0 disk ├─mmcblk0p1 179:1 0 256M 0 part /boot └─mmcblk0p2 179:2 0 14.4G 0 part /
3. hier ist es sdb ==》 pi@raspizeropihole:~ $ sudo rpi-clone sdb Booted disk: mmcblk0 15.7GB Destination disk: sdb 15.7GB --------------------------------------------------------------------------- Part Size FS Label Part Size FS Label 1 /boot 256.0M fat32 -- 1 256.0M fat32 -- 2 root 14.3G ext4 rootfs 2 14.3G fat32 -- --------------------------------------------------------------------------- == Initialize: IMAGE partition table - FS types conflict == 1 /boot (47.5M used)  : MKFS SYNC to sdb1 2 root (2.8G used)  : RESIZE MKFS SYNC to sdb2 --------------------------------------------------------------------------- Run setup script  : no. Verbose mode  : no. -----------------------: ** WARNING **  : All destination disk sdb data will be overwritten! -----------------------: Initialize and clone to the destination disk sdb? (yes/no): y Optional destination ext type file system label (16 chars max): pihole311021 Initializing Imaging past partition 1 start. => dd if=/dev/mmcblk0 of=/dev/sdb bs=1M count=8 ... Resizing destination disk last partition ... Resize success. Changing destination Disk ID ... => mkfs -t vfat -F 32 /dev/sdb1 ... => mkfs -t ext4 -L pihole311021 /dev/sdb2 ... Syncing file systems (can take a long time) Syncing mounted partitions: Mounting /dev/sdb2 on /mnt/clone => rsync // /mnt/clone with-root-excludes ... Mounting /dev/sdb1 on /mnt/clone/boot => rsync /boot/ /mnt/clone/boot ... Editing /mnt/clone/boot/cmdline.txt PARTUUID to use 0d374dbf Editing /mnt/clone/etc/fstab PARTUUID to use 0d374dbf =============================== Done with clone to /dev/sdb Start - 17:00:06 End - 17:57:19 Elapsed Time - 57:13 Cloned partitions are mounted on /mnt/clone for inspection or customizing. Hit Enter when ready to unmount the /dev/sdb partitions ... unmounting /mnt/clone/boot unmounting /mnt/clone ===============================
Doku
Monitoring
Anwendungen
OLED Python
GPIO-Interrupt
SPI-RFID/NFC
Dateisystem
#  sudo apt-get install ntfs-3g hfsutils hfsprogs

Netzwerk

System

  • Betriebssystem herausfinden cat /etc/os-release
uname -a  gibt es alles aus, was es über ihr Linux weiß
cat /proc/version  
cat /etc/*-release 

Pihole

Kodi

Kali

Systemsetup

Displays

siehe PIC Display

Sensorik

Stromsensor Hallbasiert

RFID / NFC

Fahrradlogger

Wattmeter,Logger

Absolutdruck- Höhenmessung

Herzfrequenz

5,3kHz Empfänger nochmal