![Waveshare DVK512 Скачать руководство пользователя страница 18](http://html1.mh-extra.com/html/waveshare/dvk512/dvk512_user-manual_3862178018.webp)
DVK512 User Manual
Waveshare
18
V2.4, Jan. 21, 2015
2.13
Angular rate Sensor L3G4200D
Before performing the following operations, you should remove the 3.5-inch LCD
displayer first.
1)
Connect the L3G4200D to the SPI interface on DVK512;
2)
Remove the 3.5-inch LCD displayer;
3)
Connect a HDMI displayer to Raspberry Pi module (In here, you can also use SSH
to build a connection to Raspberry Pi module);
4)
Enter the terminal, and input:
root@ raspberrypi:/#
HDMI-SYS-SHOW
(From 3.5-inch LCD display switch to
HDMI display)
Notices: The L3G4200D Board needs to use the SPI interface. However, if the
system boots from LCD display mode, the SPI interface will be occupied by the
LCD displayer. Therefore, you should remove the LCD, connect a HDMI displayer,
and switch to HDMI display mode to release the SPI, before using the
L3G4200D Board (For more detailed information, please refer to the Section
1.6).
5)
The system will load the driver (wait several minutes). And the Raspberry Pi will
reboot automatically, when the driver download finished. After the module
rebooted, waiting more than 30 seconds, there will be information display on
the HDMI screen. And then, you will enter into Startx interface;
6)
Enter the terminal, and input:
root@ raspberrypi:/#
L3G4200D
7)
The terminal will display the angular velocity values in three factors of x axis, y
axis and z axis, respectively.
Figure 18: Angular velocity values
2.14
GPS Demo
1)
In the default boot mode of the system image provided by Waveshare, the serial
port works as terminal debugging output. In order to control peripherals via
serial port communication, you should input corresponding commands on the
terminal to disable the debugging function of the serial port.
When using a LCD displayer, you should enter following command to disable
the debugging function of the serial port:
root@raspberrypi:/#
DIS_UART-LCD
When using a HDMI displayer, you should enter following command to
disable the debugging function of the serial port:
root@raspberrypi:/#
DIS_UART-HDMI