Category: Linux

  • MCP4725

    by

    in

    MCP4725 12-Bit DAC Interface to Raspberry Pi by Lewis Loflin YouTube video see MCP4725 12-Bit DAC Interface to Raspberry Pi. The MCP4725 is a 12-Bit Digital-to-Analog Converter with EEPROM Memory. Here I’ll connect the MCP4725 to Raspberry Pi and illustrate how to program the device. I’ll be Debian based Raspbian Linux. Fig. 1 MCP4725 breakout…

  • Mounting Partition for Owncloud

    To be able to access a partition from own cloud one the proper permissions have to be given. To list the partitions run the following command: sudo fdisk -l A list of all hard drives and partitions will follow. To mount a partition locate the one you want o mount, this should look something like…

  • Serial Port Persistent

    by

    in

    Making a serial port persistent in Linux. When plugging multiple usb serial converters there is no security that the device will maintain the name after reboot or after re plugging. For this purpose there is a way of linking the device information to a file so that this file can be use instead of the…

  • Interesting SOCAT Commands

    by

    in

    To be able to make a virtual null modem one can tun the following command: socat -d -d pty,raw,echo=0 pty,raw,echo=0 This should output the follow: 2018/08/03 21:54:16 socat[32628] N PTY is /dev/pts/32018/08/03 21:54:16 socat[32628] N PTY is /dev/pts/42018/08/03 21:54:16 socat[32628] N starting data transfer loop with FDs [5,5] and [7,7] Or similar. Obviously the dates…