WEASAM
February 28, 2018, 3:46pm
1
I got the VIM2, when I check the pins, want to do some projects with python, I realize that no have two much details description for the pins and not have topic for using it to make project like arduino.
Arduino Pins descriptions
Analog and Digital pins are essential for Microcontrollers
Refer https://www.arduino.cc/en/Reference/Board
Terry
March 1, 2018, 1:45am
2
You can refer to below picture and topics
Here is about how to access GPIO on Android and Ubuntu
###Preconditions
The Rom must satisfy the following conditions
Android M >= V170603
Android N >= V170421
Ubuntu Server >= V170515
Ubuntu Mate >= V170605
###1. On Android
GPIO List
PIN GPIO Number
PIN37 GPIOH5 176
PIN33 GPIOAO6 151
There are two ways to access GPIO:
ADB Command
Third-Party Applications
ADB command
Connect the vim with wifi adb:
$ adb connect IP_ADDR
Login the vim:
$…
I’ve made the modifications to the mesongxl.dtsi file and loaded the kvim.dts file via tftp.
/dev/i2c-2 shows up but the i2c lines doesn’t work.
You can see the outputs bellow:
khadas@Khadas:~/i2c-tools-1/tools$ ls /dev/i2c-*
/dev/i2c-0 /dev/i2c-1 /dev/i2c-2
khadas@Khadas:~/i2c-tools-1/tools$ sudo chmod 0777 /dev/i2c-*
khadas@Khadas:~/i2c-tools-1/tools$ ./i2cdetect -y 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- --…
1 Like