Smartphone Portkontrol med RaspberryPi

14. november 2015

1 RPi A+ eller B rev.2 eller nyere 1 PSU 5v DC 1.2A 1 USB WiFi 1 SD-card 8GB 1 Relæ Modul 1 Magnet kontakt Jumperwire med HUN-HUN stik men det kan også loddes. Signalkabel min. 2×0.6 – de fleste kabler har flere ledere. Du kan nok finde det hele her http://elektronik-lavpris.dk/. Værktøj Multimeter Små skruetrækkere (PZ1, PH1, 5mm) Evt. lille loddekolbe + tin med flus Python controller modul Et

Read More

Using USB harddrives on RaspberryPi

13. juni 2015

This is surprisingly easy. Make sure your PI has enough power – at least a 2Ah or better. Mount the root partition your SD card Mount your USB harddrive (ext4 formatted Copy the root partition of the sdcard to a ext4 formatted usb-harddrive. Rebember to sync to ensure all data are flushed from cache. mount /dev/sdxY /your/sdcard/mountfolder mount /dev/sdxY /your/usb/mountfolder cp -r /your/sdcard/mountfolder/* /your/usb/mountfolder sync On the boot partition of

Read More

Raspberry Pi: resources

14. maj 2015

Resources Raspberry Pi http://www.raspberrypi.org/documentation/configuration/device-tree.md http://www.raspberrypi.org/forums/viewtopic.php?f=29&t=97314 https://github.com/Hexxeh/rpi-firmware/tree/master/overlays ArchLinux http://archlinuxarm.org/platforms/armv6/raspberry-pi http://archpi.dabase.com/ https://wiki.archlinux.org/index.php/Raspberry_Pi http://elinux.org/ArchLinux_Install_Guide http://docs.rpi-dashboard.com/system_configuration/enable_spi.html http://www.raspberrypi.org/tag/arch-linux/ http://docs.rpi-dashboard.com/build_from_source/build_on_arch_linux.html

Raspberry Pi: status

14. maj 2015

How are you today? #!/bin/bash for src in arm core h264 isp v3d uart pwm emmc pixel vec hdmi dpi do echo -e “$src:\t$(vcgencmd measure_clock $src)” done for id in core sdram_c sdram_i sdram_p do echo -e “$id:\t$(vcgencmd measure_volts $id)” done vcgencmd codec_enabled MPG2 vcgencmd codec_enabled WVC1