there are two i²c devices connected to the bus, and their addresses are 0x48 and 0x77 respectively. If you do not see a device, check the hardware connection, and remember to open the system config inside the i²c.Then still the sample code:
Import time
Import SMBus
addr=0x48
cmd=0xab
# open/dviev/i2c-1
bus = SMBus. SMBus (1)
# Read and write data, Case 1 Data
= bus.read_byte (addr)
bus.write_byte (addr, data+1)
# Read and write data, Case 2
= Bus.read_byte_data (addr, cmd)
bus.write_byte_dat
Raspberry Pi Home for your friends to collect the following several mobile phone apps, with these software, in your playing Raspberry Pi process, will play a powerful effect.Because many of the software is Google Play, and in the celestial world we can not use Google's services, so the software has been uploaded to Bai
First recommend a few mobile phone software in the cool Ann network should be able to find1.JuiceSSH Orange SSH software mobile phone connected to the router can control the LAN in the Raspberry Pi2.VNC Viewer Remote Desktop software VNC is also a LAN-connected Raspberry PiThese software is still very useful, do not want to open the computer, you can control the
Hardware platform: Raspberry Pi 2, Model B, 1GB RAMImage version: 2015-11-21-raspbian-jessie.img
Introduction: First, you need to install and start the VNC service on the Raspberry Pi, and then connect through the VNC client.You need to use the command line to install VNC on the Ra
Hardware platform: Raspberry Pi 2, Model B, 1GB RAMImage version: 2015-11-21-raspbian-jessie.img
Introduction: First, you need to install and start the VNC service on the Raspberry Pi, and then connect through the VNC client.You need to use the command line to install VNC on the Ra
July 3, 2016 20:32:07After the Raspberry Pi successfully connected to the console interface via SSHNext is the Raspberry Pi that connects the GUI, but SSH does not support the graphical interface, after learning to understand, choose to use VNCRequired tools: VNC, TightVNCLo
Raspberry Pi ------For Windows
Step 1:in Order to write the image for sd,we should download and install image Writer for Windows
Step 2:download and install putty and connected to serial port
Step 3:plug in the power then start Raspberry Pi and login
Step 4:login
Tags: raspberry Raspberry Pi filezilla SFTP File TransferSFTP (SSH File Transfer Protocol) is a network protocol that provides ssh-based file access, file transfer, and file management methods.With SFTP, you can easily modify, browse, and edit files on
If you're bored with a smart home that just has to download a specific app to control a light, here's the good news: Openhab can give you the most flexible control of smart home, Openhab is a mature, open source home automation platform that can run a lot of software, There is no agreement, which means it can now be connected to almost all of the home automation hardware on the market.Here we will show you how to install and launch the free smart home system.We first use
1. Download the latest ROM on the Raspberry Pi website firsthttps://www.raspberrypi.org/downloads/raspbian/Here's the choice: RASPBIAN JESSIE with DESKTOPDate is 2017.7.5Get files after download: 2017-07-05-raspbian-jessie.zipAfter decompression: 2017-07-05-raspbian-jessie2. Prepare the software Win32 Disk ImagerSelect the newly extracted img file, specify the target USB flash drive (recommended to prepare
can also access our website, at the same time, we can also apply for a peanut shell account, for us to do dynamic Domain name resolution (free), So that we can access the site on the Raspberry Pi through the domain name. Peanut shell account registration process is not listed, we have to solve Baidu's own. Here is the router setup process:① Login to your router
, because the USB to the serial port of the minicom to communicate, and no garbled, the transmission of all the correct data2. Arduino mega2560 can transmit data, but there is garbled, possibly because the mega2560 serial port has the relation.Since the module is good, I think of another test method, a module using a USB port to the PC, and the other directly to my Raspberry Pi on the UART interface. The re
What you need to know before installing1. Coolpy is a Nodejs-based IoT platform (official website http://icoolpy.com). Note: The domestic IoT platform has the LEGO network , Yeelink and so on, but only coolpy is open-source. 2. Node. JS is a platform built on the chrome JavaScript runtime to easily build fast, easy-to-scale Web applications Note: Therefore, to run coolpy, you must first install the Nodejs. 3. The new coolpy does not use a database but is stored locally as a file. Note: So a lar
Unpopular things, search today, it is really useful to share with youRemember the first time to play Raspberry Pi, no monitor can not live, what information to monitorLater a little better, find a router, plug the network cable up, and then into the router interface to get the Raspberry Pi IPThen
The following describes the installation Raspbian1. Tools
Computer One
Raspberry Pi 31 Unit
SD card (C10) and card reader
Cable and data cable
2. Methods/Steps
Download tool
Win32diskimager (System Burn Tool)
PuTTY (SSH login tool)
Vncviewer (client)
IP Scanner (get easpberry
[Raspberry Pi] installing the node EnvironmentThis article is not about node compilation and installation. It is said that it takes a long time, so at first I refused. This article shows how to deploy ndoe compiled execution files. The download directory on the node official website contains the compiled execution files for arm. Address here: https://nodejs.org/dist/v4.2.1/ select the right Version Download
This article is not a compiled installation of node, it is said to take a long time, so at first I was rejected. This article shows how to deploy the compiled execution file for Ndoe. Node's official Web download directory itself has compiled executable files for arm. Address is here: HTTPS://NODEJS.ORG/DIST/V4.2.1/Choose the right version Download the appropriate version for the Raspberry Pi, the appropria
Less than a day before Raspberry Pi started, SSH Raspberry Pi has been using the routing + wireless Nic configuration. I want to take Raspberry Pi to my business trip tomorrow, but the
Don't talk nonsense, light up the data:As can be seen from the Raspberry Pi installed Ubuntu arm64 in the performance of almost the rolling ARMF system, so I downloaded Ubuntu arm64
Ubuntu arm64 Project Address
Open it up like this and turn it down:We open:Enter:Then download the desktop version, after the download is complete decompression:Use etcher to burn to mobile hard drive after decompr
Use SFTP to manage files on Raspberry Pi
SFTP (SSH File Transfer Protocol) is a network protocol that provides SSH-based file access, file transfer, and file management methods.
With SFTP, you can easily modify, browse, and edit files on Raspberry
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.