唐熙敬业被封“拼命三娘| 韩女星承认威胁李秉宪| 余文乐示爱周冬雨| 曝李彩桦向客户提供性服务| 韩国首批整容者遭遇后遗症| 各阶段照片曝光今2岁(图)| 戛纳完美收官| 管理内地整体业务| 《社区民警于三快》| 结局刘亚仁被枪杀| 父亲曾纠结是否拔管| 台湾教授回应茶叶蛋言论| 长相太美遭妒| 现在慢慢懂得| 范冰冰黄晓明做客| 聚焦2002年朝韩冲突| 国产片迎战好莱坞| 德普夫妇首次合演电影| 《Kill| 大牌影星回来演电视反响轰动| 刘诗诗比赵丽颖重0.2KG| 台女星自曝曾帮6岁女儿敷面膜| 做工精细肉眼难辨真假| 大S被曝与汪小菲婚姻出状况| 今井| 公映成口碑神作| 罗志祥拒与兄弟聊感情事| 古巨基秀球技| 王立群| “情侣杨梓嫣喻恩泰秀亲密| 贝儿的歌唱表现最棒| 一个不断逃避(图)| 甘当小三恶名| 谢芷蕙微博承认曾与陈冠希恋爱| 杨千嬅20日嫁丁子高| 道恩-强森回归| 家戏院| 真正的男子汉走了…杨根思连战士因维和牺牲| 上演“创业专场| 红槐花|

美海军今年拟为濒海战斗舰加装超视距反舰导弹

  2004年春季,上海考古工作者在崧泽遗址发现了多座马家浜文化的墓葬。

Raspberry Pi 3 Model B is the latest iteration of the world's most popular single board computer. It provides a quad-core 64-bit ARM Cortex-A53 CPU running at 1.2GHz, four USB 2.0 ports, wired and wireless networking, HDMI and composite video output, and a 40-pin GPIO connector for physical interfacing projects.

""

See the I/O pinouts for more details on the Peripheral I/O signals on this board.

Flashing the image

Before you begin flashing, you will need the following items in addition to your Raspberry Pi:

  • Micro-USB cable
  • Ethernet cable
  • MicroSD card reader
  • 8 GB or larger microSD card

Optional items:

  • HDMI cable
  • HDMI-enabled display

Step 1: Flash Android Things

""

Follow these steps to flash the Android Things image onto the microSD card:

  1. Download the Android Things Setup Utility from the Android Things Console. You will need to sign in to your Google account and accept the licensing agreement and terms of service.

  2. Unzip the downloaded archive.

  3. Start the setup utility.

    • On Windows, right-click on the executable file and select Run as administrator.
    • On Mac or Linux, start the utility from the terminal. For example:

      $ sudo ~/Downloads/android-things-setup-utility/android-things-setup-utility-linux
  4. Select the option to install Android Things and optionally set up Wi-Fi.

    1. Select Raspberry Pi 3 as the hardware board.
    2. Choose either a generic image or your own custom image of Android Things for flashing the board.

    3. Follow the rest of the utility prompts to write the image. When the utility has finished writing the image, eject the external drive and remove the microSD card.

  5. Insert the microSD card into the microSD slot on the underside of the Raspberry Pi.

If you don't want to use the setup utility, you can:

Step 2: Connect the hardware

Make the following connections to your board:

""

  1. Connect a USB cable to J1 for power.
  2. Connect an Ethernet cable to your local network.

    • Connect the Ethernet cable to your development computer and assign the Raspberry Pi an IP address using DHCP.
    • Connect a serial cable from the Raspberry Pi to your development computer. Use a serial console to connect to Wi-Fi.
  3. (Optional) Connect an HDMI cable to an external display.

  4. Verify that Android is running on the device. To do this, you need to find the IP address of the device:

    • If you connected a display, the Android Things Launcher will use it to show information about the board, including the IP address.
    • If you assigned an IP address to the device using DHCP, find this address in the network settings of your router or development computer.
  5. Connect to the IP address using the adb tool:

    $ adb connect <ip-address>
    connected to <ip-address>:5555
    

Connect Wi-Fi

After flashing your board, it is strongly recommended to connect it to the internet. This allows your device to deliver crash reports and receive updates.

To connect to Wi-Fi, do one of the following:

Serial debug console

The serial console is a helpful tool for debugging your board and reviewing system log information. The console is the default output location for kernel log messages (i.e. dmesg), and it also provides access to a full shell prompt that you can use to access commands such as logcat. This is helpful if you are unable to access ADB on your board through other means and have not yet enabled a network connection.

To access the serial console, connect a USB to TTL Serial Cable to the device UART pins as shown below.

""

Open a connection to the USB serial device on your development computer using a terminal program, such as PuTTY (Windows), Serial (Mac OS), or Minicom (Linux). The serial port parameters for the console are as follows:

  • Baud Rate: 115200
  • Data Bits: 8
  • Parity: None
  • Stop Bits: 1

I/O Pinouts

This section describes the Peripheral I/O interfaces available to your apps running on the Raspberry Pi 3.

The Raspberry Pi has pins that are multiplexed between various board functions. Some board functions cannot be used simultaneously (for example, enabling Bluetooth and using the UART0 port for peripheral I/O). For more information, see the pin function modes.

The following pinout diagram illustrates the locations of the available ports exposed by the breakout connectors of this board:

GPIO Signal Alternate Functions
BCM2I2C1 (SDA)
BCM3I2C1 (SCL)
BCM7SPI0 (SS1)
BCM8SPI0 (SS0)
BCM9SPI0 (MISO)
BCM10SPI0 (MOSI)
BCM11SPI0 (SCLK)
BCM13PWM1
BCM14UART0 (TXD)MINIUART (TXD)
BCM15UART0 (RXD)MINIUART (RXD)
BCM18I2S1 (BCLK)PWM0
BCM19I2S1 (LRCLK)
BCM20I2S1 (SDIN)
BCM21I2S1 (SDOUT)


Pin Function Modes

The following modes in each table are mutually exclusive on the Raspberry Pi 3.

UART modes

The Raspberry Pi has a single full-speed UART (UART0) and a mini UART (MINIUART); see the official docs for information on their differences. These UARTs are multiplexed between various board functions and cannot be used simultaneously. The following modes are supported:

Mode Activated By Bluetooth Pin Functions
Debug console Default mode; no PIO connections Enabled Pins BCM14/BCM15 expose RX/TX of the serial debug console
UART0 UART0 opened by PIO Disabled Pins BCM14/BCM15 expose RX/TX of UART0
MINIUART MINIUART opened by PIO Enabled Pins BCM14/BCM15 expose RX/TX of MINIUART
BCM14 or BCM15 Pin opened by PIO Enabled Named pin (BCM14 or BCM15) is GPIO, other pin is idle

An IOException error is thrown if you try to open an active pin (from above) using a different UART mode.

Audio modes

The Raspberry Pi shares hardware resources between Peripheral I/O and the audio subsystem (I2S and analog). Analog audio is transmitted through the 3.5mm audio jack. The following modes are supported:

Mode Activated By Audio Routes Pin Functions
Audio Default mode; no PIO connections I2S + Analog N/A
PWM PWM0 opened by PIO Disabled Pin BCM18 enabled as PWM
GPIO Pin1 opened by PIO Analog only Named pin is GPIO

1 Includes pins BCM18, BCM19, BCM20, and BCM21

When you are creating a hardware configuration in the Android Things Console, BCM18 and BCM19 pullup and pulldown resistors don't apply until the GPIO is actually opened in order to avoid interfering with the I2S bus on the same pins.

贺岁档上映 几度被郭德纲“搞哭 周渝民卖豪华跑车被拍 叶童有意投身音乐 别为难她 俄罗斯高音歌王维塔斯被传猝死 艺术藏品丰富堪比博物馆(图) 喜欢兄弟还是喜欢女朋友?王凯这么说… 艺人将回归跨年演唱会捞金 何彦霓与米雪互飚演技
王音棋 逗趣 我的春晚做作品幽默带讽刺 少女时代泰妍睡姿曝光 郑秀文被曝买大床增添情趣 大长今李英爱儿子吃醋了… 血仇 蒂姆-伯顿女友海伦娜哥特造型亮相红毯 文章“黄暴力女主汤晶媚绝美亮相 陈思成频探佟丽娅班 父母赚钱XX的辛苦 周杰伦变身红粉骷髅 不过有意外还会生