RS232 GPIO UART bővítőpanel modul Raspberry Pi 3B / 2B / B

401352283610

Új termék

RS232 GPIO UART Expansion Board Module For Raspberry Pi 3B/2B/B
Feature:The UART is /dev/ttyAMAO, it defaults to output system log. But if user wants to use this UART to connect to other modules through UART, for example, GPS module, we need to change the configuration.The detailed steps are as following:We need to modify two files: /boot/cmdline.txt and /etc/inittab.Modify /boot/cmdline.txt:Replace the original content:dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwaitWith:dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait Modify /etc/inittab:Comment out the last line of /etc/inittab. To comment out, it simply addess a '#'. $ sudo vi /etc/inittabT0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100Save the changes, and reboot. We will get an UART with baud rate of 115200. Package List:1X RS232/GPIO

Bővebb leírás

1 687 Ft‎

-50%

3 373 Ft‎

Egyéb infó

RS232 GPIO UART Expansion Board Module For Raspberry Pi 3B/2B/B
Feature:The UART is /dev/ttyAMAO, it defaults to output system log. But if user wants to use this UART to connect to other modules through UART, for example, GPS module, we need to change the configuration.The detailed steps are as following:We need to modify two files: /boot/cmdline.txt and /etc/inittab.Modify /boot/cmdline.txt:Replace the original content:dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwaitWith:dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait Modify /etc/inittab:Comment out the last line of /etc/inittab. To comment out, it simply addess a '#'. $ sudo vi /etc/inittabT0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100Save the changes, and reboot. We will get an UART with baud rate of 115200. Package List:1X RS232/GPIO
401352283610 - ali110 (281)

30 egyéb termék a kategóriából: