8,367
edits
Changes
→Instructions for the use of the android 12 system
1) First click the Wiringop icon to open the Wiringop App<br><br>
[[Image:Pi-5-details2-pic32.png]]<br><br>
2) The main interface of the Wiringop app is displayed as shown in the figure below, and then click the '''GPIO_TEST ''' button to open the GPIO test interface<br><br>
[[Image:Pi-5-details2-pic33.png]]<br><br>
3) The GPIO test interface is shown in the figure below. The two rows of the '''CheckBox ''' button on the left and the 26PIN pin are one -to -one relationship. When checking the '''CheckBox ''' button, the corresponding pin will be set to '''OUT ''' mode, the pin level settings will be set. For high levels, when the check -up is canceled, the pin level is set to a low level; when clicking the '''GPIO READALL ''' button on the right, you can get the WPI, GPIO mode, pin level information, etc.<br><br>
[[Image:Pi-5-details2-pic34.png]]<br><br>
4) Then click the '''GPIO READALL ''' button, and the output information is shown in the figure below<br><br>
[[Image:Pi-5-details2-pic35.png]]<br><br>
5) Taking the high and low level of the '''GPIO2_D4 ''' as an example, click the '''CheckBox ''' button in the figure below. When the button is selected, the '''GPIO2_D4 ''' is set to a high level. After setting, you can use the value of the voltage of the pins by the multimeter. If it is '''3.3v''', Explain that setting high -electricity is successful<br><br>
[[Image:Pi-5-details2-pic36.png]]<br><br>
6) Then click the '''GPIO READALL ''' button to see that the pins mode of the current '''GPIO2_D4 ''' is '''OUT''', and the pin level is high level<br><br>
[[Image:Pi-5-details2-pic37.png]]<br><br>
7) Click the '''CheckBox ''' button in the figure below to cancel the check status. The '''GPIO2_D4 ''' pin is set to a low level. After setting, you can use the value of the voltage of the multimeter to measure the pins.If it is '''0v''', the low -power flat is set.<br><br>
[[Image:Pi-5-details2-pic38.png]]<br><br>
8) Then click the '''GPIO READALL ''' button to see that the pins mode of the current GPIO2_D4 is OUT, and the pin level is low<br><br>
[[Image:Pi-5-details2-pic39.png]]<br><br>
2) First click the WiringOP icon to open the Wiringop App<br><br>
[[Image:Pi-5-details2-pic41.png]]<br><br>
3) The main interface of the WiringOP APP is displayed as shown in the figure below, and then click the '''UART_TEST ''' button to open the UART test interface<br><br>
[[Image:Pi-5-details2-pic42.png]]<br><br>
4) The serial test interface of the APP is shown in the figure below<br><br>
[[Image:Pi-5-details2-pic43.png]]<br><br>
5) Then enter the baud rate you want to set in the editing box, and then click the '''OPEN ''' button to open the'''/dev/ttyS0 ''' node. After successful, the '''OPEN ''' button becomes an optional state.The '''CLOSE ''' button and the '''SEND ''' button become an optional state<br><br>
[[Image:Pi-5-details2-pic44.png]]<br><br>
6) Then use the DuPont line to shorte the RXD and TXD pin of uart0<br><br>
[[Image:Pi-5-details2-pic45.png]]<br><br>
7) Then you can enter a section of characters in the editing box below, click the '''SEND ''' button to start sending<br><br>
[[Image:Pi-5-details2-pic46.png]]<br><br>
8) If everything is normal, the receiving string will be displayed in the receiving box<br><br>
[[Image:Pi-5-details2-pic47.png]]<br><br>
=== 26pin 的 PWM 测试 ===
1) Android only opened '''PWM15''' by default. The corresponding pins are at the position of 26Pin.<br><br>
[[Image:Pi-5-details2-pic56.png]]<br><br>
2) First click theWiringOP icon to open the Wiringop App<br><br>
[[Image:Pi-5-details2-pic57.png]]<br><br>
3) Then click the '''PWM_TEST''' button to enter the PWM test interface at the main interface of WiringOP<br><br>
[[Image:Pi-5-details2-pic58.png]]<br><br>
4) The corresponding address corresponding to the PWM15 is '''febf0030'''. The right side of PWMCHIP0 is exactly the '''febf0030.pwm'''. If the displayed base address is wrong, please click the drop -down option to select other PWMCHIP until the '''febf0030''' is displayed on the right.<br><br>
[[Image:Pi-5-details2-pic59.png]]<br><br>
5) Then confirm the PWM cycle. The default configuration is '''50000ns''', and the PWM frequency is '''20KHz'''. You can modify it by yourself.Click on the button to export '''PWM15'''<br><br>
[[Image:Pi-5-details2-pic60.png]]<br><br>
6) Then drag the drag below to change the PWM duty ratio, and then check the enable to output PWM<br><br>
[[Image:Pi-5-details2-pic61.png]]<br><br>
=== 26pin's SPI test ===
4) The main interface of the WiringOP APP shows as shown in the figure below, click the SPI_TEST button to open the SPI test interface<br><br>
[[Image:Pi-5-details2-pic51.png]]<br><br>
5) Then click the '''OPEN ''' button to initialize SPI<br><br>
[[Image:Pi-5-details2-pic52.png]]<br><br>
6) Then fill in bytes that need to be sent, such as reading the ID information of W25Q64, fill in the address 0x9F in data [0], and then click the '''TRANSFER ''' button<br><br>
[[Image:Pi-5-details2-pic53.png]]<br><br>
7) The last app will display the ID information read<br><br>
8) The MANUFACTURER ID of the w25q64 module is EFh, the Device ID is 4017h, and the value read above is corresponding (H represents hexadecimal)<br><br>
[[Image:Pi-5-details2-pic55.png]]<br><br>